Debian/GNU Linux on the Sony VAIO GR100K

I got a (used) GR100K as my "on-the-road" machine. With 866MHz it might be faster than the 600MHz slimtop I have in my office. Of course I had to install Debian on it. Since I sometimes have to use Windows software, I decided to install Debian on the second (D) partition, which had already been emptied by the previous user.

Installation

The Debian 3.0 (woody) CD booted without problems from the internal DVD drive. I chose bf2.4, since I did not want to use a 2.2 kernel anymore. The installation of the base system went without major problems. I split the ex-D partition into a 500MB swap partition, the rest is for one ext3 Linux partition.
Disk /dev/hda: 255 heads, 63 sectors, 2432 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      1020   8193118+   7  HPFS/NTFS
/dev/hda2   *      1021      2370  10843875   83  Linux
/dev/hda3          2371      2432    498015   82  Linux swap
The bad news, not everything works right out of the box: The good news, all of this and more can be fixed.

Kernel

Most of the fixes can be achieved with a new kernel. The excellent linux-sony mailing list and webpage has all the information. You can get most things on a Vaio computer to work, if you compile a 2.4.18 kernel with the Megapatch, ie ACPI, Jogdial, Memorystick, maybe more. However, I want to run 2.4.20. Unfortunately there is no megapatch for this kernel version. But it seems I got everything working just with the original 2.4.20 kernel and the ACPI patches for this(!) kernel version. I also applied the software suspend patches, but could not make it work yet. I hope the memorystick still works without the memorystick patch, the device is detected, but I have no memory stick available to test this again. Kernels are build with make-kpkg (kernel-package):
cd /usr/src/linux-2.4.20 ; make-kpkg kernel_image modules_image
With this kernel, most of the hardware is working, especially ACPI, which controls the fan, lets you check the CPU temperature and lets you powerdown the machine. Software suspend and the (win)modem are probably not working yet.

DVD playback

I tried mplayer, ogle and xine for DVD playback. Each of them had different problems, especially with my first kernels. Enabling DMA audio made audio and video run synchronous. The other problems where fixed by installing the woody backport of XFree86 4.2. The radeon driver of this version supports the Radeon Mobility M6 Y chip in the vaio, so I could use the radeon driver instead of the vesa driver in XFree. mplayer then works in xfree, ogle shows correct colours and allows fullscreen display. Make sure /dev/dvd points to the DVD drive. It is /dev/hdc without ide-scsi, and (normally) /dev/scd0 with ide-scsi. If you use firewire CD-Rom drives, be sure to load ide-scsi before sbp2, otherwise the numbering will change. If you use devfs, things will probably be different again. AFAIK you need to use ide-scsi if you want to use the internal DVD drive as a CD reader device (at least) in xcdroast.

Firewire

I tested a Yamaha CDRW and my Panasonic MiniDV camera. I use a shell script when I power-on the external CDRW drive:
modprobe ieee1394
modprobe ohci1394
modprobe sbp2
rescan-scsi-bus
Where rescan-scsi-bus is one of the nicer rescan-scsi scripts, which also is very useful if you have regular SCSI devices which are not powered on all the time. gscanbus detects both devices fine. The external CDRW works fine with xcdroast. I could read in video from the MiniDV camera with dvgrab and kino (after I built 0.6.4).

Not working

Links


Christian T. Steigies
Sending spam email to this address will be prosecuted. Last modified: Sun Mar 16 02:30:50 EST 2003