hpt37x2 on Fedora core 1

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

 



Hello,

I'm trying to install Fedora on a system that has a RAID 0 on a highpoint 370 
controller (onboard abit KR7-A). I have therefore downloaded the opensource 
drivers from www.highpoint-tech.com and compiled them on another fedora 
system (due to gcc 3 vs gcc 2 compatability). First, I tried to make a driver 
disk, but couldn't get that to work at all. I then tried to make a boot 
diskette, and that was, almost, a success. I think the driver does work (or 
least does something :), because of:

# cat /proc/scsi/hpt37x2/0
Device Driver for HPT37x2 ATA RAID Controller Version 1.31

Physical device list
Controller/Bus/ID  Model                Capacity  Status   Array
-------------------------------------------------------------------
0 Channel 0 Master Maxtor 5T040H4        39083MB  Normal   no name
0 Channel 0 Slave  Maxtor 5T040H4        39083MB  Normal   no name

Logical device list
No. Type         Name                 Capacity  Status
-------------------------------------------------------------------
 1  RAID 0       no name               78167MB  Normal

However, I couldn't access /dev/sda! I have included the command history 
below. Could someone tell me if I'm doing something wrong, or reproduce this 
behaviour?

Thanks,
Sander Hulst

-----------------------------------------------------------------------------------
hpt370 BIOS: 1.0.3b
Driverversion: 1.31

Driver build:
# make KERNELDIR=/usr/src/linux-2.4.22-1.2115.nptl BOOT=1

Created a boot disk:
# dd if=/mnt/cdrom/images/bootdisk.img of=/dev/fd0 bs=1440k

Mount initrd of the floppy:
# mount /mnt/floppy
# gzip -dc /mnt/floppy/initrd.img > /tmp/initrd.ext2
# mkdir /mnt/initrd
# mount -o loop /tmp/initrd.ext2 /mnt/initrd

Juggle with modules:
# cd /tmp
# gzip -dc /mnt/initrd/modules/modules.cgz > modules.cpio
# cpio -itv < modules.cpio > modules.listing
# mkdir modules
# cd modules
# cpio -idumv < ../modules.cpio

I removed all drivers but scsi_mod because I needed some space to insert the 
hpt37x2 driver

# cp hpt37x2.o /tmp/modules/2.4.22-1.2115.nptlBOOT/i386
# cd /tmp/modules
# find 2.4.22-1.2115.nptlBOOT > ../modules.listing
# cpio -o --format=crc < ../modules.listing | gzip -c > ../modules.cgz
# cp ../modules.cgz /mnt/initrd/modules

Added to /mnt/initrd/modules/module-info:
hpt37x2
        scsi
        "HPT370/370A/372/372A/372N ATA RAID Controller"

and to /mnt/initrd/modules/pcitable
0x1103  0x0004  "hpt37x2"       "HighPoint|HPT370/372 ATA RAID Controller"
0x1103  0x0005  "hpt37x2"       "HighPoint|HPT372A ATA RAID Controller"

Actually the first one would be sufficient in my case.

added to /mnt/initrd/modules/modules.dep
hpt37x2: scsi_mod

Wrap it up:
# cd /tmp
# umount /mnt/initrd
# gzip -c initrd.ext2 > initrd.img
# cp initrd.img /mnt/floppy
# umount /mnt/floppy

Done.........




[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