USB is autodetecting but when its pull out throwing error
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
USB is autodetecting but when its pull out throwing error
Friends,
OS: RHEL AS 3.0
when i insert my usb its detecting automatically in /dev/sda1.
after that i mount by /dev/sda1 /mnt/flash.
no problem in mounting.....
after finish my work...i umount /dev/sda1 /mnt/flash
it says /dev/sda1 not mounted.
when i unplug the usb device its throwing an IO error...
what might be the reason?
as soon as i insert the usb....im getting the below message.
Quote:
[root@mypc root]# usb.c: USB device 2 (vend/prod 0xd7d/0x100) is not claimed by any active driver.
Starting timer : 0 0
Vendor: Model: USB DISK Rev: 1.20
Type: Direct-Access ANSI SCSI revision: 02
Starting timer : 0 0
Attached scsi remoable disk sda at scsi3, chennel 0,id 0, lun 0
SCSI device sda: 253952 512-byte hdwr sectors (130 MB)
sda: write protect is off
after this i have to press the enter key then only the prompt will display.
i.e., [root@mypc root]$
now i will mount the usb to the mount point /mnt/flash
[root@mypc root]$ mount /dev/sda1 /mnt/flash
[root@mypc root]$
ok...now its mounted.....
now im umouting.....
[root@mypc root]$ umount /mnt/flash
[root@mypc root]$
ok....its umounted....
now im removing the usb....(below is the error im getting)
Quote:
I/O error: dev 08:00, sector 2
I/O error: dev 08:00, sector 4
I/O error: dev 08:00, sector 6
I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 2
I/O error: dev 08:00, sector 4
I/O error: dev 08:00, sector 6
I/O error: dev 08:00, sector 24
I/O error: dev 08:00, sector 26
I/O error: dev 08:00, sector 28
I/O error: dev 08:00, sector 30
sda : READ CAPACITY FAILED
sda : status=1, message=00, host=0, driver=08
Info fld=0xa00(nonstd), Current sd00:00: sense key not ready
sda: block size assumed to be 512 bytes, disk size 1GB
sda: test WP failed, assume write enabled
I/O error: dev 08:00, sector 2
I/O error: dev 08:00, sector 4
I/O error: dev 08:00, sector 6
I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 2
I/O error: dev 08:00, sector 4
I/O error: dev 08:00, sector 6
unable to read partition table
after this i have to press the enter key then only the prompt will display.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.