All installations

Mandrake 9.2 on a Sony Vaio PCG-GRT785B notebook

(the old page, referring to a Windows XP/Mandrake 9.1 installation, can be found here)

TuxMobil - Linux on Laptops, PDAs and mobile Phones

UPDATED Jan. 11, 2004 - Updated "updates" section (new kernel released)

UPDATED Dec. 28, 2003 - Updated "modem" section (new SmartLink modem driver released), solved 7 CD-RWs "problem" (in new CD-RWs section)

UPDATED Dec. 23, 2003 - Updated "XFree86" section (new NVIDIA driver released)

UPDATED Dec. 16, 2003 - Added "modem" section

Usage
I bought this notebook mainly for work (web/database development), watching DVDs and listening to music. I use KDE as window manager, Mozilla for browsing, Evolution as email client and organizer, Psi for instant messaging, K3b for CD burning, Xine for DVDs and Xmms for music.

Operating Systems
This notebook will run Linux. My preferred distribution is Mandrake, but I like to try out several distributions (Debian, Slackware, Suse) as they come out with a fresh new release. See
partition for details.

Partition
I use to install linux using only / and /home partitions, plus a big partition (/data) to store all data. I also reserve a partition for an entire filesystem where I try new distributions, and the /data partition comes useful to exchange data between the two installations.
The partition table is set as follows:
 
partition size filesystem type linux mount point windows drive usage
/hda13 GBext3/ root partition ("main" installation)
/hda23 GBext3/mnt/linuxtest Tests (entire filesystem)
/hda3800 MBswap  common swap partition
/hda52 GBext3/home "main" home partition
/hda61,1 GBext3/var "main" var partition (sites, databases, ...)
/hda746 GBext3/data data archive

Mandrake 9.2 installation
Booting the default kernel (kernel-2.4.22-10mdkBOOT) will hang just after checking the hard disk (problem also reported
here): this issue can be solved pressing F1 at the boot screen and typing "linux noapic" at the boot prompt. To use display at its best even within text consoles, parameter "vgahi" can be used. I also pass "expert" as other parameter, so I can use the Italian keyboard during install process. Parameters' order is important to use all of them: I use "vgahi expert linux noapic" and it works perfectly.
IMPORTANT: Rebooting after installation leaving APIC disabled freezes the notebook!!! APIC can be enabled in the Summary -> Boot Loader section.
In the packages selection, I use to deselect all package groups and check "Individual package selection". Then I check "With basic documentation (recommended!)" and "With X", toggle to "flat" packages view, leave "Show automatically selected packages" checked and check all the packages I want to use.
HINT: I don't select neither NVIDIA_GLX nor NVIDIA_kernel-2.4.22.10mdk, as version 1.0-4496 has a strange issue with this GeForce4 420 video card. I will compile and install an newer and working version from NVIDIA site. For further details, see here.

Additional steps
After packages installation, I follow these additional steps in the "Summary" screen:

First boot
I reboot and kernel 2.4.22-10mdk loads without big problems (see
dmesg). The only annoying issues are a couple of "modprobe: insmod sr_mod failed" messages.

CD-RW
As reported
here, it seems that the kernel sees... 7 DVD/CDRW drives!!! This has no effect on the useability of the device, and can be solved simply appending an option "hdXlun=0" (where /dev/hdX is the CD-RW device) to the boot loader's parameters.

Updates
I configured urpmi to get all updates, contrib and new packages from a Mandrake mirror. See
Easy urpmi page for urpmi configuration or here for the steps I followed. Type

[root@localhost root]# urpmi --auto-select
and your RPMs will be up to date.
NOTE: This will update package kernel-source to the latest version available (2.4.22-26mdk as of January 11, 2004), but won't install the new kernel package. Kernel installation is very well documented here, and can simply be done typing
[root@localhost root]# urpmi kernel-2.4.22-26mdk
This will install kernel image, initial ramdisk and modules, adding an /etc/lilo.conf stanza for the new kernel and running LILO. Here is the new dmesg after reboot.

XFree86
I downloaded the graphic driver from
NVIDIA page. The current version (as of Dec. 23, 2003) is 1.0-5328. Compilation and installation is very simple, and the documentation provided is very detailed (I still have to take a look to optional XF86Config-4 parameters).
IMPORTANT: NVIDIA_GLX and NVIDIA_kernel-2.4.22.10mdk packages provide version 1.0-4496, but it doesn't work properly: changing to a text console or closing an X session started from a text login (as I use to do) results in a completely white display, that slowly turns black, but never displaying the shell again. The system doesn't stop working, and you can even restart X (that's what I did to check some different configuration parameters). An older version (1.0-4363, that can be downloaded from here) also works perfectly. This is my XF86Config-4 configuration file.

Modem
I found a working driver from SmartLink, following
this link you can access the latest driver's release. After unpacking the file (I did it with slmodem-2.9.4.tar.gz) and typing

[root@localhost slmodem-2.9.4]# make && make install
the drivers (slmodem.o, slamrmo.o and slusb.o) will be compiled against the running kernel.
IMPORTANT: using these drivers will taint the kernel. I use this script, copying it as /etc/init.d/modem and typing
[root@localhost root]# chkconfig --level 345 modem on
[root@localhost root]# ln -s /dev/ttySL0 /dev/modem

TODO list
I hope to check every parameter (hard disk and USB speed, ACPI parameters, ...) soon and post here a detailed list. I still have to check if firewire work properly.

I would like to thank Sébastien, Nico and every other that helped me with mails and/or their web pages. I hope you will find some of these information useful. If you have any suggestion for helping me to get everything to work, please email me.

bibe at atworkonline dot it

TuxMobil - Linux on Laptops, PDAs and mobile Phones