On Thu, 2004-04-01 at 16:08, Andrew Morton wrote: > Matt Gulick <[EMAIL PROTECTED]> wrote: > > > > Remember, SCSI is not hot plugable. > > oopsing the kernel is not a particularly friendly way of telling this > to > our users. > > If we have to bandaid over this, say, by leaking some memory and > emitting > some rude printk's then OK. Allowing the machine to kill itself, > potentially losing all the user's unsaved work is distinctly windows > 95ish, > and is not OK, agree? > - > To unsubscribe from this list: send the line "unsubscribe linux-scsi" > in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html
Very true. Oopsing the kernel is never good.(the BSOD is my favorite screen though, when a PC crashes and my iBook chugs along) The thing to do is to run through a clean-up proc when this happens. This is also why I use multiple ptrs in my code. The structures would then be torn down and released. An alert might also be generated to inform the user that the device was not properly removed which could result in data loss. Anything is better than an Oops. I would volunteer to take this on but I am between jobs at the moment and would not want to start something that I did not have time to properly complete. I will look at it and see if I have any suggestions for whoever takes this on. Matt ---------------------------------------- Matt Gulick Sr. Staff Engineer Adaptec, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] (715) 426-0884 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel