Forgot your password?
typodupeerror
User Journal

Journal: VAIO v505 BL memory stick fix

Journal by JonnyRo88
I finally got my Sony VAIO v505-bl laptop working with the memory stick slot in the 2.6 kernel. The problem ended up being with the USB driver I was using.

I ended up switching from UHCI to OHCI, then the device popped up as /dev/sda, with the partition being /dev/sda1
User Journal

Journal: Adventures in DirectFB

Journal by JonnyRo88
I had an interesting morning working with XdirectFB from http://www.directfb.org in Gentoo Linux. I finally managed to get X to load properly only by symlinking /usr/X11R6/bin/X to /usr/X11R6/bin/XDirectFB, using the default startxdfb script wasnt working for me. Oh well.

Unfortunatly XFCE4 was acting very wierd in this new environment, causing the screen to go black whenever I tried to resize a window. It was also impossible to move a window.

I put it aside for a little while so that I can fix vmware after my recent kernel upgrade to 2.6 on the laptop. It is important that I get this working because I use vmware to write programs for windows that are used at work.
User Journal

Journal: Sony Laptop Batteries

Journal by JonnyRo88
It seems interesting to me that the high capacity battery for my sony vaio v505 laptop costs 500$. That's a LOT OF cash. Enough cash to make me pull it off of my christmas list. Why would I want to give up all the other possible things that I could get for christmas to be able to sit at some random location for 4-5 hours without the battery dying.

Primarily the main reason for wanting such extended battery life is to keep your battery running long enough to make it through a long flight without needing to recharge. Almost every other situation in which I could require extended battery life puts me in close proximity to a plug or car-lighter where I could plug in.

On a sidenote I have been quite happy with the laptop-mode patch that exists in kernel 2.4.24 (i know it is in some previous versions as well). It makes a lot of sense because it keeps the kernel from making writes to the disk too often when there shouldnt be a whole lot of activity going on anyway. Things that also helped included switching to metalog (a buffered logger) away from syslog-ng, and installing CpuDYN to do adaptive cpu throttling. These solutions are awesome if i stick to running pure linux applications. However , opening up a VMWare session pretty much throws all power management out of the window, as you cant count on the child OS to behave.
User Journal

Journal: MeshAP on my wierd low mem laptop

Journal by JonnyRo88
I still couldnt get the meshAP cd to load up on my laptop with 64MB of ram, a fujitsu Lifebook E330. The system doesnt finish booting because the initrd is apparently too large for the 64MB of ram available on the system. I think the problem arises because the laptop is using some of the system memory for the video card or something.

However I was able to figure out what image the flasher cd loads by mounting the cd's initrd in a loopback interface.

It uses a file called reflash.bz2 and loads it to the drive by running:

bzip2 -d reflash.bz2 > /dev/hda

I think I can write this file to the laptop using a gentoo install cd. I can pull the file over NFS from my main Gentoo box.
User Journal

Journal: Even with distcc Gentoo never compiles fast enough

Journal by JonnyRo88
I am honestly never satisfied with compile speeds. When I had just one 450mhz nothing compiled fast enough, kernel compiles took over an hour, and everything was just well.. slow.

Now I have two 1.8ghz machines running distcc and a few slower, including the old 450 k6-2. I can generally compile a kernel is 10 minutes or less, but I am still unsatisfied.

Part of the problem is that as I get more capacity I try to do more. One would think that the logical solution would be to try to do less, but that isnt any fun either because I would fill my spare time with other things to do with computers, which puts me back in the same boat.

Thank god I got married before I reached uber-nerd status, I honestly dont think any CS major should wait past sophomore year to start trying to find a permenant mate, especially if you are into Linux.

Sidenote: Bastard UCF campus police gave me a 20$ ticket for parking in a faculty spot at 6pm. There wasnt even anyone there.

How often I found where I should be going only by setting out for somewhere else. -- R. Buckminster Fuller

Working...