|
|
发表于 2004-5-7 10:33:06
|
显示全部楼层
http://www.linuxquestions.org/qu ... amp;goto=nextnewest
Hi everyone,
I'm having problems booting an installation of Slackware 9.1 from a VIA VT8237 SATA RAID1
array. I'll describe what i've done up to this point and then describe the problem.
Any help/suggestions would be very much appreciated!
Setup:
ASUS A7V600-X mobo with VIA VT8237 SATA RAID
2x 120Gb SATA disks running as RAID1 array (I think this is set up in the VIA bios ok)
OS is Slackware 9.1 (kernel 2.4.22)
Right... First off I installed Slack from CD ISOs on a temporary IDE drive in the same machine and
downloaded and compiled the VIA SATA RAID drivers. Ended up with a object module "viamraid.o"
which was then copied to a floppy. Unplugged the IDE drive and booted back from the Slack CD
and used "insmod viamraid.o" to load module into kernel (seemed to work ok, 120Gb raid array
appeared on /dev/sda). Then partitioned /dev/sda using "fdisk" (setting /dev/sda2
as root) and installed Slack on /dev/sda using "setup".
This is where things get interesting...
I setup the MBR with LILO using:
boot=/dev/sda2
image=/boot/vmlinuz
root=/dev/sda2
Now, I know this isn't going to work because the viamraid.o module needs to be loaded before so the
drives can be recognised. There are only two ways I can think of doing this, either using initrd to load
viamraid.o (This is the way the readme that came with the driver sources describes for other distributions,
but Slack doesn't use initrd, and doesn't have a mkinitrd script), or by somehow compiling the
viamraid driver into the kernel (I can't find a kernel patch from VIA, is there any way of making a patch
from the source already obtained?) or linking viamraid.o into the kernel during compilation.
I'd love it if someone could walk me through making and using an initrd image to load viamraid with
Slackware, but any new ideas and other help would be great as well.
When I fix this i'm going to write a how-to an post it on the web to save others frustration!
I've also posted in the viaarena.com forums, but i'll follow it up
here as well if the problem gets fixed!
Thanks for any help,
Chris
======================================
Hi everyone,
I've now resorted to a more fundamental solution.
An IDE drive has now been put in on which the operating system is
installed, with 'modprobe viamraid.o' and 'mount /dev/sda1 /home' in
rc.modules to give me VIA RAID support with the array mounted on
/home.
Not an ideal solution, I think you will agree. I'd still be interested in
any ideas others would care to offer.
Thanks,
Chris
===================================
http://forums.viaarena.com/messa ... &threadid=47711 |
|