To help me debug a userland problem, I did a modprobe of ivtv with
ivtv_debug=3.
If I then run "ivtv-radio -s", I get the following kernel fault.
The following then happend
ivtv0: Removed WinTV PVR 350, card #0
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.4.0 (tagged release) loading
ivtv: Linux version: 2.6.14.3 386 gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv0: Autodetected WinTV PVR 350 card (iTVC15 based)
ivtv0 info: base addr: 0x44000000
ivtv0 info: Enabling pci device
ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 18 (level, low) -> IRQ 209
ivtv0 info: Attempting to enable Bus Mastering
ivtv0 info: Bus Mastering Enabled.
ivtv0 info: 2051 (rev 1) at 02:09.0, irq: 209, latency: 64, memory:
0x44000000
ivtv0 info: attempting ioremap at 0x44000000 len 0x00800000
ivtv0 info: attempting ioremap at 0x45000000 len 0x00800000
ivtv0 info: attempting ioremap at 0x46000000 len 0x00010000
ivtv0 info: activating i2c...
tveeprom: ivtv version
tveeprom: Hauppauge: model = 48132, rev = K268, serial# = 7876008
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio processor = MSP4448 (type = 1b)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Dec 4 2005 13:31:35
ivtv0: i2c attach to card #0 ok [client=MSP3448W-A2, addr=40]
tda9885/6/7: (ivtv) chip found @ 0x86
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv0 info: Active card count: 1.
ivtv0 info: Loaded module tveeprom
ivtv0 info: NTSC tuner detected
ivtv0 info: Loaded module tuner
ivtv0 info: Loaded module saa7115
ivtv0 info: Loaded module saa7127
ivtv0 info: Loaded module msp3400
ivtv0 info: Loaded module tda9887
ivtv0 info: Stopping VDM
ivtv0 info: Stopping AO
ivtv0 info: pinging (?) APU
ivtv0 info: Stopping VPU
ivtv0 info: Resetting Hw Blocks
ivtv0 info: Stopping SPU
ivtv0 info: Sleeping for 10ms
ivtv0 info: init Encoder SDRAM pre-charge
ivtv0 info: init Encoder SDRAM refresh to 1us
ivtv0 info: init Decoder SDRAM pre-charge
ivtv0 info: init Decoder SDRAM refresh to 1us
ivtv0 info: Sleeping for 150ms (600 recommended)
ivtv0 info: Card ready for firmware!
ivtv0 info: Loading encoder image
ivtv0: loading /lib/modules/ivtv-fw-enc.bin
ivtv0 info: Loading decoder image
ivtv0: loading /lib/modules/ivtv-fw-dec.bin
ivtv0 info: Sleeping for 100 ms
ivtv0 info: Sleeping for 100 ms
ivtv0 info: GPIO INIT
ivtv0 info: About to search for mailboxes
ivtv0 info: Searching for encoder mailbox
ivtv0 info: match: 0x34567812 at 0xe0c80104. match: 1
ivtv0 info: match: 0x56781234 at 0xe0c80108. match: 2
ivtv0 info: match: 0x78123456 at 0xe0c8010c. match: 3
ivtv0 info: found encoder mailbox!
ivtv0 info: Searching for decoder mailbox
ivtv0 info: match: 0x34567812 at 0xe1500404. match: 1
ivtv0 info: match: 0x56781234 at 0xe1500408. match: 2
ivtv0 info: match: 0x78123456 at 0xe150040c. match: 3
ivtv0 info: found decoder mailbox!
ivtv0 info: Getting firmware version..
ivtv0 info: Getting encoder firmware rev.
ivtv0: Encoder revision: 0x02050032
ivtv0 info: Getting decoder firmware rev.
ivtv0: Decoder revision: 0x02020023
ivtv0 info: v4l2 streams setup
ivtv0 info: Configuring WinTV PVR 350 card with 10 streams
ivtv0 info: Registered v4l2 device for encoder MPEG minor 0
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0 info: Registered v4l2 device for encoder YUV minor 32
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0 info: Registered v4l2 device for encoder VBI minor 224
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0 info: Registered v4l2 device for encoder PCM audio minor 24
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
total)
ivtv0 info: Registered v4l2 device for encoder radio minor 64
ivtv0: Create encoder radio stream
ivtv0 info: Allocate encoder radio stream
ivtv0 info: Registered v4l2 device for decoder MPEG minor 16
ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv0 info: Registered v4l2 device for decoder VBI minor 228
ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv0 info: Registered v4l2 device for decoder VOUT minor 232
ivtv0: Create decoder VOUT stream
ivtv0 info: Allocate decoder VOUT stream
ivtv0 info: Registered v4l2 device for decoder YUV minor 48
ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total)
ivtv0 info: Starting Threads
ivtv0 info: ivtv_enc_thread: pid = 7830, itv = 0xc9ec0000
ivtv0 info: encoder thread sleeping 7830
ivtv0 info: ivtv_enc_vbi_thread: pid = 7831, itv = 0xc9ec0000
ivtv0 info: encoder thread sleeping 7831
ivtv0: loading /lib/modules/ivtv_init_mpeg.bin
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
ivtv0 info: ivtv_dec_thread: pid = 7869, itv = 0xc9ec0000
ivtv0 info: decoder thread sleeping 7869
ivtv0 info: ivtv_dec_vbi_thread: pid = 7870, itv = 0xc9ec0000
ivtv0 info: encoder thread sleeping 7870
ivtv0 info: Setting audio to input 0
ivtv0 info: Setting audio matrix to input 3, output 1
ivtv0 info: Switching standard to NTSC.
ivtv0 info: Disabling digitizer
ivtv0 info: v4l2 ioctl: set frequency 1076
ivtv0 info: Enabling digitizer
ivtv0 info: Finished with Mute
ivtv0: Initialized WinTV PVR 350, card #0
ivtv: ==================== END INIT IVTV ====================
Unable to handle kernel NULL pointer dereference at virtual address 000000c8
printing eip:
e0c4d21e
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: ivtv nvidia nfsd exportfs lockd sunrpc lp af_packet
binfmt_misc ipv6 floppy parport_pc parport pcspkr rtc ehci_hcd tda9887
msp3400 saa7127 saa7115 tuner tveeprom i2c_algo_bit i2c_core videodev
eth1394 ohci1394 ieee1394 emu10k1_gp gameport tpm_nsc tpm_atmel tpm
hw_random pci_hotplug intel_agp ohci_hcd uhci_hcd usbcore snd_emu10k1
snd_rawmidi snd_seq_device snd_ac97_codec snd_pcm_oss snd_mixer_oss
snd_pcm snd_timer snd_ac97_bus snd_page_alloc snd_util_mem snd_hwdep snd
soundcore via_rhine e100 mii agpgart tsdev mousedev psmouse ide_cd cdrom
ext3 jbd ide_disk ide_generic via82cxxx trm290 triflex slc90e66 sis5513
siimage serverworks sc1200 rz1000 piix pdc202xx_old pdc202xx_new opti621
ns87415 hpt366 hpt34x generic cy82c693 cs5530 cs5520 cmd64x atiixp
amd74xx alim15x3 aec62xx ide_core unix
CPU: 0
EIP: 0060:[<e0c4d21e>] Tainted: P VLI
EFLAGS: 00010202 (2.6.14.3)
EIP is at ivtv_v4l2_open+0x376/0x390 [ivtv]
eax: c23780bc ebx: e0bf7d60 ecx: 00000000 edx: de14bba0
esi: 00000040 edi: 00000000 ebp: c23780bc esp: cab51eac
ds: 007b es: 007b ss: 0068
Process ivtv-radio (pid: 7995, threadinfo=cab50000 task=df829a70)
Stack: 00000040 00000000 00000000 e0bf7d60 c20c5780 00000000 c23780bc
e0bf613c
c23780bc c20c5780 c301b620 00000000 00000000 c23780bc c015073b
c23780bc
c20c5780 00000040 c20c5780 c23780bc dfff40c0 dfa32a20 c01482d0
c23780bc
Call Trace:
[<e0bf613c>] video_open+0xa8/0x14c [videodev]
[<c015073b>] chrdev_open+0x87/0x104
[<c01482d0>] __dentry_open+0xf8/0x19c
[<c01483ca>] filp_open+0x56/0x70
[<c014852f>] do_sys_open+0x33/0xb0
[<c01485bd>] sys_open+0x11/0x18
[<c0103249>] syscall_call+0x7/0xb
Code: 00 8b 41 34 ff 70 30 8b 44 24 08 ff b0 c8 00 00 00 68 a0 51 c6 e0
e8 3a 9f 4c df 83 c4 0c 8b 14 ad a0 78 c7 e0 e9 f7 fc ff ff 56 <ff> 35
c8 00 00 00 68 e0 51 c6 e0 e8 1a 9f 4c df 83 c4 0c e9 a2
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users