LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Bug in Vanilla Kernel 2.6.32.2, PCI subsystem? (https://www.linuxquestions.org/questions/linux-kernel-70/bug-in-vanilla-kernel-2-6-32-2-pci-subsystem-780094/)

irmin 01-05-2010 03:54 PM

Bug in Vanilla Kernel 2.6.32.2, PCI subsystem?
 
Dear linuxquestions.org-members,

I tried to get the x.org intel driver to get working on my sister's laptop (Medion E5218). The installed linux distribution is Slackware64 13.0. After having installed everything, everything except WLAN and x.org did not work. Because there were some errors like "DMA: Out of SW-IOMMU space" errors I upgraded to the vanilla kernel 2.6.32.2.

The original kernel was 2.6.29.6 and x.org's intel driver worked well, except when terminated the X-server I obtained a flickering screen.
I hoped that this issue would be solved together with the kernel update.

But now, under kernel 2.6.32.2, the intel driver does not work at all: I only get a blank, black screen. But the system is still working and I can login via ssh. I observed that X was taking 100%-CPU time. Thus I started gdb and attached to the running X-server process. After interrupting the X-server via SIGINT, gdb shows that the intel driver (intel_drv.so) waits for a flag indicating that the LCD screen is turned on, but it never detects this (If you set the variable manually via gdb, the server will startup but nothing will be displayed).

The next step of my investigation was to find out the reason for this strage behaviour. By comparing with the working 2.6.29.6 kernel, I found that the IOMEM of the intel graphics card is located at 0xc0000000, while kernel 2.6.32.2 reports the same resource to be located at 0xbc000000. This seems a little bit odd to me.

My question is whether it is usual that the address of PCI-resources can change (at will)?

/proc/iomem (for kernel 2.6.29.6)
Code:

00000000-0000ffff : reserved
00010000-0009c3ff : System RAM
0009c400-0009ffff : reserved
000d2000-000d3fff : reserved
000e0000-000fffff : reserved
00100000-bbaa0fff : System RAM
  00200000-008fed3f : Kernel code
  008fed40-00bba85f : Kernel data
  00c67000-00d2a9ab : Kernel bss
bbaa1000-bbaa6fff : reserved
bbaa7000-bbbbbfff : System RAM
bbbbc000-bbc0efff : reserved
bbc0f000-bbd07fff : System RAM
bbd08000-bbf0efff : reserved
bbf0f000-bbf18fff : System RAM
bbf19000-bbf1efff : reserved
bbf1f000-bbf64fff : System RAM
bbf65000-bbf9efff : ACPI Non-volatile Storage
bbf9f000-bbfe3fff : System RAM
bbfe4000-bbffefff : ACPI Tables
bbfff000-bbffffff : System RAM
c0000000-c03fffff : 0000:00:02.0
c0400000-c04000ff : 0000:00:1f.3
c0401000-c0401fff : Intel Flush Page
c8000000-cbffffff : PCI Bus 0000:06
ce000000-cfffffff : PCI Bus 0000:06
d0000000-dfffffff : 0000:00:02.0
e0000000-efffffff : PCI MMCONFIG 0
  e0000000-efffffff : pnp 00:09
f0000000-f3ffffff : PCI Bus 0000:02
  f0000000-f0003fff : 0000:02:00.0
    f0000000-f0003fff : rtl819xSE
f4000000-f80fffff : PCI Bus 0000:04
  f4000000-f40000ff : 0000:04:00.0
    f4000000-f40000ff : mmc0
  f8000000-f8003fff : 0000:04:00.5
    f8000000-f8003fff : jme
  f8004000-f80040ff : 0000:04:00.2
  f8004400-f80044ff : 0000:04:00.3
    f8004400-f80044ff : jmb38x_ms
  f8004800-f80048ff : 0000:04:00.4
f8100000-f81fffff : 0000:00:02.1
f8200000-f8203fff : 0000:00:1b.0
  f8200000-f8203fff : ICH HD audio
f8404000-f84047ff : 0000:00:1f.2
  f8404000-f84047ff : ahci
f8404800-f8404bff : 0000:00:1a.7
  f8404800-f8404bff : ehci_hcd
f8404c00-f8404fff : 0000:00:1d.7
  f8404c00-f8404fff : ehci_hcd
fa000000-fbffffff : PCI Bus 0000:02
fc000000-fdffffff : PCI Bus 0000:04
fec00000-fec00fff : IOAPIC 0
fed00000-fed003ff : HPET 0
  fed00000-fed003ff : pnp 00:05
fed10000-fed13fff : pnp 00:09
fed18000-fed18fff : pnp 00:09
fed19000-fed19fff : pnp 00:09
fed1c000-fed1ffff : pnp 00:09
fed20000-fed3ffff : pnp 00:09
fed45000-fed8ffff : pnp 00:09
fee00000-fee00fff : Local APIC
100000000-13fffffff : System RA

/proc/iomem (for kernel 2.6.32.2):
Code:

00000000-0000ffff : reserved
00010000-0009c3ff : System RAM
0009c400-0009ffff : reserved
000d2000-000d3fff : reserved
000e0000-000fffff : reserved
00100000-bbaa0fff : System RAM
  01000000-01711d94 : Kernel code
  01711d95-01a5e3e7 : Kernel data
  01aea000-01bcb5c3 : Kernel bss
bbaa1000-bbaa6fff : reserved
bbaa7000-bbbbbfff : System RAM
bbbbc000-bbc0efff : reserved
bbc0f000-bbd07fff : System RAM
bbd08000-bbf0efff : reserved
bbf0f000-bbf18fff : System RAM
bbf19000-bbf1efff : reserved
bbf1f000-bbf64fff : System RAM
bbf65000-bbf9efff : ACPI Non-volatile Storage
bbf9f000-bbfe3fff : System RAM
bbfe4000-bbffefff : ACPI Tables
bbfff000-bbffffff : System RAM
bc000000-bc3fffff : 0000:00:02.0
bc400000-bc4000ff : 0000:00:1f.3
bc401000-bc401fff : Intel Flush Page
c8000000-cbffffff : PCI Bus 0000:06
ce000000-cfffffff : PCI Bus 0000:06
d0000000-dfffffff : 0000:00:02.0
e0000000-efffffff : PCI MMCONFIG 0 [00-ff]
  e0000000-efffffff : pnp 00:09
f0000000-f3ffffff : PCI Bus 0000:02
  f0000000-f0003fff : 0000:02:00.0
    f0000000-f0003fff : rtl819xSE
f4000000-f80fffff : PCI Bus 0000:04
  f4000000-f40000ff : 0000:04:00.0
    f4000000-f40000ff : mmc0
  f8000000-f8003fff : 0000:04:00.5
    f8000000-f8003fff : jme
  f8004000-f80040ff : 0000:04:00.2
  f8004400-f80044ff : 0000:04:00.3
    f8004400-f80044ff : jmb38x_ms
  f8004800-f80048ff : 0000:04:00.4
f8100000-f81fffff : 0000:00:02.1
f8200000-f8203fff : 0000:00:1b.0
  f8200000-f8203fff : ICH HD audio
f8404000-f84047ff : 0000:00:1f.2
  f8404000-f84047ff : ahci
f8404800-f8404bff : 0000:00:1a.7
  f8404800-f8404bff : ehci_hcd
f8404c00-f8404fff : 0000:00:1d.7
  f8404c00-f8404fff : ehci_hcd
fa000000-fbffffff : PCI Bus 0000:02
fc000000-fdffffff : PCI Bus 0000:04
fec00000-fec00fff : IOAPIC 0
fed00000-fed003ff : HPET 0
  fed00000-fed003ff : pnp 00:05
fed10000-fed13fff : pnp 00:09
fed18000-fed18fff : pnp 00:09
fed19000-fed19fff : pnp 00:09
fed1c000-fed1ffff : pnp 00:09
fed20000-fed3ffff : pnp 00:09
fed45000-fed8ffff : pnp 00:09
fee00000-fee00fff : Local APIC
100000000-13fffffff : System RAM

Additional information:
Graphics Card: Intel 4500 MHD (PCI 00:02.0)
Total Memory: 4 Gb (but using mem=2G does not change anything).

Thank you for your answers.


All times are GMT -5. The time now is 11:55 PM.