Try using 'eject /dev/sda' after umount and before unplugging. That will likely turn off the LED.
Matt On Mon, Mar 29, 2004 at 08:59:28AM +0200, IGOR LURI wrote: > Hi all! > > On my PC I have instaled and working 2 operating systems : Mandrake 9.1 and > Windows2000. I have realized the following differences between Windows and > Linux when I unplug a USB pendrive: > > Linux Mandrake > > 1.- Before unplaging the device I execute the umount command. > > 2.- My pendrive has a red LED that continues lighting > > 3.- I unplug the pendrive > > 4.- I plug it and I can't mount it: /dev/sda1: Input/output error > Kernel messages : usb_uhci.c: interrupt, status2, frame # 1318 > I/O error: dev 08:01, sector 0 > FAT bread failed > > 5.- If I try to mount another time, everything goes OK. > > Windows 2000 > > 1.- With the right button of the mouse I select Disconnect hardware and then > USB mass storage device. I select Stop later. > > 2.- My pendrives red LED is off. > > 3.- I unplug it > > 4.- If I plug it on Windows or Linux everything goes OK, without any > errormessage > > > What command Windows use to umount the pendrive? > Why in Linux isn't enough an umount command before unplug the pendirve? > > > > > > > > > > > Igor Luri Bravo > Tecnico I+D Software > Fagor Automation S. Coop. > P. O. Box 144 > E-20500 Mondrag�n-Arrasate > Tel. ++34 943 71 92 00 - ++34 943 03 98 00 > Fax. ++34 943 79 17 12 > www.fagorautomation.com <http://www.fagorautomation.com> > > * Este mensaje y los documentos que, en su caso, lleve anexos, pueden > contener informaci�n confidencial. Por ello, se informa a quien lo reciba > por error que la informaci�n contenida en el mismo es reservada y su uso no > autorizado est� prohibido legalmente, por lo que en tal caso le rogamos que > nos lo comunique por la misma v�a , se abstenga de realizar copias del > mensaje o remitirlo o entregarlo a otra persona y proceda a borrarlo de > inmediato. > * Mezu honek eta txertatuta eraman ditzakeen dokumentuek informazio > konfidentziala izan dezakete. Hori dela eta, nahi gabe hartzen duenari > jakinarazten zaio bertako informazioa erreserbatua dela eta baimenik gabe > erabiltzea legez debekatuta dagoela; horregatik, bide beretik guri > jakinarazteko eskatzen diogu, eta aldi berean mezuaren kopiarik ez egiteko, > beste pertsona bati ez emateko eta berehala ezabatzeko erregutzen diogu." > * This message together with any documents attached may contain > confidential information. You are informed that if you should receive it by > mistake, the information it contains is reserved and its use is not > authorized. It is legally prohibited. If you have received this message by > mistake, please let us know as soon as possible by e-mail. Do not make any > copies of the message, nor send it or give it to anybody else. Please delete > it right away. > > > > ------------------------------------------------------- > 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_id70&alloc_id638&op�k > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver It was a new hope. -- Dust Puppy User Friendly, 12/25/1998
pgp00000.pgp
Description: PGP signature
