BUG: scheduling while atomic: swapper/0/0x10000100

Bug #374262 reported by Jarkko Lietolahti
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

When trying to use a bluetooth mouse;

WARNING: at /build/buildd/linux-2.6.30/kernel/workqueue.c:371 flush_cpu_workqueue+0x91/0xa0()
[ 94.961892] Hardware name: VGN-FW31ZJ
[ 94.961895] Modules linked in: cryptd aes_x86_64 aes_generic nfsd lockd nfs_acl auth_rpcgss sunrpc radeon drm ppdev bridge stp bnep binfmt_misc xfs exportfs sbp2 lp parport dm_crypt snd_hda_codec_atihdmi arc4 ecb snd_hda_codec_realtek joydev iwlagn iwlcore snd_pcm_oss snd_mixer_oss snd_hda_intel snd_hda_codec snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device mac80211 snd soundcore uvcvideo snd_page_alloc psmouse sdhci_pci sdhci iTCO_wdt cfg80211 video intel_agp pcspkr videodev v4l1_compat v4l2_compat_ioctl32 serio_raw led_class iTCO_vendor_support btusb sony_laptop output ohci1394 ieee1394 sky2 fbcon tileblit font bitblit softcursor
[ 94.962008] Pid: 256, comm: bluetooth Not tainted 2.6.30-4-generic #5-Ubuntu
[ 94.962013] Call Trace:
[ 94.962024] [<ffffffff80250813>] warn_slowpath+0xc3/0x120
[ 94.962036] [<ffffffff80431fc8>] ? vsnprintf+0x428/0x590
[ 94.962045] [<ffffffff802461eb>] ? dequeue_entity+0x1b/0x250
[ 94.962053] [<ffffffff80264321>] flush_cpu_workqueue+0x91/0xa0
[ 94.962062] [<ffffffff80264d7c>] flush_workqueue+0x4c/0x80
[ 94.962071] [<ffffffff806a04c0>] ? add_conn+0x0/0x50
[ 94.962078] [<ffffffff806a04d8>] add_conn+0x18/0x50
[ 94.962086] [<ffffffff80263e55>] run_workqueue+0x95/0x180
[ 94.962093] [<ffffffff80263fe4>] worker_thread+0xa4/0x130
[ 94.962103] [<ffffffff802689e0>] ? autoremove_wake_function+0x0/0x40
[ 94.962111] [<ffffffff80263f40>] ? worker_thread+0x0/0x130
[ 94.962119] [<ffffffff80268585>] kthread+0x55/0xa0
[ 94.962129] [<ffffffff802130ca>] child_rip+0xa/0x20
[ 94.962137] [<ffffffff80268530>] ? kthread+0x0/0xa0
[ 94.962145] [<ffffffff802130c0>] ? child_rip+0x0/0x20
[ 94.962151] ---[ end trace 370e17d4af25b10e ]---
[ 95.190933] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 95.193116] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
[ 95.193128] IP: [<ffffffff80358f44>] sysfs_addrm_start+0x34/0xc0

The kernel is 2.6.30-rc4 aka linux-image-2.6.30-4-generic (2.6.30-4.5).

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :
description: updated
Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :
Download full text (3.7 KiB)

With 2.6.30-rc5 it's possible to connect and use the wireless mouse. Still there is the same errror message in dmesg;

[ 3528.863696] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3528.865703] input: Acer Bluetooth Wireless Mouse as /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/bluetooth/hci0/hci0:11/input13
[ 3528.865899] generic-bluetooth 0005:0A5C:0001.0003: input,hidraw1: BLUETOOTH HID v1.3c Mouse [Acer Bluetooth Wireless Mouse] on 00:21:4F:BC:2E:E6
[ 3583.833029] BUG: scheduling while atomic: swapper/0/0x10000100
[ 3583.833037] Modules linked in: hidp iwlagn iwlcore lib80211 mac80211 cfg80211 cryptd aes_x86_64 aes_generic nfsd lockd nfs_acl auth_rpcgss sunrpc radeon drm ppdev bridge stp bnep binfmt_misc xfs exportfs sbp2 lp parport dm_crypt snd_hda_codec_atihdmi arc4 ecb snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_hwdep snd_pcm snd_seq_oss joydev snd_seq_midi_event snd_seq snd_timer snd_seq_device iTCO_wdt psmouse sdhci_pci sdhci uvcvideo video snd iTCO_vendor_support serio_raw pcspkr intel_agp sony_laptop videodev v4l1_compat v4l2_compat_ioctl32 btusb led_class output soundcore snd_page_alloc ohci1394 ieee1394 sky2 usbhid fbcon tileblit font bitblit softcursor [last unloaded: cfg80211]
[ 3583.833179] CPU 0:
[ 3583.833184] Modules linked in: hidp iwlagn iwlcore lib80211 mac80211 cfg80211 cryptd aes_x86_64 aes_generic nfsd lockd nfs_acl auth_rpcgss sunrpc radeon drm ppdev bridge stp bnep binfmt_misc xfs exportfs sbp2 lp parport dm_crypt snd_hda_codec_atihdmi arc4 ecb snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss snd_hwdep snd_pcm snd_seq_oss joydev snd_seq_midi_event snd_seq snd_timer snd_seq_device iTCO_wdt psmouse sdhci_pci sdhci uvcvideo video snd iTCO_vendor_support serio_raw pcspkr intel_agp sony_laptop videodev v4l1_compat v4l2_compat_ioctl32 btusb led_class output soundcore snd_page_alloc ohci1394 ieee1394 sky2 usbhid fbcon tileblit font bitblit softcursor [last unloaded: cfg80211]
[ 3583.833297] Pid: 0, comm: swapper Not tainted 2.6.30-rc5-custom #1 VGN-FW31ZJ
[ 3583.833303] RIP: 0010:[<ffffffff804821b7>] [<ffffffff804821b7>] acpi_idle_enter_bm+0x255/0x289
[ 3583.833322] RSP: 0018:ffffffff80935e78 EFLAGS: 00000203
[ 3583.833327] RAX: 000000000000ea30 RBX: ffffffff80935ec8 RCX: 0000000000000000
[ 3583.833333] RDX: ffff880028035000 RSI: 000003426d17769d RDI: ffff880028048740
[ 3583.833339] RBP: ffffffff8021298e R08: fffffffffec11bf2 R09: 0000000000000000
[ 3583.833345] R10: 0000000000000000 R11: 0000000000000000 R12: 000000000014efc4
[ 3583.833350] R13: ffffffff80935e18 R14: ffffffff8026ede7 R15: ffffffff80935de8
[ 3583.833357] FS: 0000000000000000(0000) GS:ffff880028035000(0000) knlGS:0000000000000000
[ 3583.833364] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[ 3583.833369] CR2: 00007fcd122b5000 CR3: 0000000000201000 CR4: 00000000000406a0
[ 3583.833375] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 3583.833381] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 3583.833386] Call Trace:
[ 3583.833395] [<ffffffff804821b0>] ? acpi_idle_enter_bm+0x24e/0x289
[ 3583.833407] [<ffffffff805a518b>] ? cpuidle_idle_ca...

Read more...

description: updated
Changed in linux:
status: Unknown → Confirmed
Changed in linux:
status: Confirmed → Fix Released
Revision history for this message
VladNistor (vladnistor) wrote :

This occured today while I was browsing my phone through bluetooth.

Linux unknown-device 2.6.30-5-generic #6-Ubuntu SMP Mon May 11 19:56:30 UTC 2009 i686 GNU/Linux
Karmic 9.10 Alpha 1
apt-cache policy linux-image-2.6.30-5-generic
linux-image-2.6.30-5-generic:
  Installed: 2.6.30-5.6
  Candidate: 2.6.30-5.6
  Version table:
 *** 2.6.30-5.6 0
        500 http://gb.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
T. S. (t.s.) wrote :

Like for VladNistor, this also occured for me today when I was trying to browse my Sony Ericsson w760 using the bluetooth applet. Bluetooth had worked earlier, but then my phone wouldn't find my laptop, so I used the hardware switch to turn the laptop's radio off and on again. Then I selected "browse files on device.." and then the error occured.

Ubuntu 9.04
Linux goedel 2.6.30-020630rc2-generic #020630rc2 SMP Wed Apr 15 14:00:27 UTC 2009 i686 GNU/Linux
Fujitsu Lifebook S7020

Revision history for this message
T. S. (t.s.) wrote :

Like for VladNistor, this also occured for me today when I was trying to browse my Sony Ericsson w760 using the bluetooth applet. Bluetooth had worked earlier, but then my phone wouldn't find my laptop, so I used the hardware switch to turn the laptop's radio off and on again. Then I selected "browse files on device.." and then the error occured.

Ubuntu 9.04
Linux goedel 2.6.30-020630rc2-generic #020630rc2 SMP Wed Apr 15 14:00:27 UTC 2009 i686 GNU/Linux
Fujitsu Lifebook S7020

Revision history for this message
Vikram Dhillon (dhillon-v10) wrote :

Unfortunately it seems this bug is still an issue. Can you confirm this issue exists with the most recent Lucid Lynx 10.04 release - http://cdimage.ubuntu.com/releases/lucid/alpha-2/. If the issue remains in Lucid, please test the latest 2.6.32 upstream kernel build - https://wiki.ubuntu.com/KernelMainlineBuilds . Let us know your results. Thanks.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.