Unix Technical Forum

Kernel-2.6.8.1 + raid hpt370 - creating initrd

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 04:09 PM
Casaxa
 
Posts: n/a
Default Kernel-2.6.8.1 + raid hpt370 - creating initrd

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 04:09 PM
Michael Stenzel
 
Posts: n/a
Default Re: Kernel-2.6.8.1 + raid hpt370 - creating initrd

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 04:10 PM
Casaxa
 
Posts: n/a
Default Re: Kernel-2.6.8.1 + raid hpt370 - creating initrd

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 04:11 PM
Michael Stenzel
 
Posts: n/a
Default Re: Kernel-2.6.8.1 + raid hpt370 - creating initrd

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 04:13 PM
Casaxa
 
Posts: n/a
Default Re: Kernel-2.6.8.1 + raid hpt370 - creating initrd

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com