Hello guys, I got into the boring task of maintaining part of a distribution and for that I packed linux 2.6.24.4 for an embedded PC targeting bluetooth uses. Then one of the users reported SCO wasn't working, so I looked through the web, asked in the bluez IRC channel and Marcel told me there was an official patch going around in lklm. I found this one: http://lkml.org/lkml/diff/2008/2/27/528/1 Not sure if that was the one or not. Thing is that after that SCO started working.... Not for so long, I tried sco with mplayer, then killed mplayer, and then accidentally turned off the headset before the SCO link was closed, and then... Kernel crash! Shoot.... At the bottom I'm attaching the dmesg report. I then read in the web that hci_usb is broken, any chance this is related? I had never seen this before. I have some knowledge in kernel usb module creation, I wrote one for an usb-rs232 converter, any chance I can help? Thanks, Manuel Naranjo hci_scodata_packet: hci0 SCO packet for unknown connection handle 46 usb 1-1: USB disconnect, address 3 __tx_submit: hci0 tx submit failed urb c5e88814 type 3 err -19 __tx_submit: hci0 tx submit failed urb c5e88814 type 3 err -19 ------------[ cut here ]------------ kernel BUG at mm/page_alloc.c:383! invalid opcode: 0000 [#1] Modules linked in: bridge llc ipv6 usbhid ff_memless thermal processor button sis_agp evdev Pid: 122, comm: khubd Not tainted (2.6.24.4-aircable-sco1 #1) EIP: 0060:[<c014514a>] EFLAGS: 00010086 CPU: 0 EIP is at free_pages_bulk+0x23a/0x270 EAX: c10bef40 EBX: c10bef40 ECX: ffffffff EDX: 00000001 ESI: 00000000 EDI: 00000000 EBP: 0000077b ESP: c684be10 DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 Process khubd (pid: 122, ti=c684a000 task=c6877500 task.ti=c684a000) Stack: 0000077c c04a6248 00000003 c04a6224 c10bef60 00000001 00000000 00000001 00000001 c04a6248 c107d580 c04a623c 00000086 c014528b 00000000 c04a6224 c04c6f00 00000282 c0348a08 c6ad6b08 c0158e10 c0348a08 00000000 c3ead300 Call Trace: [<c014528b>] free_hot_cold_page+0x10b/0x130 [<c0348a08>] __kfree_skb+0x8/0x80 [<c0158e10>] kfree+0x60/0xb0 [<c0348a08>] __kfree_skb+0x8/0x80 [<c0348a08>] __kfree_skb+0x8/0x80 [<c0348aba>] skb_queue_purge+0xa/0x20 [<c02efca8>] hci_usb_flush+0x18/0x30 [<c02efda4>] hci_usb_close+0xe4/0xf0 [<c02f07fb>] hci_usb_disconnect+0x2b/0x90 [<c02bc9e3>] usb_disable_interface+0x33/0x40 [<c02bf268>] usb_unbind_interface+0x38/0x90 [<c026ca44>] __device_release_driver+0x64/0xa0 [<c026ce7d>] device_release_driver+0x1d/0x40 [<c026c33a>] bus_remove_device+0x5a/0x80 [<c026a6f4>] device_del+0x144/0x240 [<c02bc948>] usb_disable_device+0x78/0xe0 [<c02b8ba4>] usb_disconnect+0x94/0xe0 [<c02b90b9>] hub_thread+0x1d9/0xb60 [<c0118ee2>] update_curr+0x72/0x110 [<c0118f6b>] update_curr+0xfb/0x110 [<c012dd40>] autoremove_wake_function+0x0/0x50 [<c03c2938>] schedule+0x148/0x270 [<c02b8ee0>] hub_thread+0x0/0xb60 [<c012da02>] kthread+0x42/0x70 [<c012d9c0>] kthread+0x0/0x70 [<c0105157>] kernel_thread_helper+0x7/0x10 ======================= Code: 10 89 4a 04 89 5e 18 89 11 8b 54 24 0c ff 44 10 68 ff 44 24 1c 8b 4c 24 1c 39 4c 24 08 0f 85 11 fe ff ff 83 c4 24 5b 5e 5f 5d c3 <0f> 0b eb fe 66 90 8b 43 0c e9 34 ff ff ff 8b 54 24 38 89 c8 e8 EIP: [<c014514a>] free_pages_bulk+0x23a/0x270 SS:ESP 0068:c684be10 ---[ end trace a3cf24b8b03fe907 ]--- Bad page state in process 'syslogd' page:c10bef40 flags:0x40000000 mapping:00000000 mapcount:0 count:-1 Trying to fix it up, but a reboot is needed Backtrace: Pid: 1956, comm: syslogd Tainted: G D 2.6.24.4-aircable-sco1 #1 [<c0144721>] bad_page+0x61/0x90 [<c0144ad9>] get_page_from_freelist+0x389/0x3f0 [<c0145456>] __alloc_pages+0x56/0x380 [<c014cefd>] __pte_alloc+0xd/0x60 [<c014da61>] copy_page_range+0x2a1/0x2c0 [<c011b99e>] copy_process+0x72e/0xef0 [<c011c317>] do_fork+0x47/0x210 [<c0102226>] sys_clone+0x36/0x40 [<c0104012>] syscall_call+0x7/0xb ======================= -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html