LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 07-16-2006, 11:26 PM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Rep: Reputation: 34
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
 
Old 07-18-2006, 02:43 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Have you tried to mount it manually?
i.e.
Code:
mkdir usbdisk
mount -t vfat /dev/sda1 usbdisk
ls usbdisk
 
Old 07-18-2006, 04:09 PM   #3
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Rep: Reputation: 30
Is it possible that the drive may have been formatted something other than FAT?
 
Old 07-18-2006, 04:22 PM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Sure. Try "cfdisk /dev/sda" to see the partitions.
 
Old 07-18-2006, 04:35 PM   #5
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
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.
 
Old 07-18-2006, 11:51 PM   #6
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Original Poster
Rep: Reputation: 34
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with USB flash drive dmsynck Debian 4 11-23-2005 02:43 PM
USB flash drive mount problem servnov Linux - General 4 10-10-2005 09:08 PM
Problem disconnecting USB flash drive Mordechai Linux - Hardware 8 09-06-2005 12:09 PM
having a problem accessing my usb flash drive vadriaan Linux - Hardware 4 01-27-2005 03:15 AM
USB flash drive problem Kensai Mandriva 6 02-23-2004 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration