Bug 5797

Summary: PCI allocation failure and false video ram size allocation
Product: Drivers Reporter: Gilbert Furger (info)
Component: PCIAssignee: Greg Kroah-Hartman (greg)
Status: REJECTED INVALID    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.14.5 Subsystem:
Regression: --- Bisected commit-id:
Bug Depends on:    
Bug Blocks: 5829    

Description Gilbert Furger 2005-12-30 02:39:25 UTC
Most recent kernel where this bug did not occur:
Distribution: Fedora Core 4
Hardware Environment: IBM server x306
Software Environment:
Problem Description:

At boot, the kernel reports:

PCI: Cannot allocate resource region 7 of bridge 0000:00:1e.0

dmesg reports:

PCI: Bridge: 0000:00:1e.0
  IO window: disabled.
  MEM window: d0300000-d03fffff
  PREFETCH window: e0000000-efffffff


It seems to be related to the Intel PCI Bridge 82801:


lspci -n:

00:1e.0 Class 0604: 8086:244e (rev 0a)


lspci -vvx:

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 0a) (prog-if 00
[Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
        Memory behind bridge: d0300000-d03fffff
        Prefetchable memory behind bridge: e0000000-efffffff
        Secondary status: 66Mhz- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA+ VGA+ MAbort- >Reset- FastB2B-
00: 86 80 4e 24 47 01 80 00 0a 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 04 04 20 f0 00 80 22
20: 30 d0 30 d0 00 e0 f0 ef 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e 00


The video card behind this bridge is a ATI Radeon and the PCI descovery reports
a memory video size of 256 MB but this video has only 16 MB of ram (correctly
discored by X server).

lspci -n
04:02.0 Class 0300: 1002:5159
	Subsystem: 1014:02c8

lspci -vvx

04:02.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon
7000/VE] (prog-if 00 [VGA])
        Subsystem: IBM: Unknown device 02c8
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 66 (2000ns min), Cache Line Size 08
        Interrupt: pin A routed to IRQ 3
        Region 0: Memory at e0000000 (32-bit, prefetchable) [size=256M]
        Region 1: I/O ports at 4000 [size=256]
        Region 2: Memory at d0300000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at d0360000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 02 10 59 51 87 01 90 02 00 00 00 03 08 42 00 00
10: 08 00 00 e0 01 40 00 00 00 00 30 d0 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 14 10 c8 02
30: 00 00 00 00 50 00 00 00 00 00 00 00 03 01 08 00

PCI devices list:
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
00:03.0 PCI bridge: Intel Corporation 82875P/E7210 Processor to PCI to CSA
Bridge (rev 02) (prog-if 00 [Normal decode])
00:1c.0 PCI bridge: Intel Corporation 6300ESB 64-bit PCI-X Bridge (rev 02)
(prog-if 00 [Normal decode])
00:1d.0 USB Controller: Intel Corporation 6300ESB USB Universal Host Controller
(rev 02) (prog-if 00 [UHCI])
00:1d.1 USB Controller: Intel Corporation 6300ESB USB Universal Host Controller
(rev 02) (prog-if 00 [UHCI])
00:1d.4 System peripheral: Intel Corporation 6300ESB Watchdog Timer (rev 02)
00:1d.5 PIC: Intel Corporation 6300ESB I/O Advanced Programmable Interrupt
Controller (rev 02) (prog-if 20 [IO(X)-APIC])
00:1d.7 USB Controller: Intel Corporation 6300ESB USB2 Enhanced Host Controller
(rev 02) (prog-if 20 [EHCI])
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 0a) (prog-if 00
[Normal decode])
00:1f.0 ISA bridge: Intel Corporation 6300ESB LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 6300ESB PATA Storage Controller (rev
02) (prog-if 8a [Master SecP PriP])
00:1f.3 SMBus: Intel Corporation 6300ESB SMBus Controller (rev 02)
02:01.0 Ethernet controller: Intel Corporation 82547GI Gigabit Ethernet Controller
03:01.0 RAID bus controller: 3ware Inc: Unknown device 1003
04:02.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon
7000/VE] (prog-if 00 [VGA])
04:03.0 Ethernet controller: Intel Corporation 82541GI/PI Gigabit Ethernet
Controller


The system boot correctly but if I wake on lan the system after a software
poweroff, it hangs before grub. I suspect that it is related to a bad video
state at poweroff (video acpi related?). 


Steps to reproduce: 
always at boot
Comment 1 Greg Kroah-Hartman 2006-01-04 14:38:59 UTC
You should be able to safely ignore this message, it's not causing any problems.