[Click] oops on click-uninstall

springbo@cs.wisc.edu springbo at cs.wisc.edu
Wed Mar 21 19:04:07 EST 2007


Hello,

We are seeing the same problem Beyers Cronje saw in mid-Feb 2007. With
certain kernel hacking options turned on click-uninstall results in an
oops. We are seeing a hard lock in our application and would like to turn
on the kernel options to help gather information. So simply disabling them
is not an option we would like to take. Is there any chance of a work
around for this? Is it safe to assume any subsequent oops we see are not
related to this problem?



My steps:
-got most recent click from SVN (as per the 20th)
-compile pactched kernel (2.6.19.2)
-replace 'class' on lines 133 and 161 of
/usr/src/linux-2.6.19.2/include/linux/lockdep.h with 'class_not_used' to
allow the include (the click configure complains about the use of the name
'class')
-Execute ./configure --enable-local --with-linux=...
-gmake install
-create a test configuration (FromDevice(eth0, false) -> Discard)
-click-install <test_config>
-click-uninstall

Similar errors were seen in a VM and on bare hardware. I get a warning on
install and a Oops on uninstall:
Mar 21 12:01:45 localhost kernel: [ 1742.211111] click: starting router
thread pid 18166 (f2cf7c0c)
Mar 21 12:01:45 localhost kernel: [ 1742.329909] BUG: key f6518144 not in
.data!
Mar 21 12:01:45 localhost kernel: [ 1742.329920] BUG: warning at
kernel/lockdep.c:1954/lockdep_init_map()
Mar 21 12:01:45 localhost kernel: [ 1742.329935]  [<c0404d64>]
dump_trace+0x69/0x1b6
Mar 21 12:01:45 localhost kernel: [ 1742.329953]  [<c0404ec9>]
show_trace_log_lvl+0x18/0x2c
Mar 21 12:01:45 localhost kernel: [ 1742.329961]  [<c04054b0>]
show_trace+0xf/0x11
Mar 21 12:01:45 localhost kernel: [ 1742.329968]  [<c04055ad>]
dump_stack+0x15/0x17
Mar 21 12:01:45 localhost kernel: [ 1742.329975]  [<c0476726>]
sget+0x1b7/0x30e
Mar 21 12:01:45 localhost kernel: [ 1742.329984]  [<c0476e0d>]
get_sb_single+0x31/0x9f
Mar 21 12:01:45 localhost kernel: [ 1742.329991]  [<c0476d16>]
vfs_kern_mount+0x83/0xf6
Mar 21 12:01:45 localhost kernel: [ 1742.329997]  [<c0476dcb>]
do_kern_mount+0x2d/0x3e
Mar 21 12:01:45 localhost kernel: [ 1742.330004]  [<c0488d69>]
do_mount+0x607/0x67a
Mar 21 12:01:45 localhost kernel: [ 1742.330014]  [<c0488e53>]
sys_mount+0x77/0xae
Mar 21 12:01:45 localhost kernel: [ 1742.330021]  [<c0403e09>]
sysenter_past_esp+0x56/0x8d
Mar 21 12:01:45 localhost kernel: [ 1742.330029]  [<b7f6c410>] 0xb7f6c410
Mar 21 12:01:45 localhost kernel: [ 1742.330040]  =======================
Mar 21 12:01:45 localhost kernel: [ 1742.345749] SELinux: initialized (dev
click, type click), not configured for labeling
Mar 21 12:01:45 localhost kernel: [ 1742.351390] device eth0 entered
promiscuous mode
Mar 21 12:01:45 localhost kernel: [ 1742.351421] audit(1174496505.979:4):
dev=eth0 prom=256 old_prom=0 auid=4294967295
Mar 21 12:01:51 localhost kernel: [ 1747.659127] device eth0 left
promiscuous mode
Mar 21 12:01:51 localhost kernel: [ 1747.659161] audit(1174496511.290:5):
dev=eth0 prom=0 old_prom=256 auid=4294967295
Mar 21 12:01:51 localhost kernel: [ 1747.714133] click: stopping router
thread pid 18166
Mar 21 12:01:51 localhost kernel: [ 1747.716519] click module exiting
Mar 21 12:01:51 localhost kernel: [ 1747.782416] list_del corruption.
prev->next should be d9206bc4, but was 6b6b6b6b
Mar 21 12:01:51 localhost kernel: [ 1747.782453] ------------[ cut here
]------------
Mar 21 12:01:51 localhost kernel: [ 1747.782456] kernel BUG at
lib/list_debug.c:65!
Mar 21 12:01:51 localhost kernel: [ 1747.782460] invalid opcode: 0000 [#1]
Mar 21 12:01:51 localhost kernel: [ 1747.782462] SMP
Mar 21 12:01:51 localhost kernel: [ 1747.782466] Modules linked in:
proclikefs autofs4 hidp rfcomm l2cap bluetooth sunrpc
ip_conntrack_netbios_ns ipt_REJECT xt_state ip_conntrack nfnetlink
iptable_filter ip_tables ip6t_REJECT xt_tcpudp ip6table_filter ip6_tables
x_tables dm_multipath video sbs i2c_ec button battery asus_acpi ac ipv6 lp
snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_seq_dummy floppy snd_seq_oss
snd_seq_midi_event snd_seq pcspkr snd_pcm_oss snd_mixer_oss snd_pcm
snd_timer snd_page_alloc snd_mpu401 forcedeth snd_mpu401_uart snd_rawmidi
snd_seq_device snd i2c_nforce2 i2c_core soundcore ns558 gameport serio_raw
ide_cd cdrom parport_pc parport dm_snapshot dm_zero dm_mirror dm_mod
raid456 xor raid0 sata_nv libata sd_mod scsi_mod ext3 jbd ehci_hcd
ohci_hcd uhci_hcd
Mar 21 12:01:51 localhost kernel: [ 1747.782538] CPU:    0
Mar 21 12:01:51 localhost kernel: [ 1747.782539] EIP:    0060:[<c04ebb47>]
   Not tainted VLI
Mar 21 12:01:51 localhost kernel: [ 1747.782541] EFLAGS: 00210296  
(2.6.19.2 #3)
Mar 21 12:01:51 localhost kernel: [ 1747.782552] EIP is at list_del+0x23/0x6c
Mar 21 12:01:51 localhost kernel: [ 1747.782557] eax: 00000057   ebx:
d9206bc4   ecx: c042675a   edx: d77deac0
Mar 21 12:01:51 localhost kernel: [ 1747.782562] esi: f8c531c0   edi:
00000000   ebp: 00000000   esp: c3673f04
Mar 21 12:01:51 localhost kernel: [ 1747.782565] ds: 007b   es: 007b   ss:
0068
Mar 21 12:01:51 localhost kernel: [ 1747.782570] Process click-uninstall
(pid: 18167, ti=c3673000 task=d77deac0 task.ti=c3673000)
Mar 21 12:01:51 localhost kernel: [ 1747.782573] Stack: c064d716 d9206bc4
6b6b6b6b d9206ad4 c0476b9c 00000000 c043a71e 00000012
Mar 21 12:01:51 localhost kernel: [ 1747.782583]        f651811c c0476be8
d9206ad4 c0476c80 f7da0898 d9206ad4 c0489085 00200246
Mar 21 12:01:51 localhost kernel: [ 1747.782593]        f5e6387c f7da0898
00000000 c061e2ae 00000001 00000001 00000001 00000000
Mar 21 12:01:51 localhost kernel: [ 1747.782602] Call Trace:
Mar 21 12:01:51 localhost kernel: [ 1747.782615]  [<c0476b9c>]
generic_shutdown_super+0xc9/0xdf
Mar 21 12:01:51 localhost kernel: [ 1747.782628]  [<c0476be8>]
kill_anon_super+0x9/0x30
Mar 21 12:01:51 localhost kernel: [ 1747.782635]  [<c0476c80>]
deactivate_super+0x5a/0x6d
Mar 21 12:01:51 localhost kernel: [ 1747.782642]  [<c0489085>]
sys_umount+0x1fb/0x22f
Mar 21 12:01:51 localhost kernel: [ 1747.782653]  [<c04890d0>]
sys_oldumount+0x17/0x1a
Mar 21 12:01:51 localhost kernel: [ 1747.782659]  [<c0403e09>]
sysenter_past_esp+0x56/0x8d
Mar 21 12:01:51 localhost kernel: [ 1747.782671]  [<b7f1c410>] 0xb7f1c410
Mar 21 12:01:51 localhost kernel: [ 1747.782678]  =======================
Mar 21 12:01:51 localhost kernel: [ 1747.782680] Code: 00 89 c3 eb e8 90
90 90 53 89 c3 83 ec 0c 8b 40 04 8b 00 39 d8 74 1c 89 5c 24 04 89 44 24 08
c7 04 24 16 d7 64 c0 e8 80 b2 f3 ff <0f> 0b 41 00 53 d7 64 c0 8b 03 8b 40
04 39 d8 74 1c 89 5c 24 04
Mar 21 12:01:51 localhost kernel: [ 1747.782723] EIP: [<c04ebb47>]
list_del+0x23/0x6c SS:ESP 0068:c3673f04


I also have .config and config.log files from both machines if needed.

Thank You,
Kevin




More information about the click mailing list