Author: vishnuvaradan vishnuvaradan Date: To: xfree86 CC: Marc Aurele La France Subject: Re: [XFree86] x not listing the pci Bus 1 I/O range:
Hi ,
It seems likely that the bridge at 0:2:0 is not, in reality, forwarding I/O > transactions to bus 1 because the I/O enable bit in its command register is
> off. The output from `scanpci -v` would confirm this.
I listed the scanpci -v the i/o bit for the corresponding device is
enabled
pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x10b5 device 0x6520
PLX Technology, Inc. Device unknown
STATUS 0x02b0 COMMAND 0x0007
CLASS 0x06 0x04 0x00 REVISION 0xcb
HEADER 0x01 LATENCY 0x80
PRIBUS 0x00 SECBUS 0x01 SUBBUS 0x01
SECLT 0xf2 SECSTATUS 0x22a0
IOBASE 0xf2000000 IOLIM 0xf2000fff
NOPREFETCH_MEMBASE 0x9bf00000 MEMLIM 0x9fffffff
PREFETCH_MEMBASE 0x000000009be00000 MEMLIM 0x000000009befffff
NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN NO_ISA_EN NO_SERR_EN
NO_PERR_EN
the i/o bit is enabled for the graphics card also
I have some queries
1. Assuming its not i/o issue what may be the reason that the kernel is
giving bad memory access when its trying to load EDID data and finding dpms
capabilities( please refer to the verbose message i have attached)..
2. I need to know whether xfree has some kernel dependency ( like in
menuconfig something we need to enable for xfree) ??
3. If I skip loading the library of i2c and ddc .. the kernel is not
reporting any bad access error
It in turn reports screen found but none is in usable configuration...
Is that i need to analyze in i2c and ddc driver of siliconmotion chip ??
Thanks for your attention and replies
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 10e3,0148 card 10e3,0000 rev 01 class 06,80,00 hdr 00
(II) PCI: 00:02:0: chip 10b5,6520 card 0000,0000 rev cb class 06,04,00 hdr 01
(II) PCI: 01:03:0: chip 126f,0720 card 0101,0101 rev c1 class 03,00,00 hdr 00
(II) PCI: 01:04:0: chip 1131,1561 card 1131,1561 rev 11 class 0c,03,10 hdr 80
(II) PCI: 01:04:1: chip 1131,1561 card 1131,1561 rev 11 class 0c,03,10 hdr 80
(II) PCI: 01:04:2: chip 1131,1562 card 1131,1562 rev 11 class 0c,03,20 hdr 80
(II) PCI: End of PCI scan
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:2:0), (0,1,1), BCTRL: 0x0400 (VGA_EN is cleared)
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0x9bf00000 - 0x9fffffff (0x4100000) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0 0x9be00000 - 0x9befffff (0x100000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x00ffffff (0x1000000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI:*(1:3:0) Silicon Motion, Inc. SM720 Lynx3DM rev 193, Mem @ 0x9c000000/2
6
(WW) Open ACPI failed (/proc/acpi/event) (No such file or directory)
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0 0x00000000 - 0x00ffffff (0x1000000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x00ffffff - 0x00ffffff (0x1) IX[B]
[3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) Active PCI resource ranges:
[0] -1 0 0x9bffdf00 - 0x9bffdfff (0x100) MX[B]
[1] -1 0 0x9bffe000 - 0x9bffefff (0x1000) MX[B]
[2] -1 0 0x9bfff000 - 0x9bffffff (0x1000) MX[B]
[3] -1 0 0x80000000 - 0x80000fff (0x1000) MX[B]
[4] -1 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B](B)
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0x9bffdf00 - 0x9bffdfff (0x100) MX[B]
[1] -1 0 0x9bffe000 - 0x9bffefff (0x1000) MX[B]
[2] -1 0 0x9bfff000 - 0x9bffffff (0x1000) MX[B]
[3] -1 0 0x80000000 - 0x80000fff (0x1000) MX[B]
[4] -1 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x00ffffff - 0x00ffffff (0x1) IX[B]
[3] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) All system resource ranges:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x9bffdf00 - 0x9bffdfff (0x100) MX[B]
[3] -1 0 0x9bffe000 - 0x9bffefff (0x1000) MX[B]
[4] -1 0 0x9bfff000 - 0x9bffffff (0x1000) MX[B]
[5] -1 0 0x80000000 - 0x80000fff (0x1000) MX[B]
[6] -1 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B](B)
[7] -1 0 0x00ffffff - 0x00ffffff (0x1) IX[B]
[8] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) Silicon Motion: driver (version 1.3.1) for Silicon Motion Lynx chipsets:
Lynx, LynxE, Lynx3D, LynxEM, LynxEM+, Lynx3DM, Cougar3DR, MSOC
(II) VGA: Generic VGA driver (version 4.0) for chipsets: generic
(II) Primary Device is: PCI 01:03:0
(II) Inside probe......
(--) Chipset Lynx3DM found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x9bffdf00 - 0x9bffdfff (0x100) MX[B]
[3] -1 0 0x9bffe000 - 0x9bffefff (0x1000) MX[B]
[4] -1 0 0x9bfff000 - 0x9bffffff (0x1000) MX[B]
[5] -1 0 0x80000000 - 0x80000fff (0x1000) MX[B]
[6] -1 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B](B)
[7] -1 0 0x00ffffff - 0x00ffffff (0x1) IX[B]
[8] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) resource ranges after probing:
[0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
[1] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]
[2] -1 0 0x9bffdf00 - 0x9bffdfff (0x100) MX[B]
[3] -1 0 0x9bffe000 - 0x9bffefff (0x1000) MX[B]
[4] -1 0 0x9bfff000 - 0x9bffffff (0x1000) MX[B]
[5] -1 0 0x80000000 - 0x80000fff (0x1000) MX[B]
[6] -1 0 0x9c000000 - 0x9fffffff (0x4000000) MX[B](B)
[7] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[8] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[9] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[10] -1 0 0x00ffffff - 0x00ffffff (0x1) IX[B]
[11] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
[12] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[13] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Inside preinit
(==) Silicon Motion(0): Depth 16, (==) framebuffer bpp 16
(==) Silicon Motion(0): RGB weight 565
(==) Silicon Motion(0): Default visual is TrueColor
(==) Silicon Motion(0): Using Hardware Cursor
(II) Silicon Motion(0): No legacy BIOS found -- trying PCI
(II) xf86ReadPciBios: modifying membase[-1] for device 1:3:0
(EE) Silicon Motion(0): Cannot read V_BIOS (5)
(--) Silicon Motion(0): Chipset: "Lynx3DM"
(II) Silicon Motion(0):
Inside Map mem
(II) Silicon Motion(0): Physical MMIO at 0x9C000000
(II) Silicon Motion(0): Logical MMIO at 0x30048000 - 0x30247fff
(II) Silicon Motion(0): DPR=0x30048000, VPR=0x30048800, IOBase=0x30108000
(II) Silicon Motion(0): DataPort=0x30148000 - 0x30247fff
(II) Silicon Motion(0): Physical frame buffer at 0x9C200000
(II) Silicon Motion(0): Logical frame buffer at (nil) - 0xffffffff
(II) Silicon Motion(0): Cursor Offset: FFFFFC00 Reserved: FFFFF800
(II) Silicon Motion(0):