[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#657612: linux-image-3.2.0-1-amd64: scheduling while atomic: swapper/2/0/0x10000100



On Fri, 2012-01-27 at 15:20 +0300, Dmitry Borodaenko wrote:
> Package: linux-2.6
> Version: 3.2.1-2
> Severity: normal
> 
> Couple seconds after boot, after my X session has started but before I
> had a chance to bring up the network, I get a kernel error message "BUG:
> scheduling while atomic: swapper". This doesn't happen with 3.1.8-2, but
> with 3.2.1-2 it happens consistently after every reboot.
> 
> On my previous boot, after about 3 days of uptime I've got the same
> error again, only this time my root system went read-only and wouldn't
> be remounted (complaining that /dev/mapper/root is a read-only device).
> Unfortunately I wasn't able to save any logs from that event.
> 
> Not sure if it's relevant, but I don't have a swap partition:
[...]
> [   72.862291] BUG: scheduling while atomic: swapper/2/0/0x10000100
> [   72.862296] Modules linked in: acpi_cpufreq mperf cpufreq_conservative cpufreq_powersave cpufreq_userspace cpufreq_stats bnep rfcomm deflate zlib_deflate ctr twofish_generic twofish_x86_64_3way twofish_x86_64 twofish_common camellia serpent blowfish_generic blowfish_x86_64 blowfish_common cast5 des_generic xcbc rmd160 sha512_generic sha1_ssse3 sha1_generic hmac crypto_null af_key fuse ip6table_filter ip6_tables xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack xt_addrtype iptable_filter ip_tables x_tables tun loop kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_conexant btusb bluetooth thinkpad_acpi snd_hda_intel arc4 snd_hda_codec snd_seq_midi battery snd_hwdep snd_pcm_oss iwlwifi snd_mixer_oss snd_rawmidi snd_pcm mac80211 snd_seq_midi_event psmouse snd_seq ac cfg80211 power_supply serio_raw intel_ips evdev tpm_tis tpm joydev tpm_bios snd_timer snd_seq_device snd i2c_i801 rfkill nvram iTCO_wdt iTCO_vendor_support wmi i915 soundcore snd_page_alloc drm_kms_helper drm i2c_algo_bit button i2c_core video processor ext4 mbcache jbd2 crc16 sha256_generic aesni_intel cryptd aes_x86_64 aes_generic cbc dm_crypt dm_mirror dm_region_hash dm_log dm_mod sd_mod crc_t10dif ums_realtek usb_storage usbhid hid uas ahci libahci libata ehci_hcd scsi_mod thermal thermal_sys usbcore usb_common e1000e [last unloaded: pcspkr]
> [   72.862426] CPU 2 
> [   72.862428] Modules linked in: acpi_cpufreq mperf cpufreq_conservative cpufreq_powersave cpufreq_userspace cpufreq_stats bnep rfcomm deflate zlib_deflate ctr twofish_generic twofish_x86_64_3way twofish_x86_64 twofish_common camellia serpent blowfish_generic blowfish_x86_64 blowfish_common cast5 des_generic xcbc rmd160 sha512_generic sha1_ssse3 sha1_generic hmac crypto_null af_key fuse ip6table_filter ip6_tables xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack xt_addrtype iptable_filter ip_tables x_tables tun loop kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_conexant btusb bluetooth thinkpad_acpi snd_hda_intel arc4 snd_hda_codec snd_seq_midi battery snd_hwdep snd_pcm_oss iwlwifi snd_mixer_oss snd_rawmidi snd_pcm mac80211 snd_seq_midi_event psmouse snd_seq ac cfg80211 power_supply serio_raw intel_ips evdev tpm_tis tpm joydev tpm_bios snd_timer snd_seq_device snd i2c_i801 rfkill nvram iTCO_wdt iTCO_vendor_support wmi i915 soundcore snd_page_alloc drm_kms_helper drm i2c_algo_bit button i2c_core video processor ext4 mbcache jbd2 crc16 sha256_generic aesni_intel cryptd aes_x86_64 aes_generic cbc dm_crypt dm_mirror dm_region_hash dm_log dm_mod sd_mod crc_t10dif ums_realtek usb_storage usbhid hid uas ahci libahci libata ehci_hcd scsi_mod thermal thermal_sys usbcore usb_common e1000e [last unloaded: pcspkr]
> [   72.862523] 
> [   72.862527] Pid: 0, comm: swapper/2 Not tainted 3.2.0-1-amd64 #1 LENOVO 5129CTO/5129CTO

For historical reasons the idle tasks are named 'swapper', but they
aren't involved in swapping!  I don't think it's relevant that you don't
have swap space, though I don't advise such a configuration.

> [   72.862532] RIP: 0010:[<ffffffff811e3645>]  [<ffffffff811e3645>] intel_idle+0xea/0x119
> [   72.862544] RSP: 0018:ffff880232d79e68  EFLAGS: 00000202
> [   72.862547] RAX: 0000000000000000 RBX: ffffffff81023b80 RCX: 000000000000438a
> [   72.862550] RDX: 000000000000438a RSI: 0000000000000000 RDI: 00000000000003e8
> [   72.862552] RBP: 0000000000000003 R08: 0000000000004366 R09: 0000000000004366
> [   72.862555] R10: 0000000000000246 R11: ffff880232d775e0 R12: ffffffff81065de9
> [   72.862559] R13: 0000000000000048 R14: ffffffff810659e7 R15: ffffffff810135b2
> [   72.862562] FS:  0000000000000000(0000) GS:ffff88023bd00000(0000) knlGS:0000000000000000
> [   72.862566] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> [   72.862569] CR2: 00007f9804db1821 CR3: 0000000001605000 CR4: 00000000000006e0
> [   72.862572] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> [   72.862575] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> [   72.862579] Process swapper/2 (pid: 0, threadinfo ffff880232d78000, task ffff880232d775e0)
> [   72.862581] Stack:
> [   72.862583]  0000000000000000 000000000000438a 0000000000000000 0000000000000000
> [   72.862589]  000000000000438a 000000020107479c ffff88023bd19970 ffffffff81645680
> [   72.862594]  00000000fffffff0 0000000000000003 ffffffff81645778 ffffffff81263313
> [   72.862599] Call Trace:
> [   72.862608]  [<ffffffff81263313>] ? cpuidle_idle_call+0xec/0x179
> [   72.862615]  [<ffffffff8100d255>] ? cpu_idle+0xa5/0xf2
> [   72.862621]  [<ffffffff810706b6>] ? arch_local_irq_restore+0x2/0x8
> [   72.862627]  [<ffffffff81332851>] ? start_secondary+0x1d5/0x1db
> [   72.862630] Code: 29 f0 48 89 c7 e8 27 78 e6 ff 4c 69 e8 40 42 0f 00 48 89 04 24 48 89 54 24 08 48 89 44 24 18 48 89 54 24 20 49 01 d5 fb 66 66 90 <66> 66 90 85 1d 9a 22 46 00 75 0f 48 8d 74 24 2c bf 05 00 00 00 
> [   72.862670] Call Trace:
> [   72.862675]  [<ffffffff81263313>] ? cpuidle_idle_call+0xec/0x179
> [   72.862679]  [<ffffffff8100d255>] ? cpu_idle+0xa5/0xf2
> [   72.862683]  [<ffffffff810706b6>] ? arch_local_irq_restore+0x2/0x8
> [   72.862687]  [<ffffffff81332851>] ? start_secondary+0x1d5/0x1db

This is probably some kind of driver bug; unfortunately there's no easy
way to work out where it might be.

The fact that this happens shortly after your X session has started
might suggest that it is related to the graphics driver (i915).  You
could test this by booting with that module temporarily disabled, which
you can do by adding 'alias i915 off' to /etc/modprobe.d/i915-kms.conf.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: