Re: HPT370 ATARAID and RedHat 7.3 troubles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
Its better to build the necessary modules into the kernel statically (you
built them as modules). Build modules INTO the kernel and dont use
initrd for ataraid. Also, RH 7.3 sometimes needs an Append Line. So,
pass an append line and see if it works

Murty

On Wed, 4 Sep 2002, Mike Marackaew wrote:

> Dear sirs and madams,
> 
> I have motherboard ABIT SA6 with HPT370 ATARAID onboard controller
> running RedHat Linux 7.3. When installing RedHat i've successfully used
> Highpoint binary (not opensource) drivers to get to work
> 2x IDE harddrives configured as RAID0 (stripped). After that
> i need now to compile and install custom kernel 2.4.19, but
> as far as i know its not trivial task to setup native linux
> ataraid.
> 
> I am using the following hints and tips found at this maillist:
> 
> 1. http://www.murty.net/ataraid/ - Linux ATA RAID HOWTO
> © 2002 Murty Rompalli;
> 
> 2. https://listman.redhat.com/pipermail/ataraid-list/2002-April/000709.html -
> short guide from Adam Greenhalgh;
> 
> 3. and more detailed nice manual from M.J. Prinsen -
> https://listman.redhat.com/pipermail/ataraid-list/2002-January/000548.html
> 
> So i have:
> 
> [mm@elf mm]$ uname -a
> Linux elf.XXXXX.ru 2.4.18-3 #2 Wed Jun 19 17:29:26 EDT 2002 i686 unknown
> [mm@elf mm]$ df
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/sda5               497829    129928    342199  28% /
> /dev/sda1               202220     11763    180017   7% /boot
> /dev/sda8              1011928     16428    944096   2% /opt
> none                    257192         0    257192   0% /dev/shm
> /dev/sda7              1011928     16436    944088   2% /tmp
> /dev/sda6              1011928    785688    174836  82% /usr
> /dev/sda9             34020840   2659944  29632708   9% /var
> [root@elf root]# lilo -V
> LILO version 21.4-4
> [root@elf root]# cd /usr/src/linux
> [root@elf linux]# cat .config | grep CONFIG_BLK_DEV_LOOP
> CONFIG_BLK_DEV_LOOP=y
> [root@elf linux]# cat .config | grep CONFIG_BLK_DEV_RAM
> CONFIG_BLK_DEV_RAM=m
> CONFIG_BLK_DEV_RAM_SIZE=4096
> [root@elf linux]# cat .config | grep CONFIG_BLK_DEV_INITRD
> CONFIG_BLK_DEV_INITRD=m
> [root@elf linux]# cat .config | grep CONFIG_BLK_DEV_ATARAID
> CONFIG_BLK_DEV_ATARAID=m
> # CONFIG_BLK_DEV_ATARAID_PDC is not set
> CONFIG_BLK_DEV_ATARAID_HPT=m
> [root@elf linux]# cat .config | grep CONFIG_BLK_DEV_ATARAID_HPT
> CONFIG_BLK_DEV_ATARAID_HPT=m
> [root@elf linux]# cat .config | grep CONFIG_BLK_DEV_SD
> CONFIG_BLK_DEV_SD=m
> [root@elf linux]# cat .config | grep CONFIG_SCSI
> CONFIG_SCSI=m
> [root@elf linux]# cat .config | grep CONFIG_EXT3_FS
> CONFIG_EXT3_FS=m
> 
> After that:
> 
> make dep clean modules modules_install bzImage
> 
> cp -f arch/i386/boot/bzImage /boot/vmlinuz-2.4.19
> 
> cp -f System.map /boot/System.map-2.4.19
> 
> /usr/sbin/rdev /boot/vmlinuz-2.4.19 /dev/ataraid/d0p5
> 
> /sbin/mkinitrd -f --preload scsi_mod --preload sd_mod --preload ext3 \
> --preload ataraid --with hptraid --fstab=/etc/fstab.NEW \
> /boot/initrd-2.4.19.img 2.4.19
> 
> The new /etc/fstab file contains new / and swap entries (i think only
> them are critical to boot up):
> 
> [root@elf linux]# cat /etc/fstab.NEW
> /dev/ataraid/d0p5       /                       ext3    defaults        1 1
> LABEL=/boot             /boot                   ext3    defaults        1 2
> none                    /dev/pts                devpts  gid=5,mode=620  0 0
> LABEL=/opt              /opt                    ext3    defaults        1 2
> none                    /proc                   proc    defaults        0 0
> none                    /dev/shm                tmpfs   defaults        0 0
> LABEL=/tmp              /tmp                    ext3    defaults        1 2
> LABEL=/usr              /usr                    ext3    defaults        1 2
> LABEL=/var              /var                    ext3    defaults        1 2
> /dev/ataraid/d0p2       swap                    swap    defaults        0 0
> [root@elf linux]#
> 
> And now the new /etc/lilo.conf:
> 
> [root@elf linux]# cat /etc/lilo.conf
> prompt
> boot=/dev/sda5
> timeout=30
> default=rh-linux
> map=/boot/map
> install=/boot/boot.b
> message=/boot/message
> 
> image=/boot/vmlinuz-2.4.18-3
>         label=rh-linux
>         initrd=/boot/initrd-2.4.18-3.img
>         read-only
>         root=/dev/sda5
> 
> image=/boot/vmlinuz-2.4.19
>         label=linux
>         initrd=/initrd-2.4.19.img
>         read-only
>         root=/dev/ataraid/d0p5
> 
> [root@elf linux]#
> 
> I guess that if i have /dev/sda5 as root fs so i must to change it to
> /dev/ataraid/d0p5. Am i right?
> 
> Ok, than reboot and hangup at "Now booting the kernel....": capslock
> and scrolllock leds are flashing and nothing more happens.
> 
> Whats wrong?
> 
> Thanks in any advance.
> 
> 





[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux