> Hello Vitko
> Last october you posted a problem with a USB flash disk (apacer).
> Did you find a solution?

I guess I did, I'm usings two of these critters on daily basis, even if I'm
not sure what was the exact problem back then.

> celery:/dev # tail /var/log/messages
> Feb 24 18:17:26 celery kernel: Device busy for revalidation (usage=1)
> Feb 24 18:17:26 celery kernel:  I/O error: dev 08:00, sector 0
> Feb 24 18:17:26 celery kernel: FAT: unable to read boot sector
> Feb 24 18:17:26 celery kernel: SCSI device (ioctl) reports 

Well, these looks familiar. I'm using this checklist:

1) try reloading module usb-storage

   modprobe -r usb-storage
   insmod usb-storage

It helps in 99 % cases.

If you have usb storage support compiled staticaly in kernel, change it to module
and recompile. It is worth having this as module, as I'm reloading it quite often. 
Sorry, I do not use any hotplugging scripts, as I simply do not trust them. Maybe
I'll read some reassuring HOWTO sometime :-)

2) if reloading usb-storage doesn't work, but kernel at least detects some device,
try unplug the disk, reload again, plug in a watch /var/log/messages.

3) if reloading usb-storage doesn't help, try to reload all usb subsystem, I do not
have module names at hand. If you have the rest of usb compiled statically (as I have),
reboot. This is really desperate.

4) now when you have used up all solutions on the system side it is time to assume
the device is wrong - use cfdisk -z to start cfdisk with empty partition table and 
create
partition. Use your distro tools to reformat is using FAT (if this is what you need, I 
using
it for my part), in Debian. Unplug device, repeat step 1. Alternatively you can use Win
2000/XP (if available) to format filesystem.

NOTE: Initially I had problems with my current Apacer HandySteno TN202, fdisk showed
very strange partition table, which I corrected using cfdisk -z. No problems since 
then,
I'm using it for some months alternately on Win 2000/XP and Linux.

All this has worked with kernels > 2.4.22, right now I have here 2.4.25 and this 
checklist
still helps. At home I have 2.6.3 with no problems with USB (even 2.0, chipset is VIA
KT600 on Asus A7V600-X), but I haven't use flash disks so frequently at home so far.

Most of the times swapping different kinds of flash disks makes trouble, reloading
usb-storage resolves them in 99.9 %. Yesterday I didn't get any interrupts upon 
plugging-in
the device, I had to reboot.

I also destroyed thee QDI U2Store 256 MB 's or something like that. User in our company
reported problems while copying > 100 MB files on Win 2000 box, so I investigated them
a bit on Linux. Partition table looked quite strange, first sector was on position 100 
or more.
I corrected using cfdisk -z, reformatted. After unplug/plug-in I tried to copy some 
files back,
but got some quite disturbing I/O errors. Win 2000 even didn't recognize the partition 
table
at all! Now talk to me about compatibility.

Good luck and please keep me informed.

Vitezslav Kotrla



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to