<HTML>
<BODY>
I've been in the process of setting up a new MythTV box and for the most part things have gone pretty well. I have a PVR-350 card and was able to getting the TV-out working and am able to capture using the S-Video input. However, I'm having trouble loading the tuner module. If I have the line "options tuner type=2" in my modules.conf file, then ivtv doesn't load and neither does any audio drivers. I'm running RH9 with ATrpms and have been following Jarod's guide. I know this may be more of an IVTV question but that list doesn't seem to have much activity and I figured that there are a lot of people using the 350 with MythTV. Any ideas?<br>
<br>
I've included my modules.conf file and output of dmesg below. In the dmesg output, you can see that right after the "tuner: chip found @ 0xc2" line something bad happens and a stack trace is printed. If I comment out the "tuner type=2" option in modules.conf, this doesn't happen and the modules are loaded fine.<br>
Thanks in advance for any help you can offer! <br>
-Mike<br>
<br>
----------------MODULES.CONF----------------------<br>
path[toplevel]=/lib/modules/`uname -r`/updates<br>
# default path<br>
path[toplevel]=/lib/modules/`uname -r`<br>
alias usb-controller usb-ohci<br>
alias usb-controller1 ehci-hcd<br>
alias ieee1394-controller ohci1394<br>
alias eth0 bcm4400<br>
<br>
# ALSA portion<br>
alias char-major-116 snd<br>
alias snd-card-0 snd-intel8x0<br>
# module options should go here<br>
# OSS/Free portion<br>
alias char-major-14 soundcore<br>
alias sound-slot-0 snd-card-0<br>
# card #1<br>
alias sound-service-0-0 snd-mixer-oss<br>
alias sound-service-0-1 snd-seq-oss<br>
alias sound-service-0-3 snd-pcm-oss<br>
alias sound-service-0-8 snd-seq-oss<br>
alias sound-service-0-12 snd-pcm-oss<br>
# save stuff<br>
post-install snd-card-0 /usr/sbin/alsactl restore&gt;/dev/null 2>&1 || :<br>
pre-remove snd-card-0 /usr/sbin/alsactl store&gt;/dev/null 2>&1 || :<br>
<br>
# This is for WinTV PVR-350 IVTV<br>
alias char-major-61 lirc_i2c<br>
alias char-major-81     videodev<br>
alias char-major-81-0   ivtv<br>
alias char-major-81-1   bttv<br>
options ivtv ivtv_debug=1<br>
options tuner type=2<br>
options saa7127 enable_output=1 output_select=0<br>
options msp3400 once=1 simple=1<br>
add below ivtv msp3400 saa7115 saa7127 tuner<br>
add above ivtv lirc_dev lirc_i2c ivtv-fb<br>
----------------MODULES.CONF----------------------<br>
<br>
----------Snip of dmesg output---------------<br>
Linux Kernel Card Services 3.1.22<br>
  options:  [pci] [cardbus] [pm]<br>
Yenta IRQ list 0000, PCI irq11<br>
Socket status: 30000006<br>
cs: IO port probe 0x0c00-0x0cff: clean.<br>
cs: IO port probe 0x0100-0x04ff: excluding 0x290-0x297 0x378-0x37f 0x480-0x48f 0x4d0-0x4d7<br>
cs: IO port probe 0x0a00-0x0aff: clean.<br>
i2c-core.o: i2c core module version 2.8.2 (20031211)<br>
i2c-proc.o version 2.8.2 (20031211)<br>
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]<br>
parport0: irq 7 detected<br>
lp0: using parport0 (polling).<br>
lp0: console ready<br>
Linux video capture interface: v1.00<br>
i2c-core.o: i2c core module version 2.8.2 (20031211)<br>
[saa7127.c: INFO]: SAA7127 video encoder driver loaded<br>
ivtv: version 0.1.9 (release) loading<br>
ivtv: SGarray_size = 340, DSGarray_size = 16<br>
ivtv: Found an iTVC15 based chip<br>
tuner: chip found @ 0xc2<br>
Unable to handle kernel NULL pointer dereference at virtual address 000003be<br>
 printing eip:<br>
c02468cf<br>
*pde = 00000000<br>
Oops: 0000<br>
ivtv msp3400 saa7115 saa7127 tuner i2c-algo-bit i2c-core videodev parport_pc lp parport autofs4 ds yenta_socket pcmcia_core bcm4400 serial microcode ohci1394 <br>
CPU:    0<br>
EIP:    0060:[<c02468cf>]    Not tainted<br>
EFLAGS: 00010097<br>
<br>
EIP is at vsnprintf [kernel] 0x2df (2.4.20-28_36.rh9.at)<br>
eax: 000003be   ebx: 0000000a   ecx: 000003be   edx: fffffffe<br>
esi: c036a77a   edi: 00000000   ebp: c036ab5f   esp: da8d7d28<br>
ds: 0068   es: 0068   ss: 0068<br>
Process modprobe (pid: 3597, stackpage=da8d7000)<br>
Stack: c036a776 c036ab5f ffffffff ffffffff 0000000a ffffffff 00000000 00000002 <br>
       ffffffff ffffffff c036a760 00000246 00000061 00000000 c011c514 c036a760 <br>
       00000400 de95e8db da8d7da0 00000061 00000000 00000000 dbfb7a80 dbfb7a80 <br>
Call Trace:   [<c011c514>] printk [kernel] 0x64 (0xda8d7d60))<br>
[<de95e8db>] .rodata.str1.32 [tuner] 0x81b (0xda8d7d6c))<br>
[<de95d72b>] tuner_attach [tuner] 0x11b (0xda8d7d90))<br>
[<de95e8c0>] .rodata.str1.32 [tuner] 0x800 (0xda8d7d94))<br>
[<de95237f>] i2c_probe_R65fd3f70 [i2c-core] 0x2af (0xda8d7da8))<br>
[<de97f2a8>] ivtv_cards [ivtv] 0x148 (0xda8d7dac))<br>
[<de97f2a8>] ivtv_cards [ivtv] 0x148 (0xda8d7dd0))<br>
[<de95d7b0>] tuner_probe [tuner] 0x60 (0xda8d7dd8))<br>
[<de97f2a8>] ivtv_cards [ivtv] 0x148 (0xda8d7ddc))<br>
[<de95f520>] addr_data [tuner] 0x0 (0xda8d7de0))<br>
[<de95d610>] tuner_attach [tuner] 0x0 (0xda8d7de4))<br>
[<de951148>] i2c_add_adapter_Rb2b6afaa [i2c-core] 0xe8 (0xda8d7de8))<br>
[<de97f2a8>] ivtv_cards [ivtv] 0x148 (0xda8d7dec))<br>
[<de97f394>] ivtv_cards [ivtv] 0x234 (0xda8d7df4))<br>
[<de97f160>] ivtv_cards [ivtv] 0x0 (0xda8d7df8))<br>
[<de97f2a8>] ivtv_cards [ivtv] 0x148 (0xda8d7e00))<br>
[<c0246aa7>] vsprintf [kernel] 0x27 (0xda8d7e04))<br>
[<de97f2a8>] ivtv_cards [ivtv] 0x148 (0xda8d7e08))<br>
[<de97f160>] ivtv_cards [ivtv] 0x0 (0xda8d7e0c))<br>
[<de97f2a8>] ivtv_cards [ivtv] 0x148 (0xda8d7e14))<br>
[<de958d6d>] i2c_bit_add_bus_Rd157eec9 [i2c-algo-bit] 0x4d (0xda8d7e18))<br>
[<de97f2a8>] ivtv_cards [ivtv] 0x148 (0xda8d7e1c))<br>
[<de977e82>] .rodata.str1.1 [ivtv] 0xafa (0xda8d7e20))<br>
[<de97f394>] ivtv_cards [ivtv] 0x234 (0xda8d7e24))<br>
[<de972624>] init_ivtv_i2c [ivtv] 0xc4 (0xda8d7e28))<br>
[<de97f2a8>] ivtv_cards [ivtv] 0x148 (0xda8d7e2c))<br>
[<de97f160>] ivtv_cards [ivtv] 0x0 (0xda8d7e48))<br>
[<de970170>] ivtv_probe [ivtv] 0x490 (0xda8d7e58))<br>
[<de97f160>] ivtv_cards [ivtv] 0x0 (0xda8d7e5c))<br>
[<c011c28f>] __call_console_drivers [kernel] 0x5f (0xda8d7e80))<br>
[<c011c385>] call_console_drivers [kernel] 0x65 (0xda8d7e9c))<br>
[<de97d5a0>] ivtv_pci_tbl [ivtv] 0x0 (0xda8d7ebc))<br>
[<de97d640>] ivtv_pci_driver [ivtv] 0x0 (0xda8d7ec0))<br>
[<c01cfe35>] pci_announce_device [kernel] 0x35 (0xda8d7ec8))<br>
[<de97d5a0>] ivtv_pci_tbl [ivtv] 0x0 (0xda8d7ed0))<br>
[<de97d640>] ivtv_pci_driver [ivtv] 0x0 (0xda8d7ed8))<br>
[<c01cfedc>] pci_register_driver [kernel] 0x5c (0xda8d7ee4))<br>
[<de97d640>] ivtv_pci_driver [ivtv] 0x0 (0xda8d7ee8))<br>
[<de971e87>] module_start [ivtv] 0x237 (0xda8d7efc))<br>
[<de97d640>] ivtv_pci_driver [ivtv] 0x0 (0xda8d7f00))<br>
[<c011d5d1>] sys_init_module [kernel] 0x4e1 (0xda8d7f1c))<br>
[<de96d060>] ivtv_sleep_timeout [ivtv] 0x0 (0xda8d7f20))<br>
[<de97bbd8>] .kmodtab [ivtv] 0x0 (0xda8d7f2c))<br>
[<de96d060>] ivtv_sleep_timeout [ivtv] 0x0 (0xda8d7f58))<br>
[<c010953f>] system_call [kernel] 0x33 (0xda8d7fc0))<br>
<br>
<br>
Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 83 e7 10 89 c3 75 <br>
 <6>ide-floppy driver 0.99.newide<br>
hdb: attached ide-cdrom driver.<br>
hdb: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)<br>
Uniform CD-ROM driver Revision: 3.12<br>
lirc_dev: IR Remote Control driver registered, at major 61 <br>
bttv: driver version 0.9.12 loaded<br>
bttv: using 8 buffers with 2080k (520 pages) each for capture<br>
ivtv-fb: Framebuffer module loaded (attached to ivtv card id 0)<br>
ivtv: invalid api mailbox<br>
ivtv: invalid api mailbox<br>
ivtv: invalid api mailbox<br>
ivtv: invalid api mailbox<br>
ivtv-fb: screen coords: [134663584 134661628] -> [-693940608 2]<br>
ivtv: invalid api mailbox<br>
ivtv-fb: original global alpha = 134519456<br>
ivtv: invalid api mailbox<br>
ivtv: invalid api mailbox<br>
ivtv-fb: new global alpha = -1072266670<br>
ivtv: invalid api mailbox<br>
ivtv: invalid api mailbox<br>
ivtv-fb: current OSD state = 1<br>
ivtv-fb: warning: cannot reserve video memory at 0xbef80b50<br>
Trying to free nonexistent resource <bef80b50-94e44077><br>
ivtv-fb: abort, cannot ioremap video memory 0xd5ec3528 @ 0xbef80b50<br>
----------Snip of dmesg output---------------<br>
<br>
<br>

</BODY></HTML>