usb stick not working in linux
I hate theses windows-only devices...
I have a new 512MB usb stick that works fine in Windows. But in Linux, I have no sucess to use one of them. Amazing the effort the companies invest just to something work ONLY inwindows. I mean, it not work better than a regular device. It just work in Windows. Anyway, the kernel messages: Code:
Jul 6 12:05:47 babylon5 kernel: usb 5-8: new high speed USB device using ehci_hcd and address 12 Code:
[root@babylon5 ~]# lsusb Code:
[root@babylon5 ~]# cat /sys/block/sdc/removable Code:
Jul 6 12:07:53 babylon5 kernel: Buffer I/O error on device sdc, logical block 131056 I and 4 co-workers have the same usb-stick our company gave to us. None of them works in my F7, 2.6.21-1.3228.fc7 and all works in Windows. any ideas ? |
|
Hi jiml8 !
I already follow this thread, no luck. First of all, there is no partition table that could be read from /dev/sdc. So, there is no /dev/sdc1 to mount. Even so, if a try to mount /dev/sdc as the thread you pointed, the mount command hangs forever, with the same error messages in /var/log/messages. I even try to create a image of the usb stick to try to mount as loopback device and analyze it, with "dd if=/dev/sdc of/tmp/sdc.data", but the command hangs as every other command I tried with the same kernel messages. In this particular case, the dd times-out after a couple of minutes; Code:
[root@babylon5 ~]# dd if=/dev/sdc of=/tmp/sdc.data |
I guess I didn't look closely enough at your original post.
This looks more like a usb driver problem or a hardware problem. Are you sure your usb stack is up to date? What happens if you boot the same system into Windows? Can you do that? If you do, is the stick functional then? I am wondering if there is some possibility that your USB port(s) are insufficiently powered or some such. Wouldn't think so, but... |
Yes, my personal machine has dual boot, but don't tell to anyone :)
The other system is Windows XP SP2 and it recognized the usb stick in the first time, no need to install any drives or any unusual procedures. Right clicking in My Computer Icon/Manage Computer, and opening the disk manager, showed the F: disk as Removable media. Right there, I right clicked on the drive and choose to format as FAT32. (The original format was FAT16). I successfully wrote files and directories to the disk until it almost full in capacity. I unplugged it and plugged it again, all files are there. I delete the files without any problems. So, I am sure it works in windows in this same hardware and USB port. And as additional information, I tried to access this usb stick in a Win98 machine, but it not recognized it, but I think it is normal in windows 98. Another test was to wrote mp3 files on it and plug it on my mp3 car player which has a usb port to play mp3 files. Guess what ? The player does not recognized the usb stick. Nothing happens ! It works only in Windows XP. Is this strange or what ? |
Quote:
|
I formated the device as FAT16 again, no luck. I got the same behavior. The device hangs on accessing /dev/sdc by any means.
On windows XP and Windows Vista it works fine. On windows I was capable to verify the device has not a partition table ! It looks like more than a floppy disk than a hard disk. On windows, programas like partition magic can not write to the device. They got a read only MBR message. I believe this device is not a regular usb stick you can use as generic disk. It is a shame it was design to work only on windows. see'ya, |
Just to close this thread.
Looks like it was a kernel problem. Upgrading my Fedora 7 to Linux babylon5.xxxxx.com.br 2.6.22.1-27.fc7 #1 SMP Tue Jul 17 17:13:26 EDT 2007 i686 i686 i386 GNU/Linux, the SAME usb stick is working now. Code:
Jul 27 16:25:59 babylon5 kernel: usb 5-7: new high speed USB device using ehci_hcd and address 8 Code:
# mount | grep sdc I'm glad it is working in the new kernel and thanks to jiml8 for your time in this issue. |
Pentax Camera not detected any more. After I installed F-Spot the camera would be detected and photos could be imported via the usb connection. But lately after some updates on FC6 the usb "disk" seems to come on and then disappears again.
From tail /var/log/messages I got: Aug 13 23:09:42 bears kernel: scsi 3:0:0:0: [sda] Assuming drive cache: write through Aug 13 23:09:42 bears kernel: scsi 3:0:0:0: rejecting I/O to dead device Aug 13 23:09:42 bears last message repeated 4 times Aug 13 23:09:42 bears kernel: scsi 3:0:0:0: [sda] READ CAPACITY failed Aug 13 23:09:42 bears kernel: scsi 3:0:0:0: [sda] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK Aug 13 23:09:42 bears kernel: scsi 3:0:0:0: [sda] Sense not available. Aug 13 23:09:42 bears kernel: scsi 3:0:0:0: rejecting I/O to dead device Aug 13 23:09:42 bears kernel: scsi 3:0:0:0: [sda] Write Protect is off Aug 13 23:09:42 bears kernel: scsi 3:0:0:0: [sda] Assuming drive cache: write through Aug 13 23:09:42 bears kernel: scsi 3:0:0:0: rejecting I/O to dead device This seemed to happen every time I switched the device on. Eventually after not seeing that it died (in messages) I tried to manually mount /dev/sda1 as -t vfat. Success. And then F-spot could also import and I could copy the files as well. Can anyone help me here? Where can I update this again for the database for auto mounting? Aug 14 00:18:23 bears kernel: scsi 6:0:0:0: Direct-Access PENTAX DIGITAL_CAMERA 1.00 PQ: 0 ANSI: 2 Aug 14 00:18:23 bears kernel: sd 6:0:0:0: [sda] 3992576 512-byte hardware sectors (2044 MB) (Vendor:DeviceID - missing for the moment) |
Many people have problem with the new models of USB products on the market, as they have new chipsets that causes the problem, I use a usb enclosure case witha 2.5inch hard drive in it as usb, the case is very old and it works, we changed to new case it just reads, the problem is the new chip is not supported, it be appreciate if you give a specific instruction where to go and how to download, install so the problem is rectified, as many people are not experienced LINUX user, be better if the instruction is detailed and in simple language
|
All times are GMT -5. The time now is 10:50 AM. |