Tejun/Jeff - Here's what we've been able to collect so far. We were able to get the kernel to build - we had modified the wrong libata.h file - I didn't realize there were three different ones. We were unable to see any debug output yet (the boot log file is empty); we're working on it. It may be because we disabled auditing...? You will notice that we show up on PCI bus 3 as Crucial Technology Unknown device. Our Vendor/Device ID is 1344, 5150. The file 'test.output' is the results of the lspci -nnvvv command. Thanks for your help Bob -----Original Message----- >From: Tejun Heo <tj@xxxxxxxxxx> >Sent: Aug 4, 2008 7:10 PM >To: the4hoffmans@xxxxxxxxxxxxx >Cc: Jeff Garzik <jgarzik@xxxxxxxxx>, linux-ide@xxxxxxxxxxxxxxx, blward@xxxxxxxxxx >Subject: Re: Issue with AHCI driver > >the4hoffmans@xxxxxxxxxxxxx wrote: >> Jeff, >> >> I changed line 53 of libata.h from "#undef ATA_DEBUG" to "#define >> ATA_DEBUG" and we got a bunch of compiler errors. Was that not what >> you wanted? Should I change ATA_VERBOSE_DEBUG instead? > >Can you post boot log w/o ATA_DEBUG? And the result of lspci -nnvvv? > >-- >tejun
Linux version 2.6.19-0R6 (testuser@mdc204t1-lnx) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Jul 29 12:05:58 CDT 2008 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000007ff80000 (usable) BIOS-e820: 000000007ff80000 - 000000007ff8e000 (ACPI data) BIOS-e820: 000000007ff8e000 - 000000007ffe0000 (ACPI NVS) BIOS-e820: 000000007ffe0000 - 0000000080000000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved) 1151MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000ff780 Entering add_active_range(0, 0, 524160) 0 entries of 256 used Zone PFN ranges: DMA 0 -> 4096 Normal 4096 -> 229376 HighMem 229376 -> 524160 early_node_map[1] active PFN ranges 0: 0 -> 524160 On node 0 totalpages: 524160 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: 2303 pages used for memmap HighMem zone: 292481 pages, LIFO batch:31 DMI 2.4 present. ACPI: RSDP (v000 ACPIAM ) @ 0x000fbb80 ACPI: RSDT (v001 A_M_I_ OEMRSDT 0x12000710 MSFT 0x00000097) @ 0x7ff80000 ACPI: FADT (v002 A_M_I_ OEMFACP 0x12000710 MSFT 0x00000097) @ 0x7ff80200 ACPI: MADT (v001 A_M_I_ OEMAPIC 0x12000710 MSFT 0x00000097) @ 0x7ff80390 ACPI: MCFG (v001 A_M_I_ OEMMCFG 0x12000710 MSFT 0x00000097) @ 0x7ff80400 ACPI: OEMB (v001 A_M_I_ AMI_OEM 0x12000710 MSFT 0x00000097) @ 0x7ff8e040 ACPI: HPET (v001 A_M_I_ OEMHPET 0x12000710 MSFT 0x00000097) @ 0x7ff89690 ACPI: OSFR (v001 A_M_I_ OEMOSFR 0x12000710 MSFT 0x00000097) @ 0x7ff896d0 ACPI: DSDT (v001 A0812 A0812001 0x00000001 INTL 0x20060113) @ 0x00000000 ACPI: PM-Timer IO Port: 0x808 ACPI: Local APIC address 0xfee00000 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) Processor #0 6:15 APIC version 20 ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) Processor #1 6:15 APIC version 20 ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) IOAPIC[0]: apic_id 2, version 32, 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 high 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 ACPI: HPET id: 0xffffffff base: 0xfed00000 Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 88000000 (gap: 80000000:7ee00000) Detected 2333.424 MHz processor. Built 1 zonelists. Total pages: 520065 Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet 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 CPU 0 irqstacks, hard=c12fd000 soft=c12dd000 PID hash table entries: 4096 (order: 12, 16384 bytes) Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 2071396k/2096640k available (1968k kernel code, 23912k reserved, 689k data, 236k init, 1179136k highmem) virtual kernel memory layout: fixmap : 0xffc57000 - 0xfffff000 (3744 kB) pkmap : 0xff800000 - 0xffc00000 (4096 kB) vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB) lowmem : 0xc0000000 - 0xf8000000 ( 896 MB) .init : 0xc129d000 - 0xc12d8000 ( 236 kB) .data : 0xc11ec064 - 0xc12987f4 ( 689 kB) .text : 0xc1000000 - 0xc11ec064 (1968 kB) Checking if this processor honours the WP bit even in supervisor mode... Ok. hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0 hpet0: 4 64-bit timers, 14318180 Hz Using HPET for base-timer Calibrating delay using timer specific routine.. 4689.28 BogoMIPS (lpj=2344640) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e3fd 00000000 00000001 monitor/mwait feature present. using mwait in idle threads. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 4096K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 0 CPU: After all inits, caps: bfebfbff 20100000 00000000 00000940 0000e3fd 00000000 00000001 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code ACPI: Core revision 20060707 CPU0: Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping 0b SMP alternatives: switching to SMP code Booting processor 1/1 eip 2000 CPU 1 irqstacks, hard=c12fe000 soft=c12de000 Initializing CPU#1 Calibrating delay using timer specific routine.. 4666.56 BogoMIPS (lpj=2333284) CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e3fd 00000000 00000001 monitor/mwait feature present. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 4096K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 1 CPU: After all inits, caps: bfebfbff 20100000 00000000 00000940 0000e3fd 00000000 00000001 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#1. CPU1: Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz stepping 0b Total of 2 processors activated (9355.84 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 checking TSC synchronization across 2 CPUs: passed. Brought up 2 CPUs migration_cost=20 checking if image is initramfs... it is Freeing initrd memory: 3018k freed NET: Registered protocol family 16 ACPI: bus type pci registered PCI: BIOS Bug: MCFG area at e0000000 is not E820-reserved PCI: Not using MMCONFIG. PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=4 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) Boot video device is 0000:01:00.0 PCI: Transparent bridge - 0000:00:1e.0 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P2._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P8._PRT] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15) ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15) ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 *15) ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 *5 6 7 10 11 12 14 15) ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. ACPI: PCI Interrupt Link [LNKH] (IRQs *3 4 5 6 7 10 11 12 14 15) Linux Plug and Play Support v0.97 (c) Adam Belay 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 PCI: Bridge: 0000:00:01.0 IO window: disabled. MEM window: fc000000-fe7fffff PREFETCH window: c0000000-dfffffff PCI: Bridge: 0000:00:1c.0 IO window: d000-dfff MEM window: fe900000-feafffff PREFETCH window: disabled. PCI: Bridge: 0000:00:1c.4 IO window: c000-cfff MEM window: fe800000-fe8fffff PREFETCH window: disabled. PCI: Bridge: 0000:00:1e.0 IO window: e000-efff MEM window: feb00000-febfffff PREFETCH window: 88000000-880fffff ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:01.0 to 64 ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low) -> IRQ 17 PCI: Setting latency timer of device 0000:00:1c.0 to 64 ACPI: PCI Interrupt 0000:00:1c.4[A] -> GSI 17 (level, low) -> IRQ 17 PCI: Setting latency timer of device 0000:00:1c.4 to 64 PCI: Setting latency timer of device 0000:00:1e.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: 8, 1048576 bytes) TCP bind hash table entries: 65536 (order: 7, 524288 bytes) TCP: Hash tables configured (established 131072 bind 65536) TCP reno registered apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac) apm: disabled - APM is not SMP safe. highmem bounce pool size: 64 pages Total HugeTLB memory allocated, 0 io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PCI: Setting latency timer of device 0000:00:01.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:01.0:pcie00] PCI: Setting latency timer of device 0000:00:1c.0 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.0:pcie00] Allocate Port Service[0000:00:1c.0:pcie02] PCI: Setting latency timer of device 0000:00:1c.4 to 64 assign_interrupt_mode Found MSI capability Allocate Port Service[0000:00:1c.4:pcie00] Allocate Port Service[0000:00:1c.4:pcie02] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ AMI] OemTableId [ CPU1PM] [20060707] ACPI (exconfig-0455): Dynamic SSDT Load - OemId [ AMI] OemTableId [ CPU2PM] [20060707] ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707] ACPI: Getting cpuindex for acpiid 0x3 ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707] ACPI: Getting cpuindex for acpiid 0x4 hpet_resources: 0xfed00000 is busy Linux agpgart interface v0.101 (c) Dave Jones Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize netconsole: not configured, aborting Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx JMB363: IDE controller at PCI slot 0000:02:00.1 PCI: Enabling device 0000:02:00.1 (0000 -> 0001) ACPI: PCI Interrupt 0000:02:00.1[B] -> GSI 17 (level, low) -> IRQ 17 JMB363: chipset revision 3 JMB363: 100% native mode on irq 17 PCI: Setting latency timer of device 0000:02:00.1 to 64 ide2: BM-DMA at 0xc400-0xc407, BIOS settings: hde:DMA, hdf:DMA ide3: BM-DMA at 0xc408-0xc40f, BIOS settings: hdg:pio, hdh:pio Probing IDE interface ide2... hde: IC35L020AVVN07-0, ATA DISK drive hdf: ATAPI DVD D DH16D2P, ATAPI CD/DVD-ROM drive ide2 at 0xcc00-0xcc07,0xc882 on irq 17 Probing IDE interface ide3... Probing IDE interface ide0... Probing IDE interface ide1... Probing IDE interface ide3... usbcore: registered new interface driver hiddev usbcore: registered new interface driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver usbcore: registered new interface driver mdc800 drivers/usb/image/mdc800.c: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800 Digital Camera PNP: No PS/2 controller found. Probing ports directly. 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 TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode Freeing unused kernel memory: 236k freed Write protecting the kernel read-only data: 319k Time: tsc clocksource has been installed. input: AT Translated Set 2 keyboard as /class/input/input0 ACPI: PCI Interrupt 0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1a.7 to 64 ehci_hcd 0000:00:1a.7: EHCI Host Controller ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:1a.7: debug port 1 PCI: cache line size of 32 is not supported by device 0000:00:1a.7 ehci_hcd 0000:00:1a.7: irq 18, io mem 0xfbfffc00 ehci_hcd 0000:00:1a.7: 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 ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1d.7 to 64 ehci_hcd 0000:00:1d.7: EHCI Host Controller ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2 ehci_hcd 0000:00:1d.7: debug port 1 PCI: cache line size of 32 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: irq 19, io mem 0xfbfff800 ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 6 ports detected ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) USB Universal Host Controller Interface driver v3.0 ACPI: PCI Interrupt 0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1a.0 to 64 uhci_hcd 0000:00:1a.0: UHCI Host Controller uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3 uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000b800 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:1a.1[B] -> GSI 21 (level, low) -> IRQ 20 PCI: Setting latency timer of device 0000:00:1a.1 to 64 uhci_hcd 0000:00:1a.1: UHCI Host Controller uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4 uhci_hcd 0000:00:1a.1: irq 20, io base 0x0000b880 usb usb4: configuration #1 chosen from 1 choice hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1a.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1a.2 to 64 uhci_hcd 0000:00:1a.2: UHCI Host Controller uhci_hcd 0000:00:1a.2: new USB bus registered, assigned bus number 5 uhci_hcd 0000:00:1a.2: irq 18, io base 0x0000bc00 usb usb5: configuration #1 chosen from 1 choice hub 5-0:1.0: USB hub found hub 5-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 19 PCI: Setting latency timer of device 0000:00:1d.0 to 64 uhci_hcd 0000:00:1d.0: UHCI Host Controller uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 6 uhci_hcd 0000:00:1d.0: irq 19, io base 0x0000b080 usb usb6: configuration #1 chosen from 1 choice hub 6-0:1.0: USB hub found hub 6-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1d.1 to 64 uhci_hcd 0000:00:1d.1: UHCI Host Controller uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 7 uhci_hcd 0000:00:1d.1: irq 21, io base 0x0000b400 usb usb7: configuration #1 chosen from 1 choice hub 7-0:1.0: USB hub found hub 7-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18 PCI: Setting latency timer of device 0000:00:1d.2 to 64 uhci_hcd 0000:00:1d.2: UHCI Host Controller uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 8 uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000b480 usb usb8: configuration #1 chosen from 1 choice hub 8-0:1.0: USB hub found hub 8-0:1.0: 2 ports detected hde: max request size: 128KiB hde: 40188960 sectors (20576 MB) w/1863KiB Cache, CHS=39870/16/63 hde: cache flushes supported hde: hde1 hde2 SCSI subsystem initialized libata version 2.00 loaded. ahci 0000:02:00.0: version 2.0 ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16 usb 8-2: new low speed USB device using uhci_hcd and address 2 usb 8-2: configuration #1 chosen from 1 choice input: KYE Systems Genius USB Mouse as /class/input/input1 input: USB HID v1.00 Mouse [KYE Systems Genius USB Mouse] on usb-0000:00:1d.2-2 PCI: Setting latency timer of device 0000:02:00.0 to 64 ahci 0000:02:00.0: AHCI 0001.0000 32 slots 2 ports 3 Gbps 0x3 impl SATA mode ahci 0000:02:00.0: flags: 64bit ncq pm led clo pmp pio slum part ata1: SATA max UDMA/133 cmd 0xF884C100 ctl 0x0 bmdma 0x0 irq 16 ata2: SATA max UDMA/133 cmd 0xF884C180 ctl 0x0 bmdma 0x0 irq 16 scsi0 : ahci ata1: SATA link down (SStatus 0 SControl 300) scsi1 : ahci ata2: SATA link down (SStatus 0 SControl 300) device-mapper: ioctl: 4.10.0-ioctl (2006-09-14) initialised: dm-devel@xxxxxxxxxx kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Real Time Clock Driver v1.12ac ACPI: PCI Interrupt 0000:04:01.0[A] -> GSI 17 (level, low) -> IRQ 17 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html 0000:04:01.0: 3Com PCI 3c905B Cyclone 100baseTx at f88d6c00. input: PC Speaker as /class/input/input2 hdf: ATAPI 48X DVD-ROM drive, 198kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.20 Non-volatile memory driver v1.2 EXT3 FS on dm-0, internal journal kjournald starting. Commit interval 5 seconds EXT3 FS on hde1, internal journal EXT3-fs: mounted filesystem with ordered data mode. Adding 2031608k swap on /dev/VolGroup00/LogVol01. Priority:-1 extents:1 across:2031608k IA-32 Microcode Update Driver: v1.14a <tigran@xxxxxxxxxxx> eth0: setting full-duplex. i2c /dev entries driver
Attachment:
lspci.output
Description: Binary data
Attachment:
test.output
Description: Binary data