Having a slight problem with ivtv-0.4.0, details below. ivtv-0.3.8 was
good (except ivtv-fb didn't work) and I've just reinstalled 0.3.8 and it
still works.
/usr/bin/ivtvctl --device=/dev/video0 -u 0xff
Segmentation fault
BTW any chance of adding which video devices get registered to the ivtv
driver to the dmesg log; helpful when there are multiple cards?
TIA
Duncan
Unable to handle kernel NULL pointer dereference at virtual address 000000c8
printing eip:
e28efb58
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: ohci_hcd ehci_hcd 8250_pnp 8250 serial_core
parport_pc parport pcspkr 8139too acx_pci emu10k1_gp gameport uhci_hcd
intel_agp mga drm agpgart snd_usb_audio snd_usb_lib snd_emu10k1
snd_rawmidi snd_ac97_codec snd_util_mem snd_hwdep snd_seq_dummy
snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss
snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore cx8800
cx88xx ir_common v4l1_compat lirc_i2c lirc_dev tvaudio bttv video_buf
v4l2_common btcx_risc ivtv_fb tda9887 msp3400 saa7127 saa7115 tuner
tveeprom ivtv videodev w83781d i2c_sensor i2c_i801 i2c_dev i2c_matroxfb
i2c_algo_bit i2c_core fusion usbhid usbcore thermal processor fan button
evdev
CPU: 0
EIP: 0060:[<e28efb58>] Not tainted VLI
EFLAGS: 00010202 (2.6.12-hawk-r3)
EIP is at ivtv_v4l2_open+0x198/0x440 [ivtv]
eax: dd87e520 ebx: e28ef9c0 ecx: 00000001 edx: dd87e520
esi: 00000000 edi: e086c780 ebp: 00000000 esp: dc817eac
ds: 007b es: 007b ss: 0068
Process ivtvctl (pid: 5788, threadinfo=dc816000 task=c179d080)
Stack: e086c800 c0166e5a 00000000 00000000 00000000 e28ef9c0 dfc94880
e086c780
df5a9740 e086b222 dd87e520 df5a9740 dc816000 00000001 00000000
e086c800
df43e2e0 00000000 dd87e520 c0167046 dd87e520 df5a9740 dc817f0c
00000001
Call Trace:
[<c0166e5a>] cdev_get+0x5a/0xd0
[<e28ef9c0>] ivtv_v4l2_open+0x0/0x440 [ivtv]
[<e086b222>] video_open+0x142/0x2b0 [videodev]
[<c0167046>] chrdev_open+0x116/0x220
[<c015c29b>] dentry_open+0x1eb/0x290
[<c015c09c>] filp_open+0x5c/0x70
[<c013b009>] handle_IRQ_event+0x39/0x70
[<c015c3bb>] get_unused_fd+0x7b/0xe0
[<c015c569>] sys_open+0x49/0x90
[<c010327b>] sysenter_past_esp+0x54/0x75
/etc/modprobe.conf
alias char-major-89 i2c-dev
alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 bttv
options ivtv ivtv_debug=19 tuner=-1
options bttv v4l2=1 pll=35 radio=1 card=2 tuner=5
install lirc_i2c /sbin/modprobe bttv; /sbin/modprobe ivtv;
/sbin/modprobe --ignore-install lirc_i2c
dmesg | sed -n '/==================== START INIT
IVTV/,/==================== END INIT IVTV/p'
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.4.0 (tagged release) loading
ivtv: Linux version: 2.6.12-hawk-r3 preempt PENTIUMIII gcc-3.4
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: 0xf0000000
ivtv0 info: Enabling pci device
PCI: Enabling device 0000:02:0c.0 (0014 -> 0016)
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
ACPI: PCI Interrupt 0000:02:0c.0[A] -> Link [LNKE] -> GSI 11 (level,
low) -> IRQ 11
ivtv0 info: Bus Mastering Enabled.
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0 info: 2051 (rev 1) at 02:0c.0, irq: 11, latency: 64, memory:
0xf0000000
ivtv0 info: attempting ioremap at 0xf0000000 len 0x00800000
ivtv0 info: attempting ioremap at 0xf1000000 len 0x00800000
ivtv0 info: attempting ioremap at 0xf2000000 len 0x00010000
ivtv0 info: activating i2c...
ivtv0 info: Active card count: 1.
tveeprom: ivtv version
tveeprom: Hauppauge: model = 48134, rev = J347, serial# = 7111698
tveeprom: tuner = LG TP18PSB01D (idx = 47, type = 28)
tveeprom: tuner fmt = PAL(B/G) (eeprom = 0x04, v4l2 = 0x00000007)
tveeprom: audio processor = MSP4418 (type = 19)
tveeprom: decoder processor = SAA7115 (type = 13)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
ivtv0 info: Loaded module tveeprom
ivtv0 info: PAL tuner detected
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]
ivtv0 info: Loaded module tuner
saa7115 4-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
ivtv0 info: Loaded module saa7115
saa7127 4-0044: saa7127 found @ 0x88 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
ivtv0 info: Loaded module saa7127
msp34xx: ivtv version
msp34xx: init: chip=MSP3418W-A2, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Oct 29 2005 18:25:30
ivtv0: i2c attach to card #0 ok [client=MSP3418W-A2, addr=40]
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 600ms (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 0xe2980104. match: 1
ivtv0 info: match: 0x56781234 at 0xe2980108. match: 2
ivtv0 info: match: 0x78123456 at 0xe298010c. match: 3
ivtv0 info: found encoder mailbox!
ivtv0 info: Searching for decoder mailbox
ivtv0 info: match: 0x34567812 at 0xe3200404. match: 1
ivtv0 info: match: 0x56781234 at 0xe3200408. match: 2
ivtv0 info: match: 0x78123456 at 0xe320040c. match: 3
ivtv0 info: found decoder mailbox!
ivtv0 info: Getting firmware version..
ivtv0 info: Getting encoder firmware rev.
ivtv0: Encoder revision: 0x02040011
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: 161 x 12960 buffers (2048KB total)
ivtv0 info: Registered v4l2 device for encoder VBI minor 224
ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 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: 20 x 51840 buffers (1024KB total)
ivtv0 info: Starting Threads
ivtv0 info: ivtv_enc_thread: pid = 2066, itv = 0xdf990000
ivtv0 info: encoder thread sleeping 2066
ivtv0 info: ivtv_enc_vbi_thread: pid = 2067, itv = 0xdf990000
ivtv0 info: encoder thread sleeping 2067
ivtv0: loading /lib/modules/ivtv_init_mpeg.bin
tuner: type set to 28 (LG PAL_BG+FM (TPI8PSB01D)) by ivtv i2c driver #0
ivtv0 info: Setting audio to input 0
ivtv0 info: Setting audio matrix to input 3, output 1
ivtv0 ioctl: VIDIOC_S_STD
ivtv0 info: Switching standard to PAL.
spurious 8259A interrupt: IRQ7.
ivtv0 info: ivtv_dec_thread: pid = 2081, itv = 0xdf990000
ivtv0 info: decoder thread sleeping 2081
ivtv0 info: ivtv_dec_vbi_thread: pid = 2082, itv = 0xdf990000
ivtv0 info: encoder thread sleeping 2082
ivtv0 ioctl: VIDIOC_S_FREQUENCY
ivtv0 info: Disabling digitizer
ivtv0 info: v4l2 ioctl: set frequency 6400
ivtv0 info: Enabling digitizer
ivtv0 info: Finished with Mute
ivtv0: Initialized WinTV PVR 350, card #0
ivtv: ==================== END INIT IVTV ====================
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel