Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030915AbXEASXI (ORCPT ); Tue, 1 May 2007 14:23:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030901AbXEASXI (ORCPT ); Tue, 1 May 2007 14:23:08 -0400 Received: from mx1.redhat.com ([66.187.233.31]:39924 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030915AbXEASXF (ORCPT ); Tue, 1 May 2007 14:23:05 -0400 Date: Tue, 1 May 2007 14:23:01 -0400 From: Dave Jones To: Linux Kernel Subject: 2.6.21rc7-mm1 usb/sysfs oops. Message-ID: <20070501182301.GB2843@redhat.com> Mail-Followup-To: Dave Jones , Linux Kernel Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3887 Lines: 75 I thought I'd try something really silly, and set up a raid5 stripe across 3 USB memory sticks just for giggles. it worked just fine. Then I thought I'd be *really* clever and see how well raid5 reconstruction over same would behave, and yanked one out whilst the array was still 'up'. *boom*. No more being a smart-ass for me today. Dave ------------[ cut here ]------------ kernel BUG at fs/sysfs/inode.c:272! invalid opcode: 0000 [1] SMP CPU 1 Modules linked in: raid456 raid0 usb_storage hidp l2cap bluetooth sunrpc ipv6 nf_conntrack_netbios_ns nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink xt_tcpudp ipt_REJECT iptable_filter ip_tables x_tables dm_multipath video sbs button dock battery asus_acpi ac lp snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device e1000 snd_pcm_oss snd_mixer_oss sg snd_pcm shpchp snd_timer parport_pc snd soundcore parport floppy i2c_i801 serio_raw snd_page_alloc sr_mod cdrom i2c_core rtc_cmos rtc_core rtc_lib dm_snapshot dm_zero dm_mirror dm_mod ahci pata_marvell pata_jmicron ata_generic ata_piix libata sd_mod scsi_mod ext3 jbd mbcache ehci_hcd ohci_hcd uhci_hcd Pid: 176, comm: khubd Tainted: G D 2.6.21-rc7-mm1 #2 RIP: 0010:[] [] sysfs_drop_dentry+0x19e/0x1ce RSP: 0018:ffff810003d03b70 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff81001d9f3820 RCX: ffff81001d9f3600 RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff81000923a130 RBP: ffff810003d03bd0 R08: 000000000001a029 R09: 0000000000000000 R10: ffffffff802ec8f4 R11: ffff81000456b5b0 R12: ffff81000923a048 R13: 0000000000000002 R14: ffff81000923a130 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff810002c010a0(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 00002ab1d986a000 CR3: 0000000005580000 CR4: 00000000000006e0 Process khubd (pid: 176, threadinfo ffff810003d02000, task ffff810002e46080) Stack: ffff810003d03b90 ffffffff802a359a 000000004637843a 000000001007b214 000000004637843a 000000001007b214 ffff81001d9f3600 ffff81001d9f3600 ffff810008bc5568 ffff81001d9f3820 ffff81000456b5b0 ffff810005202ba0 Call Trace: [] trace_hardirqs_on+0x114/0x138 [] remove_dir+0x58/0x93 [] __sysfs_remove_dir+0x11b/0x126 [] sysfs_remove_dir+0x36/0x3b [] kobject_del+0x16/0x22 [] device_del+0x2d8/0x302 [] :scsi_mod:scsi_remove_host+0x109/0x120 [] :usb_storage:quiesce_and_remove_host+0xb3/0xb8 [] :usb_storage:storage_disconnect+0x18/0x24 [] usb_unbind_interface+0x47/0x87 [] __device_release_driver+0x93/0xb3 [] device_release_driver+0x42/0x5a [] bus_remove_device+0x92/0xa4 [] device_del+0x279/0x302 [] usb_disable_device+0x7a/0xf2 [] usb_disconnect+0xb7/0x14b [] hub_thread+0x3ae/0xba6 [] relocate_kernel+0xa/0x11f [] autoremove_wake_function+0x0/0x38 [] hub_thread+0x0/0xba6 [] kthread+0x49/0x76 [] child_rip+0xa/0x12 [] restore_args+0x0/0x30 [] kthreadd+0x11f/0x144 [] kthread+0x0/0x76 [] child_rip+0x0/0x12 INFO: lockdep is turned off. Code: 0f 0b eb fe 41 ff 4c 24 4c 48 89 df e8 2e eb ef ff 4c 89 f7 RIP [] sysfs_drop_dentry+0x19e/0x1ce RSP -- http://www.codemonkey.org.uk - 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/