Bug 13039 - i915(?): Scheduling while atomic when kdm (display manager) restarting after logging out
Summary: i915(?): Scheduling while atomic when kdm (display manager) restarting after ...
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_video-dri-intel@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 18:39 UTC by Sami Liedes
Modified: 2010-01-25 15:02 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.29.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg from the system (but not the crash run), except the first few seconds which weren't logged for some reason (248.17 KB, text/x-log)
2009-04-07 18:39 UTC, Sami Liedes
Details

Description Sami Liedes 2009-04-07 18:39:27 UTC
Created attachment 20862 [details]
dmesg from the system (but not the crash run), except the first few seconds which weren't logged for some reason

Hi,

I don't know if this is a DRI bug, please reassign as you see fit.

I have a reproducible hard lockup when logging off my KDE session running in kdm after updating to a recent X server from Debian experimental and KDE 4.2.2.

So far I have managed to cause the lockup only in this scenario. For example, killing X with "/etc/init.d/kdm stop" and starting it again with "/etc/init.d/kdm start" does not cause a crash. "killall startkde" is sufficient to cause the crash when KDE is running inside kdm (but then is probably equivalent to logging off the session).

I managed to catch the panic on netconsole after a couple of tries.

Architecture is a x86_64 machine, a Compaq 6720s laptop which generally has worked and works really fine under Linux.

Here's the output on netconsole starting before a short KDE session and ending in a crash. Is the panic messed up (lines missing)? I can try again, but netconsole seems to be a bit unreliable in this case...

---------------------------------------------------------
[  338.658257] console [netcon0] enabled
[  338.658498] netconsole: network logging started
[  472.474916] kobject: 'vcs7' (ffff8800659adef8): kobject_add_internal: parent: 'vc', set: 'devices'
[  472.475055] kobject: 'vcs7' (ffff8800659adef8): kobject_uevent_env
[  472.475070] kobject: 'vcs7' (ffff8800659adef8): fill_kobj_path: path = '/devices/virtual/vc/vcs7'
[  472.475121] kobject: 'vcsa7' (ffff8800659ad668): kobject_add_internal: parent: 'vc', set: 'devices'
[  472.475172] kobject: 'vcsa7' (ffff8800659ad668): kobject_uevent_env
[  472.475186] kobject: 'vcsa7' (ffff8800659ad668): fill_kobj_path: path = '/devices/virtual/vc/vcsa7'
[  474.908689] kobject: 'cfbfillrect' (ffffffffa005c090): kobject_add_internal: parent: 'module', set: 'module'
[  474.908932] kobject: 'holders' (ffff8800659ea7f8): kobject_add_internal: parent: 'cfbfillrect', set: '<NULL>'
[  474.908966] kobject: 'cfbfillrect' (ffffffffa005c090): kobject_uevent_env
[  474.909956] kobject: 'cfbfillrect' (ffffffffa005c090): fill_kobj_path: path = '/module/cfbfillrect'
[  474.914143] kobject: 'notes' (ffff8800659ea908): kobject_add_internal: parent: 'cfbfillrect', set: '<NULL>'
[  474.916739] kobject: 'cfbimgblt' (ffffffffa0101a50): kobject_add_internal: parent: 'module', set: 'module'
[  474.916936] kobject: 'holders' (ffff8800659ea110): kobject_add_internal: parent: 'cfbimgblt', set: '<NULL>'
[  474.916972] kobject: 'cfbimgblt' (ffffffffa0101a50): kobject_uevent_env
[  474.916995] kobject: 'cfbimgblt' (ffffffffa0101a50): fill_kobj_path: path = '/module/cfbimgblt'
[  474.919054] kobject: 'notes' (ffff8800659ea990): kobject_add_internal: parent: 'cfbimgblt', set: '<NULL>'
[  474.934421] kobject: 'cfbcopyarea' (ffffffffa017aeb0): kobject_add_internal: parent: 'module', set: 'module'
[  474.934620] kobject: 'holders' (ffff8800659ea770): kobject_add_internal: parent: 'cfbcopyarea', set: '<NULL>'
[  474.934657] kobject: 'cfbcopyarea' (ffffffffa017aeb0): kobject_uevent_env
[  474.934723] kobject: 'cfbcopyarea' (ffffffffa017aeb0): fill_kobj_path: path = '/module/cfbcopyarea'
[  474.934844] kobject: 'notes' (ffff8800659ea330): kobject_add_internal: parent: 'cfbcopyarea', set: '<NULL>'
[  474.975853] kobject: 'i2c_algo_bit' (ffffffffa01a7910): kobject_add_internal: parent: 'module', set: 'module'
[  474.976762] kobject: 'holders' (ffff8800659ea4c8): kobject_add_internal: parent: 'i2c_algo_bit', set: '<NULL>'
[  474.976808] kobject: 'i2c_algo_bit' (ffffffffa01a7910): kobject_uevent_env
[  474.976834] kobject: 'i2c_algo_bit' (ffffffffa01a7910): fill_kobj_path: path = '/module/i2c_algo_bit'
[  474.978725] kobject: 'notes' (ffff8800659ea440): kobject_add_internal: parent: 'i2c_algo_bit', set: '<NULL>'
[  475.013621] kobject: 'drm' (ffffffffa0308990): kobject_add_internal: parent: 'module', set: 'module'
[  475.029837] kobject: 'holders' (ffff8800659ea880): kobject_add_internal: parent: 'drm', set: '<NULL>'
[  475.029922] kobject: 'drm' (ffffffffa0308990): kobject_uevent_env
[  475.029945] kobject: 'drm' (ffffffffa0308990): fill_kobj_path: path = '/module/drm'
[  475.032600] kobject: 'notes' (ffff8800659ea198): kobject_add_internal: parent: 'drm', set: '<NULL>'
[  475.035718] kobject: 'drm' (ffff8800659aa6d8): kobject_add_internal: parent: 'class', set: 'class'
[  475.035764] kobject: 'drm' (ffff8800659aa6d8): kobject_uevent_env
[  475.035786] kobject: 'drm' (ffff8800659aa6d8): fill_kobj_path: path = '/class/drm'
[  475.035850] [drm] Initialized drm 1.1.0 20060810
[  475.056901] kobject: 'i915' (ffffffffa0335290): kobject_add_internal: parent: 'module', set: 'module'
[  475.065774] kobject: 'holders' (ffff88007d0875d8): kobject_add_internal: parent: 'i915', set: '<NULL>'
[  475.065843] kobject: 'i915' (ffffffffa0335290): kobject_uevent_env
[  475.065870] kobject: 'i915' (ffffffffa0335290): fill_kobj_path: path = '/module/i915'
[  475.070266] kobject: 'notes' (ffff88007d0873b8): kobject_add_internal: parent: 'i915', set: '<NULL>'
[  475.071747] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[  475.071796] pci 0000:00:02.0: setting latency timer to 64
[  475.077554] kobject: 'drm' (ffff88006585b4c8): kobject_add_internal: parent: '0000:00:02.0', set: '<NULL>'
[  475.077606] kobject: 'card0' (ffff8800659aaff0): kobject_add_internal: parent: 'drm', set: 'devices'
[  475.077735] kobject: 'card0' (ffff8800659aaff0): kobject_uevent_env
[  475.077764] kobject: 'card0' (ffff8800659aaff0): fill_kobj_path: path = '/devices/pci0000:00/0000:00:02.0/drm/card0'
[  475.098623] pci 0000:00:02.0: irq 29 for MSI/MSI-X
[  475.098924] [drm] Initialized i915 1.6.0 20080730 on minor 0
[  482.465485] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[  520.763525] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[  545.904118] nepomukservices[5306]: segfault at a9 ip 00007f5ea27a1589 sp 00007fffaad8ef50 error 4 in libQtCore.so.4.4.3[7f5ea2738000+230000]
[  570.287485] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[  578.004213] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[  579.620606] general protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[  579.620655] last sysfs file: /sys/devices/virtual/backlight/acpi_video0/brightness
[  579.620664] CPU 0 
[  579.620678] Modules linked in: i915 drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect netconsole ppdev parport_pc lp parport rfcomm l2cap binfmt_misc xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state cpufreq_conservative cpufreq_ondemand cpufreq_userspace cpufreq_powersave microcode cpufreq_stats freq_table af_packet iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables fuse coretemp hwmonba 38 07 00 00 
[  579.621022] RIP  [<ffffffff8027acd4>] __lock_acquire+0x2d4/0x1de0
[  579.621022]  RSP <ffff880065873b08>
[  579.621022] ---[ end trace 94546b47c9fd8a0d ]---
[  579.621022] note: Xorg[5140] exited with preempt_count 2
[  579.623944] BUG: scheduling while atomic: Xorg/5140/0x10000003
[  579.623955] INFO: lockdep is turned off.
[  579.623963] Modules linked in: i915 drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect netconsole ppdev parport_pc lp parport rfcomm l2cap binfmt_misc xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state cpufreq_conservative cpufreq_ondemand cpufreq_userspace cpufreq_powersave microcode cpufreq_stats freq_table af_packet iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables fuse coretemp hwmon joydev snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb pcspkr snd_seq_midi psmouse serio_raw snd_rawmidi snd_seq_midi_event btusb iwl3945 snd_timer rfkill[  579.625263]  [<ffffffff8064961d>] ? _spin_unlock_irqrestore+0x3d/0x80
[  579.625274]  [<ffffffff806457ed>] schedule+0xdd/0x50b
[  579.625291]  [<ffffffff80649a25>] ? _spin_lock_irqsave+0x25/0x90
[  579.625301]  [<ffffffff802e5a7a>] ? unmap_vmas+0x3ba/0xaa0
[  579.625311]  [<ffffffff8064961d>] ? _spin_unlock_irqrestore+0x3d/0x80
[  579.625322]  [<ffffffff8024732f>] __cond_resched+0x2f/0x50
[  579.625331]  [<ffffffff8064659d>] _cond_resched+0x3d/0x50
[  579.625341]  [<ffffffff802e600f>] unmap_vmas+0x94f/0xaa0
[  579.625554]  [<ffffffff80646bbe>] ? mutex_unlock+0xe/0x10
[  579.625564]  [<ffffffff8064d4a8>] ? sub_preempt_count+0xc8/0x130
[  579.625574]  [<ffffffff80646b3d>] ? __mutex_unlock_slowpath+0x12d/0x1a0
[  579.625584]  [<ffffffff8027c871>] lock_acquire+0x91/0xc0
[  579.625594]  [<ffffffff8023c3d2>] ? __wake_up+0x32/0x70
[  644.246006] BUG: soft lockup - CPU#0 stuck for 61s! [Xorg:5140]
[  644.246006] Modules linked in: i915 drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect netconsole ppdev parport_pc lp parport rfcomm l2cap binfmt_misc xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state cpufreq_conservative cpufreq_ondemand cpufreq_userspace cpufreq_powersave microcode cpufreq_stats freq_table af_packet iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables fuse coretemp hwmon joydev snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss arc4[  644.246006]  [<ffffffff80277404>] ? get_lock_stats+0x34/0x70
[  644.246006]  [<ffffffff803370e0>] ? dnotify_parent+0x90/0xa0
[  644.246006]  [<ffffffff803370e0>] ? dnotify_parent+0x90/0xa0
[  644.246006]  [<ffffffff8064d4a8>] ? sub_preempt_count+0xc8/0x130
[  644.246006]  [<ffffffff8064a403>] ? error_sti+0x5/0x6
[  644.246006]  [<ffffffff80648fcd>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[  644.246006]  [<ffffffff8064a28f>] ? page_fault+0x1f/0x30
[  709.744006] BUG: soft lockup - CPU#0 stuck for 61s! [Xorg:5140]
[  709.744006] Modules linked in: i915 drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect netconsole ppdev parport_pc lp parport rfcomm l2cap binfmt_misc xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state cpufreq_conservative cpufreq_ondemand cpufreq_userspace cpufreq_powersave microcode cpufreq_stats freq_table af_packet iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables fuse coretemp hwmon joydev snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss arc4[  709.744006]  [<ffffffff803370e0>] ? dnotify_parent+0x90/0xa0
[  709.744006]  [<ffffffff803370e0>] ? dnotify_parent+0x90/0xa0
[  709.744006]  [<ffffffff8064d4a8>] ? sub_preempt_count+0xc8/0x130
[  709.744006]  [<ffffffff8064a403>] ? error_sti+0x5/0x6
[  709.744006]  [<ffffffff80648fcd>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[  709.744006]  [<ffffffff8064a28f>] ? page_fault+0x1f/0x30
Comment 1 Sami Liedes 2009-04-07 18:56:01 UTC
Here's a second try. I do get the feeling there's something missing after those Modules linked in: lines. If you think it would be useful, I might try to comment out that printk() in the kernel source and get another log.

------------------------------------------------------------
[ 2061.222255] console [netcon0] enabled
[ 2061.222309] netconsole: network logging started
[ 2089.861750] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 2091.852369] general protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[ 2091.852416] last sysfs file: /sys/devices/virtual/backlight/acpi_video0/brightness
[ 2091.852426] CPU 0 
[ 2091.852441] Modules linked in: netconsole i915 drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect ppdev parport_pc lp parport rfcomm l2cap binfmt_misc xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state cpufreq_conservative cpufreq_ondemand cpufreq_userspace microcode cpufreq_powersave cpufreq_stats freq_table af_packet iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables fuse coretemp hwmon00 00 
[ 2091.853021] RIP  [<ffffffff8027acd4>] __lock_acquire+0x2d4/0x1de0
[ 2091.853021]  RSP <ffff880066031b08>
[ 2091.853021] ---[ end trace eea4125cefd22938 ]---
[ 2091.853021] note: Xorg[4751] exited with preempt_count 2
[ 2091.855488] BUG: scheduling while atomic: Xorg/4751/0x10000003
[ 2091.855502] INFO: lockdep is turned off.
[ 2091.855510] Modules linked in: netconsole i915 drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect ppdev parport_pc lp parport rfcomm l2cap binfmt_misc xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state cpufreq_conservative cpufreq_ondemand cpufreq_userspace microcode cpufreq_powersave cpufreq_stats freq_table af_packet iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables fuse coretemp hwmon joydev snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_midi pcspkr psmouse snd_rawmidi snd_seq_midi_event serio_raw output evdev dm_mirror dm_region_hash dm_log dm_snapshot[ 2091.856648]  [<ffffffff8024a09f>] mmput+0x5f/0xd0
[ 2091.856766]  [<ffffffff8024eee7>] exit_mm+0x117/0x160
[ 2091.856777]  [<ffffffff806495c9>] ? _spin_unlock_irq+0x59/0x70
[ 2091.856786]  [<ffffffff80250e5d>] do_exit+0x14d/0x960
[ 2091.856796]  [<ffffffff8064afdc>] oops_end+0xdc/0xe0
[ 2091.857102]  [<ffffffff803370e0>] ? dnotify_parent+0x90/0xa0
[ 2091.857112]  [<ffffffff803370e0>] ? dnotify_parent+0x90/0xa0
[ 2091.857122]  [<ffffffff8064d4a8>] ? sub_preempt_count+0xc8/0x130
[ 2091.857131]  [<ffffffff8064a403>] ? error_sti+0x5/0x6
[ 2091.860012] BUG: spinlock lockup on CPU#0, syslogd/6368, ffff8800017b0190
[ 2091.860012] Pid: 6368, comm: syslogd Tainted: G      D    2.6.29.1-tuxonice #2
[ 2091.860012] Call Trace:
[ 2091.860012]  [<ffffffff8041e038>] _raw_spin_lock+0x158/0x170
[ 2091.860012]  [<ffffffff80649a73>] _spin_lock_irqsave+0x73/0x90
[ 2091.860012]  [<ffffffff8023c3d2>] ? __wake_up+0x32/0x70
[ 2091.860012]  [<ffffffff8023c3d2>] __wake_up+0x32/0x70
[ 2091.860012]  [<ffffffff80265f21>] __wake_up_bit+0x31/0x40
[ 2091.860012]  [<ffffffff802cdc2c>] unlock_page+0x2c/0x40
[ 2091.860012]  [<ffffffff802e46e0>] __do_fault+0x210/0x4e0
[ 2091.860012]  [<ffffffff802e6be4>] handle_mm_fault+0x1e4/0x850
[ 2091.860012]  [<ffffffff8064c990>] ? do_page_fault+0xd0/0xb20
[ 2091.860012]  [<ffffffff8064cb3f>] do_page_fault+0x27f/0xb20
[ 2091.860012]  [<ffffffff802780e9>] ? trace_hardirqs_off_caller+0x29/0xe0
[ 2091.860012]  [<ffffffff80279d79>] ? trace_hardirqs_on_caller+0x29/0x1e0
[ 2091.860012]  [<ffffffff80648f8e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 2091.860012]  [<ffffffff8040ab14>] ? __up_read+0x84/0xb0
[ 2091.860012]  [<ffffffff80649627>] ? _spin_unlock_irqrestore+0x47/0x80
[ 2091.860012]  [<ffffffff8020d380>] ? restore_args+0x0/0x30
[ 2091.860012]  [<ffffffff8064a403>] ? error_sti+0x5/0x6
[ 2091.860012]  [<ffffffff802780e9>] ? trace_hardirqs_off_caller+0x29/0xe0
[ 2091.860012]  [<ffffffff80648fcd>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[ 2091.860012]  [<ffffffff8064a28f>] page_fault+0x1f/0x30
Comment 2 Sami Liedes 2009-04-08 03:38:22 UTC
I do not know if this is the same bug or a different one, but since the operating environment and symptoms are pretty much same, by best guess is it's the same issue. The backtrace is slightly different though. Tell me if you wish me to report a new bug.

This lockup seems to happen sometimes after using KDE for a while, having switched to a text console with ctrl-alt-F1 and then back to X.

Just like the reproducible lockup in my previous comments, the X screen is restored correctly when switching back to X (in the previous cases that amounts to showing the mouse pointer) and the mouse pointer moves, but a hard lockup occurs in less than maybe 2 seconds (judging from the mouse pointer no longer moving).

This too is from netconsole, which uses UDP, and I wonder if something is cut out after the Modules linked in: line (note the missing newline after that line). Maybe it's just a cut line if netconsole does one UDP packet per line. I guess I'll try and compile a kernel with that printk() commented out to be more sure about this.

Unlike the previous backtraces, the process is not Xorg but setxkbmap.

------------------------------------------------------------
[  247.380201] console [netcon0] enabled
[  247.380442] netconsole: network logging started
[  265.012862] [drm] Initialized drm 1.1.0 20060810
[  265.048327] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[  265.074306] [drm] Initialized i915 1.6.0 20080730 on minor 0
[  284.607814] nepomukservices[6707]: segfault at 78 ip 00007f5d48ee755e sp 00007fff514d6690 error 4 in libQtCore.so.4.4.3[7f5d48e7e000+230000]
[  369.857838] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 1356.490484] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 1373.529130] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 3110.287244] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 3121.921768] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 3125.121969] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 3128.827253] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 3135.647005] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 3154.698136] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 4083.234335] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 4180.192228] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 4182.833661] general protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
[ 4182.833710] last sysfs file: /sys/devices/virtual/backlight/acpi_video0/brightness
[ 4182.833721] CPU 0 
[ 4182.833737] Modules linked in: i915 drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect netconsole xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state ppdev parport_pc lp parport rfcomm l2cap binfmt_misc cpufreq_conservative cpufreq_ondemand cpufreq_userspace cpufreq_powersave microcode cpufreq_stats freq_table af_packet iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables snd_pcm_oss [<ffffffff80648fcd>] ? trace_hardirqs_off_thunk+0x3a/0x3c
[ 4182.834016]  [<ffffffff8064a28f>] page_fault+0x1f/0x30
[ 4182.834016] Code: 0f 84 af fd [ 4182.836906] BUG: scheduling while atomic: setxkbmap/25291/0x10000002
[ 4182.836919] INFO: lockdep is turned off.
[ 4182.836927] Modules linked in: i915 drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect netconsole xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state ppdev parport_pc lp parport rfcomm l2cap binfmt_misc cpufreq_conservative cpufreq_ondemand cpufreq_userspace cpufreq_powersave microcode cpufreq_stats freq_table af_packet iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables fuse coretemp hwmon joydev snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss bluetooth snd_seq_midi_event iwl3945 snd_seq rfkill snd_timer mac80211 led_class lib80211 cfg80211 snd[ 4182.838426]  [<ffffffff802e46e0>] __do_fault+0x210/0x4e0
[ 4182.838437]  [<ffffffff802e6be4>] handle_mm_fault+0x1e4/0x850
Comment 3 Sami Liedes 2009-04-15 23:19:17 UTC
Under a non-SMP kernel (the machine on which I run only has one core anyway, it's a Celeron M 530) it doesn't seem to crash the kernel - but I can't guarantee that was the only thing to change.

However I managed to capture the relevant Xorg crash (that possibly triggered, or at least was closely related, to this kernel crash) backtrace, if it helps at all to debug this. I reported it in the Debian BTS at 

   http://bugs.debian.org/524287

.

I'm still working to get a good backtrace on the kernel crash, I guess I'll have to compile a SMP kernel for that and see if SMP makes this happen...
Comment 4 Gordon Jin 2009-09-17 03:43:55 UTC
Does this still exist in 2.6.31?
Comment 5 Alan 2010-01-25 15:02:37 UTC
Closing with no response

Note You need to log in before you can comment on or make changes to this bug.