linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BAR 0: can't allocate resource
@ 2010-01-05  9:18 Alex Brooks
  2010-01-05 17:33 ` Bjorn Helgaas
  0 siblings, 1 reply; 11+ messages in thread
From: Alex Brooks @ 2010-01-05  9:18 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]

Hi,

I have a problem getting a couple of PCI cards to play nicely together.  The 
error I get (in dmesg) is:
2.6.26 kernel:
[    0.215619] PCI: Cannot allocate resource region 0 of device 0000:01:04.0
2.6.30 kernel:
[    0.138390] pci 0000:01:04.0: BAR 0: can't allocate resource

And (for both kernels) the output of lspci has the following line:
  01:04.0 Unclassified device [0080]: Device 0002:0080

Hardware Details:
 - My motherboard is a DigitalLogic MSM945.  It has a PC104 bus.
 - I have two PC104 cards:
   i)  8-port serial card (DiamondSystems Emerald-MM-8Plus)
   ii) PC/104+ to MiniPCI Adapter (ConnectTech) (no MiniPCI cards installed).
  (I have run both of these cards with a different motherboard, no problems).

I've compared two conditions:
 a) "working": serial card installed by itself, and
 b) "broken": serial + MiniPCI cards both installed

For the 2.6.26 kernel, I've attached the output of 
 - dmesg
 - lspci
 - lspci -v
 - cat /proc/iomem
for both 'working' and 'broken' cases.

(Note: in both cases the following two lines appear in the dmesg output:
[    0.185656] PCI: BIOS Bug: MCFG area at e0000000 is not reserved in ACPI 
motherboard resources
[    0.185711] PCI: Not using MMCONFIG
Is this significant?)


Does anyone have any ideas what to try here?  I've been fighting with this for 
a while now...
(Please Cc me on any response).

Thanks,

Alex

[-- Attachment #2: dmesg_broken.txt --]
[-- Type: text/plain, Size: 24956 bytes --]

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.26-2-686 (Debian 2.6.26-19lenny2) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Wed Nov 4 20:45:37 UTC 2009
[    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 37992 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.659 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: 1021100k/1040128k available (1770k kernel code, 18312k reserved, 750k data, 244k 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 : 0xc037f000 - 0xc03bc000   ( 244 kB)
[    0.004000]       .data : 0xc02baaa1 - 0xc0376620   ( 750 kB)
[    0.004000]       .text : 0xc0100000 - 0xc02baaa1   (1770 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.084099] Calibrating delay using timer specific routine.. 3337.13 BogoMIPS (lpj=6674263)
[    0.084138] Security Framework initialized
[    0.084144] SELinux:  Disabled at boot.
[    0.084149] Capability LSM initialized
[    0.084164] Mount-cache hash table entries: 512
[    0.084310] Initializing cgroup subsys ns
[    0.084314] Initializing cgroup subsys cpuacct
[    0.084317] Initializing cgroup subsys devices
[    0.084335] CPU: L1 I cache: 32K, L1 D cache: 32K
[    0.084339] CPU: L2 cache: 2048K
[    0.084343] Intel machine check architecture supported.
[    0.084349] Intel machine check reporting enabled on CPU#0.
[    0.084351] using mwait in idle threads.
[    0.084360] Checking 'hlt' instruction... OK.
[    0.100419] SMP alternatives: switching to UP code
[    0.106246] ACPI: Core revision 20080321
[    0.120007] ENABLING IO-APIC IRQs
[    0.120007] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.160010] 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.13 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.178065] ACPI: Interpreter enabled
[    0.178068] ACPI: (supports S0 S1 S3 S4 S5)
[    0.178085] ACPI: Using IOAPIC for interrupt routing
[    0.178152] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
[    0.185649] PCI: BIOS Bug: MCFG area at e0000000 is not reserved in ACPI motherboard resources
[    0.185704] PCI: Not using MMCONFIG.
[    0.195968] ACPI: PCI Root Bridge [PCI0] (0000:00)
[    0.196647] pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
[    0.196654] pci 0000:00:1f.0: quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
[    0.196659] pci 0000:00:1f.0: quirk: region 0480-04bf claimed by ICH6 GPIO
[    0.197033] PCI: Transparent bridge - 0000:00:1e.0
[    0.197057] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.197315] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
[    0.207497] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 11 12 14 *15)
[    0.207646] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[    0.207793] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 *15)
[    0.207939] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 *15)
[    0.208013] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 *15)
[    0.208160] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[    0.208309] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[    0.208454] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 *6 7 10 11 12 14 15)
[    0.208673] ACPI Warning (tbutils-0217): Incorrect checksum in table [OEMB] - 48, should be 41 [20080321]
[    0.208698] Linux Plug and Play Support v0.97 (c) Adam Belay
[    0.208729] pnp: PnP ACPI init
[    0.208738] ACPI: bus type pnp registered
[    0.215303] pnp: PnP ACPI: found 17 devices
[    0.215306] ACPI: ACPI bus type pnp unregistered
[    0.215310] PnPBIOS: Disabled by ACPI PNP
[    0.215562] PCI: Using ACPI for IRQ routing
[    0.215619] PCI: Cannot allocate resource region 0 of device 0000:01:04.0
[    0.215890] hpet clockevent registered
[    0.215897] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.215902] hpet0: 3 64-bit timers, 14318180 Hz
[    0.216944] ACPI: RTC can wake from S4
[    0.216970] system 00:01: iomem range 0xfed13000-0xfed19fff has been reserved
[    0.216980] system 00:09: ioport range 0xa00-0xa0f has been reserved
[    0.216990] system 00:0b: ioport range 0x4d0-0x4d1 has been reserved
[    0.216993] system 00:0b: ioport range 0x800-0x87f has been reserved
[    0.216996] system 00:0b: ioport range 0x480-0x4bf has been reserved
[    0.217000] system 00:0b: iomem range 0xfed1c000-0xfed1ffff has been reserved
[    0.217003] system 00:0b: iomem range 0xfed20000-0xfed3ffff has been reserved
[    0.217006] system 00:0b: iomem range 0xfed40000-0xfed8ffff has been reserved
[    0.217013] system 00:0d: iomem range 0xffc00000-0xffefffff could not be reserved
[    0.217020] system 00:0e: iomem range 0xfec00000-0xfec00fff has been reserved
[    0.217023] system 00:0e: iomem range 0xfee00000-0xfee00fff could not be reserved
[    0.217029] system 00:0f: iomem range 0xe0000000-0xe3ffffff has been reserved
[    0.217036] system 00:10: iomem range 0x0-0x9ffff could not be reserved
[    0.217039] system 00:10: iomem range 0xc0000-0xcffff could not be reserved
[    0.217042] system 00:10: iomem range 0xe0000-0xfffff could not be reserved
[    0.217045] system 00:10: iomem range 0x100000-0x3f7fffff could not be reserved
[    0.217049] system 00:10: iomem range 0xfed90000-0xffffffff could not be reserved
[    0.247436] PCI: Error while updating region 0000:01:04.0/0 (feb00002 != 00000000)
[    0.247489] PCI: Bridge: 0000:00:1e.0
[    0.247493]   IO window: e000-efff
[    0.247498]   MEM window: 0xfeb00000-0xfebfffff
[    0.247503]   PREFETCH window: disabled.
[    0.247520] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[    0.247539] NET: Registered protocol family 2
[    0.247628] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.247859] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.248652] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.249054] TCP: Hash tables configured (established 131072 bind 65536)
[    0.249057] TCP reno registered
[    0.249169] NET: Registered protocol family 1
[    0.249290] checking if image is initramfs... it is
[    0.716035] Switched to high resolution mode on CPU 0
[    0.818306] Freeing initrd memory: 6040k freed
[    0.819062] audit: initializing netlink socket (disabled)
[    0.819079] type=2000 audit(1262505979.816:1): initialized
[    0.819232] highmem bounce pool size: 64 pages
[    0.819237] Total HugeTLB memory allocated, 0
[    0.819310] VFS: Disk quotas dquot_6.5.1
[    0.819339] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.819384] msgmni has been set to 1767
[    0.819489] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.819494] io scheduler noop registered
[    0.819496] io scheduler anticipatory registered
[    0.819498] io scheduler deadline registered
[    0.819509] io scheduler cfq registered (default)
[    0.819523] pci 0000:00:02.0: Boot video device
[    0.819621] pci 0000:01:08.0: Firmware left e100 interrupts enabled; disabling
[    0.819941] isapnp: Scanning for PnP cards...
[    1.174338] isapnp: No Plug & Play device found
[    1.176903] Serial: 8250/16550 driver $Revision: 1.90 $ 10 ports, IRQ sharing enabled
[    1.177037] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.177166] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    1.177801] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.177984] 00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    1.179441] brd: module loaded
[    1.179592] PNP: No PS/2 controller found. Probing ports directly.
[    1.181887] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.181892] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.182034] mice: PS/2 mouse device common for all mice
[    1.182159] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[    1.182179] rtc0: alarms up to one month
[    1.182214] cpuidle: using governor ladder
[    1.182217] cpuidle: using governor menu
[    1.182222] No iBFT detected.
[    1.182637] TCP cubic registered
[    1.182640] NET: Registered protocol family 17
[    1.182646] Using IPI No-Shortcut mode
[    1.182758] registered taskstats version 1
[    1.182889] rtc_cmos 00:03: setting system clock to 2010-01-03 08:06:20 UTC (1262505980)
[    1.183018] Freeing unused kernel memory: 244k freed
[    1.272162] ACPI: SSDT 3F7CE0C0, 0688 (r1    AMI   CPU1PM        1 INTL 20051117)
[    1.272769] ACPI: CPU0 (power states: C1[C1] C2[C2])
[    1.272814] ACPI: ACPI0007:00 is registered as cooling_device0
[    1.723884] usbcore: registered new interface driver usbfs
[    1.723912] usbcore: registered new interface driver hub
[    1.723944] usbcore: registered new device driver usb
[    1.732059] USB Universal Host Controller Interface driver v3.0
[    1.732108] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
[    1.732119] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[    1.732123] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[    1.732248] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[    1.732283] uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000dc00
[    1.732367] usb usb1: configuration #1 chosen from 1 choice
[    1.732399] hub 1-0:1.0: USB hub found
[    1.732406] hub 1-0:1.0: 2 ports detected
[    1.835739] Uniform Multi-Platform E-IDE driver
[    1.835745] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[    1.836125] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    1.836129] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.836132] usb usb1: Product: UHCI Host Controller
[    1.836134] usb usb1: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[    1.836136] usb usb1: SerialNumber: 0000:00:1d.0
[    1.836205] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
[    1.836217] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[    1.836221] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[    1.836247] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[    1.836280] uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d880
[    1.836355] usb usb2: configuration #1 chosen from 1 choice
[    1.836384] hub 2-0:1.0: USB hub found
[    1.836392] hub 2-0:1.0: 2 ports detected
[    1.850586] e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
[    1.850589] e100: Copyright(c) 1999-2006 Intel Corporation
[    1.940109] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.940113] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.940116] usb usb2: Product: UHCI Host Controller
[    1.940118] usb usb2: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[    1.940121] usb usb2: SerialNumber: 0000:00:1d.1
[    1.940171] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
[    1.940182] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[    1.940187] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[    1.940218] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[    1.940251] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000d800
[    1.940329] usb usb3: configuration #1 chosen from 1 choice
[    1.940357] hub 3-0:1.0: USB hub found
[    1.940363] hub 3-0:1.0: 2 ports detected
[    1.990370] Marking TSC unstable due to: TSC halts in idle.
[    2.044104] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    2.044107] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.044110] usb usb3: Product: UHCI Host Controller
[    2.044113] usb usb3: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[    2.044115] usb usb3: SerialNumber: 0000:00:1d.2
[    2.044166] ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
[    2.044175] PCI: Setting latency timer of device 0000:00:1d.3 to 64
[    2.044179] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[    2.044201] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
[    2.044233] uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000d480
[    2.044306] usb usb4: configuration #1 chosen from 1 choice
[    2.044335] hub 4-0:1.0: USB hub found
[    2.044341] hub 4-0:1.0: 2 ports detected
[    2.076027] usb 1-2: new low speed USB device using uhci_hcd and address 2
[    2.148091] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    2.148094] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.148097] usb usb4: Product: UHCI Host Controller
[    2.148099] usb usb4: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[    2.148102] usb usb4: SerialNumber: 0000:00:1d.3
[    2.148231] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
[    2.148247] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[    2.148251] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[    2.148275] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
[    2.152182] ehci_hcd 0000:00:1d.7: debug port 1
[    2.152190] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[    2.152195] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfea37c00
[    2.212025] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[    2.212081] usb usb5: configuration #1 chosen from 1 choice
[    2.212108] hub 5-0:1.0: USB hub found
[    2.212114] hub 5-0:1.0: 8 ports detected
[    2.316093] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    2.316096] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.316099] usb usb5: Product: EHCI Host Controller
[    2.316101] usb usb5: Manufacturer: Linux 2.6.26-2-686 ehci_hcd
[    2.316104] usb usb5: SerialNumber: 0000:00:1d.7
[    2.318728] No dock devices found.
[    2.326910] SCSI subsystem initialized
[    2.336011] libata version 3.00 loaded.
[    2.336998] ACPI: PCI Interrupt 0000:01:08.0[A] -> GSI 20 (level, low) -> IRQ 20
[    2.363103] e100: eth0: e100_probe: addr 0xfebfe000, irq 20, MAC addr 00:30:59:04:25:2e
[    2.365334] ata_piix 0000:00:1f.2: version 2.12
[    2.365351] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
[    2.365356] ata_piix 0000:00:1f.2: MAP [ P0 P2 -- -- ]
[    2.365391] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[    2.365442] scsi0 : ata_piix
[    2.365517] scsi1 : ata_piix
[    2.365547] ata1: SATA max UDMA/133 cmd 0xd400 ctl 0xd080 bmdma 0xcc00 irq 19
[    2.365550] ata2: SATA max UDMA/133 cmd 0xd000 ctl 0xcc80 bmdma 0xcc08 irq 19
[    2.608024] usb 1-2: device not accepting address 2, error -71
[    2.664047] hub 1-0:1.0: unable to enumerate USB device on port 2
[    2.695202] ICH7: IDE controller (0x8086:0x27df rev 0x02) at  PCI slot 0000:00:1f.1
[    2.695214] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
[    2.695224] ICH7: not 100% native mode: will probe irqs later
[    2.695233] ICH7: IDE port disabled
[    2.695240]     ide0: BM-DMA at 0xffa0-0xffa7
[    2.695247] Probing IDE interface ide0...
[    3.120330] usb 1-2: new low speed USB device using uhci_hcd and address 4
[    3.208387] hdb: SILICONSYSTEMS UDMA 4GB-4300, ATA DISK drive
[    3.264062] hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[    3.264109] hdb: host side 80-wire cable detection failed, limiting max speed to UDMA33
[    3.264112] hdb: UDMA/33 mode selected
[    3.264163] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[    3.279613] hdb: max request size: 128KiB
[    3.279617] hdb: 8027712 sectors (4110 MB) w/1KiB Cache, CHS=7964/16/63
[    3.279896] hdb: cache flushes supported
[    3.279930]  hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 hdb8 hdb9 >
[    3.372380] usb 1-2: configuration #1 chosen from 1 choice
[    3.373684] PM: Starting manual resume from disk
[    3.378477] usb 1-2: New USB device found, idVendor=1241, idProduct=1603
[    3.378481] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.378484] usb 1-2: Product: USB Keyboard
[    3.378486] usb 1-2: Manufacturer:  
[    3.414683] usbcore: registered new interface driver hiddev
[    3.417555] kjournald starting.  Commit interval 5 seconds
[    3.417566] EXT3-fs: mounted filesystem with ordered data mode.
[    3.458143] input:   USB Keyboard as /class/input/input0
[    3.458143] input,hidraw0: USB HID v1.10 Keyboard [  USB Keyboard] on usb-0000:00:1d.0-2
[    3.543382] input:   USB Keyboard as /class/input/input1
[    3.552031] input,hidraw1: USB HID v1.10 Device [  USB Keyboard] on usb-0000:00:1d.0-2
[    3.552051] usbcore: registered new interface driver usbhid
[    3.552055] usbhid: v2.6:USB HID core driver
[    3.773202] udevd version 125 started
[    4.366743] Linux agpgart interface v0.103
[    4.375872] agpgart: Detected an Intel 945GME Chipset.
[    4.376229] agpgart: Detected 7932K stolen memory.
[    4.391529] agpgart: AGP aperture is 256M @ 0xd0000000
[    4.563115] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
[    4.563135] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[    4.593853] hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
[    4.595122] input: Power Button (FF) as /class/input/input2
[    4.624054] ACPI: Power Button (FF) [PWRF]
[    4.624148] input: Power Button (CM) as /class/input/input3
[    4.652044] ACPI: Power Button (CM) [PWRB]
[    5.670043] intel_rng: FWH not detected
[    5.734423] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008)
[    5.734496] iTCO_wdt: Found a ICH7-M DH TCO device (Version=2, TCOBASE=0x0860)
[    5.734524] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    5.740578] input: Video Bus as /class/input/input4
[    5.772049] ACPI: Video Device [IGD] (multi-head: yes  rom: no  post: no)
[    5.901055] ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 19
[    6.011232] input: PC Speaker as /class/input/input5
[    6.048672] Error: Driver 'pcspkr' is already registered, aborting...
[    6.299792] parport_pc 00:08: reported by Plug and Play ACPI
[    6.299845] parport0: PC-style at 0x378, irq 7 [PCSPP]
[    6.974349] Adding 489940k swap on /dev/hdb8.  Priority:-1 extents:1 across:489940k
[    7.847947] loop: module loaded
[    7.861361] ppdev: user-space parallel port driver
[    8.218580] kjournald starting.  Commit interval 5 seconds
[    8.218589] EXT3-fs: mounted filesystem with ordered data mode.
[    8.219908] kjournald starting.  Commit interval 5 seconds
[    8.242677] EXT3 FS on hdb6, internal journal
[    8.242681] EXT3-fs: mounted filesystem with ordered data mode.
[    8.243566] kjournald starting.  Commit interval 5 seconds
[    8.285475] EXT3 FS on hdb7, internal journal
[    8.285475] EXT3-fs: mounted filesystem with ordered data mode.
[    8.286626] kjournald starting.  Commit interval 5 seconds
[    8.286626] EXT3-fs: mounted filesystem with ordered data mode.
[    8.287131] kjournald starting.  Commit interval 5 seconds
[    8.302911] EXT3 FS on hdb5, internal journal
[    8.302911] EXT3-fs: mounted filesystem with ordered data mode.
[    9.346890] NET: Registered protocol family 10
[    9.347300] lo: Disabled Privacy Extensions
[    9.424398] warning: `ntpd' uses 32-bit capabilities (legacy support in use)
[   96.685169] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   96.688130] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
[   96.688492] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  107.232020] eth0: no IPv6 routers present

[-- Attachment #3: dmesg_working.txt --]
[-- Type: text/plain, Size: 25566 bytes --]

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.26-2-686 (Debian 2.6.26-19lenny2) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Wed Nov 4 20:45:37 UTC 2009
[    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 37992 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.746 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: 1021100k/1040128k available (1770k kernel code, 18312k reserved, 750k data, 244k 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 : 0xc037f000 - 0xc03bc000   ( 244 kB)
[    0.004000]       .data : 0xc02baaa1 - 0xc0376620   ( 750 kB)
[    0.004000]       .text : 0xc0100000 - 0xc02baaa1   (1770 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.084100] Calibrating delay using timer specific routine.. 3337.12 BogoMIPS (lpj=6674246)
[    0.084138] Security Framework initialized
[    0.084144] SELinux:  Disabled at boot.
[    0.084148] Capability LSM initialized
[    0.084165] Mount-cache hash table entries: 512
[    0.084306] Initializing cgroup subsys ns
[    0.084312] Initializing cgroup subsys cpuacct
[    0.084315] Initializing cgroup subsys devices
[    0.084333] CPU: L1 I cache: 32K, L1 D cache: 32K
[    0.084337] CPU: L2 cache: 2048K
[    0.084341] Intel machine check architecture supported.
[    0.084347] Intel machine check reporting enabled on CPU#0.
[    0.084350] using mwait in idle threads.
[    0.084358] Checking 'hlt' instruction... OK.
[    0.100420] SMP alternatives: switching to UP code
[    0.106268] ACPI: Core revision 20080321
[    0.120007] ENABLING IO-APIC IRQs
[    0.120007] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.159714] 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.12 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.178097] ACPI: Interpreter enabled
[    0.178100] ACPI: (supports S0 S1 S3 S4 S5)
[    0.178117] ACPI: Using IOAPIC for interrupt routing
[    0.178184] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
[    0.185656] PCI: BIOS Bug: MCFG area at e0000000 is not reserved in ACPI motherboard resources
[    0.185711] PCI: Not using MMCONFIG.
[    0.195955] ACPI: PCI Root Bridge [PCI0] (0000:00)
[    0.196636] pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
[    0.196642] pci 0000:00:1f.0: quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
[    0.196647] pci 0000:00:1f.0: quirk: region 0480-04bf claimed by ICH6 GPIO
[    0.197010] PCI: Transparent bridge - 0000:00:1e.0
[    0.197035] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.197293] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
[    0.207476] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 11 12 14 *15)
[    0.207624] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[    0.207770] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 *15)
[    0.207914] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 12 14 *15)
[    0.208013] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 *15)
[    0.208013] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[    0.208162] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
[    0.208307] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 *6 7 10 11 12 14 15)
[    0.208521] ACPI Warning (tbutils-0217): Incorrect checksum in table [OEMB] - 48, should be 41 [20080321]
[    0.208545] Linux Plug and Play Support v0.97 (c) Adam Belay
[    0.208576] pnp: PnP ACPI init
[    0.208584] ACPI: bus type pnp registered
[    0.215142] pnp: PnP ACPI: found 17 devices
[    0.215145] ACPI: ACPI bus type pnp unregistered
[    0.215149] PnPBIOS: Disabled by ACPI PNP
[    0.215400] PCI: Using ACPI for IRQ routing
[    0.215677] hpet clockevent registered
[    0.215683] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.215688] hpet0: 3 64-bit timers, 14318180 Hz
[    0.216731] ACPI: RTC can wake from S4
[    0.216758] system 00:01: iomem range 0xfed13000-0xfed19fff has been reserved
[    0.216768] system 00:09: ioport range 0xa00-0xa0f has been reserved
[    0.216777] system 00:0b: ioport range 0x4d0-0x4d1 has been reserved
[    0.216781] system 00:0b: ioport range 0x800-0x87f has been reserved
[    0.216784] system 00:0b: ioport range 0x480-0x4bf has been reserved
[    0.216787] system 00:0b: iomem range 0xfed1c000-0xfed1ffff has been reserved
[    0.216791] system 00:0b: iomem range 0xfed20000-0xfed3ffff has been reserved
[    0.216794] system 00:0b: iomem range 0xfed40000-0xfed8ffff has been reserved
[    0.216801] system 00:0d: iomem range 0xffc00000-0xffefffff could not be reserved
[    0.216807] system 00:0e: iomem range 0xfec00000-0xfec00fff has been reserved
[    0.216811] system 00:0e: iomem range 0xfee00000-0xfee00fff could not be reserved
[    0.216817] system 00:0f: iomem range 0xe0000000-0xe3ffffff has been reserved
[    0.216823] system 00:10: iomem range 0x0-0x9ffff could not be reserved
[    0.216827] system 00:10: iomem range 0xc0000-0xcffff could not be reserved
[    0.216830] system 00:10: iomem range 0xe0000-0xfffff could not be reserved
[    0.216833] system 00:10: iomem range 0x100000-0x3f7fffff could not be reserved
[    0.216837] system 00:10: iomem range 0xfed90000-0xffffffff could not be reserved
[    0.247235] PCI: Bridge: 0000:00:1e.0
[    0.247239]   IO window: e000-efff
[    0.247245]   MEM window: 0xfeb00000-0xfebfffff
[    0.247249]   PREFETCH window: disabled.
[    0.247267] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[    0.247288] NET: Registered protocol family 2
[    0.247378] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.247612] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.248410] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.248809] TCP: Hash tables configured (established 131072 bind 65536)
[    0.248814] TCP reno registered
[    0.248924] NET: Registered protocol family 1
[    0.249046] checking if image is initramfs... it is
[    0.716009] Switched to high resolution mode on CPU 0
[    0.817665] Freeing initrd memory: 6040k freed
[    0.818424] audit: initializing netlink socket (disabled)
[    0.818440] type=2000 audit(1262506709.816:1): initialized
[    0.818596] highmem bounce pool size: 64 pages
[    0.818601] Total HugeTLB memory allocated, 0
[    0.818674] VFS: Disk quotas dquot_6.5.1
[    0.818702] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.818747] msgmni has been set to 1767
[    0.818851] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.818855] io scheduler noop registered
[    0.818857] io scheduler anticipatory registered
[    0.818859] io scheduler deadline registered
[    0.818871] io scheduler cfq registered (default)
[    0.818885] pci 0000:00:02.0: Boot video device
[    0.818982] pci 0000:01:08.0: Firmware left e100 interrupts enabled; disabling
[    0.819300] isapnp: Scanning for PnP cards...
[    1.173668] isapnp: No Plug & Play device found
[    1.176248] Serial: 8250/16550 driver $Revision: 1.90 $ 10 ports, IRQ sharing enabled
[    1.176382] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.176509] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    1.177145] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    1.177327] 00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    1.177458] ACPI: PCI Interrupt 0000:01:04.0[A] -> GSI 20 (level, low) -> IRQ 20
[    1.177536] 0000:01:04.0: ttyS4 at MMIO 0xfebff000 (irq = 20) is a 16550A
[    1.177645] 0000:01:04.0: ttyS5 at MMIO 0xfebff200 (irq = 20) is a 16550A
[    1.177752] 0000:01:04.0: ttyS6 at MMIO 0xfebff400 (irq = 20) is a 16550A
[    1.177858] 0000:01:04.0: ttyS7 at MMIO 0xfebff600 (irq = 20) is a 16550A
[    1.177964] 0000:01:04.0: ttyS8 at MMIO 0xfebff800 (irq = 20) is a 16550A
[    1.178070] 0000:01:04.0: ttyS9 at MMIO 0xfebffa00 (irq = 20) is a 16550A
[    1.178177] 0000:01:04.0: ttyS2 at MMIO 0xfebffc00 (irq = 20) is a 16550A
[    1.178282] 0000:01:04.0: ttyS3 at MMIO 0xfebffe00 (irq = 20) is a 16550A
[    1.179659] brd: module loaded
[    1.179804] PNP: No PS/2 controller found. Probing ports directly.
[    1.182118] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.182123] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.182261] mice: PS/2 mouse device common for all mice
[    1.182387] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[    1.182406] rtc0: alarms up to one month
[    1.182443] cpuidle: using governor ladder
[    1.182445] cpuidle: using governor menu
[    1.182450] No iBFT detected.
[    1.182866] TCP cubic registered
[    1.182869] NET: Registered protocol family 17
[    1.182876] Using IPI No-Shortcut mode
[    1.182988] registered taskstats version 1
[    1.183115] rtc_cmos 00:03: setting system clock to 2010-01-03 08:18:30 UTC (1262506710)
[    1.183242] Freeing unused kernel memory: 244k freed
[    1.272398] ACPI: SSDT 3F7CE0C0, 0688 (r1    AMI   CPU1PM        1 INTL 20051117)
[    1.273002] ACPI: CPU0 (power states: C1[C1] C2[C2])
[    1.273046] ACPI: ACPI0007:00 is registered as cooling_device0
[    1.739819] usbcore: registered new interface driver usbfs
[    1.739847] usbcore: registered new interface driver hub
[    1.739880] usbcore: registered new device driver usb
[    1.741034] USB Universal Host Controller Interface driver v3.0
[    1.741083] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
[    1.741094] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[    1.741098] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[    1.741227] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[    1.741263] uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000dc00
[    1.741346] usb usb1: configuration #1 chosen from 1 choice
[    1.741377] hub 1-0:1.0: USB hub found
[    1.741384] hub 1-0:1.0: 2 ports detected
[    1.819850] Uniform Multi-Platform E-IDE driver
[    1.819855] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[    1.837757] e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
[    1.837760] e100: Copyright(c) 1999-2006 Intel Corporation
[    1.844115] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    1.844119] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.844122] usb usb1: Product: UHCI Host Controller
[    1.844124] usb usb1: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[    1.844127] usb usb1: SerialNumber: 0000:00:1d.0
[    1.844203] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
[    1.844214] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[    1.844219] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[    1.844243] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[    1.844278] uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d880
[    1.844355] usb usb2: configuration #1 chosen from 1 choice
[    1.844383] hub 2-0:1.0: USB hub found
[    1.844389] hub 2-0:1.0: 2 ports detected
[    1.948109] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.948113] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.948117] usb usb2: Product: UHCI Host Controller
[    1.948119] usb usb2: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[    1.948121] usb usb2: SerialNumber: 0000:00:1d.1
[    1.948176] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
[    1.948186] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[    1.948191] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[    1.948214] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
[    1.948249] uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000d800
[    1.948325] usb usb3: configuration #1 chosen from 1 choice
[    1.948353] hub 3-0:1.0: USB hub found
[    1.948360] hub 3-0:1.0: 2 ports detected
[    1.976002] Marking TSC unstable due to: TSC halts in idle.
[    2.055866] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    2.055870] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.055873] usb usb3: Product: UHCI Host Controller
[    2.055875] usb usb3: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[    2.055877] usb usb3: SerialNumber: 0000:00:1d.2
[    2.055923] ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
[    2.055932] PCI: Setting latency timer of device 0000:00:1d.3 to 64
[    2.055936] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[    2.055958] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
[    2.055987] uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000d480
[    2.056014] usb usb4: configuration #1 chosen from 1 choice
[    2.056014] hub 4-0:1.0: USB hub found
[    2.056014] hub 4-0:1.0: 2 ports detected
[    2.086974] usb 1-2: new low speed USB device using uhci_hcd and address 2
[    2.158814] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    2.158818] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.158821] usb usb4: Product: UHCI Host Controller
[    2.158823] usb usb4: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[    2.158825] usb usb4: SerialNumber: 0000:00:1d.3
[    2.158956] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
[    2.158970] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[    2.158974] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[    2.158996] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
[    2.162913] ehci_hcd 0000:00:1d.7: debug port 1
[    2.162922] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[    2.162927] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfea37c00
[    2.220024] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[    2.220079] usb usb5: configuration #1 chosen from 1 choice
[    2.220106] hub 5-0:1.0: USB hub found
[    2.220112] hub 5-0:1.0: 8 ports detected
[    2.324093] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    2.324096] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.324099] usb usb5: Product: EHCI Host Controller
[    2.324102] usb usb5: Manufacturer: Linux 2.6.26-2-686 ehci_hcd
[    2.324104] usb usb5: SerialNumber: 0000:00:1d.7
[    2.326736] No dock devices found.
[    2.334908] SCSI subsystem initialized
[    2.344019] libata version 3.00 loaded.
[    2.345016] ACPI: PCI Interrupt 0000:01:08.0[A] -> GSI 20 (level, low) -> IRQ 20
[    2.370303] e100: eth0: e100_probe: addr 0xfebfe000, irq 20, MAC addr 00:30:59:04:25:2e
[    2.372518] ata_piix 0000:00:1f.2: version 2.12
[    2.372535] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
[    2.372541] ata_piix 0000:00:1f.2: MAP [ P0 P2 -- -- ]
[    2.372576] PCI: Setting latency timer of device 0000:00:1f.2 to 64
[    2.372629] scsi0 : ata_piix
[    2.372707] scsi1 : ata_piix
[    2.372737] ata1: SATA max UDMA/133 cmd 0xd400 ctl 0xd080 bmdma 0xcc00 irq 19
[    2.372740] ata2: SATA max UDMA/133 cmd 0xd000 ctl 0xcc80 bmdma 0xcc08 irq 19
[    2.617863] usb 1-2: device not accepting address 2, error -71
[    2.673787] hub 1-0:1.0: unable to enumerate USB device on port 2
[    2.703054] ICH7: IDE controller (0x8086:0x27df rev 0x02) at  PCI slot 0000:00:1f.1
[    2.703065] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
[    2.703074] ICH7: not 100% native mode: will probe irqs later
[    2.703084] ICH7: IDE port disabled
[    2.703092]     ide0: BM-DMA at 0xffa0-0xffa7
[    2.703098] Probing IDE interface ide0...
[    3.120023] usb 1-2: new low speed USB device using uhci_hcd and address 4
[    3.216283] hdb: SILICONSYSTEMS UDMA 4GB-4300, ATA DISK drive
[    3.272061] hdb: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[    3.272109] hdb: host side 80-wire cable detection failed, limiting max speed to UDMA33
[    3.272112] hdb: UDMA/33 mode selected
[    3.272163] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[    3.287664] hdb: max request size: 128KiB
[    3.287668] hdb: 8027712 sectors (4110 MB) w/1KiB Cache, CHS=7964/16/63
[    3.287953] hdb: cache flushes supported
[    3.287987]  hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 hdb8 hdb9 >
[    3.371351] usb 1-2: configuration #1 chosen from 1 choice
[    3.372503] PM: Starting manual resume from disk
[    3.377441] usb 1-2: New USB device found, idVendor=1241, idProduct=1603
[    3.377445] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.377448] usb 1-2: Product: USB Keyboard
[    3.377450] usb 1-2: Manufacturer:  
[    3.409452] usbcore: registered new interface driver hiddev
[    3.409971] kjournald starting.  Commit interval 5 seconds
[    3.409981] EXT3-fs: mounted filesystem with ordered data mode.
[    3.453644] input:   USB Keyboard as /class/input/input0
[    3.453691] input,hidraw0: USB HID v1.10 Keyboard [  USB Keyboard] on usb-0000:00:1d.0-2
[    3.539354] input:   USB Keyboard as /class/input/input1
[    3.548033] input,hidraw1: USB HID v1.10 Device [  USB Keyboard] on usb-0000:00:1d.0-2
[    3.548052] usbcore: registered new interface driver usbhid
[    3.548056] usbhid: v2.6:USB HID core driver
[    3.769097] udevd version 125 started
[    4.358662] Linux agpgart interface v0.103
[    4.367501] agpgart: Detected an Intel 945GME Chipset.
[    4.367836] agpgart: Detected 7932K stolen memory.
[    4.382966] agpgart: AGP aperture is 256M @ 0xd0000000
[    4.527944] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
[    4.527964] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[    4.557848] hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
[    4.585865] input: Power Button (FF) as /class/input/input2
[    4.612654] ACPI: Power Button (FF) [PWRF]
[    4.612745] input: Power Button (CM) as /class/input/input3
[    4.644048] ACPI: Power Button (CM) [PWRB]
[    5.710031] intel_rng: FWH not detected
[    5.740592] input: Video Bus as /class/input/input4
[    5.764040] ACPI: Video Device [IGD] (multi-head: yes  rom: no  post: no)
[    5.782541] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008)
[    5.782613] iTCO_wdt: Found a ICH7-M DH TCO device (Version=2, TCOBASE=0x0860)
[    5.782642] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    5.880861] ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 19
[    5.953481] input: PC Speaker as /class/input/input5
[    5.975940] Error: Driver 'pcspkr' is already registered, aborting...
[    6.056711] Error: Driver 'pcspkr' is already registered, aborting...
[    6.250035] parport_pc 00:08: reported by Plug and Play ACPI
[    6.250087] parport0: PC-style at 0x378, irq 7 [PCSPP]
[    6.922157] Adding 489940k swap on /dev/hdb8.  Priority:-1 extents:1 across:489940k
[    7.838259] loop: module loaded
[    7.851772] ppdev: user-space parallel port driver
[    8.350401] kjournald starting.  Commit interval 5 seconds
[    8.350411] EXT3-fs: mounted filesystem with ordered data mode.
[    8.351728] kjournald starting.  Commit interval 5 seconds
[    8.374635] EXT3 FS on hdb6, internal journal
[    8.374639] EXT3-fs: mounted filesystem with ordered data mode.
[    8.375522] kjournald starting.  Commit interval 5 seconds
[    8.417212] EXT3 FS on hdb7, internal journal
[    8.417212] EXT3-fs: mounted filesystem with ordered data mode.
[    8.418360] kjournald starting.  Commit interval 5 seconds
[    8.418360] EXT3-fs: mounted filesystem with ordered data mode.
[    8.418863] kjournald starting.  Commit interval 5 seconds
[    8.434795] EXT3 FS on hdb5, internal journal
[    8.434795] EXT3-fs: mounted filesystem with ordered data mode.
[    9.485855] NET: Registered protocol family 10
[    9.486264] lo: Disabled Privacy Extensions
[    9.558863] warning: `ntpd' uses 32-bit capabilities (legacy support in use)
[   21.053169] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   21.056131] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
[   21.056478] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   32.048028] eth0: no IPv6 routers present

[-- Attachment #4: lspci_broken.txt --]
[-- Type: text/plain, Size: 1472 bytes --]

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:04.0 Unclassified device [0080]: Device 0002:0080
01:08.0 Ethernet controller: Intel Corporation PRO/100 VM Network Connection (rev 01)

[-- Attachment #5: lspci_working.txt --]
[-- Type: text/plain, Size: 1486 bytes --]

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:04.0 Serial controller: Exar Corp. XR17C158 Octal UART (rev 09)
01:08.0 Ethernet controller: Intel Corporation PRO/100 VM Network Connection (rev 01)

[-- Attachment #6: lspci_v_broken.txt --]
[-- Type: text/plain, Size: 5497 bytes --]

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
	Subsystem: Intel Corporation Mobile 945GME Express Memory Controller Hub
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: agpgart-intel
	Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
	Subsystem: Intel Corporation Mobile 945GME Express Integrated Graphics Controller
	Flags: bus master, fast devsel, latency 0, IRQ 15
	Memory at fea80000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at dc80 [size=8]
	Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Memory at fea40000 (32-bit, non-prefetchable) [size=256K]
	Capabilities: <access denied>

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
	Subsystem: Intel Corporation Device 27ae
	Flags: bus master, fast devsel, latency 0
	Memory at fe980000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: <access denied>

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at fea38000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1
	Flags: bus master, medium devsel, latency 0, IRQ 23
	I/O ports at dc00 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2
	Flags: bus master, medium devsel, latency 0, IRQ 19
	I/O ports at d880 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at d800 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at d480 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at fea37c00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: feb00000-febfffff
	Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02)
	Subsystem: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>
	Kernel modules: iTCO_wdt, intel-rng

00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
	Subsystem: Intel Corporation 82801G (ICH7 Family) IDE Controller
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at 01f0 [size=8]
	I/O ports at 03f4 [size=1]
	I/O ports at 0170 [size=8]
	I/O ports at 0374 [size=1]
	I/O ports at ffa0 [size=16]
	Kernel driver in use: PIIX_IDE
	Kernel modules: piix

00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
	I/O ports at d400 [size=8]
	I/O ports at d080 [size=4]
	I/O ports at d000 [size=8]
	I/O ports at cc80 [size=4]
	I/O ports at cc00 [size=16]
	Memory at fea37800 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix

00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
	Subsystem: Intel Corporation 82801G (ICH7 Family) SMBus Controller
	Flags: medium devsel, IRQ 19
	I/O ports at 0400 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c-i801

01:04.0 Unclassified device [0080]: Device 0002:0080
	Flags: fast devsel
	[virtual] Memory at feb00000 (32-bit, non-prefetchable) [disabled] [size=4K]

01:08.0 Ethernet controller: Intel Corporation PRO/100 VM Network Connection (rev 01)
	Subsystem: Intel Corporation Device 0001
	Flags: bus master, medium devsel, latency 64, IRQ 20
	Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at ec80 [size=64]
	Capabilities: <access denied>
	Kernel driver in use: e100
	Kernel modules: e100


[-- Attachment #7: lspci_v_working.txt --]
[-- Type: text/plain, Size: 5549 bytes --]

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
	Subsystem: Intel Corporation Mobile 945GME Express Memory Controller Hub
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: agpgart-intel
	Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
	Subsystem: Intel Corporation Mobile 945GME Express Integrated Graphics Controller
	Flags: bus master, fast devsel, latency 0, IRQ 15
	Memory at fea80000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at dc80 [size=8]
	Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Memory at fea40000 (32-bit, non-prefetchable) [size=256K]
	Capabilities: <access denied>

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
	Subsystem: Intel Corporation Device 27ae
	Flags: bus master, fast devsel, latency 0
	Memory at fe980000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: <access denied>

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at fea38000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1
	Flags: bus master, medium devsel, latency 0, IRQ 23
	I/O ports at dc00 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2
	Flags: bus master, medium devsel, latency 0, IRQ 19
	I/O ports at d880 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at d800 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at d480 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at fea37c00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: feb00000-febfffff
	Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02)
	Subsystem: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>
	Kernel modules: iTCO_wdt, intel-rng

00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
	Subsystem: Intel Corporation 82801G (ICH7 Family) IDE Controller
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at 01f0 [size=8]
	I/O ports at 03f4 [size=1]
	I/O ports at 0170 [size=8]
	I/O ports at 0374 [size=1]
	I/O ports at ffa0 [size=16]
	Kernel driver in use: PIIX_IDE
	Kernel modules: piix

00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
	I/O ports at d400 [size=8]
	I/O ports at d080 [size=4]
	I/O ports at d000 [size=8]
	I/O ports at cc80 [size=4]
	I/O ports at cc00 [size=16]
	Memory at fea37800 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix

00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
	Subsystem: Intel Corporation 82801G (ICH7 Family) SMBus Controller
	Flags: medium devsel, IRQ 19
	I/O ports at 0400 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c-i801

01:04.0 Serial controller: Exar Corp. XR17C158 Octal UART (rev 09) (prog-if 02 [16550])
	Flags: fast devsel, IRQ 20
	Memory at febff000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: serial

01:08.0 Ethernet controller: Intel Corporation PRO/100 VM Network Connection (rev 01)
	Subsystem: Intel Corporation Device 0001
	Flags: bus master, medium devsel, latency 64, IRQ 20
	Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at ec80 [size=64]
	Capabilities: <access denied>
	Kernel driver in use: e100
	Kernel modules: e100


[-- Attachment #8: proc_iomem_broken.txt --]
[-- Type: text/plain, Size: 1100 bytes --]

00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000cf000-000d07ff : Adapter ROM
000d0800-000d17ff : Adapter ROM
000f0000-000fffff : System ROM
00100000-3f7bffff : System RAM
  00100000-002baaa0 : Kernel code
  002baaa1-0037661f : Kernel data
  003bc000-0041f57f : Kernel bss
3f7c0000-3f7cdfff : ACPI Tables
3f7ce000-3f7fffff : ACPI Non-volatile Storage
d0000000-dfffffff : 0000:00:02.0
e0000000-e3ffffff : pnp 00:0f
fe980000-fe9fffff : 0000:00:02.1
fea37800-fea37bff : 0000:00:1f.2
fea37c00-fea37fff : 0000:00:1d.7
  fea37c00-fea37fff : ehci_hcd
fea38000-fea3bfff : 0000:00:1b.0
  fea38000-fea3bfff : ICH HD audio
fea40000-fea7ffff : 0000:00:02.0
fea80000-feafffff : 0000:00:02.0
feb00000-febfffff : PCI Bus 0000:01
  feb00000-feb00fff : 0000:01:04.0
  febfe000-febfefff : 0000:01:08.0
    febfe000-febfefff : e100
fec00000-fec00fff : pnp 00:0e
fed13000-fed19fff : pnp 00:01
fed1c000-fed1ffff : pnp 00:0b
fed20000-fed3ffff : pnp 00:0b
fed40000-fed8ffff : pnp 00:0b
fee00000-fee00fff : reserved
ffb00000-ffffffff : reserved

[-- Attachment #9: proc_iomem_working.txt --]
[-- Type: text/plain, Size: 1348 bytes --]

00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000cf000-000d07ff : Adapter ROM
000d0800-000d17ff : Adapter ROM
000f0000-000fffff : System ROM
00100000-3f7bffff : System RAM
  00100000-002baaa0 : Kernel code
  002baaa1-0037661f : Kernel data
  003bc000-0041f57f : Kernel bss
3f7c0000-3f7cdfff : ACPI Tables
3f7ce000-3f7fffff : ACPI Non-volatile Storage
d0000000-dfffffff : 0000:00:02.0
e0000000-e3ffffff : pnp 00:0f
fe980000-fe9fffff : 0000:00:02.1
fea37800-fea37bff : 0000:00:1f.2
fea37c00-fea37fff : 0000:00:1d.7
  fea37c00-fea37fff : ehci_hcd
fea38000-fea3bfff : 0000:00:1b.0
  fea38000-fea3bfff : ICH HD audio
fea40000-fea7ffff : 0000:00:02.0
fea80000-feafffff : 0000:00:02.0
feb00000-febfffff : PCI Bus 0000:01
  febfe000-febfefff : 0000:01:08.0
    febfe000-febfefff : e100
  febff000-febfffff : 0000:01:04.0
    febff000-febff007 : serial
    febff200-febff207 : serial
    febff400-febff407 : serial
    febff600-febff607 : serial
    febff800-febff807 : serial
    febffa00-febffa07 : serial
    febffc00-febffc07 : serial
    febffe00-febffe07 : serial
fec00000-fec00fff : pnp 00:0e
fed13000-fed19fff : pnp 00:01
fed1c000-fed1ffff : pnp 00:0b
fed20000-fed3ffff : pnp 00:0b
fed40000-fed8ffff : pnp 00:0b
fee00000-fee00fff : reserved
ffb00000-ffffffff : reserved

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: BAR 0: can't allocate resource
  2010-01-05  9:18 BAR 0: can't allocate resource Alex Brooks
@ 2010-01-05 17:33 ` Bjorn Helgaas
  2010-01-05 22:19   ` Alex Brooks
  0 siblings, 1 reply; 11+ messages in thread
From: Bjorn Helgaas @ 2010-01-05 17:33 UTC (permalink / raw)
  To: Alex Brooks, linux-pci; +Cc: linux-kernel

I added linux-pci because this appears PCI-related.

On Tuesday 05 January 2010 02:18:02 am Alex Brooks wrote:
> 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:0080

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.

> Hardware Details:
>  - My motherboard is a DigitalLogic MSM945.  It has a PC104 bus.
>  - I have two PC104 cards:
>    i)  8-port serial card (DiamondSystems Emerald-MM-8Plus)
>    ii) PC/104+ to MiniPCI Adapter (ConnectTech) (no MiniPCI cards installed).

Do you have these two cards?

  http://www.diamondsystems.com/products/emeraldmm8plus,
  http://www.connecttech.com/sub/Products/PC104plus_MiniPCI.asp

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.

Bjorn

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: BAR 0: can't allocate resource
  2010-01-05 17:33 ` Bjorn Helgaas
@ 2010-01-05 22:19   ` Alex Brooks
  2010-01-05 23:00     ` Bjorn Helgaas
  0 siblings, 1 reply; 11+ messages in thread
From: Alex Brooks @ 2010-01-05 22:19 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1461 bytes --]

> > 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:0080
>
> 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.  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).

> > Hardware Details:
> >  - My motherboard is a DigitalLogic MSM945.  It has a PC104 bus.
> >  - I have two PC104 cards:
> >    i)  8-port serial card (DiamondSystems Emerald-MM-8Plus)
> >    ii) PC/104+ to MiniPCI Adapter (ConnectTech) (no MiniPCI cards
> > installed).
>
> Do you have these two cards?
>
>   http://www.diamondsystems.com/products/emeraldmm8plus,
>   http://www.connecttech.com/sub/Products/PC104plus_MiniPCI.asp

Yes that's right.

> 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).


Alex

[-- Attachment #2: lspci_noserial.txt --]
[-- Type: text/plain, Size: 1419 bytes --]

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:08.0 Ethernet controller: Intel Corporation PRO/100 VM Network Connection (rev 01)

[-- Attachment #3: lspci_nocards.txt --]
[-- Type: text/plain, Size: 1419 bytes --]

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:08.0 Ethernet controller: Intel Corporation PRO/100 VM Network Connection (rev 01)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: BAR 0: can't allocate resource
  2010-01-05 22:19   ` Alex Brooks
@ 2010-01-05 23:00     ` Bjorn Helgaas
  0 siblings, 0 replies; 11+ messages in thread
From: Bjorn Helgaas @ 2010-01-05 23:00 UTC (permalink / raw)
  To: Alex Brooks; +Cc: linux-pci, linux-kernel

On Tuesday 05 January 2010 03:19:47 pm Alex Brooks wrote:
> > > 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:0080
> >
> > 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.

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?

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.

> 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).

> > 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.

Bjorn

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: BAR 0: can't allocate resource
  2010-01-11 21:27           ` Bjorn Helgaas
@ 2010-01-11 21:47             ` Alex Brooks
  0 siblings, 0 replies; 11+ messages in thread
From: Alex Brooks @ 2010-01-11 21:47 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci, linux-kernel

> > 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.

OK, at this point I think I'll look into switching hardware.  Thanks very much 
for all the help.


Alex

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: BAR 0: can't allocate resource
  2010-01-10  3:07         ` Alex Brooks
@ 2010-01-11 21:27           ` Bjorn Helgaas
  2010-01-11 21:47             ` Alex Brooks
  0 siblings, 1 reply; 11+ messages in thread
From: Bjorn Helgaas @ 2010-01-11 21:27 UTC (permalink / raw)
  To: Alex Brooks; +Cc: linux-pci, linux-kernel

On Saturday 09 January 2010 08:07:26 pm Alex Brooks wrote:
> > 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.

> 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: BAR 0: can't allocate resource
  2010-01-07  5:46       ` Bjorn Helgaas
@ 2010-01-10  3:07         ` Alex Brooks
  2010-01-11 21:27           ` Bjorn Helgaas
  0 siblings, 1 reply; 11+ messages in thread
From: Alex Brooks @ 2010-01-10  3:07 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 673 bytes --]

> 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

[-- Attachment #2: dmesg_2.6.33-rc3.txt --]
[-- Type: text/plain, Size: 31738 bytes --]

[    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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: BAR 0: can't allocate resource
  2010-01-07  1:09     ` Alex Brooks
@ 2010-01-07  5:46       ` Bjorn Helgaas
  2010-01-10  3:07         ` Alex Brooks
  0 siblings, 1 reply; 11+ messages in thread
From: Bjorn Helgaas @ 2010-01-07  5:46 UTC (permalink / raw)
  To: Alex Brooks; +Cc: linux-pci, linux-kernel

On Thu, 2010-01-07 at 12:09 +1100, Alex Brooks wrote:
> > 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.
> 
> 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



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: BAR 0: can't allocate resource
  2010-01-06 20:19   ` Bjorn Helgaas
@ 2010-01-07  1:09     ` Alex Brooks
  2010-01-07  5:46       ` Bjorn Helgaas
  0 siblings, 1 reply; 11+ messages in thread
From: Alex Brooks @ 2010-01-07  1:09 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 909 bytes --]

> 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.

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

[-- Attachment #2: dmesg_mmconfig.txt --]
[-- Type: text/plain, Size: 24844 bytes --]

[    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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: BAR 0: can't allocate resource
  2010-01-06  2:16 ` Alex Brooks
@ 2010-01-06 20:19   ` Bjorn Helgaas
  2010-01-07  1:09     ` Alex Brooks
  0 siblings, 1 reply; 11+ messages in thread
From: Bjorn Helgaas @ 2010-01-06 20:19 UTC (permalink / raw)
  To: Alex Brooks; +Cc: linux-pci, linux-kernel

On Tuesday 05 January 2010 07:16:21 pm Alex Brooks wrote:
> > 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: BAR 0: can't allocate resource
       [not found] <201001061305.31635.a.brooks@marathon-robotics.com>
@ 2010-01-06  2:16 ` Alex Brooks
  2010-01-06 20:19   ` Bjorn Helgaas
  0 siblings, 1 reply; 11+ messages in thread
From: Alex Brooks @ 2010-01-06  2:16 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci, linux-kernel

> > > > 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:0080
> > >
> > > 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.
>
> 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.

> 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.

> > 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

> > > 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

-- 
------------------------------
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
------------------------------

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-01-11 21:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-05  9:18 BAR 0: can't allocate resource Alex Brooks
2010-01-05 17:33 ` Bjorn Helgaas
2010-01-05 22:19   ` Alex Brooks
2010-01-05 23:00     ` Bjorn Helgaas
     [not found] <201001061305.31635.a.brooks@marathon-robotics.com>
2010-01-06  2:16 ` Alex Brooks
2010-01-06 20:19   ` Bjorn Helgaas
2010-01-07  1:09     ` Alex Brooks
2010-01-07  5:46       ` Bjorn Helgaas
2010-01-10  3:07         ` Alex Brooks
2010-01-11 21:27           ` Bjorn Helgaas
2010-01-11 21:47             ` Alex Brooks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).