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.
|
|
08-01-2003, 05:52 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 1
Rep:
|
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...
|
|
|
08-01-2003, 11:46 PM
|
#2
|
LQ Newbie
Registered: Aug 2003
Location: Manila , Philippines
Posts: 4
Rep:
|
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
|
|
|
08-03-2003, 09:17 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Location: Deerfield Bch, FL
Distribution: Mandrake 9.1
Posts: 5
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:23 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
|
|