Installing the extra laptop memory I ordered went off without a hitch. I just followed the instructions in the [S580 User's Manual](http://esupport.sony.com/perl/model-documents.pl?mdl=VGN-S580 ).
Installing the extra laptop memory I ordered went off without a hitch. I just followed the instructions in the [S580 User's Manual](http://esupport.sony.com/perl/model-documents.pl?mdl=VGN-S580 ).
I’ve been playing around with suspend2 since the Fedora 4 install. I’d gotten it to almost work: I could hibernate from run level 3, which meant I got the benefits of a quick boot but not of having my session preserved. The problem was the graphics card. I didn’t have time to investigate, and at any rate, I figured Fedora Core 5 would come out soon.
I have just gotten suspend2 to work with Fedora 5 and the nVidia drivers! I can now truly hibernate my sessions!
I followed the directions in Matthias Hensler’s page. I set upyum to access his repository, and then installed the modified kernel sources and the eye-candy progress meter: # yum install userui-suspend2-fbsplash userui-suspend2-theme-fedorabubbles # yum install kernel-suspend2
I added kernel parameters to the kernel line in /etc/grub.conf to disable SELinux, set the framebuffer for the progress meter, and disable the kernel’s AGP support:
kernel /vmlinuz-2.6.16-1.2111_1.rhfc5.cubbi_suspend2 ..... selinux=0 vga=791 agp=0
I also add a duplicate line with the additiional kernel option noresume2 to boot without resuming a hibernated kernel.
In nVidia device section of /etc/Xorg,conf, I enable nVidia’s own AGP:
Option “NvAgp” “1″
I modified the /etc/hibernate/hibernate-conf script using this as a reference. Aside from unloading the necessary modules, and such niceties as locking the screen on hibernation and resetting smartdimmer on resume (since the screen brightness does not appear to be persistent) the crucial line appears to be the expected_compression:
ProcSetting expected_compression 50
That’s it! Typing, as root, pm-hibernate hibernates me nicely. Andrei’s page says he had trouble suspending/resuming on battery power, but I don’t seem to have that problem. The eye candy does not work perfectly: the expected_compression line makes the progress meter appear only fleetingly both on suspend and resume, which is too bad– but at the end of the day, insignificant.
One thing I wonder: many of the references imply there’s a hibernate button in the “Logout” dialog. I don’t see it. I may be missing the corresponding package. I will try installing gnome-power-manager and see how that works. (Either that or a shell script will be necessary to invoke pm-hibernate as non-root.)
Not too long ago, I mused about how pleasant it is to discover that someone had paved a trail where you through you were stumbling alone. I just came across Andrei’s page on configuring Linux on the S580 laptop. Granted, he’s using Gentoo and I’m using Red Hat, and he uses KDE and I use Gnome. Still, for the low-level configuration, his page is a good resource for configuration settings to try.
It’s been pretty cold and rainy in Boston. Perfect time to upgrade Linux to Fedora Core 5.
DESKTOP UPGRADE: I began upgrading my desktop system using ISO images I burned onto CD RWs. On the second CD, installation failed saying the media could not be read. I re-burned disk two and retried it, and it kept failing. At that point I rebooted into the partial FC5 system (the kernel and core packages had been updated, but not the rest of the packages) and follows the unofficial directions on upgrading via yum. From there, it went without a hitch.
I like the new FC5 system, and everything seems to work, albeit with some changes. Evolution 2.6.1 took a while to migrate everything over, but it did, eventually; I like its new “Memos” feature. The automatically mounted USB hard disk is mounted differently than with FC4 (now it does not automatically mount all the partitions, though it thinks it has; this is a small bug). My flash card reader is now mounted as a VFAT system, which means all the names are uppercase; I took this as an opportunity to upgrade my scripts to accept uppercase filenames, though I would still like to find out how to revert back to the FC4 behavior here. Lastly, I noticed that the gramps entry in my application menu disappeared, though the package and binary are still installed.
LAPTOP UPGRADE: I began to update the VAIO VGN S580 laptop using yum, but ran into exactly the same dependency issues mentioned there. I figured I’d switch over to the CD installation, but I had media problems consistently on the third disk. All these media problems make we wonder whether the CD burner is bad or the CD RW media are bad.
At any rate, I figured that since I had the first two CDs installed, I might as well tried switching over to the yum installation again. I ran into a known boot udev problem that caused the system to hang. I followed the directions here to disable udev:
# cd /mnt/sysimage
# mv sbin/pcmcia-socket-startup sbin/pcmcia-socket-startup.bak
# cd ..
# reboot
Rebooting from the hard disk did not start up my network automatically (I am using an ethernet cable rather than the wireless for the upgrade), so I rebooted and ran
# /usr/sbin/system-config-network-cmd
I was then able to update the pcmciautils package
# yum update pcmciautils
and continue with the yum-mediated FC5 upgrade.
Once this one done, the system would not boot up the XOrg server (nor the network, since I had the setwork configured to not start up automatically). This was true even if I tried to install the nVidia driver. I rebooted with the rescue CD, did
# chroot /mnt/sysimage
# yum remove xorg-x11-server-*
to remove the XOrg packages, and
# yum install xorg-x11-server-*
to reinstall them. I then re-installed the nVidia server, and then rebooted. I got the nVidia splash screen, and then the graphical boot scrren but the login manager did not show up– the system seemed to hang. Looking at the nVidia forums, I came across a set of directions. I followed these to the letter and had the same problem. After a few days of tinkering, I tried running startx from runlevel 3 as root: I got the nVidia splash screen. This provided the crucial clue: nVidia was installed correctly, but somehow the gdm package had gotten removed. Grrrr.
All systems go at this point. Now I will make sure that the packages on the desktop and the laptop are in sync.
When I ordered the laptop, Sony was charging an exorbitant amount to get the maximum possible 2GB of memory–something like $1000, I believe. I decided to get the minimum amount of memory that would work with my nVidia video card (512 MB), and later upgrade.
I decided that this weekend would be a good time to order the extra memory. Unfortunately, none of the Sony documentation (not what came on the Windows installation, not what’s available online) detailed the memory specs. I emailed customer support; they told me to call. I called, and the person at the other end could not find the information either. However, he referred me to www.crucial.com, where you can search for and order the memory that is compatible with your system. It turns out that the S580 takes a 200-pin SODIMM. I’m not up on what additional numbers are needed to specify the memory, or what the compatibility issues are, so I wound up ordering from them. They seem to be only slighlty more expensive (assuming I’m comparing the right products) than TigerDirect, where I’ve usually done my online computer shopping.
Installing the extra memory will be an adventure, I’m sure. I’ve never taken apart a laptop.