LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 02-02-2009, 10:48 AM   #1
mciecior
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
No more PCIe resources for subsystem


I'm trying to install a PCIe TV Tuner card (Hauppauge WinTV-HVR-1800). It's detected during bootup but from dmesg it looks like I'm out of memory-mapped I/O space. I've increased the kernel's allocation space with the 'vmalloc=' boot command but it didn't change anything. Could someone tell me:

1) if I'm correct and the problem is insufficient MMIO space
2) Can this be solved by installing a 64-bit OS or am I out of luck completely?

Outputs of 'lspci -v', 'dmesg', 'grep Vmalloc /proc/meminfo', and 'cat /proc/iomem' are included.

Biostar NF4ST-A9 motherboard (nForce 4 chipset)
AMD64 3000+ CPU
2x512 MB RAM
nVidia GeForce 6600 PCIe x16
Hauppauge WinTV-HVR-1800
Mythbuntu 8.10 (32-bit)

Output of 'lspci -v' (TV Tuner and graphics card are at the bottom)
Code:
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
	Subsystem: Biostar Microtech Int'l Corp Device 3402
	Flags: bus master, 66MHz, fast devsel, latency 0
	Capabilities: <access denied>

00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
	Subsystem: Biostar Microtech Int'l Corp Device 3402
	Flags: bus master, 66MHz, fast devsel, latency 0

00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
	Subsystem: Biostar Microtech Int'l Corp Device 3402
	Flags: 66MHz, fast devsel, IRQ 10
	I/O ports at ff00 [size=32]
	I/O ports at 4c00 [size=64]
	I/O ports at 4c40 [size=64]
	Capabilities: <access denied>
	Kernel driver in use: nForce2_smbus
	Kernel modules: i2c-nforce2

00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2) (prog-if 10)
	Subsystem: Biostar Microtech Int'l Corp Device 3402
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
	Memory at febff000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: ohci_hcd
	Kernel modules: ohci-hcd

00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3) (prog-if 20)
	Subsystem: Biostar Microtech Int'l Corp Device 3402
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
	Memory at febfe000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd

00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
	Subsystem: Biostar Microtech Int'l Corp Device 8204
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
	I/O ports at f000 [size=256]
	I/O ports at ee00 [size=256]
	Memory at febfd000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: Intel ICH
	Kernel modules: snd-intel8x0

00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev a2) (prog-if 8a [Master SecP PriP])
	Subsystem: Device f565:3402
	Flags: bus master, 66MHz, fast devsel, latency 0
	[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
	[virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
	[virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
	[virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
	I/O ports at fb00 [size=16]
	Capabilities: <access denied>
	Kernel driver in use: pata_amd
	Kernel modules: pata_amd

00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev a3) (prog-if 85 [Master SecO PriO])
	Subsystem: Biostar Microtech Int'l Corp Device 5401
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
	I/O ports at 09f0 [size=8]
	I/O ports at 0bf0 [size=4]
	I/O ports at 0970 [size=8]
	I/O ports at 0b70 [size=4]
	I/O ports at f600 [size=16]
	Memory at febfb000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: sata_nv
	Kernel modules: sata_nv

00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2) (prog-if 01)
	Flags: bus master, 66MHz, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fe900000-fe9fffff
	Prefetchable memory behind bridge: fea00000-feafffff

00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
	Subsystem: Biostar Microtech Int'l Corp Device 2501
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
	Memory at febfa000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at f500 [size=8]
	Capabilities: <access denied>
	Kernel driver in use: forcedeth
	Kernel modules: forcedeth, isp1760

00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: fe800000-fe8fffff
	Prefetchable memory behind bridge: 00000000fe700000-00000000fe7fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 0000b000-0000bfff
	Memory behind bridge: fe600000-fe6fffff
	Prefetchable memory behind bridge: 00000000fe200000-00000000fe3fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 0000a000-0000afff
	Memory behind bridge: fe500000-fe5fffff
	Prefetchable memory behind bridge: 00000000fe400000-00000000fe4fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
	I/O behind bridge: 00009000-00009fff
	Memory behind bridge: f4000000-fbffffff
	Prefetchable memory behind bridge: 00000000b0000000-00000000cfffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
	Flags: fast devsel
	Capabilities: <access denied>

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
	Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
	Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
	Flags: fast devsel
	Kernel driver in use: k8temp
	Kernel modules: k8temp

03:00.0 Multimedia video controller: Conexant Systems, Inc. Device 8880 (rev 0f)
	Subsystem: Hauppauge computer works Inc. Device 7801
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at <ignored> (64-bit, non-prefetchable)
	Capabilities: <access denied>
	Kernel modules: cx23885

05:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)
	Subsystem: Giga-byte Technology Device 3124
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at f4000000 (32-bit, non-prefetchable) [size=64M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	Memory at f8000000 (64-bit, non-prefetchable) [size=16M]
	[virtual] Expansion ROM at c0000000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nvidiafb, nvidia
Output of 'dmesg' (only relevant parts included)
Code:
cx23885 driver version 0.0.1 loaded
[   12.125498] ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
[   12.125509] cx23885 0000:03:00.0: PCI INT A -> Link[APC1] -> GSI 16 (level, low) -> IRQ 16
[   12.125518] cx23885[0]: can't get MMIO memory @ 0x0
[   12.125561] CORE cx23885[0] No more PCIe resources for subsystem: 0070:7801
[   12.125610] cx23885: probe of 0000:03:00.0 failed with error -22
Output of 'grep Vmalloc /proc/meminfo'
Code:
VmallocTotal:   110584 kB
VmallocUsed:     45576 kB
VmallocChunk:    59380 kB
Output of 'cat /proc/iomem'
Code:
00000000-0000ffff : reserved
00010000-0009f7ff : System RAM
0009f800-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : reserved
  000f0000-000fffff : System ROM
00100000-3ffeffff : System RAM
  00100000-003840d9 : Kernel code
  003840da-004a767f : Kernel data
  00517000-005c29df : Kernel bss
3fff0000-3fff2fff : ACPI Non-volatile Storage
3fff3000-3fffffff : ACPI Tables
b0000000-cfffffff : PCI Bus 0000:05
  b0000000-bfffffff : 0000:05:00.0
  c0000000-c001ffff : 0000:05:00.0
e0000000-efffffff : PCI MMCONFIG 0
  e0000000-efffffff : reserved
f4000000-fbffffff : PCI Bus 0000:05
  f4000000-f7ffffff : 0000:05:00.0
    f4000000-f7ffffff : nvidia
  f8000000-f8ffffff : 0000:05:00.0
fe200000-fe3fffff : PCI Bus 0000:03
fe400000-fe4fffff : PCI Bus 0000:04
fe500000-fe5fffff : PCI Bus 0000:04
fe600000-fe6fffff : PCI Bus 0000:03
fe700000-fe7fffff : PCI Bus 0000:02
fe800000-fe8fffff : PCI Bus 0000:02
fe900000-fe9fffff : PCI Bus 0000:01
fea00000-feafffff : PCI Bus 0000:01
febfa000-febfafff : 0000:00:0a.0
  febfa000-febfafff : forcedeth
febfb000-febfbfff : 0000:00:07.0
  febfb000-febfbfff : sata_nv
febfd000-febfdfff : 0000:00:04.0
  febfd000-febfdfff : NVidia CK804
febfe000-febfe0ff : 0000:00:02.1
  febfe000-febfe0ff : ehci_hcd
febff000-febfffff : 0000:00:02.0
  febff000-febfffff : ohci_hcd
fec00000-fec00fff : reserved
fee00000-feefffff : reserved
  fee00000-fee00fff : Local APIC
fefffc00-feffffff : reserved
fff80000-fff80fff : pnp 00:08
fff90000-fffbffff : pnp 00:08
fffed000-fffeffff : pnp 00:08
ffff0000-ffffffff : reserved
 
Old 02-28-2009, 12:55 AM   #2
monir81
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
I'm also seeing the same error,

Feb 27 17:37:02 localhost kernel: cx23885[0]: can't get MMIO memory @ 0x0
Feb 27 17:37:02 localhost kernel: CORE cx23885[0] No more PCIe resources for subsystem: 0070:7801
Feb 27 17:37:02 localhost kernel: cx23885: probe of 0000:04:00.0 failed with error -22

I'm running Mythdora x64 10.21. I also see "could not get card info for card #0 subtype: Unknown error" in the Capture cards section MythTV-frontend.

Hardware
AMD 3000+
MSI 7125 MOBO
1.5 G RAM
Geforce 6200 (pcie x16)
Hauppauge 1800 (pci x1)

Any help would be greatly appreciated.
 
Old 02-28-2009, 01:49 AM   #3
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Probably it is a badly written BIOS. Add either pci=routeirq, pci=nommconf, pci=nomsi, or pci=noearly to the boot loader to work around the problem.

I suggest turn off system BIOS and video BIOS cache.
 
Old 03-01-2009, 02:41 PM   #4
monir81
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
It works!

I guess I should feel a bit embarrassed that I didn't try this earlier, but I'm so thrilled I don't care. Thanks very much for your quick reply Electro it definitely helped me out. With the flags in grub I was able to get my system booting much faster, I guess it was timing out on the PCIE resources(or lack thereof). Even after that, the card still would not work, but when you said "Probably it is a badly written BIOS" I finally decided to upgrade the BIOS. All seems to be well now, even without the flags in menu.lst. I'm now going to get it out of the computer room and into the living room. Thanks a bunch!

Last edited by monir81; 03-02-2009 at 03:51 PM. Reason: Adding motherboard bios information
 
Old 03-02-2009, 03:56 PM   #5
monir81
LQ Newbie
 
Registered: Feb 2009
Posts: 3

Rep: Reputation: 0
Motherboard MSI W7125nms
Old version (with problems) 7125v110 v1.1
New version (fixed) 7125v1D v1.D
 
  


Reply

Tags
pcie, tvtuner


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Designing a PCIe driver... slkjas Linux - Embedded & Single-board computer 1 11-05-2008 10:38 PM
PCIe Compatibility? Ceran Linux - Hardware 4 04-21-2007 10:16 AM
X subsystem? gdays DamnSmallLinux 6 06-30-2005 07:02 PM
PCIe and Linux megadeth Linux - Software 1 04-20-2005 07:05 PM
Subsystem shell AMMullan Programming 4 05-05-2004 06:23 PM


All times are GMT -5. The time now is 07:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration