BAR 0: can't allocate resource
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 13 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
I have a problem getting a couple of PCI cards to play nicely together. ...
And (for both kernels) the output of lspci has the following line:
01:04.0 Unclassified device [0080]: Device 0002:0080Quoted 6 lines
Quoted 3 lines
When you have only the 8-port serial card installed, it appears at 01:04.0. When you have both cards installed, we don't see a new device, and whatever is at 01:04.0 no longer looks like the octal UART.
I'm pretty sure that it is the octal UART, but it isn't being recognised properly.
Quoted 6 lines
I'm sure it *is* the UART, but we're getting the wrong data back from it, so we can't use it. The Mini PCI adapter must be interfering with the UART board somehow. Since you said the Mini PCI slot on the adapter is empty, and the jumpers are programmed correctly, I suspect the adapter is broken. Maybe a connector problem? Do you have another one that behaves the same way?
Unfortunately I don't have space PC104 cards. But I do have a spare PC104 motherboard (not the same brand/model), and on this I can verify that both cards work correctly.
Quoted 4 lines
If you put a Mini PCI card in the slot and try this in a system without the UART card, does the Mini PCI card work correctly? The jumpers on the adapter should determine the PCI bus number where the Mini PCI device appears.
Yes, a MiniPCI card in the slot works regardless of what other PCI cards are on the bus. I'm trying to debug this without a MiniPCI card to remove extra variables.
Quoted 10 lines
Quoted 3 lines
To test this theory, I tried with (a) no cards at all, and (b) just the MiniPCI adapter (no serial card) -- nothing else appears at 01:04.0 (output of lspci attached).
The PC/104+ to Mini PCI adapter looks like it's completely passive. It should be invisible to the OS, so it won't appear in lspci. For both cases, the lspci output you attached is exactly what I would expect.
I don't see any indication that this is a software problem (I know nothing about PC/104, so let me know if you disagree, and why).
I don't have a smoking gun that points at software, it was just my guess based on:
a) all the pieces of hardware work in certain combinations
b) there's a nasty-looking error message in dmesg
Quoted 11 lines
Quoted 7 lines
Quoted 3 lines
If so, both of those web pages mention jumpers that set the card's PCI device ("slot") number. My guess is that both of your cards are set to the same number.
I'd already looked for this, I'm certain I have the jumpers right (I tried intentionally setting them incorrectly, the failure mode is different).
How did you set them, and what was the failure? If the adapter is really passive and the Mini PCI slot is empty, it seems strange that the adapter jumper setting would make any difference at all.
I tried a few different incorrect settings, at least one of them was with both cards on the same ID. The computer failed to boot (i.e. didn't get to the linux kernel at all).
Alex
Signature · 11 lines
------------------------------ Dr Alex Brooks Marathon Robotics Pty Ltd National Innovation Centre 4 Cornwallis Street Eveleigh, NSW 2015 Sydney, Australia Ph: +61 2 9209 4021 Web: www.marathon-robotics.com ------------------------------
Quoted 7 lines · Alex Brooks
Quoted 2 lines
I don't see any indication that this is a software problem (I know nothing about PC/104, so let me know if you disagree, and why).
I don't have a smoking gun that points at software, it was just my guess
based on:
a) all the pieces of hardware work in certain combinations
b) there's a nasty-looking error message in dmesg
You mentioned two messages. Here's the first:
PCI: BIOS Bug: MCFG area at e0000000 is not reserved in ACPI motherboard resources
PCI: Not using MMCONFIG.
and the second:
PCI: Cannot allocate resource region 0 of device 0000:01:04.0
PCI: Error while updating region 0000:01:04.0/0 (feb00002 != 00000000)
The "Error while updating region" message is because we wrote something to a BAR, read it back, and they didn't match. I suppose this could be some kind of config space problem related to the fact that we're not using MMCONFIG.
Can you try removing the MCFG reservation check, so we do try to use MMCONFIG? If you do this on a current kernel, we'll also get a little more debug output about the subsequent resource allocation failure.
Bjorn
Quoted 8 lines
You mentioned two messages. Here's the first:
PCI: BIOS Bug: MCFG area ate0000000is not reserved in ACPI motherboard
resources PCI: Not using MMCONFIG.and the second:
PCI: Cannot allocate resource region 0 of device 0000:01:04.0
PCI: Error while updating region 0000:01:04.0/0 (feb00002!= 00000000)
Quoted 8 lines
The "Error while updating region" message is because we wrote something to a BAR, read it back, and they didn't match. I suppose this could be some kind of config space problem related to the fact that we're not using MMCONFIG.
Can you try removing the MCFG reservation check, so we do try to use MMCONFIG? If you do this on a current kernel, we'll also get a little more debug output about the subsequent resource allocation failure.
I did this on my 2.6.26 kernel (is this current enough or would a later kernel be better?) and attached the dmesg output.
Alex
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.26-custom (2.6.26) (root@moss) (gcc version 4.3.3 (Debian 4.3.3-3) ) #1 SMP Thu Jan 7 11:23:54 EST 2010 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000003f7c0000 (usable) [ 0.000000] BIOS-e820: 000000003f7c0000 - 000000003f7ce000 (ACPI data) [ 0.000000] BIOS-e820: 000000003f7ce000 - 000000003f800000 (ACPI NVS) [ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) [ 0.000000] BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved) [ 0.000000] 119MB HIGHMEM available. [ 0.000000] 896MB LOWMEM available. [ 0.000000] found SMP MP-table at [c00ff780] 000ff780 [ 0.000000] Entering add_active_range(0, 0, 260032) 0 entries of 256 used [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0 -> 4096 [ 0.000000] Normal 4096 -> 229376 [ 0.000000] HighMem 229376 -> 260032 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[1] active PFN ranges [ 0.000000] 0: 0 -> 260032 [ 0.000000] On node 0 totalpages: 260032 [ 0.000000] DMA zone: 32 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 4064 pages, LIFO batch:0 [ 0.000000] Normal zone: 1760 pages used for memmap [ 0.000000] Normal zone: 223520 pages, LIFO batch:31 [ 0.000000] HighMem zone: 240 pages used for memmap [ 0.000000] HighMem zone: 30416 pages, LIFO batch:7 [ 0.000000] Movable zone: 0 pages used for memmap [ 0.000000] DMI present. [ 0.000000] ACPI: RSDP 000F8ED0, 0014 (r0 ACPIAM) [ 0.000000] ACPI: RSDT 3F7C0000, 003C (r1 112007 RSDT1407 20071120 MSFT 97) [ 0.000000] ACPI: FACP 3F7C0200, 0084 (r2 112007 FACP1407 20071120 MSFT 97) [ 0.000000] ACPI: DSDT 3F7C05B0, 4FF8 (r1 DLAG_ DLAG_117 117 INTL 20051117) [ 0.000000] ACPI: FACS 3F7CE000, 0040 [ 0.000000] ACPI: APIC 3F7C0390, 005C (r1 112007 APIC1407 20071120 MSFT 97) [ 0.000000] ACPI: MCFG 3F7C03F0, 003C (r1 112007 OEMMCFG 20071120 MSFT 97) [ 0.000000] ACPI: SLIC 3F7C0430, 0176 (r1 112007 SLIC1407 20071120 MSFT 97) [ 0.000000] ACPI: OEMB 3F7CE040, 0071 (r1 112007 OEMB1407 20071120 MSFT 97) [ 0.000000] ACPI: ASF! 3F7C55B0, 0075 (r32 LEGEND I865PASF 1 INTL 20051117) [ 0.000000] ACPI: PM-Timer IO Port: 0x808 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x81] disabled) [ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ2 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] Allocating PCI resources starting at 40000000 (gap: 3f800000:bf600000) [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000 [ 0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000 [ 0.000000] SMP: Allowing 2 CPUs, 1 hotplug CPUs [ 0.000000] PERCPU: Allocating 37576 bytes of per cpu data [ 0.000000] NR_CPUS: 8, nr_cpu_ids: 2 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258000 [ 0.000000] Kernel command line: root=/dev/hdb2 ro 8250.nr_uarts=10 quiet [ 0.000000] mapped APIC to ffffb000 (fee00000) [ 0.000000] mapped IOAPIC to ffffa000 (fec00000) [ 0.000000] Enabling fast FPU save and restore... done. [ 0.000000] Enabling unmasked SIMD FPU exception support... done. [ 0.000000] Initializing CPU#0 [ 0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes) [ 0.000000] Detected 1666.687 MHz processor. [ 0.004000] Console: colour VGA+ 80x25 [ 0.004000] console [tty0] enabled [ 0.004000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.004000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.004000] Memory: 1021624k/1040128k available (1791k kernel code, 17740k reserved, 725k data, 248k init, 122624k highmem) [ 0.004000] virtual kernel memory layout: [ 0.004000] fixmap : 0xfff4c000 - 0xfffff000 ( 716 kB) [ 0.004000] pkmap : 0xff800000 - 0xffc00000 (4096 kB) [ 0.004000] vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB) [ 0.004000] lowmem : 0xc0000000 - 0xf8000000 ( 896 MB) [ 0.004000] .init : 0xc037d000 - 0xc03bb000 ( 248 kB) [ 0.004000] .data : 0xc02bfd70 - 0xc0375418 ( 725 kB) [ 0.004000] .text : 0xc0100000 - 0xc02bfd70 (1791 kB) [ 0.004000] Checking if this processor honours the WP bit even in supervisor mode...Ok. [ 0.004000] CPA: page pool initialized 1 of 1 pages preallocated [ 0.084101] Calibrating delay using timer specific routine.. 3337.10 BogoMIPS (lpj=6674206) [ 0.084138] Security Framework initialized [ 0.084144] SELinux: Disabled at boot. [ 0.084148] Capability LSM initialized [ 0.084163] Mount-cache hash table entries: 512 [ 0.084302] Initializing cgroup subsys ns [ 0.084306] Initializing cgroup subsys cpuacct [ 0.084309] Initializing cgroup subsys devices [ 0.084328] CPU: L1 I cache: 32K, L1 D cache: 32K [ 0.084331] CPU: L2 cache: 2048K [ 0.084335] Intel machine check architecture supported. [ 0.084341] Intel machine check reporting enabled on CPU#0. [ 0.084343] using mwait in idle threads. [ 0.084352] Checking 'hlt' instruction... OK. [ 0.100449] SMP alternatives: switching to UP code [ 0.106103] ACPI: Core revision 20080321 [ 0.120007] ENABLING IO-APIC IRQs [ 0.120007] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.159715] CPU0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz stepping 0c [ 0.160010] Brought up 1 CPUs [ 0.160010] Total of 1 processors activated (3337.10 BogoMIPS). [ 0.160010] CPU0 attaching sched-domain: [ 0.160010] domain 0: span 0 [ 0.160010] groups: 0 [ 0.160010] net_namespace: 660 bytes [ 0.160010] Booting paravirtualized kernel on bare hardware [ 0.160010] NET: Registered protocol family 16 [ 0.160010] ACPI: bus type pci registered [ 0.160010] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255 [ 0.160010] PCI: Not using MMCONFIG. [ 0.160010] PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=1 [ 0.160010] PCI: Using configuration type 1 for base access [ 0.160010] Setting up standard PCI resources [ 0.168010] ACPI: EC: Look up EC in DSDT [ 0.178108] ACPI: Interpreter enabled [ 0.178111] ACPI: (supports S0 S1 S3 S4 S5) [ 0.178128] ACPI: Using IOAPIC for interrupt routing [ 0.178193] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255 [ 0.185680] AlexB: ignoring error and continuing: PCI: BIOS Bug: MCFG area at e0000000 is not reserved in ACPI motherboard resources [ 0.185684] PCI: Using MMCONFIG for extended config space [ 0.196164] ACPI: PCI Root Bridge [PCI0] (0000:00) [ 0.196841] pci 0000:00:1f.0: Force enabled HPET at 0xfed00000 [ 0.196847] pci 0000:00:1f.0: quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO [ 0.196852] pci 0000:00:1f.0: quirk: region 0480-04bf claimed by ICH6 GPIO [ 0.197225] PCI: Transparent bridge - 0000:00:1e.0 [ 0.197248] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] [ 0.197507] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT] [ 0.207695] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 11 12 14 *15) [ 0.207842] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. [ 0.207989] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 *15) [ 0.208139] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 *15) [ 0.208284] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 *15) [ 0.208428] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. [ 0.208576] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. [ 0.208724] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 *6 7 10 11 12 14 15) [ 0.208942] ACPI Warning (tbutils-0217): Incorrect checksum in table [OEMB] - 48, should be 41 [20080321] [ 0.208966] Linux Plug and Play Support v0.97 (c) Adam Belay [ 0.208997] pnp: PnP ACPI init [ 0.209005] ACPI: bus type pnp registered [ 0.215537] pnp: PnP ACPI: found 17 devices [ 0.215540] ACPI: ACPI bus type pnp unregistered [ 0.215543] PnPBIOS: Disabled by ACPI PNP [ 0.215788] PCI: Using ACPI for IRQ routing [ 0.215844] PCI: Cannot allocate resource region 0 of device 0000:01:04.0 [ 0.216114] hpet clockevent registered [ 0.216120] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 [ 0.216125] hpet0: 3 64-bit timers, 14318180 Hz [ 0.217165] ACPI: RTC can wake from S4 [ 0.217190] system 00:01: iomem range 0xfed13000-0xfed19fff has been reserved [ 0.217200] system 00:09: ioport range 0xa00-0xa0f has been reserved [ 0.217209] system 00:0b: ioport range 0x4d0-0x4d1 has been reserved [ 0.217213] system 00:0b: ioport range 0x800-0x87f has been reserved [ 0.217216] system 00:0b: ioport range 0x480-0x4bf has been reserved [ 0.217220] system 00:0b: iomem range 0xfed1c000-0xfed1ffff has been reserved [ 0.217223] system 00:0b: iomem range 0xfed20000-0xfed3ffff has been reserved [ 0.217226] system 00:0b: iomem range 0xfed40000-0xfed8ffff has been reserved [ 0.217233] system 00:0d: iomem range 0xffc00000-0xffefffff could not be reserved [ 0.217239] system 00:0e: iomem range 0xfec00000-0xfec00fff has been reserved [ 0.217242] system 00:0e: iomem range 0xfee00000-0xfee00fff could not be reserved [ 0.217248] system 00:0f: iomem range 0xe0000000-0xe3ffffff has been reserved [ 0.217254] system 00:10: iomem range 0x0-0x9ffff could not be reserved [ 0.217257] system 00:10: iomem range 0xc0000-0xcffff could not be reserved [ 0.217260] system 00:10: iomem range 0xe0000-0xfffff could not be reserved [ 0.217263] system 00:10: iomem range 0x100000-0x3f7fffff could not be reserved [ 0.217266] system 00:10: iomem range 0xfed90000-0xffffffff could not be reserved [ 0.247644] PCI: Error while updating region 0000:01:04.0/0 (feb00002 != 00000000) [ 0.247698] PCI: Bridge: 0000:00:1e.0 [ 0.247702] IO window: e000-efff [ 0.247707] MEM window: 0xfeb00000-0xfebfffff [ 0.247711] PREFETCH window: disabled. [ 0.247728] PCI: Setting latency timer of device 0000:00:1e.0 to 64 [ 0.247748] NET: Registered protocol family 2 [ 0.247837] IP route cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.248071] TCP established hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.248862] TCP bind hash table entries: 65536 (order: 7, 524288 bytes) [ 0.249261] TCP: Hash tables configured (established 131072 bind 65536) [ 0.249264] TCP reno registered [ 0.249374] NET: Registered protocol family 1 [ 0.249488] checking if image is initramfs... it is [ 0.720023] Switched to high resolution mode on CPU 0 [ 0.749105] Freeing initrd memory: 5482k freed [ 0.749850] audit: initializing netlink socket (disabled) [ 0.749866] type=2000 audit(1262826245.748:1): initialized [ 0.750020] highmem bounce pool size: 64 pages [ 0.750025] Total HugeTLB memory allocated, 0 [ 0.750099] VFS: Disk quotas dquot_6.5.1 [ 0.750124] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.750170] msgmni has been set to 1767 [ 0.750267] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.750270] io scheduler noop registered [ 0.750272] io scheduler anticipatory registered [ 0.750275] io scheduler deadline registered [ 0.750285] io scheduler cfq registered (default) [ 0.750300] pci 0000:00:02.0: Boot video device [ 0.750397] pci 0000:01:08.0: Firmware left e100 interrupts enabled; disabling [ 0.750712] isapnp: Scanning for PnP cards... [ 1.105027] isapnp: No Plug & Play device found [ 1.107558] Serial: 8250/16550 driver $Revision: 1.90 $ 10 ports, IRQ sharing enabled [ 1.107690] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 1.107815] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [ 1.108453] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 1.108633] 00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [ 1.110043] brd: module loaded [ 1.110192] PNP: No PS/2 controller found. Probing ports directly. [ 1.112371] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.112377] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 1.112515] mice: PS/2 mouse device common for all mice [ 1.112636] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0 [ 1.112657] rtc0: alarms up to one month [ 1.112691] cpuidle: using governor ladder [ 1.112694] cpuidle: using governor menu [ 1.112698] No iBFT detected. [ 1.113076] TCP cubic registered [ 1.113079] NET: Registered protocol family 17 [ 1.113085] Using IPI No-Shortcut mode [ 1.113193] registered taskstats version 1 [ 1.113324] rtc_cmos 00:03: setting system clock to 2010-01-07 01:04:07 UTC (1262826247) [ 1.113454] Freeing unused kernel memory: 248k freed [ 1.187611] ACPI: SSDT 3F7CE0C0, 0688 (r1 AMI CPU1PM 1 INTL 20051117) [ 1.188254] ACPI: CPU0 (power states: C1[C1] C2[C2]) [ 1.188298] ACPI: ACPI0007:00 is registered as cooling_device0 [ 1.635732] usbcore: registered new interface driver usbfs [ 1.635759] usbcore: registered new interface driver hub [ 1.635789] usbcore: registered new device driver usb [ 1.644059] USB Universal Host Controller Interface driver v3.0 [ 1.644106] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23 [ 1.644119] PCI: Setting latency timer of device 0000:00:1d.0 to 64 [ 1.644123] uhci_hcd 0000:00:1d.0: UHCI Host Controller [ 1.644249] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 [ 1.644283] uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000dc00 [ 1.644369] usb usb1: configuration #1 chosen from 1 choice [ 1.644400] hub 1-0:1.0: USB hub found [ 1.644406] hub 1-0:1.0: 2 ports detected [ 1.735791] e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI [ 1.735794] e100: Copyright(c) 1999-2006 Intel Corporation [ 1.746826] No dock devices found. [ 1.754725] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.754728] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.754731] usb usb1: Product: UHCI Host Controller [ 1.754734] usb usb1: Manufacturer: Linux 2.6.26-custom uhci_hcd [ 1.754736] usb usb1: SerialNumber: 0000:00:1d.0 [ 1.754808] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19 [ 1.754818] PCI: Setting latency timer of device 0000:00:1d.1 to 64 [ 1.754823] uhci_hcd 0000:00:1d.1: UHCI Host Controller [ 1.754847] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2 [ 1.754880] uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d880 [ 1.754955] usb usb2: configuration #1 chosen from 1 choice [ 1.754983] hub 2-0:1.0: USB hub found [ 1.754990] hub 2-0:1.0: 2 ports detected [ 1.770625] SCSI subsystem initialized [ 1.784134] libata version 3.00 loaded. [ 1.856106] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.856110] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.856113] usb usb2: Product: UHCI Host Controller [ 1.856115] usb usb2: Manufacturer: Linux 2.6.26-custom uhci_hcd [ 1.856118] usb usb2: SerialNumber: 0000:00:1d.1 [ 1.856176] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18 [ 1.856187] PCI: Setting latency timer of device 0000:00:1d.2 to 64 [ 1.856191] uhci_hcd 0000:00:1d.2: UHCI Host Controller [ 1.856216] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3 [ 1.856250] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000d800 [ 1.856326] usb usb3: configuration #1 chosen from 1 choice [ 1.856354] hub 3-0:1.0: USB hub found [ 1.856360] hub 3-0:1.0: 2 ports detected [ 1.940002] Marking TSC unstable due to: TSC halts in idle. [ 1.963998] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.964002] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.964005] usb usb3: Product: UHCI Host Controller [ 1.964007] usb usb3: Manufacturer: Linux 2.6.26-custom uhci_hcd [ 1.964009] usb usb3: SerialNumber: 0000:00:1d.2 [ 1.964014] ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16 [ 1.964014] PCI: Setting latency timer of device 0000:00:1d.3 to 64 [ 1.964014] uhci_hcd 0000:00:1d.3: UHCI Host Controller [ 1.964014] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4 [ 1.964014] uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000d480 [ 1.964014] usb usb4: configuration #1 chosen from 1 choice [ 1.964014] hub 4-0:1.0: USB hub found [ 1.964014] hub 4-0:1.0: 2 ports detected [ 1.994949] usb 1-1: new low speed USB device using uhci_hcd and address 2 [ 2.066799] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 [ 2.066802] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.066805] usb usb4: Product: UHCI Host Controller [ 2.066807] usb usb4: Manufacturer: Linux 2.6.26-custom uhci_hcd [ 2.066809] usb usb4: SerialNumber: 0000:00:1d.3 [ 2.066961] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23 [ 2.066976] PCI: Setting latency timer of device 0000:00:1d.7 to 64 [ 2.066980] ehci_hcd 0000:00:1d.7: EHCI Host Controller [ 2.067003] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5 [ 2.070923] ehci_hcd 0000:00:1d.7: debug port 1 [ 2.070930] PCI: cache line size of 32 is not supported by device 0000:00:1d.7 [ 2.070935] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfea37c00 [ 2.128023] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 [ 2.128078] usb usb5: configuration #1 chosen from 1 choice [ 2.128104] hub 5-0:1.0: USB hub found [ 2.128112] hub 5-0:1.0: 8 ports detected [ 2.232095] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.232098] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.232101] usb usb5: Product: EHCI Host Controller [ 2.232103] usb usb5: Manufacturer: Linux 2.6.26-custom ehci_hcd [ 2.232105] usb usb5: SerialNumber: 0000:00:1d.7 [ 2.233214] ACPI: PCI Interrupt 0000:01:08.0[A] -> GSI 20 (level, low) -> IRQ 20 [ 2.258614] e100: eth0: e100_probe: addr 0xfebfe000, irq 20, MAC addr 00:30:59:04:25:2e [ 2.258657] ata_piix 0000:00:1f.2: version 2.12 [ 2.258674] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19 [ 2.258679] ata_piix 0000:00:1f.2: MAP [ P0 P2 -- -- ] [ 2.258714] PCI: Setting latency timer of device 0000:00:1f.2 to 64 [ 2.258771] scsi0 : ata_piix [ 2.258853] scsi1 : ata_piix [ 2.258884] ata1: SATA max UDMA/133 cmd 0xd400 ctl 0xd080 bmdma 0xcc00 irq 19 [ 2.258887] ata2: SATA max UDMA/133 cmd 0xd000 ctl 0xcc80 bmdma 0xcc08 irq 19 [ 2.524197] usb 1-1: device not accepting address 2, error -71 [ 2.594897] Uniform Multi-Platform E-IDE driver [ 2.594901] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx [ 2.595366] ICH7: IDE controller (0x8086:0x27df rev 0x02) at PCI slot 0000:00:1f.1 [ 2.595377] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18 [ 2.595386] ICH7: not 100% native mode: will probe irqs later [ 2.595394] ICH7: IDE port disabled [ 2.595399] ide0: BM-DMA at 0xffa0-0xffa7 [ 2.595404] Probing IDE interface ide0... [ 2.606275] hub 1-0:1.0: unable to enumerate USB device on port 1 [ 3.104285] hdb: SILICONSYSTEMS UDMA 4GB-4300, ATA DISK drive [ 3.120023] usb 1-1: new low speed USB device using uhci_hcd and address 4 [ 3.160055] hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4 [ 3.160101] hdb: host side 80-wire cable detection failed, limiting max speed to UDMA33 [ 3.160103] hdb: UDMA/33 mode selected [ 3.160152] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 [ 3.177696] hdb: max request size: 128KiB [ 3.177699] hdb: 8027712 sectors (4110 MB) w/1KiB Cache, CHS=7964/16/63 [ 3.177959] hdb: cache flushes supported [ 3.177990] hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 hdb8 hdb9 > [ 3.265510] PM: Starting manual resume from disk [ 3.277632] kjournald starting. Commit interval 5 seconds [ 3.277641] EXT3-fs: mounted filesystem with ordered data mode. [ 3.371382] usb 1-1: configuration #1 chosen from 1 choice [ 3.377453] usb 1-1: New USB device found, idVendor=1241, idProduct=1603 [ 3.377457] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3.377460] usb 1-1: Product: USB Keyboard [ 3.377461] usb 1-1: Manufacturer: [ 3.623882] udevd version 125 started [ 4.179487] Linux agpgart interface v0.103 [ 4.184696] agpgart: Detected an Intel 945GME Chipset. [ 4.185040] agpgart: Detected 7932K stolen memory. [ 4.200169] agpgart: AGP aperture is 256M @ 0xd0000000 [ 4.340024] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16 [ 4.340046] PCI: Setting latency timer of device 0000:00:1b.0 to 64 [ 4.375731] hda_codec: Unknown model for ALC882, trying auto-probe from BIOS... [ 4.425641] usbcore: registered new interface driver hiddev [ 4.459370] input: Power Button (FF) as /class/input/input0 [ 4.469725] input: USB Keyboard as /class/input/input1 [ 4.473389] ACPI: Power Button (FF) [PWRF] [ 4.473472] input: Power Button (CM) as /class/input/input2 [ 4.491042] ACPI: Power Button (CM) [PWRB] [ 4.504057] input,hidraw0: USB HID v1.10 Keyboard [ USB Keyboard] on usb-0000:00:1d.0-1 [ 4.589402] input: USB Keyboard as /class/input/input3 [ 4.600039] input,hidraw1: USB HID v1.10 Device [ USB Keyboard] on usb-0000:00:1d.0-1 [ 4.600059] usbcore: registered new interface driver usbhid [ 4.600064] usbhid: v2.6:USB HID core driver [ 5.597656] intel_rng: FWH not detected [ 5.620584] input: Video Bus as /class/input/input4 [ 5.632023] ACPI: Video Device [IGD] (multi-head: yes rom: no post: no) [ 5.679083] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008) [ 5.679151] iTCO_wdt: Found a ICH7-M DH TCO device (Version=2, TCOBASE=0x0860) [ 5.679181] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0) [ 5.791951] ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 19 [ 5.859236] input: PC Speaker as /class/input/input5 [ 5.876135] Error: Driver 'pcspkr' is already registered, aborting... [ 5.962974] Error: Driver 'pcspkr' is already registered, aborting... [ 6.133435] parport_pc 00:08: reported by Plug and Play ACPI [ 6.133487] parport0: PC-style at 0x378, irq 7 [PCSPP] [ 6.974296] Adding 489940k swap on /dev/hdb8. Priority:-1 extents:1 across:489940k [ 7.879067] loop: module loaded [ 7.892565] ppdev: user-space parallel port driver [ 8.258340] kjournald starting. Commit interval 5 seconds [ 8.258349] EXT3-fs: mounted filesystem with ordered data mode. [ 8.259734] kjournald starting. Commit interval 5 seconds [ 8.282598] EXT3 FS on hdb6, internal journal [ 8.282598] EXT3-fs: mounted filesystem with ordered data mode. [ 8.283201] kjournald starting. Commit interval 5 seconds [ 8.414148] EXT3 FS on hdb7, internal journal [ 8.414148] EXT3-fs: mounted filesystem with ordered data mode. [ 8.415383] kjournald starting. Commit interval 5 seconds [ 8.415383] EXT3-fs: mounted filesystem with ordered data mode. [ 8.416843] kjournald starting. Commit interval 5 seconds [ 8.434804] EXT3 FS on hdb5, internal journal [ 8.434804] EXT3-fs: mounted filesystem with ordered data mode. [ 8.636130] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex [ 12.763934] NET: Registered protocol family 10 [ 12.764326] lo: Disabled Privacy Extensions [ 23.596026] eth0: no IPv6 routers present
Quoted 13 lines · Alex Brooks
Quoted 13 lines
You mentioned two messages. Here's the first:
PCI: BIOS Bug: MCFG area ate0000000is not reserved in ACPI motherboard
resources PCI: Not using MMCONFIG.and the second:
PCI: Cannot allocate resource region 0 of device 0000:01:04.0
PCI: Error while updating region 0000:01:04.0/0 (feb00002!= 00000000)The "Error while updating region" message is because we wrote something to a BAR, read it back, and they didn't match. I suppose this could be some kind of config space problem related to the fact that we're not using MMCONFIG.
Quoted 6 lines
Quoted 3 lines
Can you try removing the MCFG reservation check, so we do try to use MMCONFIG? If you do this on a current kernel, we'll also get a little more debug output about the subsequent resource allocation failure.
I did this on my 2.6.26 kernel (is this current enough or would a later kernel be better?) and attached the dmesg output.
Looks like you got the same errors when accessing config space as before.
I was hoping for a kernel directly from Linus' git repo, e.g., 2.6.33-rc3; I don't think the debug output I'm thinking about went in until after 2.6.32 was released.
Bjorn
Quoted 3 lines
I was hoping for a kernel directly from Linus' git repo, e.g., 2.6.33-rc3; I don't think the debug output I'm thinking about went in until after 2.6.32 was released.
I'm not sure how to modify the 2.6.33-rc3 kernel source exactly re MCFG -- the dmesg output for 2.6.33-rc3 is quite different (attached), including some new information about an address collision for the recalcitrant device:
pci 0000:01:04.0: address space collision: [mem 0x00800000-0x00800fff] already in use
pci 0000:01:04.0: can't reserve [mem 0x00800000-0x00800fff]
Does this shed any more light on things (or can you tell me what I could modify to get better debug info)?
Thanks,
Alex
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.33-rc3 (root@waltz) (gcc version 4.3.4 (Debian 4.3.4-6) ) #4 SMP Sun Jan 10 13:34:48 EST 2010 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 000000003f7c0000 (usable) [ 0.000000] BIOS-e820: 000000003f7c0000 - 000000003f7ce000 (ACPI data) [ 0.000000] BIOS-e820: 000000003f7ce000 - 000000003f800000 (ACPI NVS) [ 0.000000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) [ 0.000000] BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved) [ 0.000000] Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel! [ 0.000000] DMI present. [ 0.000000] AMI BIOS detected: BIOS may corrupt low RAM, working around it. [ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved) [ 0.000000] last_pfn = 0x3f7c0 max_arch_pfn = 0x100000 [ 0.000000] MTRR default type: uncachable [ 0.000000] MTRR fixed ranges enabled: [ 0.000000] 00000-9FFFF write-back [ 0.000000] A0000-DFFFF uncachable [ 0.000000] E0000-E3FFF write-protect [ 0.000000] E4000-EFFFF write-through [ 0.000000] F0000-FFFFF write-protect [ 0.000000] MTRR variable ranges enabled: [ 0.000000] 0 base 000000000 mask FC0000000 write-back [ 0.000000] 1 base 03F800000 mask FFF800000 uncachable [ 0.000000] 2 disabled [ 0.000000] 3 disabled [ 0.000000] 4 disabled [ 0.000000] 5 disabled [ 0.000000] 6 disabled [ 0.000000] 7 disabled [ 0.000000] PAT not supported by CPU. [ 0.000000] initial memory mapped : 0 - 00800000 [ 0.000000] found SMP MP-table at [c00ff780] ff780 [ 0.000000] init_memory_mapping: 0000000000000000-00000000373fe000 [ 0.000000] 0000000000 - 0000400000 page 4k [ 0.000000] 0000400000 - 0037000000 page 2M [ 0.000000] 0037000000 - 00373fe000 page 4k [ 0.000000] kernel direct mapping tables up to 373fe000 @ 15000-1b000 [ 0.000000] RAMDISK: 2f270000 - 2fa0fb83 [ 0.000000] ACPI: RSDP 000f8ed0 00014 (v00 ACPIAM) [ 0.000000] ACPI: RSDT 3f7c0000 0003C (v01 112007 RSDT1407 20071120 MSFT 00000097) [ 0.000000] ACPI: FACP 3f7c0200 00084 (v02 112007 FACP1407 20071120 MSFT 00000097) [ 0.000000] ACPI: DSDT 3f7c05b0 04FF8 (v01 DLAG_ DLAG_117 00000117 INTL 20051117) [ 0.000000] ACPI: FACS 3f7ce000 00040 [ 0.000000] ACPI: APIC 3f7c0390 0005C (v01 112007 APIC1407 20071120 MSFT 00000097) [ 0.000000] ACPI: MCFG 3f7c03f0 0003C (v01 112007 OEMMCFG 20071120 MSFT 00000097) [ 0.000000] ACPI: SLIC 3f7c0430 00176 (v01 112007 SLIC1407 20071120 MSFT 00000097) [ 0.000000] ACPI: OEMB 3f7ce040 00071 (v01 112007 OEMB1407 20071120 MSFT 00000097) [ 0.000000] ACPI: ASF! 3f7c55b0 00075 (v32 LEGEND I865PASF 00000001 INTL 20051117) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] 131MB HIGHMEM available. [ 0.000000] 883MB LOWMEM available. [ 0.000000] mapped low ram: 0 - 373fe000 [ 0.000000] low ram: 0 - 373fe000 [ 0.000000] node 0 low ram: 00000000 - 373fe000 [ 0.000000] node 0 bootmap 00017000 - 0001de80 [ 0.000000] (14 early reservations) ==> bootmem [0000000000 - 00373fe000] [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] [ 0.000000] #1 [0000001000 - 0000001000] EX TRAMPOLINE [ 0.000000] #2 [0000100000 - 0000594208] TEXT DATA BSS ==> [0000100000 - 0000594208] [ 0.000000] #3 [002f270000 - 002fa0fb83] RAMDISK ==> [002f270000 - 002fa0fb83] [ 0.000000] #4 [0000595000 - 0000597127] BRK ==> [0000595000 - 0000597127] [ 0.000000] #5 [00000ff790 - 0000100000] BIOS reserved ==> [00000ff790 - 0000100000] [ 0.000000] #6 [00000ff780 - 00000ff790] MP-table mpf ==> [00000ff780 - 00000ff790] [ 0.000000] #7 [000009fc00 - 00000e5890] BIOS reserved ==> [000009fc00 - 00000e5890] [ 0.000000] #8 [00000e59b8 - 00000ff780] BIOS reserved ==> [00000e59b8 - 00000ff780] [ 0.000000] #9 [00000e5890 - 00000e59b8] MP-table mpc ==> [00000e5890 - 00000e59b8] [ 0.000000] #10 [0000010000 - 0000011000] TRAMPOLINE ==> [0000010000 - 0000011000] [ 0.000000] #11 [0000011000 - 0000015000] ACPI WAKEUP ==> [0000011000 - 0000015000] [ 0.000000] #12 [0000015000 - 0000017000] PGTABLE ==> [0000015000 - 0000017000] [ 0.000000] #13 [0000017000 - 000001e000] BOOTMAP ==> [0000017000 - 000001e000] [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000010 -> 0x00001000 [ 0.000000] Normal 0x00001000 -> 0x000373fe [ 0.000000] HighMem 0x000373fe -> 0x0003f7c0 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[2] active PFN ranges [ 0.000000] 0: 0x00000010 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x0003f7c0 [ 0.000000] On node 0 totalpages: 259919 [ 0.000000] free_area_init_node: node 0, pgdat c0481e40, node_mem_map c1001200 [ 0.000000] DMA zone: 32 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 3951 pages, LIFO batch:0 [ 0.000000] Normal zone: 1736 pages used for memmap [ 0.000000] Normal zone: 220470 pages, LIFO batch:31 [ 0.000000] HighMem zone: 264 pages used for memmap [ 0.000000] HighMem zone: 33466 pages, LIFO batch:7 [ 0.000000] Using APIC driver default [ 0.000000] ACPI: PM-Timer IO Port: 0x808 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x81] disabled) [ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ2 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] Enabling APIC mode: Flat. Using 1 I/O APICs [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] SMP: Allowing 2 CPUs, 1 hotplug CPUs [ 0.000000] nr_irqs_gsi: 24 [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000 [ 0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 3f800000 (gap: 3f800000:bf600000) [ 0.000000] Booting paravirtualized kernel on bare hardware [ 0.000000] setup_percpu: NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:2 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 13 pages/cpu @c1800000 s32280 r0 d20968 u2097152 [ 0.000000] pcpu-alloc: s32280 r0 d20968 u2097152 alloc=1*4194304 [ 0.000000] pcpu-alloc: [0] 0 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257887 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.33-rc3 root=UUID=01963ea0-bf6e-4697-9eb4-53287b2c5e12 ro quiet [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Enabling fast FPU save and restore... done. [ 0.000000] Enabling unmasked SIMD FPU exception support... done. [ 0.000000] Initializing CPU#0 [ 0.000000] Initializing HighMem for node 0 (000373fe:0003f7c0) [ 0.000000] Memory: 1017516k/1040128k available (2394k kernel code, 21592k reserved, 1236k data, 368k init, 134920k highmem) [ 0.000000] virtual kernel memory layout: [ 0.000000] fixmap : 0xffd56000 - 0xfffff000 (2724 kB) [ 0.000000] pkmap : 0xff400000 - 0xff800000 (4096 kB) [ 0.000000] vmalloc : 0xf7bfe000 - 0xff3fe000 ( 120 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf73fe000 ( 883 MB) [ 0.000000] .init : 0xc048c000 - 0xc04e8000 ( 368 kB) [ 0.000000] .data : 0xc0356b0e - 0xc048bd84 (1236 kB) [ 0.000000] .text : 0xc0100000 - 0xc0356b0e (2394 kB) [ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok. [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:1280 [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [tty0] enabled [ 0.000000] Fast TSC calibration using PIT [ 0.000000] Detected 1666.693 MHz processor. [ 0.004005] Calibrating delay loop (skipped), value calculated using timer frequency.. 3333.38 BogoMIPS (lpj=6666772) [ 0.004048] Security Framework initialized [ 0.004055] SELinux: Disabled at boot. [ 0.004072] Mount-cache hash table entries: 512 [ 0.004207] Initializing cgroup subsys ns [ 0.004211] Initializing cgroup subsys cpuacct [ 0.004216] Initializing cgroup subsys devices [ 0.004219] Initializing cgroup subsys freezer [ 0.004221] Initializing cgroup subsys net_cls [ 0.004254] mce: CPU supports 6 MCE banks [ 0.004264] CPU0: Thermal monitoring enabled (TM2) [ 0.004268] using mwait in idle threads. [ 0.004276] Performance Events: no PMU driver, software events only. [ 0.004282] Checking 'hlt' instruction... OK. [ 0.020370] SMP alternatives: switching to UP code [ 0.024301] ACPI: Core revision 20091214 [ 0.036415] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.076697] CPU0: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz stepping 0c [ 0.080000] Brought up 1 CPUs [ 0.080000] Total of 1 processors activated (3333.38 BogoMIPS). [ 0.080000] regulator: core version 0.5 [ 0.080000] NET: Registered protocol family 16 [ 0.080000] ACPI: bus type pci registered [ 0.080000] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000) [ 0.080000] PCI: not using MMCONFIG [ 0.080000] PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=1 [ 0.080000] PCI: Using configuration type 1 for base access [ 0.080000] bio: create slab <bio-0> at 0 [ 0.080050] ACPI: EC: Look up EC in DSDT [ 0.085189] ACPI: Executed 1 blocks of module-level executable AML code [ 0.091910] ACPI Warning: Incorrect checksum in table [OEMB] - 48, should be 41 (20091214/tbutils-314) [ 0.091933] ACPI: SSDT 3f7ce0c0 00688 (v01 AMI CPU1PM 00000001 INTL 20051117) [ 0.092614] ACPI: Interpreter enabled [ 0.092625] ACPI: (supports S0 S1 S3 S4 S5) [ 0.092652] ACPI: Using IOAPIC for interrupt routing [ 0.092714] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000) [ 0.113778] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in ACPI motherboard resources [ 0.113784] PCI: MMCONFIG for 0000 [bus00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000) (size reduced!) [ 0.113787] PCI: Using MMCONFIG for extended config space [ 0.126055] ACPI: No dock devices found. [ 0.126239] ACPI: PCI Root Bridge [PCI0] (0000:00) [ 0.126294] pci_root PNP0A08:00: ignoring host bridge windows from ACPI; boot with "pci=use_crs" to use them [ 0.126637] pci_root PNP0A08:00: host bridge window [io 0x0000-0x0cf7] (ignored) [ 0.126641] pci_root PNP0A08:00: host bridge window [io 0x0d00-0xffff] (ignored) [ 0.126645] pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff] (ignored) [ 0.126648] pci_root PNP0A08:00: host bridge window [mem 0x000d0000-0x000dffff] (ignored) [ 0.126652] pci_root PNP0A08:00: host bridge window [mem 0x3f800000-0xdfffffff] (ignored) [ 0.126655] pci_root PNP0A08:00: host bridge window [mem 0xe4000000-0xfed8ffff] (ignored) [ 0.126723] pci 0000:00:02.0: reg 10: [mem 0xfea80000-0xfeafffff] [ 0.126729] pci 0000:00:02.0: reg 14: [io 0xdc80-0xdc87] [ 0.126734] pci 0000:00:02.0: reg 18: [mem 0xd0000000-0xdfffffff pref] [ 0.126740] pci 0000:00:02.0: reg 1c: [mem 0xfea40000-0xfea7ffff] [ 0.126778] pci 0000:00:02.1: reg 10: [mem 0xfe980000-0xfe9fffff] [ 0.126871] pci 0000:00:1b.0: reg 10: [mem 0xfea38000-0xfea3bfff 64bit] [ 0.126925] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold [ 0.126930] pci 0000:00:1b.0: PME# disabled [ 0.126984] pci 0000:00:1d.0: reg 20: [io 0xdc00-0xdc1f] [ 0.127043] pci 0000:00:1d.1: reg 20: [io 0xd880-0xd89f] [ 0.127102] pci 0000:00:1d.2: reg 20: [io 0xd800-0xd81f] [ 0.127161] pci 0000:00:1d.3: reg 20: [io 0xd480-0xd49f] [ 0.127219] pci 0000:00:1d.7: reg 10: [mem 0xfea37c00-0xfea37fff] [ 0.127281] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold [ 0.127287] pci 0000:00:1d.7: PME# disabled [ 0.127430] pci 0000:00:1f.0: Force enabled HPET at 0xfed00000 [ 0.127437] pci 0000:00:1f.0: quirk: [io 0x0800-0x087f] claimed by ICH6 ACPI/GPIO/TCO [ 0.127442] pci 0000:00:1f.0: quirk: [io 0x0480-0x04bf] claimed by ICH6 GPIO [ 0.127447] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0a00 (mask 000f) [ 0.127453] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 0278 (mask 000f) [ 0.127458] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 3 PIO at 03e8 (mask 000f) [ 0.127464] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 4 PIO at 02e8 (mask 000f) [ 0.127510] pci 0000:00:1f.1: reg 10: [io 0x0000-0x0007] [ 0.127518] pci 0000:00:1f.1: reg 14: [io 0x0000-0x0003] [ 0.127527] pci 0000:00:1f.1: reg 18: [io 0x08f0-0x08f7] [ 0.127535] pci 0000:00:1f.1: reg 1c: [io 0x08f8-0x08fb] [ 0.127543] pci 0000:00:1f.1: reg 20: [io 0xffa0-0xffaf] [ 0.127590] pci 0000:00:1f.2: reg 10: [io 0xd400-0xd407] [ 0.127598] pci 0000:00:1f.2: reg 14: [io 0xd080-0xd083] [ 0.127605] pci 0000:00:1f.2: reg 18: [io 0xd000-0xd007] [ 0.127613] pci 0000:00:1f.2: reg 1c: [io 0xcc80-0xcc83] [ 0.127621] pci 0000:00:1f.2: reg 20: [io 0xcc00-0xcc0f] [ 0.127628] pci 0000:00:1f.2: reg 24: [mem 0xfea37800-0xfea37bff] [ 0.127655] pci 0000:00:1f.2: PME# supported from D3hot [ 0.127659] pci 0000:00:1f.2: PME# disabled [ 0.127711] pci 0000:00:1f.3: reg 20: [io 0x0400-0x041f] [ 0.127771] pci 0000:01:04.0: reg 10: [mem 0x00800000-0x00800fff] [ 0.127858] pci 0000:01:08.0: reg 10: [mem 0xfebfe000-0xfebfefff] [ 0.127866] pci 0000:01:08.0: reg 14: [io 0xec80-0xecbf] [ 0.127917] pci 0000:01:08.0: supports D1 D2 [ 0.127919] pci 0000:01:08.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.127925] pci 0000:01:08.0: PME# disabled [ 0.127968] pci 0000:00:1e.0: PCI bridge to [bus 01-01] (subtractive decode) [ 0.127973] pci 0000:00:1e.0: bridge window [io 0xe000-0xefff] [ 0.127979] pci 0000:00:1e.0: bridge window [mem 0xfeb00000-0xfebfffff] [ 0.127993] pci_bus 0000:00: on NUMA node 0 [ 0.128029] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] [ 0.128264] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT] [ 0.139416] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 11 12 14 *15) [ 0.139554] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. [ 0.139689] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 *15) [ 0.139823] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 *15) [ 0.139959] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 *15) [ 0.140115] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. [ 0.140252] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled. [ 0.140391] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 *6 7 10 11 12 14 15) [ 0.140589] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none [ 0.140597] vgaarb: loaded [ 0.140771] PCI: Using ACPI for IRQ routing [ 0.140776] PCI: pci_cache_line_size set to 64 bytes [ 0.140836] pci 0000:01:04.0: address space collision: [mem 0x00800000-0x00800fff] already in use [ 0.140895] pci 0000:01:04.0: can't reserve [mem 0x00800000-0x00800fff] [ 0.141171] hpet clockevent registered [ 0.141176] HPET: 3 timers in total, 0 timers will be used for per-cpu timer [ 0.141182] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 [ 0.141188] hpet0: 3 comparators, 64-bit 14.318180 MHz counter [ 0.144027] Switching to clocksource tsc [ 0.145530] pnp: PnP ACPI init [ 0.145540] ACPI: bus type pnp registered [ 0.152165] pnp: PnP ACPI: found 17 devices [ 0.152168] ACPI: ACPI bus type pnp unregistered [ 0.152172] PnPBIOS: Disabled by ACPI PNP [ 0.152183] system 00:01: [mem 0xfed13000-0xfed19fff] has been reserved [ 0.152192] system 00:09: [io 0x0a00-0x0a0f] has been reserved [ 0.152201] system 00:0b: [io 0x04d0-0x04d1] has been reserved [ 0.152205] system 00:0b: [io 0x0800-0x087f] has been reserved [ 0.152208] system 00:0b: [io 0x0480-0x04bf] has been reserved [ 0.152212] system 00:0b: [mem 0xfed1c000-0xfed1ffff] has been reserved [ 0.152216] system 00:0b: [mem 0xfed20000-0xfed3ffff] has been reserved [ 0.152220] system 00:0b: [mem 0xfed40000-0xfed8ffff] has been reserved [ 0.152226] system 00:0d: [mem 0xffc00000-0xffefffff] has been reserved [ 0.152234] system 00:0e: [mem 0xfec00000-0xfec00fff] could not be reserved [ 0.152238] system 00:0e: [mem 0xfee00000-0xfee00fff] has been reserved [ 0.152244] system 00:0f: [mem 0xe0000000-0xe3ffffff] has been reserved [ 0.152251] system 00:10: [mem 0x00000000-0x0009ffff] could not be reserved [ 0.152254] system 00:10: [mem 0x000c0000-0x000cffff] could not be reserved [ 0.152258] system 00:10: [mem 0x000e0000-0x000fffff] could not be reserved [ 0.152262] system 00:10: [mem 0x00100000-0x3f7fffff] could not be reserved [ 0.152266] system 00:10: [mem 0xfed90000-0xffffffff] could not be reserved [ 0.187242] pci 0000:01:04.0: BAR 0: assigned [mem 0xfeb00000-0xfeb00fff] [ 0.187250] pci 0000:01:04.0: BAR 0: error updating (0xfeb00002 != 0x000000) [ 0.187305] pci 0000:01:04.0: BAR 0: set to [mem 0xfeb00000-0xfeb00fff] (PCI address [0xfeb00000-0xfeb00fff] [ 0.187310] pci 0000:00:1e.0: PCI bridge to [bus 01-01] [ 0.187314] pci 0000:00:1e.0: bridge window [io 0xe000-0xefff] [ 0.187321] pci 0000:00:1e.0: bridge window [mem 0xfeb00000-0xfebfffff] [ 0.187326] pci 0000:00:1e.0: bridge window [mem pref disabled] [ 0.187342] pci 0000:00:1e.0: setting latency timer to 64 [ 0.187346] pci_bus 0000:00: resource 0 [io 0x0000-0xffff] [ 0.187349] pci_bus 0000:00: resource 1 [mem 0x00000000-0xffffffff] [ 0.187353] pci_bus 0000:01: resource 0 [io 0xe000-0xefff] [ 0.187356] pci_bus 0000:01: resource 1 [mem 0xfeb00000-0xfebfffff] [ 0.187359] pci_bus 0000:01: resource 3 [io 0x0000-0xffff] [ 0.187362] pci_bus 0000:01: resource 4 [mem 0x00000000-0xffffffff] [ 0.187399] NET: Registered protocol family 2 [ 0.187473] IP route cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.187740] TCP established hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.189151] TCP bind hash table entries: 65536 (order: 7, 524288 bytes) [ 0.189564] TCP: Hash tables configured (established 131072 bind 65536) [ 0.189568] TCP reno registered [ 0.189571] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.189587] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.189719] NET: Registered protocol family 1 [ 0.189738] pci 0000:00:02.0: Boot video device [ 0.189860] pci 0000:01:08.0: Firmware left e100 interrupts enabled; disabling [ 0.189866] PCI: CLS 32 bytes, default 64 [ 0.189926] Trying to unpack rootfs image as initramfs... [ 0.484255] Freeing initrd memory: 7806k freed [ 0.489793] audit: initializing netlink socket (disabled) [ 0.489813] type=2000 audit(1263092387.487:1): initialized [ 0.489962] highmem bounce pool size: 64 pages [ 0.489969] HugeTLB registered 4 MB page size, pre-allocated 0 pages [ 0.490059] VFS: Disk quotas dquot_6.5.2 [ 0.490086] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.490151] msgmni has been set to 1740 [ 0.490307] alg: No test for stdrng (krng) [ 0.490365] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.490369] io scheduler noop registered [ 0.490371] io scheduler deadline registered [ 0.490385] io scheduler cfq registered (default) [ 0.490794] isapnp: Scanning for PnP cards... [ 0.844847] isapnp: No Plug & Play device found [ 0.848354] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.848495] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.848629] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [ 0.849059] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.849252] 00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A [ 0.851365] brd: module loaded [ 0.851522] PNP: No PS/2 controller found. Probing ports directly. [ 0.853978] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.853984] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.854182] mice: PS/2 mouse device common for all mice [ 0.854232] Driver 'rtc_cmos' needs updating - please use bus_type methods [ 0.854259] rtc_cmos 00:03: RTC can wake from S4 [ 0.854333] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0 [ 0.854363] rtc0: alarms up to one month, 114 bytes nvram, hpet irqs [ 0.854402] cpuidle: using governor ladder [ 0.854404] cpuidle: using governor menu [ 0.854409] No iBFT detected. [ 0.854676] TCP cubic registered [ 0.854713] NET: Registered protocol family 10 [ 0.855099] lo: Disabled Privacy Extensions [ 0.855330] Mobile IPv6 [ 0.855332] NET: Registered protocol family 17 [ 0.855347] Using IPI No-Shortcut mode [ 0.855489] registered taskstats version 1 [ 0.855699] rtc_cmos 00:03: setting system clock to 2010-01-10 02:59:48 UTC (1263092388) [ 0.855744] Freeing unused kernel memory: 368k freed [ 0.855997] Write protecting the kernel text: 2396k [ 0.856030] Write protecting the kernel read-only data: 840k [ 1.067814] Linux agpgart interface v0.103 [ 1.087406] Uniform Multi-Platform E-IDE driver [ 1.117079] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI [ 1.117083] e100: Copyright(c) 1999-2006 Intel Corporation [ 1.117132] e100 0000:01:08.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 [ 1.142316] e100 0000:01:08.0: PME# disabled [ 1.142833] e100: eth0: e100_probe: addr 0xfebfe000, irq 20, MAC addr 00:30:59:04:25:2e [ 1.146643] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0 [ 1.146650] ACPI: Power Button [PWRB] [ 1.146712] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 [ 1.146717] ACPI: Power Button [PWRF] [ 1.196330] SCSI subsystem initialized [ 1.272678] agpgart-intel 0000:00:00.0: Intel 945GME Chipset [ 1.273122] agpgart-intel 0000:00:00.0: detected 7932K stolen memory [ 1.275799] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000 [ 1.282114] piix 0000:00:1f.1: IDE controller (0x8086:0x27df rev 0x02) [ 1.282132] PIIX_IDE 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18 [ 1.282145] piix 0000:00:1f.1: IDE port disabled [ 1.282155] piix 0000:00:1f.1: not 100% native mode: will probe irqs later [ 1.282162] ide0: BM-DMA at 0xffa0-0xffa7 [ 1.282170] Probing IDE interface ide0... [ 1.291322] usbcore: registered new interface driver usbfs [ 1.291357] usbcore: registered new interface driver hub [ 1.291712] usbcore: registered new device driver usb [ 1.296614] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.323175] libata version 3.00 loaded. [ 1.532708] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input2 [ 1.532717] ACPI: Video Device [IGD] (multi-head: yes rom: no post: no) [ 1.848010] hdb: CF Card, ATA DISK drive [ 1.848057] hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO2 [ 1.848078] hdb: host side 80-wire cable detection failed, limiting max speed to UDMA33 [ 1.848081] hdb: UDMA/33 mode selected [ 1.848159] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 [ 1.857660] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23 [ 1.857681] ehci_hcd 0000:00:1d.7: setting latency timer to 64 [ 1.857686] ehci_hcd 0000:00:1d.7: EHCI Host Controller [ 1.857712] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 [ 1.857733] ehci_hcd 0000:00:1d.7: using broken periodic workaround [ 1.857746] ehci_hcd 0000:00:1d.7: debug port 1 [ 1.861619] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported [ 1.861638] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfea37c00 [ 1.876010] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00 [ 1.876051] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.876054] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.876057] usb usb1: Product: EHCI Host Controller [ 1.876060] usb usb1: Manufacturer: Linux 2.6.33-rc3 ehci_hcd [ 1.876063] usb usb1: SerialNumber: 0000:00:1d.7 [ 1.876168] hub 1-0:1.0: USB hub found [ 1.876174] hub 1-0:1.0: 8 ports detected [ 1.876383] ata_piix 0000:00:1f.2: version 2.13 [ 1.876401] ata_piix 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19 [ 1.876407] ata_piix 0000:00:1f.2: MAP [ P0 P2 -- -- ] [ 1.876448] ata_piix 0000:00:1f.2: setting latency timer to 64 [ 1.876708] scsi0 : ata_piix [ 1.880373] uhci_hcd: USB Universal Host Controller Interface driver [ 1.880667] scsi1 : ata_piix [ 1.880717] ata1: SATA max UDMA/133 cmd 0xd400 ctl 0xd080 bmdma 0xcc00 irq 19 [ 1.880721] ata2: SATA max UDMA/133 cmd 0xd000 ctl 0xcc80 bmdma 0xcc08 irq 19 [ 1.882095] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23 [ 1.882105] uhci_hcd 0000:00:1d.0: setting latency timer to 64 [ 1.882110] uhci_hcd 0000:00:1d.0: UHCI Host Controller [ 1.882122] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 [ 1.882150] uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000dc00 [ 1.882192] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.882196] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.882199] usb usb2: Product: UHCI Host Controller [ 1.882201] usb usb2: Manufacturer: Linux 2.6.33-rc3 uhci_hcd [ 1.882204] usb usb2: SerialNumber: 0000:00:1d.0 [ 1.882299] hub 2-0:1.0: USB hub found [ 1.882304] hub 2-0:1.0: 2 ports detected [ 1.882368] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19 [ 1.882375] uhci_hcd 0000:00:1d.1: setting latency timer to 64 [ 1.882379] uhci_hcd 0000:00:1d.1: UHCI Host Controller [ 1.882386] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 [ 1.882412] uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d880 [ 1.882446] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.882450] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.882453] usb usb3: Product: UHCI Host Controller [ 1.882455] usb usb3: Manufacturer: Linux 2.6.33-rc3 uhci_hcd [ 1.882458] usb usb3: SerialNumber: 0000:00:1d.1 [ 1.882536] hub 3-0:1.0: USB hub found [ 1.882541] hub 3-0:1.0: 2 ports detected [ 1.882603] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18 [ 1.882610] uhci_hcd 0000:00:1d.2: setting latency timer to 64 [ 1.882614] uhci_hcd 0000:00:1d.2: UHCI Host Controller [ 1.882621] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 [ 1.882658] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000d800 [ 1.882695] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.882698] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.882701] usb usb4: Product: UHCI Host Controller [ 1.882704] usb usb4: Manufacturer: Linux 2.6.33-rc3 uhci_hcd [ 1.882706] usb usb4: SerialNumber: 0000:00:1d.2 [ 1.882783] hub 4-0:1.0: USB hub found [ 1.882788] hub 4-0:1.0: 2 ports detected [ 1.882855] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 16 (level, low) -> IRQ 16 [ 1.882862] uhci_hcd 0000:00:1d.3: setting latency timer to 64 [ 1.882866] uhci_hcd 0000:00:1d.3: UHCI Host Controller [ 1.882873] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5 [ 1.882906] uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000d480 [ 1.882940] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.882943] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.882946] usb usb5: Product: UHCI Host Controller [ 1.882949] usb usb5: Manufacturer: Linux 2.6.33-rc3 uhci_hcd [ 1.882951] usb usb5: SerialNumber: 0000:00:1d.3 [ 1.883029] hub 5-0:1.0: USB hub found [ 1.883033] hub 5-0:1.0: 2 ports detected [ 2.065301] ide-gd driver 1.18 [ 2.065341] hdb: max request size: 128KiB [ 2.065344] hdb: 7880544 sectors (4034 MB) w/1KiB Cache, CHS=7818/16/63 [ 2.065393] hdb: hdb1 hdb2 < hdb5 > [ 2.139023] PM: Starting manual resume from disk [ 2.161644] kjournald starting. Commit interval 5 seconds [ 2.161653] EXT3-fs (hdb1): mounted filesystem with ordered data mode [ 2.372020] usb 2-1: new low speed USB device using uhci_hcd and address 2 [ 2.508256] udev: starting version 149 [ 2.623167] usb 2-1: New USB device found, idVendor=1241, idProduct=1603 [ 2.623171] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.623175] usb 2-1: Product: USB Keyboard [ 2.623178] usb 2-1: Manufacturer: [ 2.715721] input: PC Speaker as /devices/platform/pcspkr/input/input3 [ 2.735990] intel_rng: FWH not detected [ 2.828830] Marking TSC unstable due to TSC halts in idle [ 2.833542] parport_pc 00:08: reported by Plug and Play ACPI [ 2.833593] parport0: PC-style at 0x378, irq 7 [PCSPP] [ 2.845066] Switching to clocksource hpet [ 2.947553] i801_smbus 0000:00:1f.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19 [ 2.954328] usbcore: registered new interface driver hiddev [ 2.980206] Error: Driver 'pcspkr' is already registered, aborting... [ 2.988097] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 2.988152] HDA Intel 0000:00:1b.0: irq 24 for MSI/MSI-X [ 2.988186] HDA Intel 0000:00:1b.0: setting latency timer to 64 [ 2.998505] input: USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input4 [ 2.998578] generic-usb 0003:1241:1603.0001: input,hidraw0: USB HID v1.10 Keyboard [ USB Keyboard] on usb-0000:00:1d.0-1/input0 [ 3.090965] input: USB Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1/input/input5 [ 3.091039] generic-usb 0003:1241:1603.0002: input,hidraw1: USB HID v1.10 Device [ USB Keyboard] on usb-0000:00:1d.0-1/input1 [ 3.091071] usbcore: registered new interface driver usbhid [ 3.091073] usbhid: USB HID core driver [ 3.098999] hda_codec: ALC882: BIOS auto-probing. [ 3.100361] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input6 [ 3.305501] Adding 224868k swap on /dev/hdb5. Priority:-1 extents:1 across:224868k [ 3.356624] EXT3-fs (hdb1): using internal journal [ 3.384216] loop: module loaded [ 4.213175] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 4.216155] e100: eth0 NIC Link is Up 100 Mbps Full Duplex [ 4.216470] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 14.244016] eth0: no IPv6 routers present
Quoted 6 lines · Alex Brooks
Quoted 3 lines
I was hoping for a kernel directly from Linus' git repo, e.g., 2.6.33-rc3; I don't think the debug output I'm thinking about went in until after 2.6.32 was released.
I'm not sure how to modify the 2.6.33-rc3 kernel source exactly re MCFG -- the dmesg output for 2.6.33-rc3 is quite different (attached),
It's interesting that we now use MMCONFIG by default; no tweaking necessary. I guess Linux just got a little smarter between 2.6.26 and 2.6.33 -- in this case, it looks like we reduce the size of the MMCONFIG region from what the BIOS reported.
But I don't think MMCONFIG is relevant to this problem anyway.
Quoted 9 lines
including some new
information about an address collision for the recalcitrant device:pci 0000:01:04.0: address space collision: [mem 0x00800000-0x00800fff] already in use
pci 0000:01:04.0: can't reserve [mem 0x00800000-0x00800fff]Does this shed any more light on things (or can you tell me what I could modify to get better debug info)?
It shows that we think the octal UART is at 0x00800000, which doesn't seem valid (I think it's in the middle of your system RAM).
This is before Linux moves anything around, so normally this would be what BIOS left in the BAR. But BIOS puts it at 0xfebff000 in the working case (without the Mini PCI adapter), and the adapter shouldn't even be visible to the BIOS, so I would expect the octal UART to still be at the same address.
I'm afraid I still don't see a software problem here. To me (and I'm certainly not a hardware person), it feels like an electrical problem on the PCI bus: we read a BAR and it has a nonsensical value, we write the BAR and can't read that value back, we read the vendor/device/class codes and get nonsense. It's also interesting that most of these nonsense values we read seem to have only one bit set.
Bjorn
Quoted 19 lines
Quoted 9 lines
including some new
information about an address collision for the recalcitrant device:pci 0000:01:04.0: address space collision: [mem 0x00800000-0x00800fff] already in use
pci 0000:01:04.0: can't reserve [mem 0x00800000-0x00800fff]Does this shed any more light on things (or can you tell me what I could modify to get better debug info)?
It shows that we think the octal UART is at
0x00800000, which doesn't seem valid (I think it's in the middle of your system RAM).This is before Linux moves anything around, so normally this would be what BIOS left in the BAR. But BIOS puts it at
0xfebff000in the working case (without the Mini PCI adapter), and the adapter shouldn't even be visible to the BIOS, so I would expect the octal UART to still be at the same address.
Quoted 6 lines
I'm afraid I still don't see a software problem here. To me (and I'm certainly not a hardware person), it feels like an electrical problem on the PCI bus: we read a BAR and it has a nonsensical value, we write the BAR and can't read that value back, we read the vendor/device/class codes and get nonsense. It's also interesting that most of these nonsense values we read seem to have only one bit set.
OK, at this point I think I'll look into switching hardware. Thanks very much for all the help.
Alex