Skip to contentSkip to conversation

2.6.33.6-rt26: oops

DISCUSSION Fernando Lopez-Lezcano 3 participants 6 messages Jul 30, 2010 – Aug 3, 2010

lore
Share & tools
lore
#0 lore raw

Hi all...
This may not be rt related but here it goes anyway. It happened when I tried to restart my iptables service (/sbin/service iptables start). I think a day or two ago I had another network related hang, but it was a complete hang (no clues left behind - power button to reset).

-- Fernando

Jul 29 18:27:57 localhost kernel: BUG: unable to handle kernel NULL
pointer dereference at (null)
Jul 29 18:27:57 localhost kernel: IP: [<c045ad40>] exit_creds+0xc/0x54
Jul 29 18:27:57 localhost kernel: *pdpt = 0000000000a68001 *pde =
0000000000000000 
Jul 29 18:27:57 localhost kernel: Oops: 0000 [#1] PREEMPT SMP 
Jul 29 18:27:57 localhost kernel: last sysfs
file: /sys/devices/virtual/net/pan0/statistics/collisions
Jul 29 18:27:57 localhost kernel: Modules linked in: snd_seq_midi

snd_seq_midi_event snd_seq_dummy snd_usb_audio snd_usb_lib snd_rawmidi fuse rfcomm sco bridge stp llc bnep l2cap sunrpc cpufreq_ondemand acpi_cpufreq ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 dm_multipath uinput arc4 snd_hda_codec_analog ecb iwl3945 snd_hda_intel snd_hda_codec iwlcore thinkpad_acpi btusb sdhci_pci sdhci mmc_core snd_hwdep e1000e snd_seq ohci1394 ricoh_mmc snd_seq_device snd_pcm snd_timer snd mac80211 i2c_i801 iTCO_wdt iTCO_vendor_support joydev cfg80211 bluetooth snd_page_alloc rfkill soundcore yenta_socket rsrc_nonstatic i915 drm_kms_helper drm i2c_algo_bit i2c_core video output [last unloaded: microcode]

Jul 29 18:27:57 localhost kernel:
Jul 29 18:27:57 localhost kernel: Pid: 6956, comm: sirq-rcu/1 Not
tainted 2.6.33.6-147.2.4.rt26.1.fc12.ccrma.i686.rtPAE #1 6463CTO/6463CTO
Jul 29 18:27:57 localhost kernel: EIP: 0060:[<c045ad40>] EFLAGS:
00010287 CPU: 1
Jul 29 18:27:57 localhost kernel: EIP is at exit_creds+0xc/0x54
Jul 29 18:27:57 localhost kernel: EAX: 00000000 EBX: f0e1a430 ECX:
f0e1a960 EDX: 00000000
Jul 29 18:27:57 localhost kernel: ESI: c410434c EDI: f0e1a960 EBP:
f3321f38 ESP: f3321f34
Jul 29 18:27:57 localhost kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0
SS: 0068 preempt:00000000
Jul 29 18:27:57 localhost kernel: Process sirq-rcu/1 (pid: 6956,
ti=f3320000 task=f2b92d30 task.ti=f3320000)
Jul 29 18:27:57 localhost kernel: Stack:
Jul 29 18:27:57 localhost kernel: f0e1a430 f3321f44 c043e974 c4104334
f3321f4c c043e9b4 f3321f70 c048507b
Jul 29 18:27:57 localhost kernel: <0> 00000000 00000000 c099bbc0
00000283 c4103fdc c0a5cfec 00000200 f3321f78
Jul 29 18:27:57 localhost kernel: <0> c0485192 f3321fa4 c044445e
c0a5cfec f2b92d30 fffffdff 00000001 00000000
Jul 29 18:27:57 localhost kernel: Call Trace:
Jul 29 18:27:57 localhost kernel: [<c043e974>] ? __put_task_struct
+0x54/0x87
Jul 29 18:27:57 localhost kernel: [<c043e9b4>] ? __put_task_struct_cb
+0xd/0xf
Jul 29 18:27:57 localhost kernel: [<c048507b>] ? __rcu_process_callbacks
+0x153/0x21a
Jul 29 18:27:57 localhost kernel: [<c0485192>] ? rcu_process_callbacks
+0x50/0x57
Jul 29 18:27:57 localhost kernel: [<c044445e>] ? run_ksoftirqd
+0x138/0x236
Jul 29 18:27:57 localhost kernel: [<c0444326>] ? run_ksoftirqd+0x0/0x236
Jul 29 18:27:57 localhost kernel: [<c04557ae>] ? kthread+0x5f/0x64
Jul 29 18:27:57 localhost kernel: [<c045574f>] ? kthread+0x0/0x64
Jul 29 18:27:57 localhost kernel: [<c040907e>] ? kernel_thread_helper
+0x6/0x10
Jul 29 18:27:57 localhost kernel: Code: 00 00 00 89 f8 e8 cb d7 1d 00 89
f0 e8 bc fd ff ff 89 f0 e8 b5 fd ff ff 31 c0 5b 5e 5f 5d c3 55 89 e5 53
89 c3 8b 80 0c 03 00 00 <8b> 00 8b 83 08 03 00 00 c7 83 08 03 00 00 00
00 00 00 e8 8b fd 
Jul 29 18:27:57 localhost kernel: EIP: [<c045ad40>] exit_creds+0xc/0x54
SS:ESP 0068:f3321f34
Jul 29 18:27:57 localhost kernel: CR2: 0000000000000000
Jul 29 18:27:57 localhost kernel: ---[ end trace ebf66505b4c2cac5 ]---
#1 lore raw

Re: 2.6.33.6-rt26: oops (network related?)

Quoted 5 lines · Fernando Lopez-Lezcano

Hi all...
This may not be rt related but here it goes anyway. It happened when I tried to restart my iptables service (/sbin/service iptables start). I think a day or two ago I had another network related hang, but it was a complete hang (no clues left behind - power button to reset).

Ok this one is rt related (apparently). The workstation (4 core, intel based) hang hard while a process was starting a daily backup but the logs captured the BUG:

--------

Jul 31 06:48:35 localhost kernel: ------------[ cut here ]------------
Jul 31 06:48:35 localhost kernel: kernel BUG at kernel/rtmutex.c:808!
Jul 31 06:48:35 localhost kernel: invalid opcode: 0000 [#1] PREEMPT SMP 
Jul 31 06:48:35 localhost kernel: last sysfs
file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map
Jul 31 06:48:35 localhost kernel: Modules linked in: snd_seq_midi

autofs4 act_police cls_flow cls_fw cls_u32 sch_htb sch_hfsc sch_ingress sch_sfq xt_time xt_connlimit xt_realm iptable_raw xt_comment xt_recent xt_policy ipt_ULOG ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE ipt_ECN ipt_ecn ipt_CLUSTERIP ipt_ah ipt_addrtype nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda ts_kmp nf_conntrack_amanda nf_conntrack_sane nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_netbios_ns nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp xt_TPROXY nf_tproxy_core xt_tcpmss xt_pkttype xt_physdev xt_owner xt_NFQUEUE xt_NFLOG nfnetlink_log xt_multiport xt_MARK xt_mark xt_mac xt_limit xt_length xt_iprange xt_helper xt_hashlimit xt_DSCP xt_dscp xt_dccp xt_CONNMARK xt_connmark xt_CLASSIFY ipt_LOG iptable_nat nf_nat iptable_mangle nfnetlink coretemp hwmon_vid nfs lockd fscache nfs_acl auth_rp

Jul 31 06:48:35 localhost kernel: cgss sunrpc ip6t_REJECT

nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 dm_multipath uinput snd_hdspm snd_hdsp snd_hda_intel snd_hda_codec snd_usb_audio r8169 snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq mii snd_pcm_oss snd_mixer_oss snd_pcm ohci1394 ppdev snd_hwdep snd_usb_lib snd_rawmidi snd_seq_device snd_timer snd parport_pc i2c_i801 parport snd_page_alloc iTCO_wdt iTCO_vendor_support serio_raw soundcore ata_generic pata_acpi pata_jmicron radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last
unloaded: microcode]

Jul 31 06:48:35 localhost kernel:
Jul 31 06:48:35 localhost kernel: Pid: 50, comm: sirq-net-rx/3 Not
tainted 2.6.33.6-147.rt26.1.fc12.ccrma.i686.rtPAE #1 EP45-DS3R/EP45-DS3R
Jul 31 06:48:35 localhost kernel: EIP: 0060:[<c0791bf7>] EFLAGS:
00010046 CPU: 3
Jul 31 06:48:35 localhost kernel: EIP is at rt_spin_lock_slowlock
+0x43/0x1bb
Jul 31 06:48:35 localhost kernel: EAX: f715c0b0 EBX: c5f85c80 ECX:
c5f85c80 EDX: f715c0b0
Jul 31 06:48:35 localhost kernel: ESI: ed004fc0 EDI: f5fec240 EBP:
f7161dc0 ESP: f7161d68
Jul 31 06:48:35 localhost kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0
SS: 0068 preempt:00000001
Jul 31 06:48:35 localhost kernel: Process sirq-net-rx/3 (pid: 50,
ti=f7160000 task=f715c0b0 task.ti=f7160000)
Jul 31 06:48:35 localhost kernel: Stack:
Jul 31 06:48:35 localhost kernel: f7161e04 c057783d c043a00f 00000039
00000292 c0420002 6d9c675d c5f881c0
Jul 31 06:48:35 localhost kernel: <0> f7161dd0 f7161d94 c041caac
f7161dd8 c0792979 ed7d99f4 c5f881c0 00000002
Jul 31 06:48:35 localhost kernel: <0> 00000000 00000000 00000246
c5f85c80 ed004fc0 f5fec240 f7161dcc c0465595
Jul 31 06:48:35 localhost kernel: Call Trace:
Jul 31 06:48:35 localhost kernel: [<c057783d>] ?
selinux_socket_sock_rcv_skb+0x8f/0x1c7
Jul 31 06:48:35 localhost kernel: [<c043a00f>] ? post_schedule_rt
+0xd/0x14
Jul 31 06:48:35 localhost kernel: [<c0420002>] ? hpet_msi_set_affinity
+0xf/0x75
Jul 31 06:48:35 localhost kernel: [<c041caac>] ?
smp_reschedule_interrupt+0x16/0x20
Jul 31 06:48:35 localhost kernel: [<c0792979>] ? reschedule_interrupt
+0x31/0x38
Jul 31 06:48:35 localhost kernel: [<c0465595>] ?
rt_spin_lock_fastlock.clone.1+0x5c/0x5f
Jul 31 06:48:35 localhost kernel: [<c0792332>] ? rt_spin_lock+0x8/0xa
Jul 31 06:48:35 localhost kernel: [<c075f896>] ? ipt_do_table+0xce/0x4f0
Jul 31 06:48:35 localhost kernel: [<c0791d51>] ? rt_spin_lock_slowlock
+0x19d/0x1bb
Jul 31 06:48:35 localhost kernel: [<c07923eb>] ? rt_read_unlock
+0x13/0x15
Jul 31 06:48:35 localhost kernel: [<c074c0d7>] ? udp_queue_rcv_skb
+0x193/0x1d2
Jul 31 06:48:35 localhost kernel: [<fa6ad0a2>] ? ipt_hook+0x1e/0x24
[iptable_raw]
Jul 31 06:48:35 localhost kernel: [<c0720ceb>] ? nf_iterate+0x2f/0x62
Jul 31 06:48:35 localhost kernel: [<c072d600>] ? ip_rcv_finish+0x0/0x2d9
Jul 31 06:48:35 localhost kernel: [<c0720e44>] ? nf_hook_slow+0x44/0xa1
Jul 31 06:48:35 localhost kernel: [<c072d600>] ? ip_rcv_finish+0x0/0x2d9
Jul 31 06:48:35 localhost kernel: [<c072dae6>] ? ip_rcv+0x20d/0x243
Jul 31 06:48:35 localhost kernel: [<c072d600>] ? ip_rcv_finish+0x0/0x2d9
Jul 31 06:48:35 localhost kernel: [<c07082fc>] ? netif_receive_skb
+0x3ca/0x3ea
Jul 31 06:48:35 localhost kernel: [<c070838f>] ? process_backlog
+0x73/0x9d
Jul 31 06:48:35 localhost kernel: [<c07088ef>] ? net_rx_action
+0x92/0x1a7
Jul 31 06:48:35 localhost kernel: [<c044445e>] ? run_ksoftirqd
+0x138/0x236
Jul 31 06:48:35 localhost kernel: [<c0444326>] ? run_ksoftirqd+0x0/0x236
Jul 31 06:48:35 localhost kernel: [<c04557ae>] ? kthread+0x5f/0x64
Jul 31 06:48:35 localhost kernel: [<c045574f>] ? kthread+0x0/0x64
Jul 31 06:48:35 localhost kernel: [<c040907e>] ? kernel_thread_helper
+0x6/0x10
Jul 31 06:48:35 localhost kernel: Code: 7b 08 00 89 45 b8 75 12 8d 43 04
89 43 04 89 43 08 8d 43 0c 89 43 0c 89 43 10 8b 43 14 64 8b 15 2c b1 a5
c0 83 e0 fc 39 c2 75 04 <0f> 0b eb fe 8b 3a 81 ff 08 01 00 00 74 0a 83
ff 02 b8 04 00 00 
Jul 31 06:48:35 localhost kernel: EIP: [<c0791bf7>]
rt_spin_lock_slowlock+0x43/0x1bb SS:ESP 0068:f7161d68
Jul 31 06:48:35 localhost kernel: ---[ end trace 1f65f0b05c43491f ]---
Jul 31 06:48:35 localhost kernel: note: sirq-net-rx/3[50] exited with

preempt_count 1
--------

There is something fishy going on in rt26 and it appears to be related to network activity.

-- Fernando

Quoted 19 lines
Jul 29 18:27:57 localhost kernel: BUG: unable to handle kernel NULL
pointer dereference at (null)
Jul 29 18:27:57 localhost kernel: IP: [<c045ad40>] exit_creds+0xc/0x54
Jul 29 18:27:57 localhost kernel: *pdpt = 0000000000a68001 *pde =
0000000000000000 
Jul 29 18:27:57 localhost kernel: Oops: 0000 [#1] PREEMPT SMP 
Jul 29 18:27:57 localhost kernel: last sysfs
file: /sys/devices/virtual/net/pan0/statistics/collisions
Jul 29 18:27:57 localhost kernel: Modules linked in: snd_seq_midi

snd_seq_midi_event snd_seq_dummy snd_usb_audio snd_usb_lib snd_rawmidi fuse rfcomm sco bridge stp llc bnep l2cap sunrpc cpufreq_ondemand acpi_cpufreq ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 dm_multipath uinput arc4 snd_hda_codec_analog ecb iwl3945 snd_hda_intel snd_hda_codec iwlcore thinkpad_acpi btusb sdhci_pci sdhci mmc_core snd_hwdep e1000e snd_seq ohci1394 ricoh_mmc snd_seq_device snd_pcm snd_timer snd mac80211 i2c_i801 iTCO_wdt iTCO_vendor_support joydev cfg80211 bluetooth snd_page_alloc rfkill soundcore yenta_socket rsrc_nonstatic i915 drm_kms_helper drm i2c_algo_bit i2c_core video output [last unloaded: microcode]

#2 lore raw

Re: 2.6.33.6-rt26: oops (network related?)

Quoted 10 lines · Fernando Lopez-Lezcano
Quoted 5 lines · Fernando Lopez-Lezcano

Hi all...
This may not be rt related but here it goes anyway. It happened when I tried to restart my iptables service (/sbin/service iptables start). I think a day or two ago I had another network related hang, but it was a complete hang (no clues left behind - power button to reset).

Ok this one is rt related (apparently). The workstation (4 core, intel based) hang hard while a process was starting a daily backup but the logs captured the BUG:

One more observation, I repeatedly copied a couple of ISO images over the network to the affected machine. No problem during the copy. BUT, it hang completely when I tried to reboot it - while stopping the firewall (I'm using shorewall), regretfully no trace was left behind. So _something_ in the network stack is left is a bad state. I did see a similar hang when stopping the iptables service in my laptop.

This did not happen with the regular Fedora kernel (same test, no problem).

-- Fernando

Quoted 133 lines

--------

Jul 31 06:48:35 localhost kernel: ------------[ cut here ]------------
Jul 31 06:48:35 localhost kernel: kernel BUG at kernel/rtmutex.c:808!
Jul 31 06:48:35 localhost kernel: invalid opcode: 0000 [#1] PREEMPT SMP 
Jul 31 06:48:35 localhost kernel: last sysfs
file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map
Jul 31 06:48:35 localhost kernel: Modules linked in: snd_seq_midi

autofs4 act_police cls_flow cls_fw cls_u32 sch_htb sch_hfsc sch_ingress sch_sfq xt_time xt_connlimit xt_realm iptable_raw xt_comment xt_recent xt_policy ipt_ULOG ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE ipt_ECN ipt_ecn ipt_CLUSTERIP ipt_ah ipt_addrtype nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda ts_kmp nf_conntrack_amanda nf_conntrack_sane nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_netbios_ns nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp xt_TPROXY nf_tproxy_core xt_tcpmss xt_pkttype xt_physdev xt_owner xt_NFQUEUE xt_NFLOG nfnetlink_log xt_multiport xt_MARK xt_mark xt_mac xt_limit xt_length xt_iprange xt_helper xt_hashlimit xt_DSCP xt_dscp xt_dccp xt_CONNMARK xt_connmark xt_CLASSIFY ipt_LOG iptable_nat nf_nat iptable_mangle nfnetlink coretemp hwmon_vid nfs lockd fscache nfs_acl auth_rp

Jul 31 06:48:35 localhost kernel: cgss sunrpc ip6t_REJECT

nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 dm_multipath uinput snd_hdspm snd_hdsp snd_hda_intel snd_hda_codec snd_usb_audio r8169 snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq mii snd_pcm_oss snd_mixer_oss snd_pcm ohci1394 ppdev snd_hwdep snd_usb_lib snd_rawmidi snd_seq_device snd_timer snd parport_pc i2c_i801 parport snd_page_alloc iTCO_wdt iTCO_vendor_support serio_raw soundcore ata_generic pata_acpi pata_jmicron radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last
unloaded: microcode]

Jul 31 06:48:35 localhost kernel:
Jul 31 06:48:35 localhost kernel: Pid: 50, comm: sirq-net-rx/3 Not
tainted 2.6.33.6-147.rt26.1.fc12.ccrma.i686.rtPAE #1 EP45-DS3R/EP45-DS3R
Jul 31 06:48:35 localhost kernel: EIP: 0060:[<c0791bf7>] EFLAGS:
00010046 CPU: 3
Jul 31 06:48:35 localhost kernel: EIP is at rt_spin_lock_slowlock
+0x43/0x1bb
Jul 31 06:48:35 localhost kernel: EAX: f715c0b0 EBX: c5f85c80 ECX:
c5f85c80 EDX: f715c0b0
Jul 31 06:48:35 localhost kernel: ESI: ed004fc0 EDI: f5fec240 EBP:
f7161dc0 ESP: f7161d68
Jul 31 06:48:35 localhost kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0
SS: 0068 preempt:00000001
Jul 31 06:48:35 localhost kernel: Process sirq-net-rx/3 (pid: 50,
ti=f7160000 task=f715c0b0 task.ti=f7160000)
Jul 31 06:48:35 localhost kernel: Stack:
Jul 31 06:48:35 localhost kernel: f7161e04 c057783d c043a00f 00000039
00000292 c0420002 6d9c675d c5f881c0
Jul 31 06:48:35 localhost kernel: <0> f7161dd0 f7161d94 c041caac
f7161dd8 c0792979 ed7d99f4 c5f881c0 00000002
Jul 31 06:48:35 localhost kernel: <0> 00000000 00000000 00000246
c5f85c80 ed004fc0 f5fec240 f7161dcc c0465595
Jul 31 06:48:35 localhost kernel: Call Trace:
Jul 31 06:48:35 localhost kernel: [<c057783d>] ?
selinux_socket_sock_rcv_skb+0x8f/0x1c7
Jul 31 06:48:35 localhost kernel: [<c043a00f>] ? post_schedule_rt
+0xd/0x14
Jul 31 06:48:35 localhost kernel: [<c0420002>] ? hpet_msi_set_affinity
+0xf/0x75
Jul 31 06:48:35 localhost kernel: [<c041caac>] ?
smp_reschedule_interrupt+0x16/0x20
Jul 31 06:48:35 localhost kernel: [<c0792979>] ? reschedule_interrupt
+0x31/0x38
Jul 31 06:48:35 localhost kernel: [<c0465595>] ?
rt_spin_lock_fastlock.clone.1+0x5c/0x5f
Jul 31 06:48:35 localhost kernel: [<c0792332>] ? rt_spin_lock+0x8/0xa
Jul 31 06:48:35 localhost kernel: [<c075f896>] ? ipt_do_table+0xce/0x4f0
Jul 31 06:48:35 localhost kernel: [<c0791d51>] ? rt_spin_lock_slowlock
+0x19d/0x1bb
Jul 31 06:48:35 localhost kernel: [<c07923eb>] ? rt_read_unlock
+0x13/0x15
Jul 31 06:48:35 localhost kernel: [<c074c0d7>] ? udp_queue_rcv_skb
+0x193/0x1d2
Jul 31 06:48:35 localhost kernel: [<fa6ad0a2>] ? ipt_hook+0x1e/0x24
[iptable_raw]
Jul 31 06:48:35 localhost kernel: [<c0720ceb>] ? nf_iterate+0x2f/0x62
Jul 31 06:48:35 localhost kernel: [<c072d600>] ? ip_rcv_finish+0x0/0x2d9
Jul 31 06:48:35 localhost kernel: [<c0720e44>] ? nf_hook_slow+0x44/0xa1
Jul 31 06:48:35 localhost kernel: [<c072d600>] ? ip_rcv_finish+0x0/0x2d9
Jul 31 06:48:35 localhost kernel: [<c072dae6>] ? ip_rcv+0x20d/0x243
Jul 31 06:48:35 localhost kernel: [<c072d600>] ? ip_rcv_finish+0x0/0x2d9
Jul 31 06:48:35 localhost kernel: [<c07082fc>] ? netif_receive_skb
+0x3ca/0x3ea
Jul 31 06:48:35 localhost kernel: [<c070838f>] ? process_backlog
+0x73/0x9d
Jul 31 06:48:35 localhost kernel: [<c07088ef>] ? net_rx_action
+0x92/0x1a7
Jul 31 06:48:35 localhost kernel: [<c044445e>] ? run_ksoftirqd
+0x138/0x236
Jul 31 06:48:35 localhost kernel: [<c0444326>] ? run_ksoftirqd+0x0/0x236
Jul 31 06:48:35 localhost kernel: [<c04557ae>] ? kthread+0x5f/0x64
Jul 31 06:48:35 localhost kernel: [<c045574f>] ? kthread+0x0/0x64
Jul 31 06:48:35 localhost kernel: [<c040907e>] ? kernel_thread_helper
+0x6/0x10
Jul 31 06:48:35 localhost kernel: Code: 7b 08 00 89 45 b8 75 12 8d 43 04
89 43 04 89 43 08 8d 43 0c 89 43 0c 89 43 10 8b 43 14 64 8b 15 2c b1 a5
c0 83 e0 fc 39 c2 75 04 <0f> 0b eb fe 8b 3a 81 ff 08 01 00 00 74 0a 83
ff 02 b8 04 00 00 
Jul 31 06:48:35 localhost kernel: EIP: [<c0791bf7>]
rt_spin_lock_slowlock+0x43/0x1bb SS:ESP 0068:f7161d68
Jul 31 06:48:35 localhost kernel: ---[ end trace 1f65f0b05c43491f ]---
Jul 31 06:48:35 localhost kernel: note: sirq-net-rx/3[50] exited with

preempt_count 1
--------

There is something fishy going on in rt26 and it appears to be related to network activity.

-- Fernando

Quoted 19 lines
Jul 29 18:27:57 localhost kernel: BUG: unable to handle kernel NULL
pointer dereference at (null)
Jul 29 18:27:57 localhost kernel: IP: [<c045ad40>] exit_creds+0xc/0x54
Jul 29 18:27:57 localhost kernel: *pdpt = 0000000000a68001 *pde =
0000000000000000 
Jul 29 18:27:57 localhost kernel: Oops: 0000 [#1] PREEMPT SMP 
Jul 29 18:27:57 localhost kernel: last sysfs
file: /sys/devices/virtual/net/pan0/statistics/collisions
Jul 29 18:27:57 localhost kernel: Modules linked in: snd_seq_midi

snd_seq_midi_event snd_seq_dummy snd_usb_audio snd_usb_lib snd_rawmidi fuse rfcomm sco bridge stp llc bnep l2cap sunrpc cpufreq_ondemand acpi_cpufreq ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 dm_multipath uinput arc4 snd_hda_codec_analog ecb iwl3945 snd_hda_intel snd_hda_codec iwlcore thinkpad_acpi btusb sdhci_pci sdhci mmc_core snd_hwdep e1000e snd_seq ohci1394 ricoh_mmc snd_seq_device snd_pcm snd_timer snd mac80211 i2c_i801 iTCO_wdt iTCO_vendor_support joydev cfg80211 bluetooth snd_page_alloc rfkill soundcore yenta_socket rsrc_nonstatic i915 drm_kms_helper drm i2c_algo_bit i2c_core video output [last unloaded: microcode]

#3 lore raw

Re: 2.6.33.6-rt26: oops (network related?)

In reply to Fernando Lopez-Lezcano
Quoted 7 lines · Fernando Lopez-Lezcano
Quoted 5 lines · Fernando Lopez-Lezcano

Hi all...
This may not be rt related but here it goes anyway. It happened when I tried to restart my iptables service (/sbin/service iptables start). I think a day or two ago I had another network related hang, but it was a complete hang (no clues left behind - power button to reset).

Quoted 7 lines

Ok this one is rt related (apparently). The workstation (4 core, intel based) hang hard while a process was starting a daily backup but the logs captured the BUG:

--------

Jul 31 06:48:35 localhost kernel: ------------[ cut here ]------------
Jul 31 06:48:35 localhost kernel: kernel BUG at kernel/rtmutex.c:808!

Weird, line 808 is a comment. The BUG_ON in rt_spin_lock_slowlock() is at line 831.

Quoted 2 lines
Jul 31 06:48:35 localhost kernel: [<c0792332>] ? rt_spin_lock+0x8/0xa
Jul 31 06:48:35 localhost kernel: [<c075f896>] ? ipt_do_table+0xce/0x4f0

Yeah, that's the iptables locking problem, which is fixed in rt27.

Thanks,

tglx

#4 lore raw
In reply to Fernando Lopez-Lezcano
Quoted 66 lines · Fernando Lopez-Lezcano

Hi all...
This may not be rt related but here it goes anyway. It happened when I tried to restart my iptables service (/sbin/service iptables start). I think a day or two ago I had another network related hang, but it was a complete hang (no clues left behind - power button to reset).

-- Fernando

Jul 29 18:27:57 localhost kernel: BUG: unable to handle kernel NULL
pointer dereference at (null)
Jul 29 18:27:57 localhost kernel: IP: [<c045ad40>] exit_creds+0xc/0x54
Jul 29 18:27:57 localhost kernel: *pdpt = 0000000000a68001 *pde =
0000000000000000
Jul 29 18:27:57 localhost kernel: Oops: 0000 [#1] PREEMPT SMP
Jul 29 18:27:57 localhost kernel: last sysfs
file: /sys/devices/virtual/net/pan0/statistics/collisions
Jul 29 18:27:57 localhost kernel: Modules linked in: snd_seq_midi

snd_seq_midi_event snd_seq_dummy snd_usb_audio snd_usb_lib snd_rawmidi fuse rfcomm sco bridge stp llc bnep l2cap sunrpc cpufreq_ondemand acpi_cpufreq ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 dm_multipath uinput arc4 snd_hda_codec_analog ecb iwl3945 snd_hda_intel snd_hda_codec iwlcore thinkpad_acpi btusb sdhci_pci sdhci mmc_core snd_hwdep e1000e snd_seq ohci1394 ricoh_mmc snd_seq_device snd_pcm snd_timer snd mac80211 i2c_i801 iTCO_wdt iTCO_vendor_support joydev cfg80211 bluetooth snd_page_alloc rfkill soundcore yenta_socket rsrc_nonstatic i915 drm_kms_helper drm i2c_algo_bit i2c_core video output [last unloaded: microcode]

Jul 29 18:27:57 localhost kernel:
Jul 29 18:27:57 localhost kernel: Pid: 6956, comm: sirq-rcu/1 Not
tainted 2.6.33.6-147.2.4.rt26.1.fc12.ccrma.i686.rtPAE #1 6463CTO/6463CTO
Jul 29 18:27:57 localhost kernel: EIP: 0060:[<c045ad40>] EFLAGS:
00010287 CPU: 1
Jul 29 18:27:57 localhost kernel: EIP is at exit_creds+0xc/0x54
Jul 29 18:27:57 localhost kernel: EAX: 00000000 EBX: f0e1a430 ECX:
f0e1a960 EDX: 00000000
Jul 29 18:27:57 localhost kernel: ESI: c410434c EDI: f0e1a960 EBP:
f3321f38 ESP: f3321f34
Jul 29 18:27:57 localhost kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0
SS: 0068 preempt:00000000
Jul 29 18:27:57 localhost kernel: Process sirq-rcu/1 (pid: 6956,
ti=f3320000 task=f2b92d30 task.ti=f3320000)
Jul 29 18:27:57 localhost kernel: Stack:
Jul 29 18:27:57 localhost kernel: f0e1a430 f3321f44 c043e974 c4104334
f3321f4c c043e9b4 f3321f70 c048507b
Jul 29 18:27:57 localhost kernel: <0> 00000000 00000000 c099bbc0
00000283 c4103fdc c0a5cfec 00000200 f3321f78
Jul 29 18:27:57 localhost kernel: <0> c0485192 f3321fa4 c044445e
c0a5cfec f2b92d30 fffffdff 00000001 00000000
Jul 29 18:27:57 localhost kernel: Call Trace:
Jul 29 18:27:57 localhost kernel: [<c043e974>] ? __put_task_struct
+0x54/0x87
Jul 29 18:27:57 localhost kernel: [<c043e9b4>] ? __put_task_struct_cb
+0xd/0xf
Jul 29 18:27:57 localhost kernel: [<c048507b>] ? __rcu_process_callbacks
+0x153/0x21a
Jul 29 18:27:57 localhost kernel: [<c0485192>] ? rcu_process_callbacks
+0x50/0x57
Jul 29 18:27:57 localhost kernel: [<c044445e>] ? run_ksoftirqd
+0x138/0x236
Jul 29 18:27:57 localhost kernel: [<c0444326>] ? run_ksoftirqd+0x0/0x236
Jul 29 18:27:57 localhost kernel: [<c04557ae>] ? kthread+0x5f/0x64
Jul 29 18:27:57 localhost kernel: [<c045574f>] ? kthread+0x0/0x64
Jul 29 18:27:57 localhost kernel: [<c040907e>] ? kernel_thread_helper

+0x6/0x10

Quoted 9 lines
Jul 29 18:27:57 localhost kernel: Code: 00 00 00 89 f8 e8 cb d7 1d 00 89
f0 e8 bc fd ff ff 89 f0 e8 b5 fd ff ff 31 c0 5b 5e 5f 5d c3 55 89 e5 53
89 c3 8b 80 0c 03 00 00 <8b> 00 8b 83 08 03 00 00 c7 83 08 03 00 00 00
00 00 00 e8 8b fd
Jul 29 18:27:57 localhost kernel: EIP: [<c045ad40>] exit_creds+0xc/0x54
SS:ESP 0068:f3321f34
Jul 29 18:27:57 localhost kernel: CR2: 0000000000000000
Jul 29 18:27:57 localhost kernel: ---[ end trace ebf66505b4c2cac5 ]---

Is this easily reproducible? If so, can you try again with v2.6.33.6-rt28? Thanks

#5 lore raw
Quoted 78 lines · John Kacur
Quoted 66 lines · Fernando Lopez-Lezcano

Hi all...
This may not be rt related but here it goes anyway. It happened when I tried to restart my iptables service (/sbin/service iptables start). I think a day or two ago I had another network related hang, but it was a complete hang (no clues left behind - power button to reset).

-- Fernando

Jul 29 18:27:57 localhost kernel: BUG: unable to handle kernel NULL
pointer dereference at (null)
Jul 29 18:27:57 localhost kernel: IP: [<c045ad40>] exit_creds+0xc/0x54
Jul 29 18:27:57 localhost kernel: *pdpt = 0000000000a68001 *pde =
0000000000000000
Jul 29 18:27:57 localhost kernel: Oops: 0000 [#1] PREEMPT SMP
Jul 29 18:27:57 localhost kernel: last sysfs
file: /sys/devices/virtual/net/pan0/statistics/collisions
Jul 29 18:27:57 localhost kernel: Modules linked in: snd_seq_midi

snd_seq_midi_event snd_seq_dummy snd_usb_audio snd_usb_lib snd_rawmidi fuse rfcomm sco bridge stp llc bnep l2cap sunrpc cpufreq_ondemand acpi_cpufreq ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 dm_multipath uinput arc4 snd_hda_codec_analog ecb iwl3945 snd_hda_intel snd_hda_codec iwlcore thinkpad_acpi btusb sdhci_pci sdhci mmc_core snd_hwdep e1000e snd_seq ohci1394 ricoh_mmc snd_seq_device snd_pcm snd_timer snd mac80211 i2c_i801 iTCO_wdt iTCO_vendor_support joydev cfg80211 bluetooth snd_page_alloc rfkill soundcore yenta_socket rsrc_nonstatic i915 drm_kms_helper drm i2c_algo_bit i2c_core video output [last unloaded: microcode]

Jul 29 18:27:57 localhost kernel:
Jul 29 18:27:57 localhost kernel: Pid: 6956, comm: sirq-rcu/1 Not
tainted 2.6.33.6-147.2.4.rt26.1.fc12.ccrma.i686.rtPAE #1 6463CTO/6463CTO
Jul 29 18:27:57 localhost kernel: EIP: 0060:[<c045ad40>] EFLAGS:
00010287 CPU: 1
Jul 29 18:27:57 localhost kernel: EIP is at exit_creds+0xc/0x54
Jul 29 18:27:57 localhost kernel: EAX: 00000000 EBX: f0e1a430 ECX:
f0e1a960 EDX: 00000000
Jul 29 18:27:57 localhost kernel: ESI: c410434c EDI: f0e1a960 EBP:
f3321f38 ESP: f3321f34
Jul 29 18:27:57 localhost kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0
SS: 0068 preempt:00000000
Jul 29 18:27:57 localhost kernel: Process sirq-rcu/1 (pid: 6956,
ti=f3320000 task=f2b92d30 task.ti=f3320000)
Jul 29 18:27:57 localhost kernel: Stack:
Jul 29 18:27:57 localhost kernel: f0e1a430 f3321f44 c043e974 c4104334
f3321f4c c043e9b4 f3321f70 c048507b
Jul 29 18:27:57 localhost kernel: <0> 00000000 00000000 c099bbc0
00000283 c4103fdc c0a5cfec 00000200 f3321f78
Jul 29 18:27:57 localhost kernel: <0> c0485192 f3321fa4 c044445e
c0a5cfec f2b92d30 fffffdff 00000001 00000000
Jul 29 18:27:57 localhost kernel: Call Trace:
Jul 29 18:27:57 localhost kernel: [<c043e974>] ? __put_task_struct
+0x54/0x87
Jul 29 18:27:57 localhost kernel: [<c043e9b4>] ? __put_task_struct_cb
+0xd/0xf
Jul 29 18:27:57 localhost kernel: [<c048507b>] ? __rcu_process_callbacks
+0x153/0x21a
Jul 29 18:27:57 localhost kernel: [<c0485192>] ? rcu_process_callbacks
+0x50/0x57
Jul 29 18:27:57 localhost kernel: [<c044445e>] ? run_ksoftirqd
+0x138/0x236
Jul 29 18:27:57 localhost kernel: [<c0444326>] ? run_ksoftirqd+0x0/0x236
Jul 29 18:27:57 localhost kernel: [<c04557ae>] ? kthread+0x5f/0x64
Jul 29 18:27:57 localhost kernel: [<c045574f>] ? kthread+0x0/0x64
Jul 29 18:27:57 localhost kernel: [<c040907e>] ? kernel_thread_helper

+0x6/0x10

Quoted 9 lines
Jul 29 18:27:57 localhost kernel: Code: 00 00 00 89 f8 e8 cb d7 1d 00 89
f0 e8 bc fd ff ff 89 f0 e8 b5 fd ff ff 31 c0 5b 5e 5f 5d c3 55 89 e5 53
89 c3 8b 80 0c 03 00 00 <8b> 00 8b 83 08 03 00 00 c7 83 08 03 00 00 00
00 00 00 e8 8b fd
Jul 29 18:27:57 localhost kernel: EIP: [<c045ad40>] exit_creds+0xc/0x54
SS:ESP 0068:f3321f34
Jul 29 18:27:57 localhost kernel: CR2: 0000000000000000
Jul 29 18:27:57 localhost kernel: ---[ end trace ebf66505b4c2cac5 ]---
Quoted 3 lines

Is this easily reproducible? If so, can you try again with v2.6.33.6-rt28? Thanks

Ugh, sorry for the noise, I didn't see the other thread in which Thomas says "Yeah, that's the iptables locking problem, which is fixed in rt27." More coffee needed.

John