lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 11 Dec 2006 21:48:34 +0000
From:	Steve Murphy <Steve.Murphy@...ex-Semi.com>
To:	linux-kernel@...r.kernel.org
Subject: PCI resource allocation problem

Hi
I've got a card that presents a PCIe to PCI transparent
bridge to the slot connector - behind which is a non
transparent bridge with 3 bars - 1 non prefetchable,
2 prefetchable. The non prefetchable is not assigned
after boot on some machines. It seems that if resource
allocation fails on linux it fails on XP too. I presume the
OS has failed to correct a bios device enumeration error.
Running identical install on some machines is fine ( some HP
and Dells) but I have some ASUS and Intel board machines
that show this fault.

I've tried loading the kernel with pci=assign-busses (BTW
how can verify the params a running kernel is using?) but
no result.  The prefetchable bar in question is only 64K -
I never see a problem assigning the PF bars (256M and 64M).

from syslog

Dec 11 18:45:28 brambling kernel: [   42.691399] PCI: Failed to allocate 
mem resource #8:100000@...00000 for 0000:01:00.0
Dec 11 18:45:28 brambling kernel: [   42.691498] PCI: Failed to allocate 
mem resource #0:10000@0 for 0000:02:0c.0
Dec 11 18:45:28 brambling kernel: [   42.691561] PCI: Bridge: 0000:01:00.0
Dec 11 18:45:28 brambling kernel: [   42.691617]   IO window: disabled.
Dec 11 18:45:28 brambling kernel: [   42.691679]   MEM window: disabled.
Dec 11 18:45:28 brambling kernel: [   42.691739]   PREFETCH window: 
30000000-47ffffff


from lspci -v

0000:01:00.0 PCI bridge: PLX Technology, Inc.: Unknown device 8114 (rev 
ba) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Memory at 28200000 (32-bit, non-prefetchable) [size=8K]
        Bus: primary=01, secondary=02, subordinate=02, sec-latency=0
        Prefetchable memory behind bridge: 0000000030000000-0000000047f00000
        Capabilities: [40] Power Management version 3
        Capabilities: [48] Message Signalled Interrupts: 64bit+ 
Queue=0/0 Enable-
        Capabilities: [58] PCI-X bridge device.
        Capabilities: [68] #10 [0071]

0000:02:0c.0 Bridge: Intel Corporation: Unknown device 5378 (rev 02)
        Subsystem: Aspex Semiconductor Ltd: Unknown device 3416
        Flags: 66MHz, medium devsel
        Memory at <unassigned> (64-bit, non-prefetchable) [disabled]
        Memory at 30000000 (64-bit, prefetchable) [disabled] [size=256M]
        Memory at 40000000 (64-bit, prefetchable) [disabled] [size=64M]
        Expansion ROM at 44000000 [disabled] [size=32M]
        Capabilities: [c8] Slot ID: 0 slots, First-, chassis 00
        Capabilities: [cc] Power Management version 2
        Capabilities: [d4] #06 [0000]
        Capabilities: [e0] Message Signalled Interrupts: 64bit+ 
Queue=0/2 Enable-
        Capabilities: [f0] PCI-X non-bridge device.


I'd be very grateful for any help. 
Steve


View attachment "syslog" of type "text/plain" (22060 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ