Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
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.
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.
|
|
07-16-2006, 11:26 PM
|
#1
|
Member
Registered: Jan 2006
Location: Sri Lanka
Posts: 651
Rep:
|
Usb flash drive problem
hi
I have 256M Kingston flashdrive and I am using Redhat 3 with update 7. When I plug in the drive I get this messages but I can access the drive but on wondows it is ok.
can some body tell me what is going on
Jul 17 08:46:22 ark kernel: hub.c: new USB device 00:1d.7-5, assigned address 7
Jul 17 08:46:25 ark /etc/hotplug/usb.agent: Setup usb-storage for USB product c76/5/100
Jul 17 08:46:25 ark kernel: SCSI device sda: 503808 512-byte hdwr sectors (258 MB)
Jul 17 08:46:25 ark kernel: sda: Write Protect is off
Jul 17 08:46:25 ark kernel: sda: sda1 sda2 sda3 sda4
Jul 17 08:46:25 ark kernel: sdb : READ CAPACITY failed.
Jul 17 08:46:25 ark kernel: sdb : status = 1, message = 00, host = 0, driver = 08
Jul 17 08:46:25 ark kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
Jul 17 08:46:25 ark kernel: sdb : block size assumed to be 512 bytes, disk size 1GB.
Jul 17 08:46:25 ark kernel: sdb: test WP failed, assume Write Enabled
Jul 17 08:46:25 ark kernel: sdb: I/O error: dev 08:10, sector 0
Jul 17 08:46:25 ark kernel: I/O error: dev 08:10, sector 0
Jul 17 08:46:25 ark kernel: unable to read partition table
Jul 17 08:46:27 ark devlabel: devlabel's temporary ignore list /etc/sysconfig/devlabel.d/ignore_list has been emptied due to a change in device configuration.
Jul 17 08:46:27 ark devlabel: The device /dev/sda1 is being put in devlabel's temporary ignore list /etc/sysconfig/devlabel.d/ignore_list to avoid errors.
Jul 17 08:46:27 ark devlabel: The device /dev/sda2 is being put in devlabel's temporary ignore list /etc/sysconfig/devlabel.d/ignore_list to avoid errors.
Jul 17 08:46:27 ark devlabel: The device /dev/sda3 is being put in devlabel's temporary ignore list /etc/sysconfig/devlabel.d/ignore_list to avoid errors.
Jul 17 08:46:27 ark devlabel: The device /dev/sda4 is being put in devlabel's temporary ignore list /etc/sysconfig/devlabel.d/ignore_list to avoid errors.
Jul 17 08:46:27 ark kernel: sdb : READ CAPACITY failed.
Jul 17 08:46:27 ark kernel: sdb : status = 1, message = 00, host = 0, driver = 08
Jul 17 08:46:27 ark kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
Jul 17 08:46:27 ark kernel: sdb : block size assumed to be 512 bytes, disk size 1GB.
Jul 17 08:46:27 ark kernel: sdb: test WP failed, assume Write Enabled
Jul 17 08:46:27 ark kernel: sdb: I/O error: dev 08:10, sector 0
Jul 17 08:46:27 ark kernel: I/O error: dev 08:10, sector 0
Jul 17 08:46:27 ark kernel: unable to read partition table
Jul 17 08:46:27 ark kernel: I/O error: dev 08:10, sector 0
Jul 17 08:46:27 ark kernel: I/O error: dev 08:10, sector 0
Jul 17 08:46:27 ark kernel: sdb : READ CAPACITY failed.
Jul 17 08:46:27 ark kernel: sdb : status = 1, message = 00, host = 0, driver = 08
Jul 17 08:46:27 ark kernel: Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
Jul 17 08:46:27 ark kernel: sdb : block size assumed to be 512 bytes, disk size 1GB.
Jul 17 08:46:27 ark kernel: sdb: test WP failed, assume Write Enabled
Jul 17 08:46:27 ark kernel: sdb: I/O error: dev 08:10, sector 0
Jul 17 08:46:27 ark kernel: I/O error: dev 08:10, sector 0
Jul 17 08:46:27 ark kernel: unable to read partition table
Jul 17 08:46:27 ark devlabel: The device /dev/sdb is being put in devlabel's temporary ignore list /etc/sysconfig/devlabel.d/ignore_list to avoid errors.
Jul 17 08:46:28 ark devlabel: devlabel service started/restarted
Regards
Asanka
|
|
|
07-18-2006, 02:43 PM
|
#2
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
Have you tried to mount it manually?
i.e.
Code:
mkdir usbdisk
mount -t vfat /dev/sda1 usbdisk
ls usbdisk
|
|
|
07-18-2006, 04:09 PM
|
#3
|
Member
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168
Rep:
|
Is it possible that the drive may have been formatted something other than FAT?
|
|
|
07-18-2006, 04:22 PM
|
#4
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
Sure. Try "cfdisk /dev/sda" to see the partitions.
|
|
|
07-18-2006, 04:35 PM
|
#5
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
Or, as user "root", try the commands I posted without specifying the type with "-t vfat", i.e. simply "mount /dev/sda1 usbdisk". That should work regardless of the file system type, but again only if you are user root.
|
|
|
07-18-2006, 11:51 PM
|
#6
|
Member
Registered: Jan 2006
Location: Sri Lanka
Posts: 651
Original Poster
Rep:
|
I don't have that command cfdisk
I can mount th usb thing is if unmount and replug the usb it change the /dev device like
First plugin /dev/sda1
teh next plug in it would be /dev/sdb1
|
|
|
All times are GMT -5. The time now is 10:35 AM.
|
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
|
|