libata, promise card, raid autodetect
Problem: RAID auto-detect on my promise PC20378 doesn't seem to work - but works with other controllers.
First of all - thanks to Mark Hahn for emailing me off list and helping me out a bit.
I think it's time to bring this back to the list. It seems that, at least in my configuration, kernel raid auto-detection runs before the kernel has detected partitions on the SATA Promise driver (note: pata chain on the SATA controller).
Dmesg showing this below.
I have a RAID-1 array between partitions on a disk on a 82801EB/ER (ICH5/ICH5R) IDE Controller and my SATA Promise PDC20378 controller.
I have all the required parts BUILT IN to the kernel (kernel config below).
My 82801EB/ER (ICH5/ICH5R) IDE Controller seems to be run by the general IDE layer - I have no particular drivers enabled.
My Promise PDC20378 is controlled by CONFIG_SCSI_SATA_PROMISE with the libata1.patch from Jeff in order to support the PATA part of the controller. Again, built in, NOT a module.
RAID1 support is also built in.
What happens is:
Recongize ICH5/ICH5R
Initialize partitions on ICH5/ICH5R
Recognize PDC20378
Raid auto-detect
Recognize partitions on PDC20378
Dmesg:
http://www.phildev.net/dmesg.txt
Kernel Config:
http://www.phildev.net/config-2.6.15.6rider-smp
lspci:
[phil@rider ~]$ lspci
0000:00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) 0000:00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV36.2 [GeForce FX 5700] (rev a1)
0000:02:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
0000:02:04.0 RAID bus controller: Promise Technology, Inc. PDC20378 (FastTrak 378/SATA 378) (rev 02)
0000:02:05.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
Kernel is a kernel.org 2.6.15 with SMP support and Jeff's libata1.patch.
Any help would be greatly appreciated. I'm happy to try patches, provide any details I've left out, etc.
Signature · 7 lines
Phil Dibowitz [email protected] Freeware and Technical Pages Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind." - Dr. Seuss