How I installed Linux on the ASUS P5GD1 motherboard

Kees Lemmens, Tu Delft, January 2005
C.W.J.Lemmens@Ewi.tudelft.nl
Last modified, Aug 23, 2005

In december 2004 I bought myself a brandnew ASUS P5GD1 motherboard and struggled for more than a week to get everything going under Linux, so I thought it would be nice to list my adventures here, so as to avoid other people having to repeat the same steps, searches and mistakes ;-)

Topics

  1. Serial ATA interface
  2. Parallel ATA interface ITE8212
  3. High Definition Audio sound interface
  4. Marvell gigabit ethernet interface
  5. USB 2.0 concerns
  6. PCI-E video card interface
  7. Usefullness supplied Linux drivers on CD

More details about these steps can be found further in this document, but to give you already some idea : I have most parts working now without too much hassle. In most cases I just needed to get and compile the very latest kernels and the latest Alsa driver for the sound. Only real problems where :

  1. The fu#$!^#%$*^*ng ITE8212 interface : This thing is necessary if you have more than 2 Parallel IDE devices. I had 4 : 2 P-IDE harddisks, a DVD and a CD-writer. But although the interface was recognized and even detected the attached devices I couldn't read anything from them : just hanging kernels and many errors about "lost interrupts" and other nasty things.

    Finally I decided to drop the Parallel IDE disks and buy new Serial ATA disks , sigh ...

    Conclusion : forget about the ITE8212 interface and use Serial ATA

  2. The Marvell/SysConnect Gigabit ethernet interface : all kernel drivers fail. a Linux driver that works with 2.4.x is the one supplied on the ASUS CDROM, but it doesn't work on 2.6.x kernels.

    A working 2.6 driver is available at SysKonnect :

    http://www.syskonnect.com/syskonnect/support/driver/zip/linux/

  3. The system seemed to have problems with both a P-ATA harddisk and a CDROM drive on the standard IDE interface. This and some other problems were fixed with a BIOS flash from ASUS : I currently have revision 1.011 and the latest BIOS can be obtained from :

    http://support.asus.com/

1  Serial ATA interface

Getting the SATA interface to work was not very complicated : you'll just need a standard 2.4 or 2.6 kernel with builtin libata support for the ICH6R Southbridge. At least the 2.4.28 kernel works fine. The driver sits in the kernel menu's under SCSI => Low-level drivers.

Note that the disk will be recognized as a SCSI disk and thus uses names like /dev/sda , /dev/sda1 etc. instead of the PATA /dev/hda, /dev/hda1 names.

Of course the libata driver should be integrated in the kernel and not be compiled as a module or else you can't mount the disk (unless you'll plan to boot from a disk on the standard IDE interface).

To boot from S-ATA you must set the motherboard accordingly and that was a little difficult to find in the initial BIOS (by default it only showed P-ATA devices) but that seems to be improved now.

2  Parallel ATA interface ITE8212

Although both the ITERAID driver supplied on CD and the driver in the 2.6.10 kernel compiled fine and even reported the attached disks I wasn't able to read any data either from CD's or harddisks.

Either the ITE8212 is VERY buggy (even reported once by the Linux kernel !) or there is something wrong with my motherboard. However, I decided to forget about the damned thing and use Serial ATA and the Single standard Parallel IDE interface instead (see also above).

As also the BIOS initialisation for the ITE8212 took a very long time and sometimes even failed to detect all connected devices I disabled it completely in the BIOS, to make startup a little faster.

3  High Definition Audio sound interface

Initially I just used my old SoundBlaster Live, but I nevertheless decided to try the onboard High Definition Audio as well. First attempt was the Alsa-based Integrated Audio Driver aud_linux_1.5_beta_sh.gz from Intel at http://downloadfinder.intel.com

That seemed to work well although it was extremely simple: I had just one volume control and one igain slider in kmix and that was it ;-)

Then I tried to get the latest Alsa driver from http://www.alsa-project.org/ (version 1.0.8rc1) and that one worked flawlessly and even had a lot more controls in alsamixer or kmix. Note however that you'll have to use the snd-azx module.

Nevertheless, as I think the Sound-Blaster is still more powerful (e.g. hardware multiplexing of multiple sound streams) I stick to that one for the time being.

Update Aug 2005 : in the latest Alsa 1.0.9 driver the snd-azx module was renamed to snd-hda-intel !

4  Marvell/SysKonnect gigabit ethernet interface

The standard sk98lin drivers in both the 2.4.27-28, 2.6.9-2.6.10 and even 2.6.10-ac2 kernels didn't work, probably because the interface is still too new. But as said above the install-7_04.tar.bz2 driver on the ASUS CD worked fine under 2.4.x kernels.

However, this ASUS driver failed to compile on 2.6.x. After searching the web for a LONG time I found a driver at SysKonnect with version number install-8_12.tar.bz2 and that one compiles and works fine, even for the latest kernels :

http://www.syskonnect.com/syskonnect/support/driver/zip/linux/

Update Aug 2005: for 2.6.12 kernels you must fetch at least install-8_23.tar.bz2 or else it won't compile.

5  USB (2.0) concerns

  1. If you have some USB devices attached (I have about 8 of them) it takes for some reason a bloody long time before the BIOS has passed the stage ``initializing USB drivers'' : it easily takes more than 60 seconds which is VERY annoying, especially if you have to reboot quite often to test new kernels ;-(

    Disable USB in the BIOS makes this step being skipped, but then there are no USB devices available under Linux, so this is not a solution. Anyone else with the same experience on the P5GD1 or do I simply have a faulty motherboard ?

  2. On my ASUS AMD system at the office my external USB 2.0 harddisk easily gets 25 MByte/sec (hdparm -t /dev/sda), but whatever I try : on the P5GD1 I can't get more than about 2.5-3 MByte/sec and without the ehci_hcd USB 2.0 driver only : about 600 kByte/sec.

    No idea why, but this is a pity as it makes the USB 2.0 disk rather slow for interactive work (e.g. videostreaming).

6  PCI-Express video card interface

In my stupidity I tried to push my almost new Nvidia Geforce 4 AGP card in the PCI-E slot but that of course didn't fit ;-(

I decided to buy a cheap ATI-Radeon PCI-Express (80,- EUR) but that one seemed to be broken as the screen was instable, both on a CRT and TFT monitor : small diagonals bars appeared after a few minutes and were moving over the screen. This even happened while in the BIOS so it couldn't be a faulty driver.

As also the ATI-Radeon 3D drivers for Linux proved to be a big nuisance (the installation procedure is very chaotic and cumbersome) I decided to return the card and buy an Nvidia EN6600-TD ( 156,- EUR).

Ok, somewhat expensive but what a difference ! The old AGP Nvidia-6629 driver worked fine with this new card without even a re-install, but now with superior and super fast 3D grahpics. There was a small problem with the rendering of the runway lights in my favorite Flight Simulator FlightGear (this was partly done in software, so it was very slow) but that was fixed in Nvidia-7667. Even at high resolutions (1280X1024) I now easily get 50 frames/second !

So, at least for Linux there is IMO only one real videocard vendor : Nvidia ! Their cards are perfect and they are one of the few companies who really understood how to make smooth, stable, fast and easy to install drivers for Linux.

Latest drivers can be found at : http://www.nvidia.com/object/linux.html

7  Usefullness supplied Linux drivers on ASUS CD

  1. The iteraid ITE8212 drivers from the ASUS CD compile and install fine and even recognize the connected devices but it seems to be impossible to read anything from them. Don't know if they work under M-SWinedows but at least on me it made a very crappy impression.

  2. The Marvell Gigabit driver from the ASUS CD compiles and installs fine under 2.4.x kernels. However, it doesn't work with 2.6.x although there seems to be a seperate part in the tar for 2.6. Maybe it is just too old ?

    Anyway, the latest drivers from SysKonnect also work fine under 2.6.9 and up.

  3. Unfortunately there is no driver for the High Definition Audio on the CD. That is a pity as from the Intel website they are readily available, although not very powerful as said above.

    But, if you want to use the HD Audio on the board : just use the latest Alsa drivers.


File translated from TEX by TTH, version 2.58.
On 24 Aug 2005, 21:41.