On Fri, 2009-01-30 at 20:32 -0800, Scott Harris wrote: > Andy Walls wrote: > > On Wed, 2009-01-28 at 21:14 -0800, Scott Harris wrote: > >> Howdy all, > >> I was reading this thread > >> > >> http://www.gossamer-threads.com/lists/ivtv/users/39517 > >> > >> about a similar problem I'm having with co-mingling > >> an NVidia card with the CX18 based capture cards. > >> > >> The suggest solution was to add vmalloc=nnnM to your > >> boot options. My boot options look like this: > >> > >> kernel /vmlinuz-2.6.27.12-170.2.5.fc10.i686 ro > >> root=UUID=cf9c5c7b-5be7-4c29-b411-25e70b509a15 rhgb quiet vmalloc=512M > >> > >> This didn't seem to help. I'm still getting the error below > >> from dmesg. Removing the hvr1600 clears up the problem. > >> > >> > >> nvidia: probe of 0000:01:00.0 failed with error -1 > >> NVRM: The NVIDIA probe routine failed for 1 device(s). > >> NVRM: None of the NVIDIA graphics adapters were initialized! > >> NVRM: This PCI I/O region assigned to your NVIDIA device is invalid: > >> NVRM: BAR1 is 0M @ 0x00000000 (PCI:0000:00.1) > >> NVRM: The system BIOS may have misconfigured your graphics card. > >> nvidia: probe of 0000:01:00.0 failed with error -1 > >> NVRM: The NVIDIA probe routine failed for 1 device(s). > >> NVRM: None of the NVIDIA graphics adapters were initialized! > > > > Well this is a PCI bus / BIOS / Linux pci subsystem problem. > > > > If this is the proprietary nvidia driver, good luck with ever resolving > > the problem. > > > > Some things do stand out as odd. > > > > One of course doesn't want a Base Address Register (BAR) to be > > 0x00000000. And if that's the case, the BIOS or the linux PCI subsystem > > filled it out that BAR wrong or deliberately set it to 0 because it > > couldn't find a large enough memory window for the NVIDIA device. > > > > However, the module probed 0000:01:00.0, but the error messages gripe is > > against PCI:0000:00.1 which I'm not sure exactly correspond. > > > > Could you provide > > > > 1. the output of lspci -nnvv > > 2. the e820 memory region information from the dmesg > > 3. the output of cat /proc/iomem > > 4. the output of cat /proc/meminfo > > > > > > I suspect the problem is simply something about no contiguos memory > > window being available. > > > > -Andy > > > > Thanks for the reply Andy, I appreciate it.
You're welcome. Now while I'm digesting all that you provided, could you provide the same information when the HVR-1600 is not in the system and the NVidia driver is happy? Differential analysis can help narrow down the behavior that needs to be managed/fixed. -Andy > > lspci -nnvv > 00:00.0 Host bridge [0600]: Intel Corporation 82865G/PE/P DRAM > Controller/Host-Hub Interface [8086:2570] (rev 02) > Subsystem: Elitegroup Computer Systems Device [1019:1875] > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- > <MAbort+ >SERR- <PERR- INTx- > Latency: 0 > Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M] > Capabilities: [e4] Vendor Specific Information <?> > Capabilities: [a0] AGP version 3.0 > Status: RQ=32 Iso- ArqSz=2 Cal=2 SBA+ ITACoh- GART64- HTrans- > 64bit- > FW+ AGP3+ Rate=x4,x8 > Command: RQ=1 ArqSz=0 Cal=2 SBA+ AGP- GART64- 64bit- FW- > Rate=<none> > Kernel driver in use: agpgart-intel > > 00:01.0 PCI bridge [0604]: Intel Corporation 82865G/PE/P PCI to AGP > Controller [8086:2571] (rev 02) (prog-if 00 [Normal decode]) > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR+ FastB2B- DisINTx- > Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- > <MAbort- >SERR- <PERR- INTx- > Latency: 64 > Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 > Memory behind bridge: f8000000-f9ffffff > Prefetchable memory behind bridge: d8000000-e7ffffff > Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort+ <SERR- <PERR- > BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B- > PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- > > 00:1d.0 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) > USB UHCI Controller #1 [8086:24d2] (rev 02) (prog-if 00 [UHCI]) > Subsystem: Elitegroup Computer Systems Device [1019:1875] > Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 0 > Interrupt: pin A routed to IRQ 16 > Region 4: I/O ports at ac00 [size=32] > Kernel driver in use: uhci_hcd > > 00:1d.1 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) > USB UHCI Controller #2 [8086:24d4] (rev 02) (prog-if 00 [UHCI]) > Subsystem: Elitegroup Computer Systems Device [1019:1875] > Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 0 > Interrupt: pin B routed to IRQ 19 > Region 4: I/O ports at a000 [size=32] > Kernel driver in use: uhci_hcd > > 00:1d.2 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) > USB UHCI Controller #3 [8086:24d7] (rev 02) (prog-if 00 [UHCI]) > Subsystem: Elitegroup Computer Systems Device [1019:1875] > Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 0 > Interrupt: pin C routed to IRQ 18 > Region 4: I/O ports at a400 [size=32] > Kernel driver in use: uhci_hcd > > 00:1d.3 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) > USB UHCI Controller #4 [8086:24de] (rev 02) (prog-if 00 [UHCI]) > Subsystem: Elitegroup Computer Systems Device [1019:1875] > Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 0 > Interrupt: pin A routed to IRQ 16 > Region 4: I/O ports at a800 [size=32] > Kernel driver in use: uhci_hcd > > 00:1d.7 USB Controller [0c03]: Intel Corporation 82801EB/ER (ICH5/ICH5R) > USB2 EHCI Controller [8086:24dd] (rev 02) (prog-if 20 [EHCI]) > Subsystem: Elitegroup Computer Systems Device [1019:1875] > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 0 > Interrupt: pin D routed to IRQ 23 > Region 0: Memory at fa000000 (32-bit, non-prefetchable) [size=1K] > Capabilities: [50] Power Management version 2 > Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA > PME(D0+,D1-,D2-,D3hot+,D3cold+) > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > Kernel driver in use: ehci_hcd > > 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge > [8086:244e] (rev c2) (prog-if 00 [Normal decode]) > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR+ FastB2B- DisINTx- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- > <MAbort- >SERR- <PERR- INTx- > Latency: 0 > Bus: primary=00, secondary=02, subordinate=02, sec-latency=32 > I/O behind bridge: 00009000-00009fff > Memory behind bridge: f0000000-f7ffffff > Prefetchable memory behind bridge: 88000000-880fffff > Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- <SERR- <PERR- > BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B- > PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- > > 00:1f.0 ISA bridge [0601]: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC > Interface Bridge [8086:24d0] (rev 02) > Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 0 > Kernel modules: intel-rng, iTCO_wdt > > 00:1f.1 IDE interface [0101]: Intel Corporation 82801EB/ER (ICH5/ICH5R) > IDE Controller [8086:24db] (rev 02) (prog-if 8a [Master SecP PriP]) > Subsystem: Elitegroup Computer Systems Device [1019:1875] > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 0 > Interrupt: pin A routed to IRQ 18 > Region 0: I/O ports at 01f0 [size=8] > Region 1: I/O ports at 03f4 [size=1] > Region 2: I/O ports at 0170 [size=8] > Region 3: I/O ports at 0374 [size=1] > Region 4: I/O ports at f000 [size=16] > Region 5: Memory at 88100000 (32-bit, non-prefetchable) [size=1K] > Kernel driver in use: ata_piix > > 00:1f.3 SMBus [0c05]: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus > Controller [8086:24d3] (rev 02) > Subsystem: Elitegroup Computer Systems Device [1019:1875] > Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Interrupt: pin B routed to IRQ 17 > Region 4: I/O ports at 0500 [size=32] > Kernel driver in use: i801_smbus > Kernel modules: i2c-i801 > > 00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801EB/ER > (ICH5/ICH5R) AC'97 Audio Controller [8086:24d5] (rev 02) > Subsystem: Elitegroup Computer Systems Device [1019:1875] > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 0 > Interrupt: pin B routed to IRQ 17 > Region 0: I/O ports at b400 [size=256] > Region 1: I/O ports at b800 [size=64] > Region 2: Memory at fa001000 (32-bit, non-prefetchable) [size=512] > Region 3: Memory at fa002000 (32-bit, non-prefetchable) [size=256] > Capabilities: [50] Power Management version 2 > Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA > PME(D0+,D1-,D2-,D3hot+,D3cold+) > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > Kernel driver in use: Intel ICH > Kernel modules: snd-intel8x0 > > 01:00.0 VGA compatible controller [0300]: nVidia Corporation NV34 > [GeForce FX 5500] [10de:0326] (rev a1) (prog-if 00 [VGA controller]) > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop+ ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 32 (1250ns min, 250ns max) > Interrupt: pin A routed to IRQ 16 > Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=16M] > Region 1: Memory at <ignored> (32-bit, prefetchable) > [virtual] Expansion ROM at d8000000 [disabled] [size=128K] > Capabilities: [60] Power Management version 2 > Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA > PME(D0-,D1-,D2-,D3hot-,D3cold-) > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > Capabilities: [44] AGP version 3.0 > Status: RQ=32 Iso- ArqSz=0 Cal=3 SBA+ ITACoh- GART64- HTrans- > 64bit- > FW+ AGP3+ Rate=x4,x8 > Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- > Rate=<none> > Kernel modules: nvidiafb, nvidia > > 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. > RTL-8169 Gigabit Ethernet [10ec:8169] (rev 10) > Subsystem: Netgear Device [1385:311a] > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 64 (8000ns min, 16000ns max), Cache Line Size: 32 bytes > Interrupt: pin A routed to IRQ 18 > Region 0: I/O ports at 9000 [size=256] > Region 1: Memory at f5000000 (32-bit, non-prefetchable) [size=256] > [virtual] Expansion ROM at 88000000 [disabled] [size=128K] > Capabilities: [dc] Power Management version 2 > Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA > PME(D0-,D1+,D2+,D3hot+,D3cold+) > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > Kernel driver in use: r8169 > Kernel modules: r8169 > > 02:03.0 Multimedia video controller [0400]: Conexant CX23418 Single-Chip > MPEG-2 Encoder with Integrated Analog Video/Broadcast Audio Decoder > [14f1:5b7a] > Subsystem: Hauppauge computer works Inc. Device [0070:7444] > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 64 (500ns min, 50000ns max), Cache Line Size: 32 bytes > Interrupt: pin A routed to IRQ 21 > Region 0: Memory at f0000000 (32-bit, non-prefetchable) [size=64M] > Capabilities: [44] Vital Product Data <?> > Capabilities: [4c] Power Management version 2 > Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA > PME(D0-,D1-,D2-,D3hot-,D3cold-) > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > Kernel driver in use: cx18 > Kernel modules: cx18 > > 02:04.0 Ethernet controller [0200]: National Semiconductor Corporation > DP83815 (MacPhyter) Ethernet Controller [100b:0020] > Subsystem: Netgear FA311 / FA312 (FA311 with WoL HW) [1385:f311] > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 32 (2750ns min, 13000ns max) > Interrupt: pin A routed to IRQ 22 > Region 0: I/O ports at 9400 [size=256] > Region 1: Memory at f5001000 (32-bit, non-prefetchable) [size=4K] > [virtual] Expansion ROM at 88020000 [disabled] [size=64K] > Capabilities: [40] Power Management version 2 > Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=320mA > PME(D0+,D1+,D2+,D3hot+,D3cold+) > Status: D0 PME-Enable- DSel=0 DScale=0 PME+ > Kernel driver in use: natsemi > Kernel modules: natsemi > > 02:09.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. > RTL-8139/8139C/8139C+ [10ec:8139] (rev 10) > Subsystem: Realtek Semiconductor Co., Ltd. RT8139 [10ec:8139] > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR- FastB2B- DisINTx- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 32 (8000ns min, 16000ns max) > Interrupt: pin A routed to IRQ 23 > Region 0: I/O ports at 9800 [size=256] > Region 1: Memory at f5002000 (32-bit, non-prefetchable) [size=256] > Capabilities: [50] Power Management version 2 > Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA > PME(D0-,D1+,D2+,D3hot+,D3cold+) > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > Kernel driver in use: 8139too > Kernel modules: 8139too, 8139cp > > > > > dmesg | grep 820 > BIOS-e820: 0000000000000000 - 000000000009f800 (usable) > BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved) > BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) > BIOS-e820: 0000000000100000 - 000000007fff0000 (usable) > BIOS-e820: 000000007fff0000 - 000000007fff3000 (ACPI NVS) > BIOS-e820: 000000007fff3000 - 0000000080000000 (ACPI data) > BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved) > > cat /proc/iomem > 00000000-0000ffff : reserved > 00010000-0009f7ff : System RAM > 0009f800-0009ffff : reserved > 000a0000-000bffff : Video RAM area > 000c0000-000cf7ff : Video ROM > 000e0000-000effff : pnp 00:09 > 000f0000-000fffff : reserved > 000f0000-000fffff : System ROM > 00100000-7ffeffff : System RAM > 00400000-006ad181 : Kernel code > 006ad182-0081061f : Kernel data > 0087d000-0097312b : Kernel bss > 7fff0000-7fff2fff : ACPI Non-volatile Storage > 7fff3000-7fffffff : ACPI Tables > 88000000-880fffff : PCI Bus 0000:02 > 88000000-8801ffff : 0000:02:00.0 > 88020000-8802ffff : 0000:02:04.0 > 88100000-881003ff : 0000:00:1f.1 > d8000000-e7ffffff : PCI Bus 0000:01 > d8000000-d801ffff : 0000:01:00.0 > e8000000-efffffff : 0000:00:00.0 > f0000000-f7ffffff : PCI Bus 0000:02 > f0000000-f3ffffff : 0000:02:03.0 > f0000000-f3ffffff : cx18 encoder > f5000000-f50000ff : 0000:02:00.0 > f5000000-f50000ff : r8169 > f5001000-f5001fff : 0000:02:04.0 > f5001000-f5001fff : natsemi > f5002000-f50020ff : 0000:02:09.0 > f5002000-f50020ff : 8139too > f8000000-f9ffffff : PCI Bus 0000:01 > f8000000-f8ffffff : 0000:01:00.0 > fa000000-fa0003ff : 0000:00:1d.7 > fa000000-fa0003ff : ehci_hcd > fa001000-fa0011ff : 0000:00:1f.5 > fa001000-fa0011ff : Intel ICH5 > fa002000-fa0020ff : 0000:00:1f.5 > fa002000-fa0020ff : Intel ICH5 > fec00000-ffffffff : reserved > fee00000-fee00fff : Local APIC > > > cat /proc/meminfo > MemTotal: 2074060 kB > MemFree: 54564 kB > Buffers: 93188 kB > Cached: 1638320 kB > SwapCached: 12 kB > Active: 397492 kB > Inactive: 1539296 kB > HighTotal: 1245120 kB > HighFree: 1748 kB > LowTotal: 828940 kB > LowFree: 52816 kB > SwapTotal: 2096472 kB > SwapFree: 2096368 kB > Dirty: 2320 kB > Writeback: 0 kB > AnonPages: 205320 kB > Mapped: 36372 kB > Slab: 49108 kB > SReclaimable: 41928 kB > SUnreclaim: 7180 kB > PageTables: 2648 kB > NFS_Unstable: 0 kB > Bounce: 0 kB > WritebackTmp: 0 kB > CommitLimit: 3133500 kB > Committed_AS: 788968 kB > VmallocTotal: 176120 kB > VmallocUsed: 71296 kB > VmallocChunk: 104284 kB > HugePages_Total: 0 > HugePages_Free: 0 > HugePages_Rsvd: 0 > HugePages_Surp: 0 > Hugepagesize: 4096 kB > DirectMap4k: 12288 kB > DirectMap4M: 839680 kB > _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
