[Bug 1540] New: Error removing USB Flash hard drive

From: Martin J. Bligh (mbligh_at_aracnet.com)
Date: 11/14/03

  • Next message: Andrea Arcangeli: "Re: kernel.bkbits.net off the air"
    Date:	Fri, 14 Nov 2003 07:20:42 -0800
    To: linux-kernel <linux-kernel@vger.kernel.org>
    
    

    http://bugme.osdl.org/show_bug.cgi?id=1540

               Summary: Error removing USB Flash hard drive
        Kernel Version: 2.6.0-test9-mm2
                Status: NEW
              Severity: normal
                 Owner: akpm@digeo.com
             Submitter: bunnadik@musikhuset.org

    Distribution:Mandrake 9.2-rc1
    Hardware Environment:Dell Optiplex G1
    Software Environment:
    Problem Description:When removing the flash drive (after umount) I get a:
    Badness in atomic_dec_and_test at include/asm/atomic.h:150
    Call Trace:
     [<c0243b21>] kobject_put+0x71/0x80
     [<c88d9f9f>] scsi_remove_host+0x5f/0x80 [scsi_mod]
     [<c88cf978>] storage_disconnect+0x38/0x48 [usb_storage]
     [<c02c8ad8>] usb_unbind_interface+0x78/0x80
     [<c0285236>] device_release_driver+0x66/0x70
     [<c0285375>] bus_remove_device+0x55/0xa0
     [<c028423d>] device_del+0x5d/0xa0
     [<c02cf320>] usb_disable_device+0x70/0xb0
     [<c02c9656>] usb_disconnect+0x96/0xf0
     [<c02cbeff>] hub_port_connect_change+0x32f/0x340
     [<c02cb7da>] hub_port_status+0x3a/0xb0
     [<c02cc246>] hub_events+0x336/0x3a0
     [<c02cc2e5>] hub_thread+0x35/0xf0
     [<c0344b72>] ret_from_fork+0x6/0x14
     [<c011b2b0>] default_wake_function+0x0/0x30
     [<c02cc2b0>] hub_thread+0x0/0xf0
     [<c0109299>] kernel_thread_helper+0x5/0xc

    Steps to reproduce:
    Mount flash drive, add some files, umount, remove from computer

    Note:Happens _probably_ under Linus' tree as well. Don't have time to check
    right now.

    -
    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/


  • Next message: Andrea Arcangeli: "Re: kernel.bkbits.net off the air"

    Relevant Pages

    • Re: Kernel 2.6.6 & 2.6.7 sometime hang after much I/O
      ... After some time more and more konsole froze. ... The attached trace was with 2.6.7, ... Can you reproduce the hang, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm1-V0.7.27-3
      ... could you apply the attached patch and try to reproduce this long ... The new trace will tell us whether need_resched is set during ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Rootfs mounted from user space - problem with umount
      ... > Here's the trace for umount: ... see who acquired it first by checking to see if the sem acquired belongs ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Kernel Bug Report
      ... There was no call trace after what I saw. ... I am now working to reproduce the error with a non tainted kernel. ... 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/ ...
      (Linux-Kernel)
    • Re: Rootfs mounted from user space - problem with umount
      ... >Could you do a sysrq t and send in a backtrace? ... Here's the trace for umount: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)