Subject: Re: Crashes when removing an usb flash reader
To: None <ianzag@megasignal.com>
From: Lennart Augustsson <lennart@augustsson.net>
List: current-users
Date: 07/19/2003 12:59:27
Can you get into the debugger when it happens?

    -- Lennart

Ian Zagorskih wrote:

>On Friday 18 July 2003 11:45, Michal 'hramrach' Suchanek wrote:
>  
>
>>My kernel sources are probably from Jul 15
>>When I connect my usb flash reader I get /dev/sd0d.
>>I can do "cat /dev/sd0d >/dev/null" and unplug the reader while cat is
>>running. Once the system crashed, twice it just locked.
>>I was unable to get any coredump.
>>
>>I will try with a different kernel once I update and compile a new version.
>>    
>>
>
>Unfortunatelly, I can just confirm this. NetBSD i386/1.6.1. We use USB 
>FlashDisks for data transfer from some embedded system. Board's controller is 
>OHCI/USB 1.1. When while writting data on mounted disk (FS is FAT16) I detach 
>disk system completely locks and is not responsible anymore. Only reboot 
>helps. No panics etc just lock. Kernel dumps arn't available. The behaviour 
>is 100% reproduceble.
>
>Any ideas what could happen ? ATM I'm slowly trying to investigate what 
>happens when I remove disk what's in use but cannot say I have lot of success 
>for now.
>
>  
>