LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-02-2011, 05:37 PM   #1
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 52
Hauppauge! HVR-2250: saa7164: probe failed with error -22


Just installed my wonderful Hauppauge! HVR-2250 TV tuner card. The driver (saa7164) loads, but I get
Code:
Oct  2 11:15:10 bowman kernel: saa7164[0]: can't get MMIO memory @ 0x0 or 0x0
Oct  2 11:15:10 bowman kernel: CORE saa7164[0] No more PCIe resources for subsystem: 0070:8851
Oct  2 11:15:10 bowman kernel: saa7164: probe of 0000:04:00.0 failed with error -22
in /var/log/syslog.

Output of lspci:
Code:
bash-4.1# /sbin/lspci -vvv -s'04:00'
04:00.0 Multimedia controller: Philips Semiconductors Device 7164 (rev 81)
        Subsystem: Hauppauge computer works Inc. Device 8851
        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, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 19
        Region 0: Memory at <ignored> (64-bit, non-prefetchable)
        Region 2: Memory at <ignored> (64-bit, non-prefetchable)
        Capabilities: [40] MSI: Enable- Count=1/16 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [50] Express (v1) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <256ns, L1 <1us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap: Port #1, Speed 2.5GT/s, Width x2, ASPM L0s L1, Latency L0 <4us, L1 <64us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [74] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [7c] Vendor Specific Information <?>
        Capabilities: [100] Vendor Specific Information <?>
        Capabilities: [160] Virtual Channel <?>
        Kernel modules: saa7164
The part about "Memory at <ignored>" is troubling. So, I look at /proc/iomem:

Code:
lyle@bowman:~$ cat /proc/iomem 
00000000-0000ffff : reserved
00010000-0009f3ff : System RAM
0009f400-0009ffff : reserved
000f0000-000fffff : reserved
00100000-7ffeffff : System RAM
  01000000-0146e2ef : Kernel code
  0146e2f0-018c0907 : Kernel data
  01962000-01a0ed83 : Kernel bss
7fff0000-7fff2fff : ACPI Non-volatile Storage
7fff3000-7fffffff : ACPI Tables
b0000000-cfffffff : PCI Bus 0000:05
  b0000000-bfffffff : 0000:05:00.0
  c0000000-c001ffff : 0000:05:00.0
  cf000000-cfdfffff : vesafb
e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff]
  e0000000-efffffff : reserved
    e0000000-efffffff : pnp 00:08
fb000000-fcffffff : PCI Bus 0000:05
  fb000000-fbffffff : 0000:05:00.0
    fb000000-fbffffff : nvidia
fdc00000-fe3fffff : PCI Bus 0000:04
fe400000-fe4fffff : PCI Bus 0000:04
fe500000-fe5fffff : PCI Bus 0000:03
fe600000-fe6fffff : PCI Bus 0000:03
fe700000-fe7fffff : PCI Bus 0000:02
fe800000-fe8fffff : PCI Bus 0000:02
fe900000-fe9fffff : PCI Bus 0000:01
  fe900000-fe91ffff : 0000:01:06.0
fea00000-feafffff : PCI Bus 0000:01
  feaff000-feaff3ff : 0000:01:06.0
    feaff000-feaff3ff : tulip
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-ffffffff : reserved
  fec00000-fec003ff : IOAPIC 0
  fee00000-feefffff : pnp 00:09
    fee00000-fee00fff : Local APIC
  fefff000-feffffff : pnp 00:09
  fff80000-fff80fff : pnp 00:09
  fff90000-fffbffff : pnp 00:09
  fffed000-fffeffff : pnp 00:09
  ffff0000-ffffffff : pnp 00:09
and I don't see any mention of the driver, saa7164, even though it's loaded:

Code:
lyle@bowman:~$ /sbin/lsmod | grep saa
saa7164                58428  0 
dvb_core               91431  1 saa7164
tveeprom               13193  1 saa7164
i2c_core               18679  4 nvidia,saa7164,tveeprom,i2c_nforce2
So it seems the card is never assigned a memory range. I've disabled the parallel port, onboard ethernet, unplugged an ethernet card, nothing helps.

I was thinking about asking the people who write the driver, but I don't think that's the problem. It seems more like the card isn't initialized properly, which is really out of their juristiction.

Mainboard: MSNV-939
Slackware 13.1 (kernel 2.6.33.4)

Does anyone have any ideas?

Thanks,
Lyle.

Last edited by lyle_s; 10-02-2011 at 07:05 PM. Reason: Correct Slackware version
 
Old 10-02-2011, 06:00 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,488

Rep: Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543Reputation: 2543
Quote:
Originally Posted by lyle_s View Post
Just installed my wonderful Hauppauge! HVR-2250 TV tuner card. The driver (saa7164) loads, but I get

So it seems the card is never assigned a memory range. I've disabled the parallel port, onboard ethernet, unplugged an ethernet card, nothing helps. I was thinking about asking the people who write the driver, but I don't think that's the problem. It seems more like the card isn't initialized properly, which is really out of their juristiction.

Mainboard: MSNV-939
Slackware 13.0 (kernel 2.6.33.4)

Does anyone have any ideas?
From what I've read, support for that device has already been done:
http://linuxtv.org/wiki/index.php/Ha...WinTV-HVR-2200
http://linuxtv.org/
http://www.kernellabs.com/blog/?page_id=17

I recently got another Happauge device working that had a similar error. Turns out the firmware file(s) were missing, and by downloading them and shoving them into the /lib/firmware directory, things worked.
http://www.linuxquestions.org/questi...-linux-879062/

The firmware files are mentioned on the first link above...an easy thing to try, and see if it helps.
 
Old 10-02-2011, 06:11 PM   #3
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by TB0ne View Post
The firmware files are mentioned on the first link above...an easy thing to try, and see if it helps.
Thanks for your quick reply. I have the firmware files and their MD5s checked out:
Code:
lyle@bowman:/lib/firmware$ ls -l v4l-saa7164-1.0.2.fw v4l-saa7164-1.0.3.fw dvb-fe-tda10048-1.0.fw
-rw-r--r-- 1 root root   24878 2011-10-02 08:39 dvb-fe-tda10048-1.0.fw
-rw-r--r-- 1 root root 3978608 2011-10-02 08:39 v4l-saa7164-1.0.2.fw
-rw-r--r-- 1 root root 3978608 2011-10-02 08:39 v4l-saa7164-1.0.3.fw
It seems to me the card never gets to the point where it loads the firmware. It's not getting a memory range at PCI enumeration time.

Not sure what to do next.

Lyle.

Last edited by lyle_s; 10-02-2011 at 06:15 PM.
 
  


Reply


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
[SOLVED] Hauppauge WinTV-HVR-2250 on Slackware64 13.1 problems to get going lpallard Linux - Hardware 20 12-26-2010 08:02 AM
video card error Hauppauge WinTV-HVR 1850 kernel 2.6.27-17-generic (Ubuntu Intrepid) avnerm Linux - Hardware 9 09-09-2010 11:40 PM
Hauppauge WinTV-HVR-2200 Jesgrew Linux - Hardware 1 05-02-2010 12:59 AM
Hauppauge hvr-950? Balarabay1 Linux - Software 0 07-08-2008 07:34 PM


All times are GMT -5. The time now is 02:25 AM.

Main Menu
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