2.6.33.3-rt19 kernel BUG's
See below... just trying to boot (quad core desktop machine).
-- Fernando
May 6 18:23:36 localhost kernel: ------------[ cut here ]------------ May 6 18:23:36 localhost kernel: kernel BUG at kernel/rtmutex.c:808! May 6 18:23:36 localhost kernel: invalid opcode: 0000 [#1] PREEMPT SMP May 6 18:23:36 localhost kernel: last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map May 6 18:23:36 localhost kernel: Modules linked in: autofs4 xt_time
xt_connlimit xt_realm iptable_raw xt_comment xt_policy ipt_ULOG ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE ipt_LOG 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_tcpmss xt_recent 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 iptable_nat nf_nat iptable_mangle nfnetlink coretemp hwmon_vid nfs lockd fscache nfs_acl auth_rpcgss sunrpc ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq dm_mul
May 6 18:23:36 localhost kernel: tipath uinput snd_hda_codec_realtek
snd_ice1712 snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_hda_intel snd_cs8427 snd_hda_codec snd_ac97_codec snd_hwdep snd_seq snd_pcm ac97_bus snd_i2c snd_mpu401_uart snd_rawmidi joydev asus_atk0110 snd_seq_device snd_timer snd ohci1394 iTCO_wdt sata_sil24 soundcore i2c_i801 snd_page_alloc iTCO_vendor_support sky2 serio_raw ata_generic pata_acpi radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: microcode]
May 6 18:23:36 localhost kernel: May 6 18:23:36 localhost kernel: Pid: 4100, comm: gdm-session-wor Not tainted 2.6.33.3-84.rt19.1.fc11.ccrma.i686.rtPAE #1 P5K/EPU/P5K/EPU May 6 18:23:36 localhost kernel: EIP: 0060:[<c079201b>] EFLAGS: 00210046 CPU: 1 May 6 18:23:36 localhost kernel: EIP is at rt_spin_lock_slowlock +0x43/0x1bb May 6 18:23:36 localhost kernel: EAX: f33620f0 EBX: fba27f00 ECX: fba27f00 EDX: f33620f0 May 6 18:23:36 localhost kernel: ESI: f33f2940 EDI: f2859910 EBP: f01b5db4 ESP: f01b5d5c May 6 18:23:36 localhost kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 preempt:00000001 May 6 18:23:36 localhost kernel: Process gdm-session-wor (pid: 4100, ti=f01b4000 task=f33620f0 task.ti=f01b4000) May 6 18:23:36 localhost kernel: Stack: May 6 18:23:36 localhost kernel: ffffffff 00000001 00000000 f01b5d90 00200296 f01b5df0 00200246 c58857f4 May 6 18:23:36 localhost kernel: <0> c0a607f4 c58857f4 f01b5d90 c0464f73 c5885810 f01b5d98 c0792766 f01b5db0 May 6 18:23:36 localhost kernel: <0> 00000000 f01b5da0 00200246 fba27f00 f33f2940 f2859910 f01b5dc0 c0464fa9 May 6 18:23:36 localhost kernel: Call Trace: May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c0464fa9>] ? rt_spin_lock_fastlock.clone.1+0x5c/0x5f May 6 18:23:36 localhost kernel: [<c0792752>] ? rt_spin_lock+0x8/0xa May 6 18:23:36 localhost kernel: [<fba24f1f>] ? autofs4_revalidate +0x24b/0x263 [autofs4] May 6 18:23:36 localhost kernel: [<c04d91a9>] ? do_revalidate+0xc/0x3a May 6 18:23:36 localhost kernel: [<c04d92ee>] ? do_lookup+0x117/0x137 May 6 18:23:36 localhost kernel: [<c0572222>] ? security_inode_permission+0x1a/0x20 May 6 18:23:36 localhost kernel: [<c04d98cf>] ? link_path_walk +0x20b/0x4fc May 6 18:23:36 localhost kernel: [<c04d9cc7>] ? path_walk+0x3a/0x84 May 6 18:23:36 localhost kernel: [<c04db08b>] ? path_init+0x6e/0x10c May 6 18:23:36 localhost kernel: [<c04db24d>] ? do_path_lookup +0x124/0x186 May 6 18:23:36 localhost kernel: [<c04db3c4>] ? do_filp_open+0xd1/0x817 May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c04d0975>] ? do_sys_open+0x48/0xdf May 6 18:23:36 localhost kernel: [<c07951fe>] ? do_page_fault +0x26e/0x2b3 May 6 18:23:36 localhost kernel: [<c04d0a4e>] ? sys_open+0x1e/0x26 May 6 18:23:36 localhost kernel: [<c040895f>] ? sysenter_do_call +0x12/0x28 May 6 18:23:36 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 d1 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 May 6 18:23:36 localhost kernel: EIP: [<c079201b>] rt_spin_lock_slowlock+0x43/0x1bb SS:ESP 0068:f01b5d5c May 6 18:23:36 localhost kernel: ---[ end trace 7d2af8ee67c50871 ]--- May 6 18:23:36 localhost kernel: note: gdm-session-wor[4100] exited with preempt_count 1 May 6 18:23:36 localhost kernel: BUG: scheduling while atomic: gdm-session-wor/0x10000001/4100, CPU#1 May 6 18:23:36 localhost kernel: Modules linked in: autofs4 xt_time
xt_connlimit xt_realm iptable_raw xt_comment xt_policy ipt_ULOG ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE ipt_LOG 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_tcpmss xt_recent 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 iptable_nat nf_nat iptable_mangle nfnetlink coretemp hwmon_vid nfs lockd fscache nfs_acl auth_rpcgss sunrpc ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq dm_mul
May 6 18:23:36 localhost kernel: tipath uinput snd_hda_codec_realtek
snd_ice1712 snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_hda_intel snd_cs8427 snd_hda_codec snd_ac97_codec snd_hwdep snd_seq snd_pcm ac97_bus snd_i2c snd_mpu401_uart snd_rawmidi joydev asus_atk0110 snd_seq_device snd_timer snd ohci1394 iTCO_wdt sata_sil24 soundcore i2c_i801 snd_page_alloc iTCO_vendor_support sky2 serio_raw ata_generic pata_acpi radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: microcode]
May 6 18:23:36 localhost kernel: Pid: 4100, comm: gdm-session-wor Tainted: G D 2.6.33.3-84.rt19.1.fc11.ccrma.i686.rtPAE #1 May 6 18:23:36 localhost kernel: Call Trace: May 6 18:23:36 localhost kernel: [<c0435cbd>] __schedule_bug+0x54/0x59 May 6 18:23:36 localhost kernel: [<c0790e99>] __schedule+0x66/0x7d7 May 6 18:23:36 localhost kernel: [<c04a5e7a>] ? list_add+0xa/0xc May 6 18:23:36 localhost kernel: [<c04a65df>] ? __free_one_page +0xfd/0x14e May 6 18:23:36 localhost kernel: [<c07916ef>] schedule+0xe/0x1f May 6 18:23:36 localhost kernel: [<c0439e7b>] __cond_resched+0x16/0x2f May 6 18:23:36 localhost kernel: [<c0439eb3>] __cond_resched_lock +0x1f/0x2e May 6 18:23:36 localhost kernel: [<c04a67b6>] free_pcppages_bulk +0xbe/0xfc May 6 18:23:36 localhost kernel: [<c04a7503>] free_hot_cold_page +0x15c/0x186 May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c04a758d>] __pagevec_free+0x60/0x6d May 6 18:23:36 localhost kernel: [<c04a9c04>] release_pages+0xbc/0xf3 May 6 18:23:36 localhost kernel: [<c04c1961>] free_pages_and_swap_cache +0x43/0x50 May 6 18:23:36 localhost kernel: [<c04baa1b>] tlb_finish_mmu+0x2a/0x67 May 6 18:23:36 localhost kernel: [<c04babee>] exit_mmap+0xa2/0xc5 May 6 18:23:36 localhost kernel: [<c043cb5d>] mmput+0x41/0xa4 May 6 18:23:36 localhost kernel: [<c04405f4>] exit_mm+0x103/0x10b May 6 18:23:36 localhost kernel: [<c0441e73>] do_exit+0x1a8/0x5dc May 6 18:23:36 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c043f748>] ? kmsg_dump+0xde/0xe6 May 6 18:23:36 localhost kernel: [<c0793c40>] oops_end+0x99/0xa1 May 6 18:23:36 localhost kernel: [<c040ae57>] die+0x53/0x59 May 6 18:23:36 localhost kernel: [<c079356b>] do_trap+0x89/0xa2 May 6 18:23:36 localhost kernel: [<c04092c0>] ? do_invalid_op+0x0/0x80 May 6 18:23:36 localhost kernel: [<c0409336>] do_invalid_op+0x76/0x80 May 6 18:23:36 localhost kernel: [<c079201b>] ? rt_spin_lock_slowlock +0x43/0x1bb May 6 18:23:36 localhost kernel: [<c04c9391>] ? slab_irq_enable +0x4c/0x6d May 6 18:23:36 localhost kernel: [<c05760a7>] ? avc_alloc_node +0x18/0x18c May 6 18:23:36 localhost kernel: [<c0575bd8>] ? rcu_read_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c05765b0>] ? avc_has_perm_noaudit +0x395/0x3cf May 6 18:23:36 localhost kernel: [<c0793317>] error_code+0x73/0x78 May 6 18:23:36 localhost kernel: [<c079201b>] ? rt_spin_lock_slowlock +0x43/0x1bb May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c0464fa9>] rt_spin_lock_fastlock.clone.1+0x5c/0x5f May 6 18:23:36 localhost kernel: [<c0792752>] rt_spin_lock+0x8/0xa May 6 18:23:36 localhost kernel: [<fba24f1f>] autofs4_revalidate +0x24b/0x263 [autofs4] May 6 18:23:36 localhost kernel: [<c04d91a9>] do_revalidate+0xc/0x3a May 6 18:23:36 localhost kernel: [<c04d92ee>] do_lookup+0x117/0x137 May 6 18:23:36 localhost kernel: [<c0572222>] ? security_inode_permission+0x1a/0x20 May 6 18:23:36 localhost kernel: [<c04d98cf>] link_path_walk +0x20b/0x4fc May 6 18:23:36 localhost kernel: [<c04d9cc7>] path_walk+0x3a/0x84 May 6 18:23:36 localhost kernel: [<c04db08b>] ? path_init+0x6e/0x10c May 6 18:23:36 localhost kernel: [<c04db24d>] do_path_lookup +0x124/0x186 May 6 18:23:36 localhost kernel: [<c04db3c4>] do_filp_open+0xd1/0x817 May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c04d0975>] do_sys_open+0x48/0xdf May 6 18:23:36 localhost kernel: [<c07951fe>] ? do_page_fault +0x26e/0x2b3 May 6 18:23:36 localhost kernel: [<c04d0a4e>] sys_open+0x1e/0x26 May 6 18:23:36 localhost kernel: [<c040895f>] sysenter_do_call +0x12/0x28 May 6 18:23:42 localhost kernel: ------------[ cut here ]------------ May 6 18:23:42 localhost kernel: kernel BUG at kernel/rtmutex.c:808! May 6 18:23:42 localhost kernel: invalid opcode: 0000 [#2] PREEMPT SMP May 6 18:23:42 localhost kernel: last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map May 6 18:23:42 localhost kernel: Modules linked in: autofs4 xt_time
xt_connlimit xt_realm iptable_raw xt_comment xt_policy ipt_ULOG ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE ipt_LOG 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_tcpmss xt_recent 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 iptable_nat nf_nat iptable_mangle nfnetlink coretemp hwmon_vid nfs lockd fscache nfs_acl auth_rpcgss sunrpc ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq dm_mul
May 6 18:23:42 localhost kernel: tipath uinput snd_hda_codec_realtek
snd_ice1712 snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_hda_intel snd_cs8427 snd_hda_codec snd_ac97_codec snd_hwdep snd_seq snd_pcm ac97_bus snd_i2c snd_mpu401_uart snd_rawmidi joydev asus_atk0110 snd_seq_device snd_timer snd ohci1394 iTCO_wdt sata_sil24 soundcore i2c_i801 snd_page_alloc iTCO_vendor_support sky2 serio_raw ata_generic pata_acpi radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: microcode]
May 6 18:23:42 localhost kernel: May 6 18:23:42 localhost kernel: Pid: 4109, comm: gdm-session-wor Tainted: G D 2.6.33.3-84.rt19.1.fc11.ccrma.i686.rtPAE #1 P5K/EPU/P5K/EPU May 6 18:23:42 localhost kernel: EIP: 0060:[<c079201b>] EFLAGS: 00210046 CPU: 1 May 6 18:23:42 localhost kernel: EIP is at rt_spin_lock_slowlock +0x43/0x1bb May 6 18:23:42 localhost kernel: EAX: f33620f0 EBX: f2859910 ECX: f2859910 EDX: f33620f0 May 6 18:23:42 localhost kernel: ESI: f33f2940 EDI: f2859910 EBP: f021bdb4 ESP: f021bd5c May 6 18:23:42 localhost kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 preempt:00000001 May 6 18:23:42 localhost kernel: Process gdm-session-wor (pid: 4109, ti=f021a000 task=f33620f0 task.ti=f021a000) May 6 18:23:42 localhost kernel: Stack: May 6 18:23:42 localhost kernel: ffffffff 00000001 00000000 f021bd90 00200296 f021bdf0 00200246 c58857f4 May 6 18:23:42 localhost kernel: <0> c0a607f4 c58857f4 f021bd90 c0464f73 c5885810 f021bd98 c0792766 f021bdb0 May 6 18:23:42 localhost kernel: <0> 00000000 00200246 00200246 f2859910 f33f2940 f2859910 f021bdc0 c0464fa9 May 6 18:23:42 localhost kernel: Call Trace: May 6 18:23:42 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:42 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:42 localhost kernel: [<c0464fa9>] ? rt_spin_lock_fastlock.clone.1+0x5c/0x5f May 6 18:23:42 localhost kernel: [<c0792752>] ? rt_spin_lock+0x8/0xa May 6 18:23:42 localhost kernel: [<fba24dbc>] ? autofs4_revalidate +0xe8/0x263 [autofs4] May 6 18:23:42 localhost kernel: [<c04d91a9>] ? do_revalidate+0xc/0x3a May 6 18:23:42 localhost kernel: [<c04d92ee>] ? do_lookup+0x117/0x137 May 6 18:23:42 localhost kernel: [<c0572222>] ? security_inode_permission+0x1a/0x20 May 6 18:23:42 localhost kernel: [<c04d98cf>] ? link_path_walk +0x20b/0x4fc May 6 18:23:42 localhost kernel: [<c04d9cc7>] ? path_walk+0x3a/0x84 May 6 18:23:42 localhost kernel: [<c04db08b>] ? path_init+0x6e/0x10c May 6 18:23:42 localhost kernel: [<c04db24d>] ? do_path_lookup +0x124/0x186 May 6 18:23:42 localhost kernel: [<c04db3c4>] ? do_filp_open+0xd1/0x817 May 6 18:23:42 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:42 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:42 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:42 localhost kernel: [<c04d0975>] ? do_sys_open+0x48/0xdf May 6 18:23:42 localhost kernel: [<c07951fe>] ? do_page_fault +0x26e/0x2b3 May 6 18:23:42 localhost kernel: [<c04d0a4e>] ? sys_open+0x1e/0x26 May 6 18:23:42 localhost kernel: [<c040895f>] ? sysenter_do_call +0x12/0x28 May 6 18:23:42 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 d1 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 May 6 18:23:42 localhost kernel: EIP: [<c079201b>] rt_spin_lock_slowlock+0x43/0x1bb SS:ESP 0068:f021bd5c May 6 18:23:42 localhost kernel: ---[ end trace 7d2af8ee67c50872 ]--- May 6 18:23:42 localhost kernel: note: gdm-session-wor[4109] exited
with preempt_count 1
On Thu, 6 May 2010, Fernando Lopez-Lezcano wrote:
CC'ed John and Nick
Quoted 289 lines
See below... just trying to boot (quad core desktop machine).
-- Fernando
May 6 18:23:36 localhost kernel: ------------[ cut here ]------------ May 6 18:23:36 localhost kernel: kernel BUG at kernel/rtmutex.c:808! May 6 18:23:36 localhost kernel: invalid opcode: 0000 [#1] PREEMPT SMP May 6 18:23:36 localhost kernel: last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map May 6 18:23:36 localhost kernel: Modules linked in: autofs4 xt_time
xt_connlimitxt_realmiptable_rawxt_commentxt_policyipt_ULOGipt_REDIRECTipt_NETMAPipt_MASQUERADEipt_LOGipt_ECNipt_ecnipt_CLUSTERIPipt_ahipt_addrtypenf_nat_tftpnf_nat_snmp_basicnf_nat_sipnf_nat_pptpnf_nat_proto_grenf_nat_ircnf_nat_h323nf_nat_ftpnf_nat_amandats_kmpnf_conntrack_amandanf_conntrack_sanenf_conntrack_tftpnf_conntrack_sipnf_conntrack_proto_sctpnf_conntrack_pptpnf_conntrack_proto_grenf_conntrack_netlinknf_conntrack_netbios_nsnf_conntrack_ircnf_conntrack_h323nf_conntrack_ftpxt_tcpmssxt_recentxt_pkttypext_physdevxt_ownerxt_NFQUEUExt_NFLOGnfnetlink_logxt_multiportxt_MARKxt_markxt_macxt_limitxt_lengthxt_iprangext_helperxt_hashlimitxt_DSCPxt_dscpxt_dccpxt_CONNMARKxt_connmarkxt_CLASSIFYiptable_natnf_natiptable_manglenfnetlink coretemphwmon_vidnfs lockd fscachenfs_aclauth_rpcgsssunrpcip6t_REJECTnf_conntrack_ipv6ip6table_filterip6_tablesipv6cpufreq_ondemandacpi_cpufreqdm_mulMay 6 18:23:36 localhost kernel: tipath uinput snd_hda_codec_realtek
snd_ice1712snd_ice17xx_ak4xxxsnd_ak4xxx_addasnd_hda_intelsnd_cs8427snd_hda_codecsnd_ac97_codecsnd_hwdepsnd_seqsnd_pcmac97_bussnd_i2csnd_mpu401_uartsnd_rawmidijoydevasus_atk0110snd_seq_devicesnd_timersnd ohci1394iTCO_wdtsata_sil24soundcorei2c_i801snd_page_allociTCO_vendor_supportsky2serio_rawata_genericpata_acpiradeon ttmdrm_kms_helperdrmi2c_algo_biti2c_core[last unloaded: microcode]May 6 18:23:36 localhost kernel: May 6 18:23:36 localhost kernel: Pid: 4100, comm: gdm-session-wor Not tainted 2.6.33.3-84.rt19.1.fc11.ccrma.i686.rtPAE #1 P5K/EPU/P5K/EPU May 6 18:23:36 localhost kernel: EIP: 0060:[<c079201b>] EFLAGS: 00210046 CPU: 1 May 6 18:23:36 localhost kernel: EIP is at rt_spin_lock_slowlock +0x43/0x1bb May 6 18:23:36 localhost kernel: EAX: f33620f0 EBX: fba27f00 ECX: fba27f00 EDX: f33620f0 May 6 18:23:36 localhost kernel: ESI: f33f2940 EDI: f2859910 EBP: f01b5db4 ESP: f01b5d5c May 6 18:23:36 localhost kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 preempt:00000001 May 6 18:23:36 localhost kernel: Process gdm-session-wor (pid: 4100, ti=f01b4000 task=f33620f0 task.ti=f01b4000) May 6 18:23:36 localhost kernel: Stack: May 6 18:23:36 localhost kernel: ffffffff 00000001 00000000 f01b5d90 00200296 f01b5df0 00200246 c58857f4 May 6 18:23:36 localhost kernel: <0> c0a607f4 c58857f4 f01b5d90 c0464f73 c5885810 f01b5d98 c0792766 f01b5db0 May 6 18:23:36 localhost kernel: <0> 00000000 f01b5da0 00200246 fba27f00 f33f2940 f2859910 f01b5dc0 c0464fa9 May 6 18:23:36 localhost kernel: Call Trace: May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c0464fa9>] ? rt_spin_lock_fastlock.clone.1+0x5c/0x5f May 6 18:23:36 localhost kernel: [<c0792752>] ? rt_spin_lock+0x8/0xa May 6 18:23:36 localhost kernel: [<fba24f1f>] ? autofs4_revalidate +0x24b/0x263 [autofs4] May 6 18:23:36 localhost kernel: [<c04d91a9>] ? do_revalidate+0xc/0x3a May 6 18:23:36 localhost kernel: [<c04d92ee>] ? do_lookup+0x117/0x137 May 6 18:23:36 localhost kernel: [<c0572222>] ? security_inode_permission+0x1a/0x20 May 6 18:23:36 localhost kernel: [<c04d98cf>] ? link_path_walk +0x20b/0x4fc May 6 18:23:36 localhost kernel: [<c04d9cc7>] ? path_walk+0x3a/0x84 May 6 18:23:36 localhost kernel: [<c04db08b>] ? path_init+0x6e/0x10c May 6 18:23:36 localhost kernel: [<c04db24d>] ? do_path_lookup +0x124/0x186 May 6 18:23:36 localhost kernel: [<c04db3c4>] ? do_filp_open+0xd1/0x817 May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c04d0975>] ? do_sys_open+0x48/0xdf May 6 18:23:36 localhost kernel: [<c07951fe>] ? do_page_fault +0x26e/0x2b3 May 6 18:23:36 localhost kernel: [<c04d0a4e>] ? sys_open+0x1e/0x26 May 6 18:23:36 localhost kernel: [<c040895f>] ? sysenter_do_call +0x12/0x28 May 6 18:23:36 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 d1 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 May 6 18:23:36 localhost kernel: EIP: [<c079201b>] rt_spin_lock_slowlock+0x43/0x1bb SS:ESP 0068:f01b5d5c May 6 18:23:36 localhost kernel: ---[ end trace 7d2af8ee67c50871 ]--- May 6 18:23:36 localhost kernel: note: gdm-session-wor[4100] exited with preempt_count 1 May 6 18:23:36 localhost kernel: BUG: scheduling while atomic: gdm-session-wor/0x10000001/4100, CPU#1 May 6 18:23:36 localhost kernel: Modules linked in: autofs4 xt_time
xt_connlimitxt_realmiptable_rawxt_commentxt_policyipt_ULOGipt_REDIRECTipt_NETMAPipt_MASQUERADEipt_LOGipt_ECNipt_ecnipt_CLUSTERIPipt_ahipt_addrtypenf_nat_tftpnf_nat_snmp_basicnf_nat_sipnf_nat_pptpnf_nat_proto_grenf_nat_ircnf_nat_h323nf_nat_ftpnf_nat_amandats_kmpnf_conntrack_amandanf_conntrack_sanenf_conntrack_tftpnf_conntrack_sipnf_conntrack_proto_sctpnf_conntrack_pptpnf_conntrack_proto_grenf_conntrack_netlinknf_conntrack_netbios_nsnf_conntrack_ircnf_conntrack_h323nf_conntrack_ftpxt_tcpmssxt_recentxt_pkttypext_physdevxt_ownerxt_NFQUEUExt_NFLOGnfnetlink_logxt_multiportxt_MARKxt_markxt_macxt_limitxt_lengthxt_iprangext_helperxt_hashlimitxt_DSCPxt_dscpxt_dccpxt_CONNMARKxt_connmarkxt_CLASSIFYiptable_natnf_natiptable_manglenfnetlink coretemphwmon_vidnfs lockd fscachenfs_aclauth_rpcgsssunrpcip6t_REJECTnf_conntrack_ipv6ip6table_filterip6_tablesipv6cpufreq_ondemandacpi_cpufreqdm_mulMay 6 18:23:36 localhost kernel: tipath uinput snd_hda_codec_realtek
snd_ice1712snd_ice17xx_ak4xxxsnd_ak4xxx_addasnd_hda_intelsnd_cs8427snd_hda_codecsnd_ac97_codecsnd_hwdepsnd_seqsnd_pcmac97_bussnd_i2csnd_mpu401_uartsnd_rawmidijoydevasus_atk0110snd_seq_devicesnd_timersnd ohci1394iTCO_wdtsata_sil24soundcorei2c_i801snd_page_allociTCO_vendor_supportsky2serio_rawata_genericpata_acpiradeon ttmdrm_kms_helperdrmi2c_algo_biti2c_core[last unloaded: microcode]May 6 18:23:36 localhost kernel: Pid: 4100, comm: gdm-session-wor Tainted: G D 2.6.33.3-84.rt19.1.fc11.ccrma.i686.rtPAE #1 May 6 18:23:36 localhost kernel: Call Trace: May 6 18:23:36 localhost kernel: [<c0435cbd>] __schedule_bug+0x54/0x59 May 6 18:23:36 localhost kernel: [<c0790e99>] __schedule+0x66/0x7d7 May 6 18:23:36 localhost kernel: [<c04a5e7a>] ? list_add+0xa/0xc May 6 18:23:36 localhost kernel: [<c04a65df>] ? __free_one_page +0xfd/0x14e May 6 18:23:36 localhost kernel: [<c07916ef>] schedule+0xe/0x1f May 6 18:23:36 localhost kernel: [<c0439e7b>] __cond_resched+0x16/0x2f May 6 18:23:36 localhost kernel: [<c0439eb3>] __cond_resched_lock +0x1f/0x2e May 6 18:23:36 localhost kernel: [<c04a67b6>] free_pcppages_bulk +0xbe/0xfc May 6 18:23:36 localhost kernel: [<c04a7503>] free_hot_cold_page +0x15c/0x186 May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c04a758d>] __pagevec_free+0x60/0x6d May 6 18:23:36 localhost kernel: [<c04a9c04>] release_pages+0xbc/0xf3 May 6 18:23:36 localhost kernel: [<c04c1961>] free_pages_and_swap_cache +0x43/0x50 May 6 18:23:36 localhost kernel: [<c04baa1b>] tlb_finish_mmu+0x2a/0x67 May 6 18:23:36 localhost kernel: [<c04babee>] exit_mmap+0xa2/0xc5 May 6 18:23:36 localhost kernel: [<c043cb5d>] mmput+0x41/0xa4 May 6 18:23:36 localhost kernel: [<c04405f4>] exit_mm+0x103/0x10b May 6 18:23:36 localhost kernel: [<c0441e73>] do_exit+0x1a8/0x5dc May 6 18:23:36 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c043f748>] ? kmsg_dump+0xde/0xe6 May 6 18:23:36 localhost kernel: [<c0793c40>] oops_end+0x99/0xa1 May 6 18:23:36 localhost kernel: [<c040ae57>] die+0x53/0x59 May 6 18:23:36 localhost kernel: [<c079356b>] do_trap+0x89/0xa2 May 6 18:23:36 localhost kernel: [<c04092c0>] ? do_invalid_op+0x0/0x80 May 6 18:23:36 localhost kernel: [<c0409336>] do_invalid_op+0x76/0x80 May 6 18:23:36 localhost kernel: [<c079201b>] ? rt_spin_lock_slowlock +0x43/0x1bb May 6 18:23:36 localhost kernel: [<c04c9391>] ? slab_irq_enable +0x4c/0x6d May 6 18:23:36 localhost kernel: [<c05760a7>] ? avc_alloc_node +0x18/0x18c May 6 18:23:36 localhost kernel: [<c0575bd8>] ? rcu_read_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c05765b0>] ? avc_has_perm_noaudit +0x395/0x3cf May 6 18:23:36 localhost kernel: [<c0793317>] error_code+0x73/0x78 May 6 18:23:36 localhost kernel: [<c079201b>] ? rt_spin_lock_slowlock +0x43/0x1bb May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c0464fa9>] rt_spin_lock_fastlock.clone.1+0x5c/0x5f May 6 18:23:36 localhost kernel: [<c0792752>] rt_spin_lock+0x8/0xa May 6 18:23:36 localhost kernel: [<fba24f1f>] autofs4_revalidate +0x24b/0x263 [autofs4] May 6 18:23:36 localhost kernel: [<c04d91a9>] do_revalidate+0xc/0x3a May 6 18:23:36 localhost kernel: [<c04d92ee>] do_lookup+0x117/0x137 May 6 18:23:36 localhost kernel: [<c0572222>] ? security_inode_permission+0x1a/0x20 May 6 18:23:36 localhost kernel: [<c04d98cf>] link_path_walk +0x20b/0x4fc May 6 18:23:36 localhost kernel: [<c04d9cc7>] path_walk+0x3a/0x84 May 6 18:23:36 localhost kernel: [<c04db08b>] ? path_init+0x6e/0x10c May 6 18:23:36 localhost kernel: [<c04db24d>] do_path_lookup +0x124/0x186 May 6 18:23:36 localhost kernel: [<c04db3c4>] do_filp_open+0xd1/0x817 May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:36 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:36 localhost kernel: [<c04d0975>] do_sys_open+0x48/0xdf May 6 18:23:36 localhost kernel: [<c07951fe>] ? do_page_fault +0x26e/0x2b3 May 6 18:23:36 localhost kernel: [<c04d0a4e>] sys_open+0x1e/0x26 May 6 18:23:36 localhost kernel: [<c040895f>] sysenter_do_call +0x12/0x28 May 6 18:23:42 localhost kernel: ------------[ cut here ]------------ May 6 18:23:42 localhost kernel: kernel BUG at kernel/rtmutex.c:808! May 6 18:23:42 localhost kernel: invalid opcode: 0000 [#2] PREEMPT SMP May 6 18:23:42 localhost kernel: last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map May 6 18:23:42 localhost kernel: Modules linked in: autofs4 xt_time
xt_connlimitxt_realmiptable_rawxt_commentxt_policyipt_ULOGipt_REDIRECTipt_NETMAPipt_MASQUERADEipt_LOGipt_ECNipt_ecnipt_CLUSTERIPipt_ahipt_addrtypenf_nat_tftpnf_nat_snmp_basicnf_nat_sipnf_nat_pptpnf_nat_proto_grenf_nat_ircnf_nat_h323nf_nat_ftpnf_nat_amandats_kmpnf_conntrack_amandanf_conntrack_sanenf_conntrack_tftpnf_conntrack_sipnf_conntrack_proto_sctpnf_conntrack_pptpnf_conntrack_proto_grenf_conntrack_netlinknf_conntrack_netbios_nsnf_conntrack_ircnf_conntrack_h323nf_conntrack_ftpxt_tcpmssxt_recentxt_pkttypext_physdevxt_ownerxt_NFQUEUExt_NFLOGnfnetlink_logxt_multiportxt_MARKxt_markxt_macxt_limitxt_lengthxt_iprangext_helperxt_hashlimitxt_DSCPxt_dscpxt_dccpxt_CONNMARKxt_connmarkxt_CLASSIFYiptable_natnf_natiptable_manglenfnetlink coretemphwmon_vidnfs lockd fscachenfs_aclauth_rpcgsssunrpcip6t_REJECTnf_conntrack_ipv6ip6table_filterip6_tablesipv6cpufreq_ondemandacpi_cpufreqdm_mulMay 6 18:23:42 localhost kernel: tipath uinput snd_hda_codec_realtek
snd_ice1712snd_ice17xx_ak4xxxsnd_ak4xxx_addasnd_hda_intelsnd_cs8427snd_hda_codecsnd_ac97_codecsnd_hwdepsnd_seqsnd_pcmac97_bussnd_i2csnd_mpu401_uartsnd_rawmidijoydevasus_atk0110snd_seq_devicesnd_timersnd ohci1394iTCO_wdtsata_sil24soundcorei2c_i801snd_page_allociTCO_vendor_supportsky2serio_rawata_genericpata_acpiradeon ttmdrm_kms_helperdrmi2c_algo_biti2c_core[last unloaded: microcode]May 6 18:23:42 localhost kernel: May 6 18:23:42 localhost kernel: Pid: 4109, comm: gdm-session-wor Tainted: G D 2.6.33.3-84.rt19.1.fc11.ccrma.i686.rtPAE #1 P5K/EPU/P5K/EPU May 6 18:23:42 localhost kernel: EIP: 0060:[<c079201b>] EFLAGS: 00210046 CPU: 1 May 6 18:23:42 localhost kernel: EIP is at rt_spin_lock_slowlock +0x43/0x1bb May 6 18:23:42 localhost kernel: EAX: f33620f0 EBX: f2859910 ECX: f2859910 EDX: f33620f0 May 6 18:23:42 localhost kernel: ESI: f33f2940 EDI: f2859910 EBP: f021bdb4 ESP: f021bd5c May 6 18:23:42 localhost kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 preempt:00000001 May 6 18:23:42 localhost kernel: Process gdm-session-wor (pid: 4109, ti=f021a000 task=f33620f0 task.ti=f021a000) May 6 18:23:42 localhost kernel: Stack: May 6 18:23:42 localhost kernel: ffffffff 00000001 00000000 f021bd90 00200296 f021bdf0 00200246 c58857f4 May 6 18:23:42 localhost kernel: <0> c0a607f4 c58857f4 f021bd90 c0464f73 c5885810 f021bd98 c0792766 f021bdb0 May 6 18:23:42 localhost kernel: <0> 00000000 00200246 00200246 f2859910 f33f2940 f2859910 f021bdc0 c0464fa9 May 6 18:23:42 localhost kernel: Call Trace: May 6 18:23:42 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:42 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:42 localhost kernel: [<c0464fa9>] ? rt_spin_lock_fastlock.clone.1+0x5c/0x5f May 6 18:23:42 localhost kernel: [<c0792752>] ? rt_spin_lock+0x8/0xa May 6 18:23:42 localhost kernel: [<fba24dbc>] ? autofs4_revalidate +0xe8/0x263 [autofs4] May 6 18:23:42 localhost kernel: [<c04d91a9>] ? do_revalidate+0xc/0x3a May 6 18:23:42 localhost kernel: [<c04d92ee>] ? do_lookup+0x117/0x137 May 6 18:23:42 localhost kernel: [<c0572222>] ? security_inode_permission+0x1a/0x20 May 6 18:23:42 localhost kernel: [<c04d98cf>] ? link_path_walk +0x20b/0x4fc May 6 18:23:42 localhost kernel: [<c04d9cc7>] ? path_walk+0x3a/0x84 May 6 18:23:42 localhost kernel: [<c04db08b>] ? path_init+0x6e/0x10c May 6 18:23:42 localhost kernel: [<c04db24d>] ? do_path_lookup +0x124/0x186 May 6 18:23:42 localhost kernel: [<c04db3c4>] ? do_filp_open+0xd1/0x817 May 6 18:23:42 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:42 localhost kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 6 18:23:42 localhost kernel: [<c0792766>] ? rt_spin_unlock+0x8/0xa May 6 18:23:42 localhost kernel: [<c04d0975>] ? do_sys_open+0x48/0xdf May 6 18:23:42 localhost kernel: [<c07951fe>] ? do_page_fault +0x26e/0x2b3 May 6 18:23:42 localhost kernel: [<c04d0a4e>] ? sys_open+0x1e/0x26 May 6 18:23:42 localhost kernel: [<c040895f>] ? sysenter_do_call +0x12/0x28 May 6 18:23:42 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 d1 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 May 6 18:23:42 localhost kernel: EIP: [<c079201b>] rt_spin_lock_slowlock+0x43/0x1bb SS:ESP 0068:f021bd5c May 6 18:23:42 localhost kernel: ---[ end trace 7d2af8ee67c50872 ]--- May 6 18:23:42 localhost kernel: note: gdm-session-wor[4109] exitedwith
preempt_count1
Quoted 5 lines · Thomas Gleixner
On Thu, 6 May 2010, Fernando Lopez-Lezcano wrote:
CC'ed John and Nick
Quoted 1 line
See below... just trying to boot (quad core desktop machine).
Ok. Got this to reproduce. Will hopefully have a fix for your soon.
Thanks for the bug report!
-john
Quoted 10 lines · john stultz
Quoted 5 lines · Thomas Gleixner
On Thu, 6 May 2010, Fernando Lopez-Lezcano wrote:
CC'ed John and Nick
Quoted 1 line
See below... just trying to boot (quad core desktop machine).
Ok. Got this to reproduce. Will hopefully have a fix for your soon.
Thanks for the bug report!
Thanks for looking at it! It had been a while since I had problems with rt so I could not understand why I could not login :-)
-- Fernando
Quoted 6 lines · Fernando Lopez-Lezcano
Quoted 5 lines · john stultz
Quoted 4 lines · Thomas Gleixner
On Thu, 6 May 2010, Fernando Lopez-Lezcano wrote:
CC'ed John and Nick
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
See below... just trying to boot (quad core desktop machine).
Ok. Got this to reproduce. Will hopefully have a fix for your soon.
Thanks for the bug report!
Thanks for looking at it! It had been a while since I had problems with rt so I could not understand why I could not login :-)
Bah! I should have caught this faster. I kept thinking it had to be some missed unlock of the sbi->fs_lock, but it ends up its just the autofs4_lock.
Apparently the conversion from using the dcache_lock -> autofs4_lock forgot that this function already grabs the autofs_lock for a small moment, so we end up grabbing the lock, then a moment later grab it again. Splat.
This patch should resolve it.
fs/autofs4/root.c +0 -2
@@ -438,12 +438,10 @@ static int autofs4_revalidate(struct dentry *dentry, struct nameidata *nd) }/* Check for a non-mountpoint directory with no contents */ -spin_lock (&autofs4_lock);if (S_ISDIR (dentry->d_inode->i_mode) && !d_mountpoint (dentry) &&list_empty (&dentry->d_subdirs)) {DPRINTK ("dentry=%p %.*s, emptydir" , dentry, dentry->d_name.len, dentry->d_name.name); -spin_unlock (&autofs4_lock);if (autofs4_need_mount (flags) || current->link_count) {int status;
Quoted 20 lines · john stultz
Quoted 6 lines · Fernando Lopez-Lezcano
Quoted 5 lines · john stultz
Quoted 4 lines · Thomas Gleixner
On Thu, 6 May 2010, Fernando Lopez-Lezcano wrote:
CC'ed John and Nick
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
See below... just trying to boot (quad core desktop machine).
Ok. Got this to reproduce. Will hopefully have a fix for your soon.
Thanks for the bug report!
Thanks for looking at it! It had been a while since I had problems with rt so I could not understand why I could not login :-)
Bah! I should have caught this faster. I kept thinking it had to be some missed unlock of the
sbi->fs_lock, but it ends up its just theautofs4_lock.
Quoted 6 lines
Apparently the conversion from using the
dcache_lock->autofs4_lockforgot that this function already grabs theautofs_lockfor a small moment, so we end up grabbing the lock, then a moment later grab it again. Splat.This patch should resolve it.
I'm still having problems when trying to use autofs, even with your previous patch:
May 10 10:03:38 cmn3 kernel: ------------[ cut here ]------------ May 10 10:03:38 cmn3 kernel: kernel BUG at kernel/rtmutex.c:808! May 10 10:03:38 cmn3 kernel: invalid opcode: 0000 [#1] PREEMPT SMP May 10 10:03:38 cmn3 kernel: last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map May 10 10:03:38 cmn3 kernel: Modules linked in: autofs4 xt_time
xt_connlimit xt_realm iptable_raw xt_comment xt_policy ipt_ULOG ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE ipt_LOG 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_tcpmss xt_recent 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 iptable_nat nf_nat iptable_mangle nfnetlink coretemp hwmon_vid nfs lockd fscache nfs_acl auth_rpcgss sunrpc ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq dm_mul
May 10 10:03:38 cmn3 kernel: tipath uinput snd_hda_codec_realtek
snd_ice1712 snd_ice17xx_ak4xxx snd_hda_intel snd_ak4xxx_adda snd_hda_codec snd_cs8427 snd_ac97_codec snd_hwdep snd_seq snd_pcm ac97_bus snd_i2c snd_mpu401_uart snd_rawmidi snd_seq_device joydev snd_timer snd asus_atk0110 iTCO_wdt sata_sil24 ohci1394 soundcore i2c_i801 sky2 serio_raw snd_page_alloc iTCO_vendor_support ata_generic pata_acpi radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last
unloaded: microcode]
May 10 10:03:38 cmn3 kernel: May 10 10:03:38 cmn3 kernel: Pid: 4245, comm: ls Not tainted 2.6.33.3-85.rt19.1.fc11.ccrma.i686.rtPAE #1 P5K/EPU/P5K/EPU May 10 10:03:38 cmn3 kernel: EIP: 0060:[<c079201b>] EFLAGS: 00210046 CPU: 2 May 10 10:03:38 cmn3 kernel: EIP is at rt_spin_lock_slowlock+0x43/0x1bb May 10 10:03:38 cmn3 kernel: EAX: f28a04f0 EBX: fba41f00 ECX: fba41f00 EDX: f28a04f0 May 10 10:03:38 cmn3 kernel: ESI: f01e01d0 EDI: f4a4bbc0 EBP: f02fddc4 ESP: f02fdd6c May 10 10:03:38 cmn3 kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 preempt:00000001 May 10 10:03:38 cmn3 kernel: Process ls (pid: 4245, ti=f02fc000 task=f28a04f0 task.ti=f02fc000) May 10 10:03:38 cmn3 kernel: Stack: May 10 10:03:38 cmn3 kernel: f217dd90 00000001 00000000 00000000 00200296 00000000 00000000 00000000 May 10 10:03:38 cmn3 kernel: <0> 00000000 00000000 00000000 00000000 00200246 f01e01d0 f01e0180 f4a4bbc0 May 10 10:03:38 cmn3 kernel: <0> 00000000 c0464f73 00200246 fba41f00 f01e01d0 f4a4bbc0 f02fddd0 c0464fa9 May 10 10:03:38 cmn3 kernel: Call Trace: May 10 10:03:38 cmn3 kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 10 10:03:38 cmn3 kernel: [<c0464fa9>] ? rt_spin_lock_fastlock.clone.1+0x5c/0x5f May 10 10:03:38 cmn3 kernel: [<c0792752>] ? rt_spin_lock+0x8/0xa May 10 10:03:38 cmn3 kernel: [<fba3ea5c>] ? autofs4_follow_link +0xac/0x176 [autofs4] May 10 10:03:38 cmn3 kernel: [<c04e5819>] ? mntput+0x19/0x1b May 10 10:03:38 cmn3 kernel: [<c04d9522>] ? do_follow_link+0xbd/0x25f May 10 10:03:38 cmn3 kernel: [<c04d98fb>] ? link_path_walk+0x237/0x4fc May 10 10:03:38 cmn3 kernel: [<c04d9cc7>] ? path_walk+0x3a/0x84 May 10 10:03:38 cmn3 kernel: [<c04db08b>] ? path_init+0x6e/0x10c May 10 10:03:38 cmn3 kernel: [<c04db24d>] ? do_path_lookup+0x124/0x186 May 10 10:03:38 cmn3 kernel: [<c04dc3ae>] ? user_path_at+0x39/0x5f May 10 10:03:38 cmn3 kernel: [<c04d8d99>] ? page_put_link+0x0/0x1b May 10 10:03:38 cmn3 kernel: [<c04d8db1>] ? page_put_link+0x18/0x1b May 10 10:03:38 cmn3 kernel: [<c04d9e09>] ? generic_readlink+0x64/0x6e May 10 10:03:38 cmn3 kernel: [<c04d5663>] ? vfs_fstatat+0x2d/0x54 May 10 10:03:38 cmn3 kernel: [<c0464f73>] ? rt_spin_lock_fastlock.clone.1+0x26/0x5f May 10 10:03:38 cmn3 kernel: [<c04d575b>] ? vfs_stat+0x13/0x15 May 10 10:03:38 cmn3 kernel: [<c04d5771>] ? sys_stat64+0x14/0x28 May 10 10:03:38 cmn3 kernel: [<c04e5819>] ? mntput+0x19/0x1b May 10 10:03:38 cmn3 kernel: [<c04d904d>] ? path_put+0x15/0x18 May 10 10:03:38 cmn3 kernel: [<c047de61>] ? audit_syscall_entry +0x113/0x135 May 10 10:03:38 cmn3 kernel: [<c047dd39>] ? audit_syscall_exit +0xfa/0x10f May 10 10:03:38 cmn3 kernel: [<c040895f>] ? sysenter_do_call+0x12/0x28 May 10 10:03:38 cmn3 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 d1 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 May 10 10:03:38 cmn3 kernel: EIP: [<c079201b>] rt_spin_lock_slowlock +0x43/0x1bb SS:ESP 0068:f02fdd6c May 10 10:03:38 cmn3 kernel: ---[ end trace 6995ddbbd57ded08 ]---
-- Fernando
Quoted 26 lines · Fernando Lopez-Lezcano
Quoted 25 lines · john stultz
Quoted 6 lines · Fernando Lopez-Lezcano
Quoted 5 lines · john stultz
Quoted 4 lines · Thomas Gleixner
On Thu, 6 May 2010, Fernando Lopez-Lezcano wrote:
CC'ed John and Nick
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
See below... just trying to boot (quad core desktop machine).
Ok. Got this to reproduce. Will hopefully have a fix for your soon.
Thanks for the bug report!
Thanks for looking at it! It had been a while since I had problems with rt so I could not understand why I could not login :-)
Bah! I should have caught this faster. I kept thinking it had to be some missed unlock of the
sbi->fs_lock, but it ends up its just theautofs4_lock.Apparently the conversion from using the
dcache_lock->autofs4_lockforgot that this function already grabs theautofs_lockfor a small moment, so we end up grabbing the lock, then a moment later grab it again. Splat.
Quoted 4 lines
Quoted 1 line
This patch should resolve it.
I'm still having problems when trying to use autofs, even with your previous patch:
Oof.. More of the same autofs4_lock misuse. I skimmed over the rest of its use, and it seems ok, so hopefully we won't hit any more problems caused by it.
Here's both autofs4_lock changes together.
fs/autofs4/root.c +0 -3
@@ -317,7 +317,6 @@ static void *autofs4_follow_link(struct dentry *dentry, struct nameidata *nd)* multi-mount with no root mount offset. So don't try to * mount it again. */ -spin_lock (&autofs4_lock);spin_lock (&dentry->d_lock);if (ino->flags &AUTOFS_INF_PENDING || (!d_mountpoint (dentry) &&list_empty (&dentry->d_subdirs))) {
@@ -438,12 +437,10 @@ static int autofs4_revalidate(struct dentry *dentry, struct nameidata *nd) }/* Check for a non-mountpoint directory with no contents */ -spin_lock (&autofs4_lock);if (S_ISDIR (dentry->d_inode->i_mode) && !d_mountpoint (dentry) &&list_empty (&dentry->d_subdirs)) {DPRINTK ("dentry=%p %.*s, emptydir" , dentry, dentry->d_name.len, dentry->d_name.name); -spin_unlock (&autofs4_lock);if (autofs4_need_mount (flags) || current->link_count) {int status;
Quoted 27 lines · john stultz
Quoted 26 lines · Fernando Lopez-Lezcano
Quoted 25 lines · john stultz
Quoted 6 lines · Fernando Lopez-Lezcano
Quoted 5 lines · john stultz
Quoted 4 lines · Thomas Gleixner
On Thu, 6 May 2010, Fernando Lopez-Lezcano wrote:
CC'ed John and Nick
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
See below... just trying to boot (quad core desktop machine).
Ok. Got this to reproduce. Will hopefully have a fix for your soon.
Thanks for the bug report!
Thanks for looking at it! It had been a while since I had problems with rt so I could not understand why I could not login :-)
Bah! I should have caught this faster. I kept thinking it had to be some missed unlock of the
sbi->fs_lock, but it ends up its just theautofs4_lock.Apparently the conversion from using the
dcache_lock->autofs4_lockforgot that this function already grabs theautofs_lockfor a small moment, so we end up grabbing the lock, then a moment later grab it again. Splat.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
This patch should resolve it.
I'm still having problems when trying to use autofs, even with your previous patch:
Oof.. More of the same
autofs4_lockmisuse. I skimmed over the rest of its use, and it seems ok, so hopefully we won't hit any more problems caused by it.
Thanks for the patch. It looks like it is working fine now, at least I was able to login with an nfs/autofs mounted home dir...
-- Fernando