On 2/16/07, Albert Lee <albertcc@xxxxxxxxxx> wrote: Hi, To make the fun even more fun. when I compile the old IDE drivers, rmmod the libata ones and modprobe the IDE drivers for my Promise card, the drives DO get detected. See here my dmesg.
Linux version 2.6.20 (root@localhost) (gcc version 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10)) #2 PREEMPT Thu Feb 15 18:27:08 GMT 2007 BIOS-provided physical RAM map: sanitize start sanitize end copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end: 000000000009fc00 type: 1 copy_e820_map() type is E820_RAM copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end: 00000000000a0000 type: 2 copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2 copy_e820_map() start: 0000000000100000 size: 00000000bfef0000 end: 00000000bfff0000 type: 1 copy_e820_map() type is E820_RAM copy_e820_map() start: 00000000bfff0000 size: 0000000000003000 end: 00000000bfff3000 type: 4 copy_e820_map() start: 00000000bfff3000 size: 000000000000d000 end: 00000000c0000000 type: 3 copy_e820_map() start: 00000000fec00000 size: 0000000000001000 end: 00000000fec01000 type: 2 copy_e820_map() start: 00000000fee00000 size: 0000000000001000 end: 00000000fee01000 type: 2 copy_e820_map() start: 00000000ffff0000 size: 0000000000010000 end: 0000000100000000 type: 2 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 00000000bfff0000 (usable) BIOS-e820: 00000000bfff0000 - 00000000bfff3000 (ACPI NVS) BIOS-e820: 00000000bfff3000 - 00000000c0000000 (ACPI data) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 2175MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000f4c30 Entering add_active_range(0, 0, 786416) 0 entries of 256 used Zone PFN ranges: DMA 0 -> 4096 Normal 4096 -> 229376 HighMem 229376 -> 786416 early_node_map[1] active PFN ranges 0: 0 -> 786416 On node 0 totalpages: 786416 DMA zone: 32 pages used for memmap DMA zone: 0 pages reserved DMA zone: 4064 pages, LIFO batch:0 Normal zone: 1760 pages used for memmap Normal zone: 223520 pages, LIFO batch:31 HighMem zone: 4351 pages used for memmap HighMem zone: 552689 pages, LIFO batch:31 DMI 2.3 present. ACPI: RSDP (v000 GBT ) @ 0x000f65a0 ACPI: RSDT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0xbfff3000 ACPI: FADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0xbfff3040 ACPI: MADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0xbfff6cc0 ACPI: DSDT (v001 GBT AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000 ACPI: PM-Timer IO Port: 0x4008 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 6:8 APIC version 16 ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1]) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 1 I/O APICs Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at c4000000 (gap: c0000000:3ec00000) Detected 2009.386 MHz processor. Built 1 zonelists. Total pages: 780273 Kernel command line: mapped APIC to ffffd000 (fee00000) mapped IOAPIC to ffffc000 (fec00000) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 PID hash table entries: 4096 (order: 12, 16384 bytes) Console: colour dummy device 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 3114528k/3145664k available (2994k kernel code, 30068k reserved, 994k data, 196k init, 2228160k highmem) virtual kernel memory layout: fixmap : 0xfffaa000 - 0xfffff000 ( 340 kB) pkmap : 0xffc00000 - 0xffe00000 (2048 kB) vmalloc : 0xf8800000 - 0xffbfe000 ( 115 MB) lowmem : 0xc0000000 - 0xf8000000 ( 896 MB) .init : 0xc04e8000 - 0xc0519000 ( 196 kB) .data : 0xc03eca09 - 0xc04e530c ( 994 kB) .text : 0xc0100000 - 0xc03eca09 (2994 kB) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 4020.82 BogoMIPS (lpj=2010411) Mount-cache hash table entries: 512 CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000 00000000 00000000 CPU: CLK_CTL MSR was 6003d22f. Reprogramming to 2003d22f CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000420 00000000 00000000 00000000 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. Compat vDSO mapped to ffffe000. CPU: AMD Athlon(tm) XP 2400+ stepping 01 Checking 'hlt' instruction... OK. ACPI: Core revision 20060707 ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 NET: Registered protocol family 16 ACPI: bus type pci registered PCI: PCI BIOS revision 2.10 entry at 0xf9ee0, last bus=1 PCI: Using configuration type 1 Setting up standard PCI resources ACPI: Interpreter enabled ACPI: Using IOAPIC for interrupt routing ACPI: PCI Root Bridge [PCI0] (0000:00) PCI: Probing PCI hardware (bus 00) ACPI: Assume root bridge [\_SB_.PCI0] bus is 0 PCI quirk: region 4000-407f claimed by vt8235 PM PCI quirk: region 5000-500f claimed by vt8235 SMB Boot video device is 0000:01:00.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 *6 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 *10 11 12 14 15) ACPI: PCI Interrupt Link [ALKA] (IRQs 20) *0, disabled. ACPI: PCI Interrupt Link [ALKB] (IRQs 21) *0, disabled. ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *0, disabled. ACPI: PCI Interrupt Link [ALKD] (IRQs 23) *0, disabled. SCSI subsystem initialized libata version 2.00 loaded. usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report ACPI: PCI Interrupt 0000:00:14.0[A] -> GSI 16 (level, low) -> IRQ 16 ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[16] MMIO=[eb00c000-eb00c7ff] Max Packet=[2048] IR/IT contexts=[8/8] PCI: Bridge: 0000:00:01.0 IO window: 7000-7fff MEM window: e8000000-e9ffffff PREFETCH window: c0000000-dfffffff PCI: Setting latency timer of device 0000:00:01.0 to 64 NET: Registered protocol family 2 IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 7, 524288 bytes) TCP bind hash table entries: 65536 (order: 6, 262144 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered Machine check exception polling timer started. microcode: CPU0 not a capable Intel processor IA-32 Microcode Update Driver: v1.14a <tigran@xxxxxxxxxxxxxxxxxxxx> highmem bounce pool size: 64 pages Total HugeTLB memory allocated, 0 Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx). SGI XFS with ACLs, realtime, large block numbers, no debug enabled io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered (default) io scheduler cfq registered ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16 radeonfb: Found Intel x86 BIOS ROM Image radeonfb: Retrieved PLL infos from BIOS radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=398.25 Mhz, System=200.00 MHz radeonfb: PLL min 20000 max 40000 i2c_adapter i2c-1: unable to read EDID block. i2c_adapter i2c-1: unable to read EDID block. i2c_adapter i2c-1: unable to read EDID block. radeonfb: Monitor 1 type CRT found radeonfb: EDID probed radeonfb: Monitor 2 type no found Console: switching to colour frame buffer device 160x64 radeonfb (0000:01:00.0): ATI Radeon AP input: Power Button (FF) as /class/input/input0 ACPI: Power Button (FF) [PWRF] input: Power Button (CM) as /class/input/input1 ACPI: Power Button (CM) [PWRB] ACPI: CPU0 (power states: C1[C1] C2[C2]) ACPI: Processor [CPU0] (supports 2 throttling states) Real Time Clock Driver v1.12ac Non-volatile memory driver v1.2 Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds). Hangcheck: Using get_cycles(). Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A loop: loaded (max 8 devices) pata_via 0000:00:11.1: version 0.2.1 ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 0, using IRQ 20 ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20 ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [ALKA] -> GSI 20 (level, low) -> IRQ 17 ata1: PATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xDC00 irq 14 ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xDC08 irq 15 scsi0 : pata_via ata1.00: ATA-6, max UDMA/100, 390721968 sectors: LBA48 ata1.00: ata1: dev 0 multi count 16 ata1.00: configured for UDMA/100 scsi1 : pata_via ieee1394: Host added: ID:BUS[0-00:1023] GUID[000020ed006adc65] scsi 0:0:0:0: Direct-Access ATA WDC WD2000JB-00G 08.0 PQ: 0 ANSI: 5 SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB) sda: Write Protect is off sda: Mode Sense: 00 3a 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 sda3 sda4 < sda5 sda6 > sd 0:0:0:0: Attached scsi disk sda ieee1394: raw1394: /dev/raw1394 device initialized ACPI: PCI Interrupt Link [ALKB] BIOS reported IRQ 0, using IRQ 21 ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21 ACPI: PCI Interrupt 0000:00:10.3[D] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 18 ehci_hcd 0000:00:10.3: EHCI Host Controller ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:10.3: irq 18, io mem 0xeb00a000 ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 6 ports detected USB Universal Host Controller Interface driver v3.0 ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 18 uhci_hcd 0000:00:10.0: UHCI Host Controller uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:10.0: irq 18, io base 0x0000d000 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 18 uhci_hcd 0000:00:10.1: UHCI Host Controller uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:10.1: irq 18, io base 0x0000d400 usb usb3: configuration #1 chosen from 1 choice hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:10.2[C] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 18 uhci_hcd 0000:00:10.2: UHCI Host Controller uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:10.2: irq 18, io base 0x0000d800 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected usb 1-4: new high speed USB device using ehci_hcd and address 3 usb 1-4: configuration #1 chosen from 1 choice usb 2-1: new low speed USB device using uhci_hcd and address 2 usb 2-1: configuration #1 chosen from 1 choice input: Logitech USB Receiver as /class/input/input2 input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:10.0-1 usbcore: registered new interface driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 mice: PS/2 mouse device common for all mice input: AT Translated Set 2 keyboard as /class/input/input3 md: raid0 personality registered for level 0 md: raid1 personality registered for level 1 oprofile: using NMI interrupt. TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI Shortcut mode ACPI: (supports S0 S1 S4 S5) Time: tsc clocksource has been installed. Time: acpi_pm clocksource has been installed. md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. XFS mounting filesystem sda3 Ending clean XFS mount for filesystem: sda3 VFS: Mounted root (xfs filesystem) readonly. Freeing unused kernel memory: 196k freed sd 0:0:0:0: Attached scsi generic sg0 type 0 input: PC Speaker as /class/input/input4 sata_sil 0000:00:08.0: version 2.0 ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 17 (level, low) -> IRQ 19 ata3: SATA max UDMA/100 cmd 0xF883E080 ctl 0xF883E08A bmdma 0xF883E000 irq 19 ata4: SATA max UDMA/100 cmd 0xF883E0C0 ctl 0xF883E0CA bmdma 0xF883E008 irq 19 scsi2 : sata_sil Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx 8139too Fast Ethernet driver 0.9.28 Initializing USB Mass Storage driver... scsi4 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 3 usb-storage: waiting for device to settle before scanning usbcore: registered new interface driver usb-storage USB Mass Storage support registered. ata3: SATA link down (SStatus 0 SControl 310) scsi3 : sata_sil ata4: SATA link down (SStatus 0 SControl 310) ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 18 (level, low) -> IRQ 20 eth0: RealTek RTL8139 at 0xf883a000, 00:20:ed:61:8a:9c, IRQ 20 eth0: Identified 8139 chip type 'RTL-8100B/8139D' SiI680: IDE controller at PCI slot 0000:00:0c.0 ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 16 (level, low) -> IRQ 16 SiI680: chipset revision 2 SiI680: BASE CLOCK == 133 SiI680: 100% native mode on irq 16 ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio ide1: MMIO-DMA , BIOS settings: hdc:pio, hdd:pio Probing IDE interface ide0... hda: WDC WD1200JB-00EVA0, ATA DISK drive hdb: Maxtor 6L250R0, ATA DISK drive ide0 at 0xf8840080-0xf8840087,0xf884008a on irq 16 Probing IDE interface ide1... hdc: WDC WD1600JB-00EVA0, ATA DISK drive ide1 at 0xf88400c0-0xf88400c7,0xf88400ca on irq 16 PDC20269: IDE controller at PCI slot 0000:00:0b.0 ACPI: PCI Interrupt 0000:00:0b.0[A] -> GSI 19 (level, low) -> IRQ 21 PDC20269: chipset revision 2 PDC20269: ROM enabled at 0xea100000 PDC20269: PLL input clock is 16763 kHz PDC20269: 100% native mode on irq 21 ide2: BM-DMA at 0xa400-0xa407, BIOS settings: hde:pio, hdf:pio ide3: BM-DMA at 0xa408-0xa40f, BIOS settings: hdg:pio, hdh:pio Probing IDE interface ide2... hde: probing with STATUS(0x50) instead of ALTSTATUS(0x0a) hde: WDC WD1200JB-00EVA0, ATA DISK drive hdf: probing with STATUS(0x50) instead of ALTSTATUS(0x0a) hdf: ST3120022A, ATA DISK drive ide2 at 0x9400-0x9407,0x9802 on irq 21 Probing IDE interface ide3... PDC20276: IDE controller at PCI slot 0000:00:0f.0 ACPI: PCI Interrupt 0000:00:0f.0[A] -> GSI 19 (level, low) -> IRQ 21 PDC20276: chipset revision 1 PDC20276: PLL input clock is 33526 kHz PDC20276: 100% native mode on irq 21 ide4: BM-DMA at 0xcc00-0xcc07, BIOS settings: hdi:pio, hdj:pio ide5: BM-DMA at 0xcc08-0xcc0f, BIOS settings: hdk:pio, hdl:pio Probing IDE interface ide4... hdi: Maxtor 6Y160P0, ATA DISK drive hdj: WDC WD1200JB-00DUA3, ATA DISK drive ide4 at 0xbc00-0xbc07,0xc002 on irq 21 Probing IDE interface ide5... ACPI: PCI Interrupt Link [ALKC] BIOS reported IRQ 0, using IRQ 22 ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22 ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [ALKC] -> GSI 22 (level, low) -> IRQ 22 PCI: Setting latency timer of device 0000:00:11.5 to 64 hda: max request size: 64KiB hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100) hda: cache flushes supported hda: hda1 hdb: max request size: 64KiB hdb: 490234752 sectors (251000 MB) w/16384KiB Cache, CHS=30515/255/63, UDMA(133) hdb: cache flushes supported hdb: hdb1 hdc: max request size: 64KiB hdc: 312581808 sectors (160041 MB) w/8192KiB Cache, CHS=19457/255/63, UDMA(100) hdc: cache flushes supported hdc: hdc1 hde: max request size: 512KiB hde: Host Protected Area detected. current capacity is 234441648 sectors (120034 MB) native capacity is 274103470214064 sectors (140340976749 MB) hde: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error } hde: task_no_data_intr: error=0x04 { DriveStatusError } ide: failed opcode was: 0x37 hde: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100) hde: cache flushes supported hde: hde1 hdf: max request size: 512KiB hdf: Host Protected Area detected. current capacity is 234441648 sectors (120034 MB) native capacity is 274103470214064 sectors (140340976749 MB) hdf: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error } hdf: task_no_data_intr: error=0x04 { DriveStatusError } ide: failed opcode was: 0x37 hdf: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100) hdf: cache flushes supported hdf: hdf1 hdi: max request size: 512KiB hdi: 320173056 sectors (163928 MB) w/7936KiB Cache, CHS=19929/255/63, UDMA(133) hdi: cache flushes supported hdi: hdi1 hdj: max request size: 512KiB hdj: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100) hdj: cache flushes supported hdj: hdj1 scsi 4:0:0:0: Direct-Access USB2.0 CardReader CF RW 0.0> PQ: 0 ANSI: 0 sd 4:0:0:0: Attached scsi removable disk sdb sd 4:0:0:0: Attached scsi generic sg1 type 0 usb-storage: device scan complete md: md1 stopped. md: md2 stopped. md: md3 stopped. device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@xxxxxxxxxx XFS mounting filesystem sda6 Ending clean XFS mount for filesystem: sda6 Adding 5863716k swap on /dev/disk/by-id/scsi-SATA_WDC_WD2000JB-00_WD-WCAL81971867-part2. Priority:-1 extents:1 across:5863716k i2c_adapter i2c-2: sendbytes: error - bailout. eth0: link up, 100Mbps, full-duplex, lpa 0x41E1