LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-19-2005, 03:57 PM   #1
hellwyn
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora Core 3
Posts: 28

Rep: Reputation: 15
Unhappy Zio CF reader only mounts once per insmod


I have a new (2005) Zio 10-in-1 card USB2.0 reader. When I plugged it in for the first time, everything worked:

kernel: hub.c: new USB device 00:03.3-1, assigned address 2
kernel: usb.c: USB device 2 (vend/prod 0xdda/0x1) is not claimed by any active driver.
/etc/hotplug/usb.agent: Setup usb-storage for USB product dda/1/15b
kernel: Initializing USB Mass Storage driver...
kernel: usb.c: registered new driver usb-storage
kernel: scsi1 : SCSI emulation for USB Mass Storage devices
kernel: Vendor: Zio Corp Model: CF Card CF Rev: 1.5B
kernel: Type: Direct-Access ANSI SCSI revision: 02
kernel: Vendor: Zio Corp Model: Multi Card MS Rev: 1.5B
kernel: Type: Direct-Access ANSI SCSI revision: 02
kernel: USB Mass Storage support registered.
kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
kernel: Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 1
kernel: SCSI device sda: 503808 512-byte hdwr sectors (258 MB)
kernel: sda: Write Protect is off
kernel: sda: sda1
kernel: sdb: Unit Not Ready, sense:
kernel: Info fld=0x0, Current 00:00: sense key Not Ready
kernel: Additional sense indicates Medium not present
kernel: sdb : READ CAPACITY failed.
kernel: sdb : status = 1, message = 00, host = 0, driver = 08
kernel: Info fld=0x0, Current sd00:00: sense key Not Ready
kernel: Additional sense indicates Medium not present
kernel: sdb : block size assumed to be 512 bytes, disk size 1GB.
kernel: sdb: I/O error: dev 08:10, sector 0
kernel: I/O error: dev 08:10, sector 0
kernel: unable to read partition table
kernel: usb.c: USB disconnect on device 00:03.3-1 address 2

I have CONFIG_SCSI_MULTI_LUN set in my kernel options, so I can see the second slot as well. As you can see from the above kernel log, I have a 256MB card mounted in the CF slot on plugging it in (sda), and nothing in the second (SD/SmartMedia) slot (sdb). My fstab contains:

/dev/sda1 /mnt/usb vfat noauto,user,rw 0 0

and everything works. But I can only do this ONCE. If I unmount, unplug, then plug back in again (with the card still in the CF slot), the log looks like this:

kernel: hub.c: new USB device 00:03.3-1, assigned address 3
/etc/hotplug/usb.agent: Setup usb-storage for USB product dda/1/15b
kernel: sda: Unit Not Ready, sense:
kernel: Info fld=0x0, Current 00:00: sense key Not Ready
kernel: Additional sense indicates Medium not present
kernel: sda : READ CAPACITY failed.
kernel: sda : status = 1, message = 00, host = 0, driver = 08
kernel: Info fld=0x0, Current sd00:00: sense key Not Ready
kernel: Additional sense indicates Medium not present
kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
kernel: sda: Write Protect is off
kernel: sda: I/O error: dev 08:00, sector 0
kernel: I/O error: dev 08:00, sector 0
kernel: unable to read partition table

and I cannot mount it again, with the error "/dev/sda1 is not a valid block device". And whatever happened to sdb, the second (SD/SmartMedia) slot? I can get it all to work again by doing rmmod/insmod usb-storage (as root) but that's nasty. My Freecom USB hard disk works fine any number of times - the problem is only with the Zio reader. Has anyone managed to ger a card reader to mount repeatedly without doing rmmod/insmod usb-storage?

OS: RH8.0
Kernel: 2.4.26
USB chipset: Silicon Integrated Systems [SiS] USB 1.0 Controller
USB2.0 chipset: Silicon Integrated Systems [SiS] USB 2.0 Controller
 
Old 01-24-2005, 05:49 AM   #2
hellwyn
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora Core 3
Posts: 28

Original Poster
Rep: Reputation: 15
I have discovered a simple work-around: I just leave the reader plugged in all the time, then I just:
1. ensure spare card in slot at boot (a useless old 8MB card!),
2. to use, remove spare card, insert desired card,
3. mount, use card,
4. umount, remove card, reinsert spare card.

Seems to work - it was nice to be able to disconnect the reader so my desk isn't so cluttered, but it not a big problem. I'm upgrading to FC3 this week, so things might improve (or not!).
 
Old 01-29-2005, 05:35 AM   #3
hellwyn
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora Core 3
Posts: 28

Original Poster
Rep: Reputation: 15
Talking

Upgraede to FC3 and all the problems went away. FC3 rocks!
 
Old 01-29-2005, 05:35 AM   #4
hellwyn
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora Core 3
Posts: 28

Original Poster
Rep: Reputation: 15
That's "upgraded".
 
  


Reply



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
HP Photosmart 7550 w/ Flash Card Reader on Suse 9.3. Card Reader and Print Sharing Desert Linux - Hardware 0 07-25-2005 08:25 PM
cd mounts Murph00009 Linux - Hardware 1 01-07-2005 10:57 PM
Help with insmod. I have a problem with insmod. RJARRRPCGP Linux - Newbie 5 08-24-2004 08:23 PM
My / directory only mounts ro cruxx Linux - General 5 08-17-2004 02:33 AM
some help with x and mounts sehris Slackware 4 08-12-2003 02:45 AM

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

All times are GMT -5. The time now is 06:49 PM.

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