[linux-dvb] [Patch] Error in dvb_net.c on 64bit platforms

Holger Kiehl Holger.Kiehl at dwd.de
Mon Oct 31 16:19:58 CET 2005


On Mon, 31 Oct 2005, Holger Kiehl wrote:

> Hello
> 
> Removing several dvb net interfaces as follows:
> 
>       /sbin/ifconfig dvb0_4 down
>       /sbin/ifconfig dvb0_3 down
>       /sbin/ifconfig dvb0_2 down
>       /sbin/ifconfig dvb0_1 down
>       /sbin/ifconfig dvb0_0 down
> 
> Always produces an oops on a 64 bit system. On a 32 bit system this is no
> problem. Applying the attached patch makes it work on 64 bit systems.
> 
After booting the system I still get the oops:

Oct 31 14:51:43 sojus kernel: dvb_demux_feed_del: feed not in list (type=1 
state=0 pid=ffff)
Oct 31 14:51:43 sojus kernel: Unable to handle kernel paging request at 
00000000000010f8 RIP:
Oct 31 14:51:43 sojus kernel: <ffffffff8028dde0>{dvb_net_filter_sec_set+48}
Oct 31 14:51:43 sojus kernel: PGD cce6a067 PUD 0
Oct 31 14:51:43 sojus kernel: Oops: 0000 [1] SMP
Oct 31 14:51:43 sojus kernel: CPU 1
Oct 31 14:51:43 sojus kernel: Modules linked in: drbd dummy w83627ehf i2c_isa 
binfmt_misc video button ac uhci_hcd ehci_hcd b2c2_flexcop_pci b2c2_flexcop 
mt352 bcm3510 stv0299 nxt2002 stv0297_cs2 lgdt330x mt312 i2c_core ide_cd cdrom 
usbcore
Oct 31 14:51:43 sojus kernel: Pid: 7, comm: events/1 Not tainted 2.6.14 #6
Oct 31 14:51:43 sojus kernel: RIP: 0010:[<ffffffff8028dde0>] 
<ffffffff8028dde0>{dvb_net_filter_sec_set+48}
Oct 31 14:51:43 sojus kernel: RSP: 0018:ffff8100cfe65dc8  EFLAGS: 00010282
Oct 31 14:51:43 sojus kernel: RAX: 0000000000000000 RBX: ffff8100ce935560 RCX: 
ffffffff803c59c4
Oct 31 14:51:43 sojus kernel: RDX: ffff8100ce9351a8 RSI: ffff8100ce935560 RDI: 
0000000000000000
Oct 31 14:51:43 sojus kernel: RBP: 0000000000000000 R08: ffff8100cef25140 R09: 
ffffc20010081000
Oct 31 14:51:43 sojus kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 
ffff8100ce9351a8
Oct 31 14:51:43 sojus kernel: R13: ffffffff803c59c4 R14: ffff8100ce935000 R15: 
ffffffff8028e5c4
Oct 31 14:51:43 sojus kernel: FS:  0000000000000000(0000) 
GS:ffffffff80446880(0000) knlGS:0000000000000000
Oct 31 14:51:43 sojus kernel: CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
Oct 31 14:51:43 sojus kernel: CR2: 00000000000010f8 CR3: 00000000cdef7000 CR4: 
00000000000006e0
Oct 31 14:51:43 sojus kernel: Process events/1 (pid: 7, threadinfo 
ffff8100cfe64000, task ffff8100cfe63500)
Oct 31 14:51:43 sojus kernel: Stack: ffff8100ce935558 ffff8100ce935480 
ffff8100ce935480 0000000000000000
Oct 31 14:51:43 sojus kernel:        ffff8100cef260f8 ffff8100ce935000 
ffff8100ce9351a8 ffffffff8028e134
Oct 31 14:51:43 sojus kernel:        0000000000000001 ffffffff8028e515
Oct 31 14:51:43 sojus kernel: Call 
Trace:<ffffffff8028e134>{dvb_net_feed_start+425} 
<ffffffff8028e515>{dvb_net_feed_stop+347}
Oct 31 14:51:43 sojus kernel:        <ffffffff80142d32>{worker_thread+475} 
<ffffffff8012eec1>{default_wake_function+0}
Oct 31 14:51:43 sojus kernel:        <ffffffff8012c4e4>{__wake_up_common+64} 
<ffffffff80142b57>{worker_thread+0}
Oct 31 14:51:43 sojus kernel:        <ffffffff80146d9f>{kthread+203} 
<ffffffff8012f358>{schedule_tail+57}
Oct 31 14:51:43 sojus kernel:        <ffffffff8010e806>{child_rip+8} 
<ffffffff80146cd4>{kthread+0}
Oct 31 14:51:43 sojus kernel:        <ffffffff8010e7fe>{child_rip+0}
Oct 31 14:51:43 sojus kernel:
Oct 31 14:51:43 sojus kernel: Code: ff 90 f8 10 00 00 89 c5 85 c0 79 16 4c 89 
f6 48 c7 c7 67 56
Oct 31 14:51:43 sojus kernel: RIP <ffffffff8028dde0>{dvb_net_filter_sec_set+48} 
RSP <ffff8100cfe65dc8>
Oct 31 14:51:43 sojus kernel: CR2: 00000000000010f8
Oct 31 14:51:43 sojus kernel:  dvb0_4: no feed to stop

So the patch does not help. Without this patch the oops looks as follows:

Oct 31 12:00:03 sojus kernel: dvb0_4: no feed to stop
Oct 31 12:00:03 sojus kernel: dvb_net: removed network interface dvb0_4
Oct 31 12:00:05 sojus kernel: dvb0_3: no feed to stop
Oct 31 12:00:05 sojus kernel: dvb_net: removed network interface dvb0_3
Oct 31 12:00:07 sojus kernel: dvb0_2: no feed to stop
Oct 31 12:00:07 sojus kernel: dvb_net: removed network interface dvb0_2
Oct 31 12:00:09 sojus kernel: dvb0_1: no feed to stop
Oct 31 12:00:09 sojus kernel: dvb_net: removed network interface dvb0_1
Oct 31 12:00:12 sojus kernel: Unable to handle kernel paging request at 
0000000000001134 RIP:
Oct 31 12:00:12 sojus kernel: 
<ffffffff8028905c>{dvbdmx_release_section_feed+51}
Oct 31 12:00:12 sojus kernel: PGD cb24f067 PUD cea02067 PMD 0
Oct 31 12:00:12 sojus kernel: Oops: 0000 [1] SMP
Oct 31 12:00:12 sojus kernel: CPU 0
Oct 31 12:00:12 sojus kernel: Modules linked in: dummy w83627ehf i2c_isa 
binfmt_misc video button ac uhci_hcd ehci_hcd b2c2_flexcop_pci b2c2_flexcop 
mt352 bcm3510 stv0299 nxt2002 stv0297_cs2 lgdt330x mt312 i2c_core ide_cd cdrom 
usbcore
Oct 31 12:00:12 sojus kernel: Pid: 2482, comm: ifconfig Not tainted 2.6.14 #4
Oct 31 12:00:12 sojus kernel: RIP: 0010:[<ffffffff8028905c>] 
<ffffffff8028905c>{dvbdmx_release_section_feed+51}
Oct 31 12:00:12 sojus kernel: RSP: 0018:ffff8100cac1fd88  EFLAGS: 00010246
Oct 31 12:00:12 sojus kernel: RAX: 0000000000000000 RBX: ffff8100cebdc3a0 RCX: 
ffff8100ce98a000
Oct 31 12:00:12 sojus kernel: RDX: 00000000fffffe00 RSI: 0000000000000000 RDI: 
ffff8100cebdc3a0
Oct 31 12:00:12 sojus kernel: RBP: 0000000000000000 R08: ffff8100cac1e000 R09: 
ffffffff8038d480
Oct 31 12:00:12 sojus kernel: R10: 0000000000000001 R11: ffffffff8806403e R12: 
ffff8100cebdc0f8
Oct 31 12:00:12 sojus kernel: R13: 0000000000008914 R14: 00007fffffd292b0 R15: 
ffff8100cfb53940
Oct 31 12:00:12 sojus kernel: FS:  00002aaaaaac03e0(0000) 
GS:ffffffff80446800(0000) knlGS:0000000000000000
Oct 31 12:00:12 sojus kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Oct 31 12:00:12 sojus kernel: CR2: 0000000000001134 CR3: 00000000cb00a000 CR4: 
00000000000006e0
Oct 31 12:00:12 sojus kernel: Process ifconfig (pid: 2482, threadinfo 
ffff8100cac1e000, task ffff8100cea80380)
Oct 31 12:00:12 sojus kernel: Stack: ffff8100cb903488 ffff8100cb903480 
0000000000000001 ffffffff8028e515
Oct 31 12:00:12 sojus kernel:        ffff8100cb903000 00000000000010c2 
0000000000001083 ffffffff802d6ed5
Oct 31 12:00:12 sojus kernel:        ffff8100cb903000 ffffffff802d6cc0
Oct 31 12:00:12 sojus kernel: Call 
Trace:<ffffffff8028e515>{dvb_net_feed_stop+347} 
<ffffffff802d6ed5>{dev_close+92}
Oct 31 12:00:12 sojus kernel:        <ffffffff802d6cc0>{dev_change_flags+99} 
<ffffffff8030f11c>{devinet_ioctl+712}
Oct 31 12:00:12 sojus kernel:        <ffffffff802cdf06>{sock_ioctl+574} 
<ffffffff80182381>{do_ioctl+33}
Oct 31 12:00:12 sojus kernel:        <ffffffff80182671>{vfs_ioctl+664} 
<ffffffff8016f6f4>{get_unused_fd+234}
Oct 31 12:00:12 sojus kernel:        <ffffffff801826c5>{sys_ioctl+59} 
<ffffffff80170456>{do_sys_open+109}
Oct 31 12:00:12 sojus kernel:        <ffffffff8010d97e>{system_call+126}
Oct 31 12:00:12 sojus kernel:
Oct 31 12:00:12 sojus kernel: Code: 8b 95 34 11 00 00 85 d2 75 16 f0 41 ff 84 
24 a8 02 00 00 0f
Oct 31 12:00:12 sojus kernel: RIP 
<ffffffff8028905c>{dvbdmx_release_section_feed+51} RSP <ffff8100cac1fd88>
Oct 31 12:00:12 sojus kernel: CR2: 0000000000001134
Oct 31 12:00:12 sojus kernel:  dvb0_0: no feed to stop


Holger (Kiehl)




More information about the linux-dvb mailing list