Return-Path: From: Bing Zhao To: "linux-kernel@vger.kernel.org" , "linux-bluetooth@vger.kernel.org" Date: Tue, 28 Apr 2009 18:02:43 -0700 Subject: BUG: sleeping function called from invalid context at mm/slub.c:1595 --- "hcitool cc" or "l2ping" Message-ID: <477F20668A386D41ADCC57781B1F704301E3F5C7F5@SC-VEXCH1.marvell.com> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi, I'm getting this error whenever I use "hcitool cc" or "l2ping xx:xx:xx:xx:xx:xx" command. Kernel: version 2.6.30-rc3 from bluetooth-testing tree HCI Tool: version 3.20 Laptop: Lenovo X61s Did anyone see this already? Thanks, Bing =========================================== # hcitool cc 00:1c:c1:e3:ce:cf BUG: sleeping function called from invalid context at mm/slub.c:1595 in_atomic(): 1, irqs_disabled(): 0, pid: 0, name: swapper Pid: 0, comm: swapper Not tainted 2.6.30-rc3 #2 Call Trace: [] ? kvasprintf+0x28/0x44 [] ? __kmalloc+0xa3/0x168 [] ? kvasprintf+0x28/0x44 [] ? kobject_set_name_vargs+0x1e/0x4c [] ? dev_set_name+0x1a/0x1c [] ? hci_conn_add_sysfs+0x48/0x94 [bluetooth] [] ? hci_event_packet+0x1e9/0x1b7c [bluetooth] [] ? pollwake+0x33/0x39 [] ? __wake_up_common+0x2e/0x58 [] ? __wake_up_sync_key+0x33/0x49 [] ? sock_def_readable+0x34/0x5e [] ? sock_queue_rcv_skb+0xaa/0xb1 [] ? hci_send_to_sock+0xd1/0x117 [bluetooth] [] ? hci_rx_task+0x6b/0x1d9 [bluetooth] [] ? rh_timer_func+0x0/0x5 [usbcore] [] ? run_timer_softirq+0x120/0x189 [] ? _spin_lock_irq+0x12/0x15 [] ? run_timer_softirq+0x17a/0x189 [] ? tasklet_action+0x5b/0xa7 [] ? __do_softirq+0x98/0x13e [] ? __do_softirq+0x0/0x13e [] ? irq_exit+0x26/0x53 [] ? do_IRQ+0x65/0x76 [] ? common_interrupt+0x29/0x30 [] ? acpi_idle_enter_simple+0x130/0x166 [] ? acpi_idle_enter_bm+0xcf/0x28a [] ? cpuidle_idle_call+0x5c/0x92 [] ? cpu_idle+0x46/0x5f [] ? start_kernel+0x2c7/0x2ca ------------[ cut here ]------------ WARNING: at kernel/workqueue.c:371 flush_cpu_workqueue+0x23/0x70() Hardware name: 766634U Modules linked in: cpufreq_ondemand acpi_cpufreq loop dm_multipath snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm crc_itu_t pcspkr snd_timer thinkpad_acpi snd ac battery btusb button iTCO_wdt iTCO_vendor_support soundcore bluetooth i2c_i801 rfkill i2c_core e1000e snd_page_alloc hwmon ata_piix dm_snapshot dm_zero dm_mirror dm_region_hash dm_log dm_mod ahci libata sd_mod scsi_mod ext3 jbd mbcache uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded: scsi_wait_scan] Pid: 1100, comm: bluetooth Not tainted 2.6.30-rc3 #2 Call Trace: [] ? warn_slowpath+0x60/0x9f [] ? warn_slowpath+0x87/0x9f [] ? __wake_up_common+0x2e/0x58 [] ? update_curr+0xbc/0xf5 [] ? update_curr+0xa3/0xf5 [] ? dequeue_task_fair+0xd8/0xe5 [] ? __switch_to+0xde/0x164 [] ? finish_task_switch+0x40/0xc4 [] ? flush_cpu_workqueue+0x23/0x70 [] ? flush_workqueue+0x3c/0x59 [] ? add_conn+0x10/0x2e [bluetooth] [] ? worker_thread+0x12b/0x1b4 [] ? add_conn+0x0/0x2e [bluetooth] [] ? autoremove_wake_function+0x0/0x2d [] ? worker_thread+0x0/0x1b4 [] ? kthread+0x42/0x69 [] ? kthread+0x0/0x69 [] ? kernel_thread_helper+0x7/0x10 ---[ end trace 4622b3ef7b8b6111 ]--- # hciconfig -a hci0: Type: USB BD Address: 00:1C:26:E6:2F:41 ACL MTU: 1017:8 SCO MTU: 64:8 UP RUNNING RX bytes:348 acl:0 sco:0 events:11 errors:0 TX bytes:38 acl:0 sco:0 commands:11 errors:0 Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: Link mode: SLAVE ACCEPT Name: 'IBM Callisto' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Ver: 2.0 (0x3) HCI Rev: 0x212b LMP Ver: 2.0 (0x3) LMP Subver: 0x41d3 Manufacturer: Broadcom Corporation (15)