LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 08-01-2003, 04:52 PM   #1
Zebee
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
USB Mass Storage


I've read a thread named USB Mass Storage from this forum on google, and as I have
a similar problem which that didn't help with, here's hoping someone can help me!

I have a Neo25IV, otherwise known as an mstation, it's an MP3 player and USB
mass storage device.

If I connect it to a RH9 box with 2.4.21 kernel, I get
Aug 2 07:42:35 notorious kernel: hub.c: new USB device 00:04.2-1, assigned addr
ess 2
Aug 2 07:42:35 notorious kernel: Manufacturer: ScanLogic USBIDE
Aug 2 07:42:35 notorious kernel: Product: ScanLogic USBIDE
Aug 2 07:42:35 notorious kernel: usb.c: USB device 2 (vend/prod 0x4ce/0x2) is n
ot claimed by any active driver.

(I have usb debugging set in the kernel, so there's heaps more if anyone wants it!)


/proc/scsi/scsi has
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Model: Rev:
Type: <NULL> ANSI SCSI revision: ffffffff

So it looks like it finds it, but needs info about it.

I've tried updating firmware as per the linux-usb.org info, but that didn't seem to make
any difference.

after a minute or so it says:
Aug 2 07:43:08 notorious kernel: usb-uhci.c: interrupt, status 3, frame# 1307
Aug 2 07:43:08 notorious kernel: scsi: device set offline - not ready or comman
d retry failed after bus reset: host 0 channel 0 id 0 lun 0


I believe there's a file somewhere you can edit to add info about a device if the kernel
can't work it out by itself, anyone have any idea where that is? And anyone have any idea what info should go in there for this device?

Any clues as to what I can do? Maybe I grabbed the wrong firmware?
Aug 2 07:42:35 notorious kernel: Device version = 2.60
is what I get.

The linux-usb mailing list has been resoundingly silent, I'm hoping someone here can help...
 
Old 08-01-2003, 10:46 PM   #2
koj333
LQ Newbie
 
Registered: Aug 2003
Location: Manila , Philippines
Posts: 4

Rep: Reputation: 0
I don't know if this could help but its worth a shot

I have a usb card reader/writer (6 in 1 iwill) and last week i tried to configure it and was successfull in mounting it as an ordinary drive and here is wat i did:
1st: compile the kernel with
---SCSI---
<M> SCSI support
--- SCSI support type (disk, tape, CD-ROM)
<M> SCSI disk support
(40) Maximum number of SCSI disks that can be loaded as modules
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
<M> SCSI CD-ROM support
[ ] Enable vendor-specific extensions (for SCSI CDROM)
(2) Maximum number of CDROM devices that can be loaded as modules
<M> SCSI generic support
--- Some SCSI devices (e.g. CD jukebox) support multiple LUNs
[ ] Enable extra checks in new queueing code[*] Probe all LUNs on each SCSI device
[ ] Verbose SCSI error reporting (kernel size +=12K)
[ ] SCSI logging facility

---USB---
<M> USB Mass Storage support
[ ] USB Mass Storage verbose debug
[ ] Datafab MDCFE-B Compact Flash Reader support

off course dont forget to compile the necessary usb module for USB host controller

2nd: boot to the new kernel
load the modules just to make sure with insmod/modprobe
monitor your /var/log/messages. my log file shows up
Aug 2 11:50:18 flip kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Aug 2 11:50:18 flip kernel: sda: I/O error: dev 08:00, sector 0
Aug 2 11:50:18 flip kernel: sdb: I/O error: dev 08:10, sector 0
note: there is an error because i dont have any flashcard pluged in the device
now im able to mount my devices and they are assigned to /dev/sda1, /dev/sdb1 ... etc
make sure that the modules sd_mod, sg, sr_mod, usb-storage loaded.

good luck
ps. dont forget to umount it before removing the device so that the changes you made to the file system will be made after any writing on it
 
Old 08-03-2003, 08:17 PM   #3
rstebbins
LQ Newbie
 
Registered: Aug 2003
Location: Deerfield Bch, FL
Distribution: Mandrake 9.1
Posts: 5

Rep: Reputation: 0
Koj333

I also have a USB 6-1 card reader. I have been unable to make it work. Here is a portion of my /var/log/messages

Aug 3 20:28:25 localhost kernel: Device not ready. Make sure there is a disc in the drive.
Aug 3 20:28:25 localhost kernel: sda : READ CAPACITY failed.
Aug 3 20:28:25 localhost kernel: sda : status = 1, message = 00, host = 0, driv er = 08
Aug 3 20:28:25 localhost kernel: Current sd00:00: sense key Not Ready
Aug 3 20:28:25 localhost kernel: Additional sense indicates Medium not present
Aug 3 20:28:25 localhost kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Aug 3 20:28:25 localhost kernel: /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Aug 3 20:28:25 localhost kernel: I/O error: dev 08:00, sector 0
Aug 3 20:28:25 localhost kernel: I/O error: dev 08:00, sector 2097144
Aug 3 20:28:25 localhost kernel: I/O error: dev 08:00, sector 2097144
Aug 3 20:28:25 localhost kernel: I/O error: dev 08:00, sector 0
Aug 3 20:28:25 localhost kernel: I/O error: dev 08:00, sector 0
Aug 3 20:28:25 localhost kernel: ldm_validate_partition_table(): Disk read failed.
Aug 3 20:28:25 localhost kernel: I/O error: dev 08:00, sector 0
Aug 3 20:28:25 localhost kernel: unable to read partition table

I am not able to mount the device or perhaps I don't know how. I created a directory in /mnt called camera.
I have tried "mount -t vfat /mnt/sda1 /mnt/camera"
and "mount -t auto /mnt/sda1 /mnt/camera"

I should also say that there is no /sda in /dev

I don't really know what I'm doing. I've read lots of snippets about it but never a really good explaination. I am using Mandrake 9.1.

Thanks,
Randy
 
  


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 Mass Storage Daniboy Linux - Software 10 09-12-2005 08:30 AM
USB Mass storage. vexer Linux - Software 2 09-05-2004 09:00 PM
USB mass storage Roy-Svork Linux - Hardware 9 09-24-2003 04:34 PM
usb mass storage Erwan Linux - Hardware 6 07-08-2003 05:39 PM
usb mass storage mohapi Linux - Hardware 3 06-03-2003 12:44 AM


All times are GMT -5. The time now is 08:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration