Success - 2.4.19 with FastTrak TX2000

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

 



Hi everybody,

I was finally successful in getting my Promise FastTrak TX2000
(PDC20271) to work with Linux 2.4.19 on Redhat 7.3 and I thought
I'd pass along the secret :)

I used the config file from the Redhat 2.4.18-3 source directory
(/usr/src/linux-2.4.18-3/configs/kernel-2.4.18-i686.config) and did
not make any modifications to it.

These were the default settings:

CONFIG_BLK_DEV_PDC202XX=y
CONFIG_BLK_DEV_HPT366=y
# CONFIG_PDC202XX_BURST is not set
# CONFIG_PDC202XX_FORCE is not set
CONFIG_BLK_DEV_ATARAID=m
CONFIG_BLK_DEV_ATARAID_PDC=m
CONFIG_BLK_DEV_ATARAID_HPT=m

after running "make oldconfig" and doing the kernel compile
groove, I created a ramdisk:

mkinitrd --preload ataraid --preload pdcraid \
   /boot/initrd-2.4.19.img 2.4.19

Then based upon the controller information obtained from /proc/pci
and the instructions here http://www.murty.net/ataraid/existing.html
I created an "append" line:

  Bus  0, device  11, function  0:
    RAID bus controller: PCI device 105a:6269 (Promise Technology, Inc.)
      IRQ 5.
      Master Capable.  Latency=64.  Min Gnt=4.Max Lat=18.
      I/O at 0xdc00 [0xdc07].
      I/O at 0xd800 [0xd803].
      I/O at 0xd400 [0xd407].
      I/O at 0xd000 [0xd003].
      I/O at 0xcc00 [0xcc0f].
      Non-prefetchable 32 bit memory at 0xcfff0000 [0xcfffffff].

I then modified /etc/grub.conf:

title Linux (2.4.19)
  root (hd0,0) kernel /vmlinuz-2.4.19 ro
  root=/dev/ataraid/d0p2 ide2=0xdc00,0xd802,5 ide3=0xd400,0xd002,5
  initrd /initrd-2.4.19.img

And modified my /etc/fstab:

/dev/ataraid/d0p1   /boot      ext3    defaults        1 2
/dev/ataraid/d0p2   /          ext3    defaults        1 1
/dev/ataraid/d0p3   swap       swap    defaults        0 0

After putting the new kernel and ramdisk in the appropriate
places and rebooting, the controller worked:

df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ataraid/d0p2     37832032   3852384  32057876  11% /
/dev/ataraid/d0p1       101089     18810     77060  20% /boot

Have fun!

Barton









[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