From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261238AbULEDEq (ORCPT ); Sat, 4 Dec 2004 22:04:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261239AbULEDEq (ORCPT ); Sat, 4 Dec 2004 22:04:46 -0500 Received: from out002pub.verizon.net ([206.46.170.141]:52199 "EHLO out002.verizon.net") by vger.kernel.org with ESMTP id S261238AbULEDEd (ORCPT ); Sat, 4 Dec 2004 22:04:33 -0500 From: Gene Heskett Reply-To: gene.heskett@verizon.net Organization: Organization: None, detectable by casual observers To: linux-kernel@vger.kernel.org Subject: Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm2-V0.7.32-0 Date: Sat, 4 Dec 2004 22:05:27 -0500 User-Agent: KMail/1.7 Cc: "Rui Nuno Capela" , "Ingo Molnar" , "Lee Revell" , mark_h_johnson@raytheon.com, "K.R. Foley" , "Bill Huey" , "Adam Heath" , "Florian Schmidt" , "Thomas Gleixner" , "Michal Schmidt" , "Fernando Pablo Lopez-Lezcano" , "Karsten Wiese" , "Gunther Persoons" , emann@mrv.com, "Shane Shrybman" , "Amit Shah" , "Esben Nielsen" References: <20041111215122.GA5885@elte.hu> <20041203205807.GA25578@elte.hu> <32786.192.168.1.5.1102199522.squirrel@192.168.1.5> In-Reply-To: <32786.192.168.1.5.1102199522.squirrel@192.168.1.5> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412042205.27253.gene.heskett@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out002.verizon.net from [151.205.11.214] at Sat, 4 Dec 2004 21:04:31 -0600 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 04 December 2004 17:32, Rui Nuno Capela wrote: >Ingo Molnar wrote: >> i have released the -V0.7.32-0 Real-Time Preemption patch, which >> can be downloaded from the usual place: I can confirm essentially this same bug, this rather voluminous output took place after I turned off my camera and unplugged the usb cable from it. At that point all other usb stuff was spotty, even the mouse till I rebooted. >I have a bug to report, it shows on both of my machines (SMP and UP) > now running RT-V0.7.32-2. It seems to be present also on previous > RT releases, and don't even know if it's upstream. > >When one usb-storage flash stick is first time unplugged: > >usb 4-6: USB disconnect, address 4 >slab error in kmem_cache_destroy(): cache `scsi_cmd_cache': Can't > free all objects > [] dump_stack+0x23/0x25 (20) > [] kmem_cache_destroy+0x103/0x1aa (28) > [] scsi_destroy_command_freelist+0x97/0xa8 (28) > [] scsi_host_dev_release+0x37/0xe1 (104) > [] device_release+0x7a/0x7c (32) > [] kobject_cleanup+0x87/0x89 (28) > [] kref_put+0x52/0xef (40) > [] kobject_put+0x25/0x27 (16) > [] usb_stor_release_resources+0x66/0xca [usb_storage] > (16) [] storage_disconnect+0x8e/0x9b [usb_storage] (16) > [] usb_unbind_interface+0x84/0x86 [usbcore] (28) > [] device_release_driver+0x75/0x77 (28) > [] bus_remove_device+0x53/0x82 (20) > [] device_del+0x4b/0x9b (20) > [] usb_disable_device+0xf5/0x10a [usbcore] (28) > [] usb_disconnect+0xc8/0x164 [usbcore] (40) > [] hub_port_connect_change+0x2ef/0x426 [usbcore] (56) > [] hub_events+0x1c6/0x39d [usbcore] (56) > [] hub_thread+0x37/0x109 [usbcore] (96) > [] kernel_thread_helper+0x5/0xb (142893076) > > >Then, just when the same is plugged in again: > >usb 4-6: new high speed USB device using ehci_hcd and address 5 >kmem_cache_create: duplicate cache scsi_cmd_cache >BUG at mm/slab.c:1447! >------------[ cut here ]------------ >kernel BUG at mm/slab.c:1447! >invalid operand: 0000 [#1] >PREEMPT SMP >Modules linked in: nls_utf8 nls_cp860 vfat fat nls_base usb_storage >ohci1394 ieee1394 ehci_hcd usbhid uhci_hcd intel_mch_agp agpgart > evdev wacom snd_pcm_oss snd_mixer_oss snd_seq_midi > snd_seq_midi_event snd_seq snd_usb_usx2y snd_usb_lib snd_hwdep > snd_cs46xx snd_rawmidi snd_seq_device snd_intel8x0 snd_ac97_codec > snd_pcm snd_timer snd soundcore snd_page_alloc realtime commoncap > w83781d i2c_sensor i2c_isa i2c_i801 i2c_core sk98lin subfs dm_mod > usbcore >CPU: 1 >EIP: 0060:[] Not tainted VLI >EFLAGS: 00010286 (2.6.10-rc2-mm3-RT-V0.7.32-2.0smp) >EIP is at kmem_cache_create+0x4df/0x69c >eax: 00000017 ebx: f7cd9710 ecx: c05c5d00 edx: f77b8000 >esi: c030973a edi: c030973a ebp: f77b9d10 esp: f77b9cd8 >ds: 007b es: 007b ss: 0068 preempt: 00000001 >Process khubd (pid: 1477, threadinfo=f77b8000 task=f777c2b0) >Stack: c02f2054 c02f63aa 000005a7 00000565 f77b9d00 f7cd10c0 > c0000000 ffffff80 > 00000001 f7cd1080 00000080 c03418a0 f7000400 f7000428 > f77b9d3c c026e662 > c030972b 00000180 00000080 00002000 00000000 00000000 > f7000490 00000000 >Call Trace: > [] show_stack+0xb4/0xbc (28) > [] show_registers+0x169/0x1de (56) > [] die+0x10b/0x191 (68) > [] do_invalid_op+0xba/0xc4 (204) > [] error_code+0x2b/0x30 (116) > [] scsi_setup_command_freelist+0x94/0x115 (44) > [] scsi_host_alloc+0x26f/0x399 (124) > [] usb_stor_acquire_resources+0x6c/0x10a [usb_storage] > (28) [] storage_probe+0x1b8/0x259 [usb_storage] (40) > [] usb_probe_interface+0x62/0x7b [usbcore] (28) > [] driver_probe_device+0x2f/0x70 (24) > [] device_attach+0x4a/0xa5 (40) > [] bus_add_device+0x4d/0x89 (28) > [] device_add+0xb1/0x137 (40) > [] usb_set_configuration+0x3ca/0x444 [usbcore] (84) > [] usb_new_device+0xa5/0x164 [usbcore] (44) > [] hub_port_connect_change+0x221/0x426 [usbcore] (56) > [] hub_events+0x1c6/0x39d [usbcore] (56) > [] hub_thread+0x37/0x109 [usbcore] (96) > [] kernel_thread_helper+0x5/0xb (142893076) >Code: e8 57 5e fd ff b8 08 4f be c0 e8 c0 d1 fe ff c7 44 24 08 a7 05 > 00 00 c7 44 24 04 aa 63 2f c0 c7 04 24 54 20 2f c0 e8 31 5e fd ff > <0f> 0b a7 05 aa 63 2f c0 eb b9 a1 44 1a 33 c0 c7 44 24 04 d0 00 > > >After this, any USB related operation is doomed, if not the entire > system. > >Bye. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.30% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved.