Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: dvb-ttpci oops 2.4 / Re: videodev not in reuse




Guido Draheim wrote:
Guido Draheim wrote:


Guido Draheim wrote:

Yes. I did just a test recording. Now there is just one problem left:
the 'szap' command does not have a '-c' flag anymore which used to
be there in the old dvb modules 'szap' version. That breaks my scripts
and at the moment I do not know how to access the second card - which
is pointed to another satellite (ye know, the usual astra/hotbird dual).


oops, an old 'szap' in another path - dvb_szap does it right with "-c".
forget about that one. And now I go with another pb, opening xawtv on
the videodev makes it work, closing it and reopening it I gets me bogus
messages about still being use - however there is no xawtv in ps -u
and fuser /dev/v4l/video* does not show anything. - I did want to
unload/reload the driver but they say too "device or resource busy".

$ This is xawtv-3.85, running on Linux/i686 (2.4.21-0.13mdk)
config: invalid value for input: Composite1
valid choices for "input": "DVB"
ioctl: VIDIOC_S_STD(std=0x7 [PAL_B,PAL_B1,PAL_G]): Device or resource busy
ioctl: VIDIOC_OVERLAY(int=1): Device or resource busy
v4l2: read: Device or resource busy

# fuser -va /dev/v4l/video*

USER PID ACCESS COMMAND
/dev/v4l/video0
No process references; use -v for the complete list
/dev/v4l/video1
No process references; use -v for the complete list

# lsmod
Module Size Used by Not tainted
ves1x93 6116 1
dvb-ttpci 290708 1
ttpci-eeprom 2616 0 [dvb-ttpci]
dvb-core 50924 0 [ves1x93 dvb-ttpci]
input 5664 0 [dvb-ttpci]
saa7146_vv 39388 1 [dvb-ttpci]
saa7146 13428 0 [dvb-ttpci saa7146_vv]
video-buf 15536 0 [saa7146_vv]
v4l2-common 4032 0 [saa7146_vv]
v4l1-compat 11300 0 [saa7146_vv]


what to check else?

I was `insmod dvb-core dvbdev_debug=1` to see what's wrong with the device
handling - but hey, there is a kernel oops in the syslog messages - and that
is probably the reason why I can not reopen the v4l device:

Feb 15 11:44:02 pc3 kernel: saa7146: register extension 'dvb'.
Feb 15 11:44:02 pc3 kernel: PCI: Found IRQ 9 for device 00:0d.0
Feb 15 11:44:02 pc3 kernel: PCI: Sharing IRQ 9 with 00:09.0
Feb 15 11:44:02 pc3 kernel: saa7146_core: found saa7146 @ mem e0f8f000 (revision 1, irq 9) (0x13c2,0x0000).
Feb 15 11:44:02 pc3 kernel: DVB: registering new adapter (Siemens/Technotrend/Hauppauge PCI rev1.3).
Feb 15 11:44:02 pc3 kernel: Siemens/Technotrend/Hauppauge PCI rev1.3 adapter 0 has MAC addr = 00:d0:5c:5b:b5:b5
Feb 15 11:44:04 pc3 kernel: DVB: AV7111(0) - firm f0240009, rtsl b0250018, vid 71010068, app 8000261a
Feb 15 11:44:04 pc3 kernel: DVB: AV7111(0) - firmware supports CI link layer interface
Feb 15 11:44:05 pc3 kernel: av7110(0): adac type set to 0
Feb 15 11:44:05 pc3 kernel: DVB: register adapter0/demux0 @ minor: 4 (0x04)
Feb 15 11:44:05 pc3 kernel: DVB: register adapter0/dvr0 @ minor: 5 (0x05)
Feb 15 11:44:05 pc3 kernel: DVB: register adapter0/video0 @ minor: 0 (0x00)
Feb 15 11:44:05 pc3 kernel: DVB: register adapter0/audio0 @ minor: 1 (0x01)
Feb 15 11:44:05 pc3 kernel: DVB: register adapter0/ca0 @ minor: 6 (0x06)
Feb 15 11:44:05 pc3 kernel: DVB: register adapter0/osd0 @ minor: 8 (0x08)
Feb 15 11:44:05 pc3 kernel: DVB: register adapter0/net0 @ minor: 7 (0x07)
Feb 15 11:44:05 pc3 kernel: saa7146_fops: saa7146 (0): registered device video1 [v4l2]
Feb 15 11:44:05 pc3 kernel: av7110: found av7110-0.
Feb 15 11:44:37 pc3 kernel: DVB: registering frontend 0:0 (VES1893)...
Feb 15 11:44:37 pc3 kernel: DVB: register adapter0/frontend0 @ minor: 3 (0x03)
Feb 15 11:46:28 pc3 kernel: tuner: tuner type not set
Feb 15 11:47:17 pc3 kernel: Unable to handle kernel paging request at virtual address 00055a05
Feb 15 11:47:17 pc3 kernel: printing eip:
Feb 15 11:47:17 pc3 kernel: c01382d5
Feb 15 11:47:17 pc3 kernel: *pde = 00000000
Feb 15 11:47:17 pc3 kernel: Oops: 0000
Feb 15 11:47:17 pc3 kernel: ves1x93 dvb-ttpci ttpci-eeprom input saa7146_vv saa7146 video-buf v4l2-common v4l1-compat dvb-core isofs zlib_inflate loop aes nls_iso8859-1 nls_cp437 vfat fat autofs4 parport_pc lp parport snd-seq-midi snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device snd-page-alloc snd nfsd af_packet sr_mod floppy ne2k-pci 8390 ide-cd cdrom tuner bttv videodev i2c-algo-bit i2c-core soundcore ide-scsi scsi_mod usb-uhci usbcore rtc ext3 jbd
Feb 15 11:47:17 pc3 kernel: CPU: 0
Feb 15 11:47:17 pc3 kernel: EIP: 0010:[kmem_cache_free_one+37/151] Not tainted
Feb 15 11:47:17 pc3 kernel: EIP: 0010:[<c01382d5>] Not tainted
Feb 15 11:47:17 pc3 kernel: EFLAGS: 00210046
Feb 15 11:47:17 pc3 kernel: EIP is at kmem_cache_free_one+0x25/0x97 [kernel]
Feb 15 11:47:17 pc3 kernel: eax: c100001c ebx: 000559f9 ecx: 2d6c656e edx: 00000000
Feb 15 11:47:17 pc3 kernel: esi: 000559f8 edi: dffe4000 ebp: c9683e88 esp: c9683e80
Feb 15 11:47:17 pc3 kernel: ds: 0018 es: 0018 ss: 0018
Feb 15 11:47:17 pc3 kernel: Process xawtv (pid: 17789, stackpage=c9683000)
Feb 15 11:47:17 pc3 kernel: Stack: 00200202 d7cf8f40 c9683e9c c0137c9c 000559f8 2d6c656e d7cf8f5c c9683eac
Feb 15 11:47:17 pc3 kernel: e0f2d6ed 2d6c656e d7cf8f5c c9683ed4 e0f37355 dffe4000 d7cf8f5c d7cf8f40
Feb 15 11:47:17 pc3 kernel: 00000000 00000000 ccc72400 0006c000 dd24dba0 c9683efc e0f3a921 dd24dba0
Feb 15 11:47:17 pc3 kernel: Call Trace:
Feb 15 11:47:17 pc3 kernel: [kfree+44/64] kfree+0x2c/0x40 [kernel]
Feb 15 11:47:17 pc3 kernel: [<c0137c9c>] kfree+0x2c/0x40 [kernel]
Feb 15 11:47:17 pc3 kernel: [<e0f2d6ed>] videobuf_dma_pci_unmap_R3cedb4c6+0x1d/0x60 [video-buf]
Feb 15 11:47:17 pc3 kernel: [<e0f37355>] saa7146_dma_free+0x45/0x90 [saa7146_vv]
Feb 15 11:47:17 pc3 kernel: [<e0f3a921>] buffer_prepare+0xf1/0x320 [saa7146_vv]
Feb 15 11:47:17 pc3 kernel: [<e0f55d60>] standard+0x0/0x60 [dvb-ttpci]
Feb 15 11:47:17 pc3 kernel: [<e0f2df5b>] videobuf_read_zerocopy+0x7b/0xe0 [video-buf]
Feb 15 11:47:17 pc3 kernel: [<e0f2e156>] videobuf_read_one_R56c690f1+0x196/0x1b0 [video-buf]
Feb 15 11:47:17 pc3 kernel: [<e0f3af80>] video_read+0x100/0x1eb [saa7146_vv]
Feb 15 11:47:17 pc3 kernel: [<e0f37f3a>] fops_read+0x4a/0x50 [saa7146_vv]
Feb 15 11:47:17 pc3 kernel: [sys_read+132/256] sys_read+0x84/0x100 [kernel]
Feb 15 11:47:17 pc3 kernel: [<c013fc24>] sys_read+0x84/0x100 [kernel]
Feb 15 11:47:17 pc3 kernel: [system_call+51/64] system_call+0x33/0x40 [kernel]
Feb 15 11:47:17 pc3 kernel: [<c0109093>] system_call+0x33/0x40 [kernel]
Feb 15 11:47:17 pc3 kernel:
Feb 15 11:47:17 pc3 kernel: Code: 8b 43 0c 29 c1 89 c8 f7 76 18 89 c1 8b 43 14 89 44 8b 18 89


btw, I just wonder why it goes through sys_read - the oops occured on
closing the xawtv app. May be that xawtv version has an interesting way
to shut down the videodev but that should not invoke an oops, right?

cheers,
-- guido                                  http://google.de/search?q=guidod
GCS/E/S/P C++/++++$ ULHS L++w- N++@ s+:a d(+-) r+@>+++ y++ 5++X- (geekcode)



--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index