Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-22-2007, 01:52 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2003
Posts: 28
Rep:
|
How to fix USB Pen Drive unmount problems with slack 9.1?
Hello fellow LQers!
I have a strange problem with my USB pen drive. For years I am using slackware 9.1 (kernel 2.4) and use 512MB TranscendData USB JetFlash. I can mount/unmount it without problem and it works fine, except in one situation.
The problem is that, if I copy small files from my usb drive (/dev/sda1, mounted on /mnt/flash), everything is OK. But, when I try to copy a big file, half way through I get "Input/Output error" on the device, the drive gets unmounted and then I can not mount it again unless I reboot my machine.
Anyone faced similar problem? Can somebody suggest some solution to this?
Thanks,
Atul.
|
|
|
|
11-22-2007, 04:32 AM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
are you mounting manually, do you have an entry in your /etc/fstab?
is hal mounting it?
2) do you have any cron jobs checking stuff such as tripwire?
|
|
|
|
11-22-2007, 12:08 PM
|
#3
|
|
LQ Newbie
Registered: Dec 2003
Posts: 28
Original Poster
Rep:
|
I figured out that there is some problem indeed. Here is my dmesg log immediately after connecting the pen drive:
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: JetFlash Model: TS512MJF2B Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
Unable to get major 8 for SCSI disk
Unable to get major 8 for SCSI disk
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
sda: Unit Not Ready, sense:
Current 00:00: sns = 70 6
ASC=28 ASCQ= 0
Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28
0x00 0x00 0x00 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sns = 70 6
ASC=28 ASCQ= 0
Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x28
0x00 0x00 0x00 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
ldm_validate_partition_table(): Disk read failed.
I/O error: dev 08:00, sector 0
unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
SCSI device sda: 1023744 512-byte hdwr sectors (524 MB)
sda: Write Protect is off
sda: sda1
And here is the dmesg log after I get read problems:
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
hub.c: USB device not accepting new address (error=-71)
usb-storage: host_reset() requested but not implemented
scsi: device set offline - command error recover failed: host 1 channel 0 id 0 lun 0
SCSI disk error : host 1 channel 0 id 0 lun 0 return code = 6050000
I/O error: dev 08:01, sector 12488
<I/O error message repeated several times>
Directory sread (sector 0x1c30) failed
I/O error: dev 08:01, sector 7216
dev = 08:01, ino = 115460
Filesystem panic (dev 08:01).
msdos_write_inode: unable to read i-node block
|
|
|
|
11-22-2007, 04:44 PM
|
#4
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
not a good sign, does this stick ever have to be used on a microsoft computer?
if not I am thinking you can format it to xfs, which is what I did, a journalised system that if you inadvertantly pull stick out, or there is a minor power hiccup, won't lose its data
|
|
|
|
04-24-2008, 03:16 AM
|
#5
|
|
LQ Newbie
Registered: Dec 2003
Posts: 28
Original Poster
Rep:
|
Found solution to this problem!
Eventually I found a solution to this problem - the autofs! Instead of mounting/unmounting the flash drive manually, I added it to the automounter. Now there is absolutely no problem accessing huge files from the drive. Thanks to all of you for your responses and helpful tips!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:22 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|