On Friday 29 April 2005 10:32 pm, Richard Wayne wrote:
> List,
>
> I just received a Hauppauge PVR-250 and after building the modules I get
>   error code -6 at module load time.
>
>  From /var/log/messages
>
> Apr 30 01:24:00 chinstrap kernel: ivtv: ==================== START INIT
> IVTV ====================
> Apr 30 01:24:00 chinstrap kernel: ivtv: version 0.2.0 (rc3j) loading
> Apr 30 01:24:00 chinstrap kernel: ivtv: Linux version: 2.6.8-2-k7
> preempt K7 gcc-3.3
> Apr 30 01:24:00 chinstrap kernel: ivtv: In case of problems please
> include the debug info
> Apr 30 01:24:00 chinstrap kernel: ivtv: between the START INIT IVTV and
> END INIT IVTV lines when
> Apr 30 01:24:00 chinstrap kernel: ivtv: mailing the ivtv-devel mailinglist.
> Apr 30 01:24:00 chinstrap kernel: ivtv: Autodetected WinTV PVR 250 card
> Apr 30 01:24:00 chinstrap kernel: ivtv: Found an iTVC16 based chip
> Apr 30 01:24:00 chinstrap kernel: PCI: Found IRQ 5 for device 0000:00:09.0
> Apr 30 01:24:00 chinstrap kernel: ivtv-iTVC15_16_mpg2_encoder_card:
> probe of 0000:00:09.0 failed with error -6
> Apr 30 01:24:00 chinstrap kernel: ivtv: ====================  END INIT
> IVTV  ====================
>
>  From lspci -vvv:
>
> 0000:00:09.0 Multimedia video controller: Internext Compression Inc
> iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
>          Subsystem: Hauppauge computer works Inc. WinTV PVR 250
>          Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B-
>          Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
>
>  >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>
>          Interrupt: pin A routed to IRQ 5
>          Region 0: Memory at 20000000 (32-bit, prefetchable) [size=64M]
>          Capabilities: [44] 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-
>
>
> Any ideas?
> What is error code -6?
>
> TIA Rich

It looks like Bus Mastering is not set for that PCI slot.  Try running this 
command before loading the module:

setpci -s 00:09 4.w=116

The 00:09 is the PCI ID, and that should work for your specific setup.

~Lou

Attachment: pgp55hZ3Yn7GQ.pgp
Description: PGP signature

Reply via email to