26. juli 2003 - 13:43Der er
5 kommentarer og 1 løsning
Promise SX4000 Raid controler under redhat 9.0
Nogen der ligger inde med controlers til Promise SX4000 Raid controler under redhat 9.0 eller ved hvor den kan skaffes? Jeg har tjekket producentens webside..
Jeg har selv en Promise Raid controler, og havde samme problem som dig. Jeg prøvede mig frem med andre drivere fra Promise, og fandt en som passende. Lidt lo2, men de har ikke lavet drivere til alle deres produkter til Linux...
Her en lille readme... Det burde ikke være et problem mellen versionerne af Redhat, men det er svar skyldigt.
Promise FastTrak SX4000 Linux Driver Installation for RedHat Linux 7.2/7.3 Driver Version 1.00.0.x
[INTRODUCTION]
1.1 Foreword Use this driver with all Promise FastTrak SX4000 cards running under RedHat Linux 7.2/7.3.
Do NOT use this driver for other versions of Linux for FastTrak SX4000 support.
1.2 Support List Red Hat 7.2 (kernel 2.4.7-10) Red Hat 7.2 (kernel 2.4.7-10smp) Red Hat 7.3 (kernel 2.4.18-3) Red Hat 7.3 (kernel 2.4.18-3smp)
[INSTALLATION]
2.1 How to make a driver installation diskette:
2.1.1 On DOS-based PC:
Running "rawrite.exe" and according to prompt to extract image file to floppy.
2.1.2 On UNIX/LINUX-based PC:
Run the command "dd if=imagefilename of=floppydevicename bs=10k" to copy image file to floppy.
Note: imagefilename = the disk image file name that you want to copy. floppydevicename = the floppy device name, on Linux OS that name should be "/dev/fd0".
2.2 To install the FastTrak SX4000 Linux Driver into an EXISTING SYSTEM:
1) Insert the driver installation diskette into the floppy drive.
2) Type the following commands:
# mount /dev/fd0 /mnt/floppy # cd /mnt/floppy # sh install Answer Yes/No at setup configuration. Yes will load the FastTrak driver every time Linux boots. # cd .. # umount /dev/fd0
2.3 To install the FastTrak SX4000 Linux Driver into an NEW SYSTEM:
1) Start the RedHat Linux Installation with CD ROM booting.
2) At the "Welcome to Red Hat Linux ..." installation screen, a prompt labeled "boot:" will appear at the bottom of the screen.
3) Type "expert" (without quotations) or "linux dd" at the "boot:" prompt, then press Enter.
4) At the "Devices" dialog box, insert the driver installation diskette into the floppy drive. Then select "OK" or "Yes".
5) Continue with the installation as normal.
6) Press Ctrl-Alt-F2 when the installation reaches the "Congratulations" menu. Then insert the driver installation diskette into the floppy drive. Type the following commands to load the FastTrak driver:
NOTE: For Redhat 7.2, skip the command # umount /tmp/fd0.
# umount /tmp/fd0 # mkdir /mnt/floppy # mount -t ext2(or msdos) /dev/fd0 /mnt/floppy # cd /mnt/floppy # sh binstall # sync # cd # umount /mnt/floppy
7) Press Ctrl-Alt-F7 and click "Exit" to finish the installation.
Copyright 2002, Promise Technology, Inc. All rights reserved.
The supplied drivers work fine in Red Hat 8.x and 9.0, you just have to load the modules with -f to ignore the warnings. Don't use their install scripts.
If you want to install the OS on the RAID array, you will need to modify the intrd. And modify it each time you let Red Hat upgarde your kernel.
I created the two following scripts to recompile initrd:
code:--------------------------------------------------------------------------------initrdfix1: #!/bin/bash rm /tmp/myimage rm /tmp/myimage.gz cat /boot/initrd-2.4.20-9.img |gunzip > /tmp/myimage mount /tmp/myimage /mnt/tmp -t ext2 -o loop=/dev/loop3 cp /data/raid/ft3xx.o /mnt/tmp/lib/ft3xx.o cp /lib/modules/2.4.20-9/kernel/drivers/scsi/scsi_mod.o /mnt/tmp/lib/scsi_mod.o cp /lib/modules/2.4.20-9/kernel/drivers/scsi/sd_mod.o /mnt/tmp/lib/sd_mod.o echo "Edit /mnt/tmp/linuxrc with:" echo "echo \"Loading scsi_mod.o module\"" echo "insmod /lib/scsi_mod.o" echo "echo \"Loading sd_mod.o module\"" echo "insmod /lib/sd_mod.o" echo "echo \"Loading ft3xx.o module\"" echo "insmod -f /lib/ft3xx.o"-------------------------------------------------------------------------------- Edit your linuxrc to look something like this: code:--------------------------------------------------------------------------------#!/bin/nash echo "Loading scsi_mod.o module" insmod /lib/scsi_mod.o echo "Loading sd_mod.o module" insmod /lib/sd_mod.o echo "Loading ft3xx.o module" insmod -f /lib/ft3xx.o echo "Loading jbd.o module" insmod /lib/jbd.o echo "Loading ext3.o module" insmod /lib/ext3.o echo Mounting /proc filesystem mount -t proc /proc /proc echo Creating block devices mkdevices /dev echo Creating root device mkrootdev /dev/root echo 0x0100 > /proc/sys/kernel/real-root-dev echo Mounting root filesystem mount -o defaults --ro -t ext3 /dev/root /sysroot pivot_root /sysroot /sysroot/initrd umount /initrd/proc-------------------------------------------------------------------------------- code:--------------------------------------------------------------------------------initrdfix2: #!/bin/bash umount /mnt/tmp gzip /tmp/myimage cp /boot/initrd-2.4.20-9.img /boot/initrd-2.4.20-9.img_bak cp /tmp/myimage.gz /boot/initrd-2.4.20-9.img-------------------------------------------------------------------------------- I put the two scripts along with ft3xx.o in /data/raid. Make sure you edit your paths as needed and trust me, do not do this to a production server. Do it to a test server a couple times before you find out you have hosed your server.
I installed RH9.0 on a normal ext3 partition, followed these steps, installed the card and another drive, let the machine boot up, let the card mirror the drives, and now my / partition is on /dev/sda1.
Using Lilo, you should edit lilo.conf after these steps, before you boot. Grub should pick it up automatically, but I did have to edit my /etc/fstab
Ældre drivere virker ikke, kun hvis man modificere dem.. Jeg besluttede at installere 8.0 istedet da jeg har fået driverne der til.. Men tak for løsningen Janorakel. You got the point.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.