Mailing List archive

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

[linux-dvb] kernel BUG at drivers/media/common/saa7146_video.c:734



Playing around with scantv and xawtv and the analog module of my
Fujitsu-Siemens ff card, I got the following oops on kernel 2.6.6.

The reason is that a call to format_by_fourcc() returns NULL. To me it
looks like scantv does a VIDIOC_STREAMON ioctl, and the pixelformat is
set to something not supported. As to why pixelformat is set to
something the driver doesn't like and why it needs to BUG_ON that
condition, I've only been able to make bad guesses...

I remember experiencing oopses the last time I tried the analog module
also (4-6 months ago perhaps). But apart from this bug, it seems to work
for me...


May 19 20:38:37 xena kernel: kernel BUG at drivers/media/common/saa7146_video.c:734!
May 19 20:38:37 xena kernel: invalid operand: 0000 [#1]
May 19 20:38:37 xena kernel: CPU:    0
May 19 20:38:37 xena kernel: EIP:    0060:[pg0+943528764/1068285952]    Not tainted
May 19 20:38:37 xena kernel: EFLAGS: 00210246   (2.6.6-jm1) 
May 19 20:38:37 xena kernel: EIP is at video_begin+0x1dc/0x250 [saa7146_vv]
May 19 20:38:37 xena kernel: eax: 00000000   ebx: e9874354   ecx: 00000009   edx: 00000009
May 19 20:38:37 xena kernel: esi: f6c6c000   edi: f6bf2968   ebp: f6c6c000   esp: e7277e88
May 19 20:38:37 xena kernel: ds: 007b   es: 007b   ss: 0068
May 19 20:38:37 xena kernel: Process scantv (pid: 2624, threadinfo=e7276000 task=ed4c9870)
May 19 20:38:37 xena kernel: Stack: c1596220 c0129c5e 00003a29 f89327a0 40045612 f6c6c258 f6c6c000 f89042b1 
May 19 20:38:37 xena kernel:        e7277edc 00200282 c1596220 f6bf2968 c1596220 c0134da8 0aae8080 0000000a 
May 19 20:38:37 xena kernel:        f6c6c258 e9874354 e7277efc edaf3c00 f64f1454 40045612 fffffff2 e7277efc 
May 19 20:38:37 xena kernel: Call Trace:
May 19 20:38:37 xena kernel:  [filemap_nopage+446/752] filemap_nopage+0x1be/0x2f0
May 19 20:38:37 xena kernel:  [pg0+943530673/1068285952] saa7146_video_do_ioctl+0x551/0xf20 [saa7146_vv]
May 19 20:38:37 xena kernel:  [do_no_page+344/656] do_no_page+0x158/0x290
May 19 20:38:37 xena kernel:  [video_usercopy+103/272] video_usercopy+0x67/0x110
May 19 20:38:37 xena kernel:  [do_page_fault+276/1228] do_page_fault+0x114/0x4cc
May 19 20:38:37 xena kernel:  [schedule_timeout+105/192] schedule_timeout+0x69/0xc0
May 19 20:38:37 xena kernel:  [schedule+732/1264] schedule+0x2dc/0x4f0
May 19 20:38:37 xena kernel:  [pg0+943520891/1068285952] fops_ioctl+0x1b/0x30 [saa7146_vv]
May 19 20:38:37 xena kernel:  [pg0+943529312/1068285952] saa7146_video_do_ioctl+0x0/0xf20 [saa7146_vv]
May 19 20:38:37 xena kernel:  [sys_ioctl+175/496] sys_ioctl+0xaf/0x1f0
May 19 20:38:37 xena kernel:  [syscall_call+7/11] syscall_call+0x7/0xb
May 19 20:38:37 xena kernel: 
May 19 20:38:37 xena kernel: Code: 0f 0b de 02 a0 91 90 f8 e9 4c ff ff ff c7 44 24 08 0a 7f 90 


jm@xena:~$ lspci 
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:09.0 Ethernet controller: 3Com Corporation 3c940 1000Base? (rev 12)
0000:00:0e.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc.: Unknown device 3149 (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04)


jm@xena:~$ lsmod
Module                  Size  Used by
ves1820                 6596  1 
dvb_ttpci              72524  1 
lirc_serial            11552  0 
ehci_hcd               22404  0 
uhci_hcd               26512  0 
saa7146_vv             44160  2 dvb_ttpci
video_buf              15684  1 saa7146_vv
saa7146                15012  2 dvb_ttpci,saa7146_vv
ttpci_eeprom            2304  1 dvb_ttpci
thermal                 9936  0 
processor              10404  1 thermal
it87                   17612  0 
i2c_isa                 1664  0 
i2c_sensor              2304  1 it87
lirc_dev               12424  2 lirc_serial



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



Home | Main Index | Thread Index