Bug 9861 - PCI: cannot allocate resource region - Acer Aspire 5633 WLMi
Summary: PCI: cannot allocate resource region - Acer Aspire 5633 WLMi
Status: REJECTED WILL_NOT_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: ykzhao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-31 16:39 UTC by Jelle Geerts
Modified: 2008-02-04 00:39 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.24
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
acpidump after using the patch (137.78 KB, text/plain)
2008-01-31 16:41 UTC, Jelle Geerts
Details
dmesg output after using the patch (18.29 KB, text/plain)
2008-01-31 16:41 UTC, Jelle Geerts
Details
lspci output after using the patch (28.46 KB, text/plain)
2008-01-31 16:42 UTC, Jelle Geerts
Details
output of dmesg with PM_DEBUG (29.54 KB, text/plain)
2008-02-01 07:03 UTC, Jelle Geerts
Details
dmesg output without PM_DEBUG (19.41 KB, text/plain)
2008-02-02 06:56 UTC, Jelle Geerts
Details
dmesg output with pci=noacpi (19.15 KB, text/plain)
2008-02-03 04:08 UTC, Jelle Geerts
Details
dmesg output with pci=nommconf (19.72 KB, text/plain)
2008-02-03 04:12 UTC, Jelle Geerts
Details

Description Jelle Geerts 2008-01-31 16:39:21 UTC
+++ This bug was initially created as a clone of Bug #6539 +++

Most recent kernel where this bug did not occur:
Distribution:
Fedora Core 5
Hardware Environment:
Acer TravelMate 4101 WLMI

I have attached the output of dmidecode.

Software Environment:

Kernel is vanilla 2.6.16.15 
The .config file is attached.

Problem Description:

When the kernel boots with acpi enabled (no kernel  options),
the following messages are displayed:

..............................

PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.0
PCI: Cannot allocate resource region 8 of bridge 0000:00:1c.0
PCI: Cannot allocate resource region 9 of bridge 0000:00:1c.0
PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.1
PCI: Cannot allocate resource region 8 of bridge 0000:00:1c.1
PCI: Cannot allocate resource region 9 of bridge 0000:00:1c.1
PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.2
PCI: Cannot allocate resource region 8 of bridge 0000:00:1c.2
PCI: Cannot allocate resource region 9 of bridge 0000:00:1c.2
PCI: Bridge: 0000:00:01.0
  IO window: 3000-3fff
  MEM window: c8100000-c81fffff
  PREFETCH window: d0000000-d7ffffff
PCI: Bridge: 0000:00:1c.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.1
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.2
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bus 7, cardbus bridge: 0000:06:01.0
  IO window: 00004000-000040ff
  IO window: 00004400-000044ff
  PREFETCH window: 30000000-31ffffff
  MEM window: 32000000-33ffffff
PCI: Bridge: 0000:00:1e.0
  IO window: 4000-4fff
  MEM window: c8200000-c82fffff
  PREFETCH window: 30000000-31ffffff

.......................

So there seems to be a prblem with the PCI confiurstion, but related to
ACPI too.

With the option acpi=off the following messages are displayed:

.......................
PCI: Transparent bridge - 0000:00:1e.0
PCI: Bus #07 (-#08) may be hidden behind transparent bridge #06 (-#07) (try
'pci=assign-busses')
PCI: Bridge: 0000:00:01.0
  IO window: 3000-3fff
  MEM window: c8100000-c81fffff
  PREFETCH window: d0000000-d7ffffff
PCI: Bridge: 0000:00:1c.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.1
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.2
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bus 7, cardbus bridge: 0000:06:01.0
  IO window: 00004000-000040ff
  IO window: 00004400-000044ff
  PREFETCH window: 30000000-31ffffff
  MEM window: 32000000-33ffffff
PCI: Bridge: 0000:00:1e.0
  IO window: 4000-4fff
  MEM window: c8200000-c82fffff
  PREFETCH window: 30000000-31ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
PCI: Setting latency timer of device 0000:00:1c.0 to 64
PCI: Setting latency timer of device 0000:00:1c.1 to 64
PCI: Setting latency timer of device 0000:00:1c.2 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
...............................

The messages with "cannnot allocate resource region" related to the
0000:00:1c bridge do not show up. Still the following messages remain
unchanged:

PCI: Bridge: 0000:00:1c.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.1
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.2
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.

There are some errors with the DSDT compilation but the batterry status 
and cpufreq related drivers work (it's a "smart" battery).

I have attached the DSDT, and the output of dmesg and lspci -vvv
in both situations : with acpi on, and with acpi=off.

I hope this helps, and if there is more information needed please
say so.

Steps to reproduce:
always
Comment 1 Jelle Geerts 2008-01-31 16:39:56 UTC
I've used the patch, recompiled the kernel (I'm using 2.6.24) and rebooted, for the results please see the attachments.

My notebook is an Acer 5633WLMi, I get similar "PCI bridge" warning messages when booting as described in the start post.
Comment 2 Jelle Geerts 2008-01-31 16:41:31 UTC
Created attachment 14668 [details]
acpidump after using the patch

acpidump output after using the patch [http://bugzilla.kernel.org/attachment.cgi?id=14186&action=view]
Comment 3 Jelle Geerts 2008-01-31 16:41:57 UTC
Created attachment 14669 [details]
dmesg output after using the patch

dmesg output after using the patch [http://bugzilla.kernel.org/attachment.cgi?id=14186&action=view]
Comment 4 Jelle Geerts 2008-01-31 16:42:43 UTC
Created attachment 14670 [details]
lspci output after using the patch

lspci -vxxx output after using the patch [http://bugzilla.kernel.org/attachment.cgi?id=14186&action=view]
Comment 5 ykzhao 2008-01-31 18:10:58 UTC
Will you please enable PCI debug function in kernel configuration and attach the output of dmesg? (Don't use the patch)
thanks.
Comment 6 Jelle Geerts 2008-02-01 07:03:13 UTC
Created attachment 14675 [details]
output of dmesg with PM_DEBUG

This is the output of dmesg with PM_DEBUG and without the previously used patch.
Comment 7 ykzhao 2008-02-01 17:08:18 UTC
Will you please attach the full dmesg? 
Comment 8 Jelle Geerts 2008-02-02 04:21:16 UTC
When I start up the kernel with PM_DEBUG enabled, I do see the same messages "PCI: Cannot allocate resource region X of bridge" but somehow I can't find them in the dmesg output. I do see a lot of "PM: Adding info for No Bus:tty" etc, maybe the dmesg got too full? What should I do?
Comment 9 ykzhao 2008-02-02 05:07:09 UTC
Please unset the CONFIG_PM_DEBUG in kernel config. 
Maybe you can get the output of full dmesg.
Thanks.
Comment 10 Jelle Geerts 2008-02-02 06:56:47 UTC
Created attachment 14683 [details]
dmesg output without PM_DEBUG

If everything went well, this is the full dmesg (I can see the 'PCI bridge' messages at least so it seems ok).
Comment 11 ykzhao 2008-02-02 21:20:13 UTC
Thanks for the info.
Will you please use the patch and attach the output of dmesg with the following two boot options? 
a. pci=nommconf
b. pci=noapci
Thanks.
Comment 12 Jelle Geerts 2008-02-03 04:08:33 UTC
Created attachment 14691 [details]
dmesg output with pci=noacpi

'noapci' wasn't an option (the kernel said so after trying it) so I tried 'noacpi'  instead

anyway, here is the dmesg
Comment 13 Jelle Geerts 2008-02-03 04:12:16 UTC
Created attachment 14692 [details]
dmesg output with pci=nommconf
Comment 14 ykzhao 2008-02-04 00:39:44 UTC
Thanks for the info.
    From the info in comment #3, #12 and #13 OS will report the following debug message: 
    > PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.0
    > PCI: Cannot allocate resource region 7 of bridge 0000:00:1c.0
    
   The above debug message is caused by bios configuration . The details are listed in the following:
   a. The PCI bridge (1c.0 and 1.c3) is programmed by BIOS. For 1c.0 : The IO resource ranges from 0 to 0xfff. Memory resource ranges from 0 to 0xfffff. For 1c.3: there is no IO resource defintion and memory resource ranges from d0000000 to d00fffff. 
   b. The memory&IO resource will be reserved by OS in the phase of PCI initialization. If the resource can't be reserved , OS will report the error message. For example: the IO resource (0-0xfff) is reserved for 1c.0 bridge;but unfortunately the IO resource(0-0xfff) is used by other devices(RTC timer; DMA; 8259). So the OS will report the above error essage.
  
   Of course the above message won't break anything because there is no PCI device behind the PCI bridge (1c.0). The message is confusing. 
   
   Since the message is caused by BIOS configuration and won't break anything, the bug will be rejected. 
   
   Thanks for the info.


       

Note You need to log in before you can comment on or make changes to this bug.