I downloaded the following zip file from VIA, which includes driver source code for the VT8237 SATA chipset.
http://downloads.viaarena.com/LinuxApplicationNotes/Apr04/via_raid_linux_v100_20040412.zipIt also includes a script
dd.sh which compiles the driver for your kernel version of linux and generates a
viamraid.img file which is a driver disk image.
I used this image to create a driver disk:
>
dd if=./viamraid.img of=/dev/fd0With the driver disk ready, I booted the SME installation CD on the target machine -- while holding down the
left [SHIFT] key, so that the boot menu would appear.
At the
boot: prompt, I typed "
accept dd" so that the installer would prompt for the driver disk prior to installation.
The installer prompts for the disk, which was then inserted. The installer then loaded the driver from the driver disk.
Installation then continued as normally, and --
for the first time ever -- the installer was able to see the two SATA drives connected and provided the usual options for a single disk install or a two disk install using software RAID-1.
I selected the RAID-1 option, and the installation started by formatting the drives, and then went through the install. Finally, a dialog asked about creating a recovery disk, which I skipped.
The CD then ejected and the machine rebooted, as it should.
Upon rebooting, the machine
booted from the software RAID-1 array and the SME splash screen was displayed giving the option of normal SME or using SMP.
I selected the normal SME mode and then, after a few text messages, a
kernel panic occured. One of the messages complained that the viamraid.o file was compiled for kernel 2.4.20-18.7
BOOT, but that kernel 2.4.20-18.7 was currently in use.
I checked the driver disk image compile script, and it
definitely compiles two drivers ( viamraid.o-2.4.20-18.7BOOT and viamraid.o-2.4.20-18.7 ).
It is clear that kernel 2.4.20-18.7
BOOT loads its driver properly, otherwise SME would never have installed and the reboot (from the raid array) would never have brought up the splash screen.
So why isn't kernel 2.4.20-18.7 loading its own driver properly?