LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-28-2004, 12:25 AM   #1
dybbuk
LQ Newbie
 
Registered: Feb 2004
Location: lakeland, fl
Distribution: fedora core 1
Posts: 9

Rep: Reputation: 0
various USB device troubles


ive had good luck with finding answers on this site, so id like to start off with a hearty thankyou to everyone that comes here to seek help and share their knowledge.

anyways, ive had some issue with a couple different USB devices that i cant seem to get working, or keep working. maybe someone knows the answers.

right now im using fedora core 1. i have a sandisk mini cruiser usb thumbdrive and a sandisk compact flash card reader. the thumbdrive ive never been able to get to work (ive read countless websites on the matter and atleast one thread here, none of them seem to help).

the CF reader has had limited success. when i was messing around one day, trying to get my thumbdrive to work, i discovered my CF reader was /dev/sdb1 which was a great moment for me. that moment ended a few days later, when it would no longer mount at that point (i believe it was after a few system restarts). ive tried a few different devices in my search for its 'new' location, but i havent been able to find it.

ive beome quite familiar with the program usbview, its mentioned in basically every help site for this ive read, but doesnt seem to help me at all. it doesnt seem to offer me any useful information (or atleast anything my noob eyes can see).. it would be rather nice if it flat out listed 'this device is /dev/sda1' or something like that, maybe it does, i just dont know what imlooking at!

maybe someone out there has some ideas they can shoot my way. im all eyes.
 
Old 02-28-2004, 05:50 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Look at the output of the console command dmesg. Look for messages related to your CF reader and thumbdrive.

The first storage device found will be /dev/sda1 the next /dev/sdb1 etc.
 
Old 02-28-2004, 02:52 PM   #3
dybbuk
LQ Newbie
 
Registered: Feb 2004
Location: lakeland, fl
Distribution: fedora core 1
Posts: 9

Original Poster
Rep: Reputation: 0
well.. this seems kinda long, but this is what i get in the last part that i would assume covers what were talkinga bout.

(at the time i ran this, i had a card in the reader.)

Quote:
divert: freeing divert_blk for eth1
SCSI error: host 0 id 0 lun 0 return code = 8000002
Sense class 7, sense error 0, extended sense 0
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key None
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key None
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
unable to read partition table
SCSI error: host 0 id 0 lun 0 return code = 8000002
Sense class 7, sense error 0, extended sense 0
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key None
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key None
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
unable to read partition table
SCSI error: host 0 id 0 lun 0 return code = 8000002
Sense class 7, sense error 0, extended sense 0
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key None
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key None
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
unable to read partition table
SCSI error: host 0 id 0 lun 0 return code = 8000002
Sense class 7, sense error 0, extended sense 0
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key None
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key None
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
unable to read partition table
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: Write Protect is off
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 64
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: Write Protect is off
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
Device busy for revalidation (usage=1)
Device 08:00 not ready.
I/O error: dev 08:00, sector 0
FAT: unable to read boot sector
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key None
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key None
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: Write Protect is off
sda: sda1
SCSI error: host 0 id 0 lun 0 return code = 8000002
Sense class 7, sense error 0, extended sense 0
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key None
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key None
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
unable to read partition table
usb-uhci.c: interrupt, status 2, frame# 1334
usb_control/bulk_msg: timeout
usb.c: USB disconnect on device 00:1d.7-6.1 address 5
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: Write Protect is off
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: Write Protect is off
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
usb.c: USB disconnect on device 00:1d.7-6.2 address 6
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
hub.c: new USB device 00:1d.7-6.1, assigned address 7
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 7
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
Device not ready. Make sure there is a disc in the drive.
Device not ready. Make sure there is a disc in the drive.
hub.c: new USB device 00:1d.7-6.2, assigned address 8
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 8
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: Write Protect is off
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: Write Protect is off
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: Write Protect is off
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key None
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key None
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: Write Protect is off
sda: sda1
SCSI error: host 0 id 0 lun 0 return code = 8000002
Sense class 7, sense error 0, extended sense 0
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sense key None
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sense key None
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
unable to read partition table
to be honest, most of this is greek to me, given my noob status with linux.

Last edited by dybbuk; 02-28-2004 at 02:54 PM.
 
Old 03-04-2004, 09:26 AM   #4
sintara
LQ Newbie
 
Registered: Mar 2004
Location: Summersville, WV
Distribution: Fedora Core 1
Posts: 1

Rep: Reputation: 0
Try this:

1. Create a directory at which you wish to access the USB drive.

mkdir /home/user/usb

2. Su to root.

su
Enter password

3. Mount the drive at the directory created at Step 1.

mount /dev/sda1 /home/user/usb

This procedure was successful for my Lexar Media Jumpdrive.
 
Old 03-08-2004, 10:48 PM   #5
dybbuk
LQ Newbie
 
Registered: Feb 2004
Location: lakeland, fl
Distribution: fedora core 1
Posts: 9

Original Poster
Rep: Reputation: 0
well, still no love on this front. honestly i believe im actually having a series of hardware issues that is causing this. ive basically given up for the moment.. but if anyone can think of anything, please, feel free to spread the knowledge.
 
Old 03-08-2004, 11:16 PM   #6
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Make sure you install the SCSI libraries before you do anything.

Go to your RPM based utility, do a search, and install anything remotely having to do with SCSI that doesn't conflict whit what's installed.
 
Old 03-09-2004, 04:02 AM   #7
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Take the reader out. Run dmesg and note the last few lines. Plug the reader into the USB slot (with the card in!) and run dmesg again and see what new lines have appeared. I have a 2.6.3 kernel and a SATA hard disk, which takes over /dev/sda, and the USB mass storage (CF card in reader) gets /dev/sdb. There is only one partition on the device, so its /dev/sdb1. Here are the extra lines in dmesg:

usb 1-7: new high speed USB device using address 2
scsi3 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: STORAGE DEVICE Rev: 1.01
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sdb: 16064 512-byte hdwr sectors (8 MB)
sdb: assuming Write Enabled
sdb: assuming drive cache: write through
sdb: sdb1
Attached scsi removable disk sdb at scsi3, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi3, channel 0, id 0, lun 0, type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2

Despite the warning, it seems to work OK. There are quite a few features that need to be either compiled into the kernel or loaded as modules for this to work. But since you have a recent distro I would think they would be available by default.

I can also boot off this CF disk, but as the boot device it gets to be /dev/sda/

Last edited by maroonbaboon; 03-09-2004 at 04:03 AM.
 
Old 03-11-2004, 11:17 AM   #8
dybbuk
LQ Newbie
 
Registered: Feb 2004
Location: lakeland, fl
Distribution: fedora core 1
Posts: 9

Original Poster
Rep: Reputation: 0
whenever i isntall i always do full installs. for some reason i hate to have to install things when i need them.... it usually ends up frustrating me.

as for plugging and unplugging, ill give it a try asap and see what i can learn from that.

thanks guys!
 
Old 03-11-2004, 12:18 PM   #9
Lord C
Member
 
Registered: Mar 2004
Location: London, UK
Distribution: Ubuntu
Posts: 69

Rep: Reputation: 15
rofl, "this seems quite long" understatement of the year
 
Old 03-22-2004, 03:52 PM   #10
dybbuk
LQ Newbie
 
Registered: Feb 2004
Location: lakeland, fl
Distribution: fedora core 1
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by JaseP
Make sure you install the SCSI libraries before you do anything.

Go to your RPM based utility, do a search, and install anything remotely having to do with SCSI that doesn't conflict whit what's installed.
with this particular installation of fedora, ive got the entire distro installed... so im not sure what other SCSI stuff i could actually install..

this time, playing around abit i made my system completely unstable but i learned a few things i shouldnt do, so it wasnt a total loss.

before i basically screwed it up, i had my CFreader working but not my thumbdrive. for reasons unknown to me, at the moment, i cant even mount my CFreader.. using the same tactics i used last time. dont know what im missing here.. total newb moment i think!

Last edited by dybbuk; 03-22-2004 at 03:56 PM.
 
Old 03-23-2004, 08:39 AM   #11
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Do yourself and me a favor,... bring up the package application anyway. do a search for scsi and see if the items are installed or not. Even with a so-called "full install", not everything gets installed.
 
Old 03-29-2004, 11:13 AM   #12
dybbuk
LQ Newbie
 
Registered: Feb 2004
Location: lakeland, fl
Distribution: fedora core 1
Posts: 9

Original Poster
Rep: Reputation: 0
still basically running into walls here. i checked through fedoras package manager and found that absolutely everything it offeres has been installed. just to quell my curiosity, i actually ran the up2date utillity and found another big nothing for scsi.

im pretty sure ive hit a wall on this one. maybe i should go back to a distro where i KNOW this stuff works.. since ive done it before... i dont really want to, i love fedora and i think i may be too lazy to go through the trouble to set up another distro again.
 
Old 04-02-2004, 11:11 AM   #13
dybbuk
LQ Newbie
 
Registered: Feb 2004
Location: lakeland, fl
Distribution: fedora core 1
Posts: 9

Original Poster
Rep: Reputation: 0
interesting turn of events for me, i guess you could say.

i decided to update to fedora core 2 and see how it was comming along. i opted for an upgrade instead of a new install since the only thing i could lose was time. it was basically unstable beyond believe on my computer (i know people that run it fine, tho). submitted a whole load of bug reports for it and reinstalled core 1.

now my cardreader works, again, but my thumbdrive doesnt. im beginning to think that things randomly happen for me, with no realy rhyme or reason. the last 2 installs of core 1 ive had were exactly the same. same components plugged into the same ports.. all the same hardware. i just dont know.
 
  


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
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
USB IRDA device troubles on FC2 Bart van Dijk Linux - Hardware 0 05-10-2005 04:16 PM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 08:46 PM
Assign one USB-storage device to one device file Misel Linux - Hardware 1 08-28-2004 03:52 AM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM

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

All times are GMT -5. The time now is 02:11 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