From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265262AbUENMtr (ORCPT ); Fri, 14 May 2004 08:49:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265265AbUENMtr (ORCPT ); Fri, 14 May 2004 08:49:47 -0400 Received: from lucidpixels.com ([66.45.37.187]:30177 "HELO lucidpixels.com") by vger.kernel.org with SMTP id S265262AbUENMtn (ORCPT ); Fri, 14 May 2004 08:49:43 -0400 Date: Fri, 14 May 2004 08:49:39 -0400 (EDT) From: Justin Piszcz X-X-Sender: jpiszcz@p500 To: linux-kernel@vger.kernel.org Subject: Linux Kernel 2.6 SMP+HT + 1 Intel P4 HT CPU In-Reply-To: <5D3C2276FD64424297729EB733ED1F7605FAE205@email1.mitretek.org> Message-ID: References: <5D3C2276FD64424297729EB733ED1F7605FAE205@email1.mitretek.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Why would you use SMP on an HT cpu? Is this reccomended? > > > -----Original Message----- > From: linux-kernel-owner@vger.kernel.org > [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Alberto > Bertogli > Sent: Thursday, May 13, 2004 8:42 PM > To: linux-usb-devel@lists.sourceforge.net > Cc: linux-kernel@vger.kernel.org > Subject: BUG when removing USB flash drive > > Hi! > > I've just hit a bug after removing a Kingston USB flash drive. > > I have removed it several (probably more than 40) times today without > problems until now. I'm removing it while doing streaming write()s on > the device (using /dev/sda) because I'm testing some things with the > drive. This was just like all the other times, so it looks like a race > somewhere. > > This is a stock 2.6.6 kernel, on a Pentium 4 with HT (the kernel is > compiled with both SMP and preempt). > > After the BUG the kernel doesn't detect the device anymore. > > Please let me know if you need any more information or if I can give you > a > hand with testing. > > Thanks a lot, > Alberto > > > kernel BUG at drivers/usb/storage/usb.c:848! > invalid operand: 0000 [#1] > PREEMPT SMP > CPU: 1 > EIP: 0060:[] Not tainted > EFLAGS: 00010202 (2.6.6) > EIP is at usb_stor_release_resources+0xa3/0xcd > eax: 00002832 ebx: c639e200 ecx: c04bd768 edx: debf2888 > esi: c04c6780 edi: c308ac00 ebp: c308ac24 esp: dededeb0 > ds: 007b es: 007b ss: 0068 > Process khubd (pid: 10, threadinfo=dedec000 task=dedef770) > Stack: debf2888 debf2854 c02e9f48 c639e200 debf2854 de40a670 debf2864 > c04c67a0 > c0272926 debf2864 debf288c debf2864 c308acd0 c0272a4d debf2864 > debf28bc > debf2864 c308acd0 c0271b06 debf2864 debf2864 c308ac00 c0271b57 > debf2864 > Call Trace: > [] usb_unbind_interface+0x7a/0x7c > [] device_release_driver+0x64/0x66 > [] bus_remove_device+0x56/0x98 > [] device_del+0x5f/0x9d > [] device_unregister+0x13/0x23 > [] usb_disable_device+0x71/0xac > [] usb_disconnect+0x9c/0xeb > [] hub_port_connect_change+0x274/0x279 > [] hub_port_status+0x45/0xb0 > [] hub_events+0x2e9/0x364 > [] hub_thread+0x2d/0xe8 > [] ret_from_fork+0x6/0x14 > [] default_wake_function+0x0/0x12 > [] hub_thread+0x0/0xe8 > [] kernel_thread_helper+0x5/0xb > > Code: 0f 0b 50 03 05 a6 43 c0 e9 7c ff ff ff c7 80 e0 01 00 00 00 > > > Five seconds later, this comes out: > > <1>Unable to handle kernel paging request at virtual address 31a875c8 > printing eip: > c0307b2b > *pde = 00000000 > Oops: 0002 [#2] > PREEMPT SMP > CPU: 0 > EIP: 0060:[] Not tainted > EFLAGS: 00010002 (2.6.6) > EIP is at usb_stor_control_thread+0x14d/0x2c9 > eax: 31a875c8 ebx: c639e200 ecx: c639e200 edx: 00002003 > esi: c639e600 edi: d3c84000 ebp: d3c84000 esp: d3c85f9c > ds: 007b es: 007b ss: 0068 > Process usb-storage (pid: 10290, threadinfo=d3c84000 task=c76b0130) > Stack: dec00800 c639e200 c76b0698 c639e310 c639e324 c76b0130 c13e5ca0 > dededda8 > c0105f86 dedef770 c03079de 00000000 c639e200 00000000 00000000 > 00000000 > 00000000 c03079de 00000000 00000000 00000000 c0104271 c639e200 > 00000000 > Call Trace: > [] ret_from_fork+0x6/0x14 > [] usb_stor_control_thread+0x0/0x2c9 > [] usb_stor_control_thread+0x0/0x2c9 > [] kernel_thread_helper+0x5/0xb > > Code: f0 fe 08 0f 88 38 0b 00 00 8b 83 b8 00 00 00 81 b8 50 01 00 > <6>note: usb-storage[10290] exited with preempt_count 1 > > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" > in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > >