This is a discussion on Kernel-2.6.8.1 + raid hpt370 - creating initrd within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, Can anybody help me how to create the initrd image for the hardware I have ? I use ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, Can anybody help me how to create the initrd image for the hardware I have ? I use the following: RAID1 with HPT370 controller onboard and Reiserfs on the root and other partitions. I have tried to do it like in the README.initrd described but I don't know how the raid module is named. mkinitrd -c -k 2.6.8.1 -m reiserfs creates the initrd image but when I boot the system it panics the kernel, unable to locate the boot-device (114,3) or something like that. Now I would like to kindly ask if somebody can provide me the name of the module to put also into the initrd image. Or do I have to recompile the kernel ? Thanks for your time answering me. Casxa |
| |||
| Hi! Casaxa wrote: > Hi, > > Can anybody help me how to create the initrd image for the hardware I > have ? > I use the following: > > RAID1 with HPT370 controller onboard > and Reiserfs on the root and other partitions. > > I have tried to do it like in the README.initrd described but > I don't know how the raid module is named. > > mkinitrd -c -k 2.6.8.1 -m reiserfs > > creates the initrd image but when I boot the system it > panics the kernel, unable to locate the boot-device (114,3) > or something like that. > > Now I would like to kindly ask if somebody can provide me the name of the > module to put also into the initrd image. Or do I have to recompile the > kernel ? Depends on which driver you use I use this Driver from the highpoint site: http://www.highpoint-tech.com/USA/b370na.htm and this module is called hpt37x2 (my controller isn't on board it's a pci card). IIRC there is also a driver in the kernel, but this module has probably another name And i suggest you to include reiserfs in the kernel, so you just have to load the hpt driver via the initrd image. But take care the driver from the highpoint site changes the device to /dev/sda to access the raid system so you must put something like root = /dev/sda1 in lilo.conf (and change the devices in fstab) > Thanks for your time answering me. > Casxa Cheers, Michael |
| |||
| Michael Stenzel <asdfghjkl123456789@expires-2004-10-31.arcornews.de> wrote in message news:<2723267.1eEg1LM0DP@mastergizmo.news.arcor.de >... > Hi! > > Depends on which driver you use > I use this Driver from the highpoint site: > http://www.highpoint-tech.com/USA/b370na.htm > and this module is called hpt37x2 (my controller isn't on board it's a pci > card). IIRC there is also a driver in the kernel, but this module has > probably another name > This is the name of the module I'm interested in !! Can you tell me the name of the module ? I was unable to figure it out. >And i suggest you to include reiserfs in the kernel, so you just have to > load the hpt driver via the initrd image. > I want to do that, I have already make the initrd with reiserfs only and normaly it does not boot as it is unable to mount the RAID drivers. The disks I use are in RAID1 mirroring. > But take care the driver from the highpoint site changes the device > to /dev/sda to access the raid system so you must put something like root > = /dev/sda1 in lilo.conf (and change the devices in fstab) > > > Thanks for your time answering me. > > Casxa > > Cheers, > Michael I don't think I will use drivers from HPT. I would likt to try with the OSS drivers. Regards Casaxa |
| |||
| Casaxa wrote: > This is the name of the module I'm interested in !! > Can you tell me the name of the module ? I was unable to figure it > out. That should be one of these: root@yellow:/usr/src/linux-2.6.8.1-ck9/drivers/ide/pci# ls -l hpt* -rw-r--r-- 1 500 500 9932 2004-08-14 12:55 hpt34x.c -rw-r--r-- 1 500 500 656 2004-08-14 12:54 hpt34x.h -rw-r--r-- 1 500 500 39825 2004-08-14 12:55 hpt366.c -rw-r--r-- 1 500 500 13840 2004-08-14 12:55 hpt366.h You find them in (make menuconfig) -> Device Drivers -> ATA/ATAPI/MFM/RLL Support There you can select between "HPT34X Chipset Support" and "HPT36X/37X Chipset Support" If everything fails try the other driver from highpoint (i think it's oss too) I made it with this (little bit outdated and in german :/) tutorial: http://www.linux-fuer-alle.de/doc_sh...d=197&catid=10 Maybe Google can help you translate it HTH Michael |
| ||||
| Michael Stenzel <asdfghjkl123456789@expires-2004-10-31.arcornews.de> wrote in message news:<1473107.yg0lshH89E@mastergizmo.news.arcor.de >... > Casaxa wrote: > > > This is the name of the module I'm interested in !! > > Can you tell me the name of the module ? I was unable to figure it > > out. > > That should be one of these: > root@yellow:/usr/src/linux-2.6.8.1-ck9/drivers/ide/pci# ls -l hpt* > -rw-r--r-- 1 500 500 9932 2004-08-14 12:55 hpt34x.c > -rw-r--r-- 1 500 500 656 2004-08-14 12:54 hpt34x.h > -rw-r--r-- 1 500 500 39825 2004-08-14 12:55 hpt366.c > -rw-r--r-- 1 500 500 13840 2004-08-14 12:55 hpt366.h > > You find them in (make menuconfig) -> Device Drivers -> ATA/ATAPI/MFM/RLL > Support > There you can select between "HPT34X Chipset Support" and "HPT36X/37X > Chipset Support" > > If everything fails try the other driver from highpoint (i think it's oss > too) > > I made it with this (little bit outdated and in german :/) tutorial: > http://www.linux-fuer-alle.de/doc_sh...d=197&catid=10 > > Maybe Google can help you translate it > > HTH > Michael Michael , many many thanks for your help, I will try to recompile the kernel as I see that in Slackware-current linux kernel 2.6.8.1 from the /testing dir there is no such modules. And most probably are not compiled into the kernel as it panics when you boot it. Rgds Saxa |