[linux-dvb] ULE big somewhere : NPA+BRIDGED_FRAME+VLAN = Hardlock w/o any oops

Alexander Sotnikov a3df at trirema.kiev.ua
Tue Aug 12 18:20:49 CEST 2008


Alexander Sotnikov wrote:


some quick update and  previous message beautification
changed  DVB card for other brand and got BUG call this time

[  668.944003] BUG: soft lockup - CPU#0 stuck for 61s! [cx88[0] dvb:1252]
[  668.944003] Modules linked in: af_packet dvb_bt8xx dst bt878 bttv
firmware_class compat_ioctl32 v4l2_common cx88_dvb cx88_vp3054_i2c
cx8802 cx88xx videodev v4l1_compat ir_common i2c_algo_bit tveeprom
btcx_risc videobuf_dma_sg videobuf_dvb videobuf_core cx24123 i2c_core
dvb_core unix ipv6
[  668.944003]
[  668.944003] Pid: 1252, comm: cx88[0] dvb Not tainted (2.6.26.1 #6)
[  668.944003] EIP: 0060:[<dc84c643>] EFLAGS: 00000246 CPU: 0
[  668.944003] EIP is at dvb_net_ts_callback+0x973/0xbf0 [dvb_core]
[  668.944003] EAX: 00000001 EBX: 00000000 ECX: dbba2d80 EDX: dc84cbf0
[  668.944003] ESI: 00000000 EDI: dbba2946 EBP: daccdf44 ESP: daccdec8
[  668.944003]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[  668.944003] CR0: 8005003b CR2: 083c1808 CR3: 1b89b000 CR4: 00000690
[  668.944003] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[  668.944003] DR6: ffff0ff0 DR7: 00000400
[  668.944003]  [<dc84568d>] dvb_dmx_swfilter_packet+0x32d/0x370 [dvb_core]
[  668.944003]  [<dc846589>] dvb_dmx_swfilter+0xc9/0x140 [dvb_core]
[  668.944003]  [<dc81f450>] videobuf_dvb_thread+0xf0/0x160 [videobuf_dvb]
[  668.944003]  [<c011a4b6>] ? complete+0x46/0x60
[  668.944003]  [<dc81f360>] ? videobuf_dvb_thread+0x0/0x160 [videobuf_dvb]
[  668.944003]  [<c01370d2>] kthread+0x42/0x70
[  668.944003]  [<c0137090>] ? kthread+0x0/0x70
[  668.944003]  [<c0104247>] kernel_thread_helper+0x7/0x10
[  668.944003]  =======================



> Hi all
>
> while creating ULE  encapsulation driver for our in house DVB modulator
> i found out   that i can hard lock DVB receiver    with  following packet
>
> //normal arp request in  Vlan 4
> 0xff 0xff 0xff 0xff 0xff 0xff 0x00 0xff 0x9e 0x00 0x75 0xfa 0x81 0x00 0x00 0x04
> 0x08 0x06 0x00 0x01 0x08 0x00 0x06 0x04 0x00 0x01 0x00 0xff 0x9e 0x00 0x75 0xfa
> 0x0a 0x00 0x01 0x10 0xff 0xff 0xff 0xff 0xff 0xff 0x01 0x01 0x01 0x01
>
> //same encapsulated in ULE headers with NPA <0x02 0x00 0x00 0x00 0x00 0x01>
>
> 0x00 0x38 0x00 0x01 0x02 0x00 0x00 0x00 0x00 0x01 0xff 0xff 0xff 0xff 0xff 0xff
> 0x00 0xff 0x9e 0x00 0x75 0xfa 0x81 0x00 0x00 0x04 0x08 0x06 0x00 0x01 0x08 0x00
> 0x06 0x04 0x00 0x01 0x00 0xff 0x9e 0x00 0x75 0xfa 0x0a 0x00 0x01 0x10 0xff 0xff
> 0xff 0xff 0xff 0xff 0x01 0x01 0x01 0x01 0x76 0x42 0x10 0x42
>
>
> //all above  in  188 B   TS frame
>
> TSD START -------------------
> 0x47 0x51 0x11 0x13 0x00 0x00 0x38 0x00 0x01 0x02 0x00 0x00 0x00 0x00 0x01 0xff
> 0xff 0xff 0xff 0xff 0xff 0x00 0xff 0x9e 0x00 0x75 0xfa 0x81 0x00 0x00 0x04 0x08
> 0x06 0x00 0x01 0x08 0x00 0x06 0x04 0x00 0x01 0x00 0xff 0x9e 0x00 0x75 0xfa 0x0a
> 0x00 0x01 0x10 0xff 0xff 0xff 0xff 0xff 0xff 0x01 0x01 0x01 0x01 0x76 0x42 0x10
> 0x42 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
> 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
> 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
> 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
> 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
> 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
> 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
> 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
> TSD END ---------------------
>
>
> packets w/o  VLAN tag  or   w/o  NPA  set  work perfectly   (kernel
> version 2.6.26.1  stock drivers)
> any pointers where to look for problem  are welcome
>
> Alexander
>   




More information about the linux-dvb mailing list