Can't get Promise PDC20276 to go with ataraid

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

 



Title: Can't get Promise PDC20276 to go with ataraid

Hi,

I've been struggling with this for a number of days now
following Murty's HOWTO and reading the list archives, to
no avail. Hopefully someone will be able to help me before
I loose what remains of my hair!

I have a machine based on a Asus A7V333 with the Promise PDC20276
onboard raid controller. I have successfully installed RedHat 8.0
on a mirrored pair of IBM 120Gb disks using the Promise driver
(compiled on another RH 8.0 machine) on a modified driver disk.

This appears to work in a fashion, however I randomly get the
following error reported to the console (and syslog):

cvs kernel: FastTrak : Drive interrupt timeout.(1), status = d0
cvs kernel: FastTrak : RESET Channel1 * DEV1(OK), status = 0x50

This tends to happen when the disks are busy (e.g. mkfs on a
partition guarantees that this will happen).


I've had the machine corrupt its drives once and I suspect this
might be the cause of the problem.

Does anybody out there know what is causing this error and how
to avoid it?


I've also tried using the ataraid.o and pdcraid.o modules but can't get
them to go. Here's what I've done:

 - Downloaded 2.4.20 source and installed in /usr/src
 - Create links in /usr/src from linux and linux-2.4 to linux-2.4.20
 - make mrproper
 - Copy the config/kernel-2.4.18-athlon.config from the Redhat kernel
   source RPM for the base RedHat 8.0 kernel: 2.4.18-14 to
   /usr/src/config/linux-2.4.20/.config
 - make xconfig
 - I've set the kernel configuration options as described in Murty's
   Howto and also included ext3 in the kernel as all my filesystems
   are ext3.
 - make oldconfig
 - make dep
 - make clean
 - make
 - make modules
 - make modulesinstall
 - comment out the line
     alias scsi_hostadapter FastTrak
   in /etc/modules.conf to avoid mkinitrd complaing about module
   FastTrak.o not found.
 - make install
 - install new lilo version 22.4.1
 - Get IO addresses from /proc/pci
    Bus  0, device   6, function  0:
      RAID bus controller: Promise Technology, Inc. PDC20276 IDE (rev 1).
        IRQ 5.
        Master Capable.  Latency=32.  Min Gnt=4.Max Lat=18.
        I/O at 0xb400 [0xb407].
        I/O at 0xb000 [0xb003].
        I/O at 0xa800 [0xa807].
        I/O at 0xa400 [0xa403].
        I/O at 0xa000 [0xa00f].
        Non-prefetchable 32 bit memory at 0xdd000000 [0xdd003fff].

   Calculate addresses for append line based on
     A = 0xb400
     B = 0xb000
     C = 0xa800
     D = 0xa400

   Based on this, the IO addresses should be:
     ide2=0xb400,0xb002 ide3=0xa800,0xa402

 - change lilo.conf to:

      prompt
      timeout=50
      default=linux
      boot=/dev/sda
      map=/boot/map
      install=/boot/boot.0800
      message=/boot/message
      lba32

      image=/boot/vmlinuz-2.4.20
        label=2.4.20
        read-only
        append="ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0xb400,0xb002 ide3=0xa800,0xa402 root=/dev/ataraid/d0p2"


      image=/boot/vmlinuz-2.4.18-14
        initrd=/boot/initrd-2.4.18-14.img
        label=linux
        read-only
        append="ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0 ide9=0 hdc=ide-scsi root=LABEL=/"



 - Reboot and the kernel panics with:

     Kernel panic: VFS: Unable to mount root fs on 72:02

 - I've not modified /etc/fstab to reference the /dev/ataraid devices yet as I
   want to get past the kernel panic stage first!



Anybody got any idea what I'm doing wrong? Once I've got it working I'll post a
complete set of instructions on how to achieve it.

Thanks for any help!

Cheers

Mark


[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