USB ZIP drive "not a block device" error

Bernard mentink yellowdog-general@lists.terrasoftsolutions.com
Mon Oct 7 00:51:01 2002


Hi Stefan,

Here is the output of the files you requested:

*/proc/scsi/scsi .....*

Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: IOMEGA   Model: ZIP 100          Rev: 02.U
  Type:   Direct-Access                    ANSI SCSI revision: 02


*/proc/bus/usb/drivers*


         usbdevfs
         hub
         hid
         usb-storage

*/proc/bus/usb/devices?*



T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=cdaee000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=059b ProdID=0001 Rev= 1.00
S:  Manufacturer=Iomega
S:  Product=USB Zip 100
S:  SerialNumber=0000000000F404B2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=32ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 87/900 us (10%), #Int=  1, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=cdaec000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=05f3 ProdID=0210 Rev= 1.00
S:  Manufacturer=Contour Design
S:  Product=UniMouse, USB
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   3 Ivl=10ms
 

It looks allright to me, also the output from *dmesg*:

eth0: switching to forced 10bt
eth0: switching to forced 100bt
hub.c: USB new device connect on bus2/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x59b/0x1) is not claimed by any active 
driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: IOMEGA    Model: ZIP 100           Rev: 02.U
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 196608 512-byte hdwr sectors (101 MB)
sda: Write Protect is off
 /dev/scsi/host1/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.


This also looks ok. It seems you might be right about the device being 
reckognised as a floppy.
I might to a re-build of the kernel with floppy support removed, and try 
again.

Any help from others much appreciated.

Cheers,
Bernie


Stefan Bruda wrote:

>At 15:37 +1200 on 2002-10-3 Bernard mentink wrote:
> >
> > I have re-compiled my kernel making sure of usb-storage etc, but still 
> > the same old error.
>
>OK, I checked this out, and indeed, usb-storage does offer an
>interface between the USB stack and the SCSI layer.  Thus, I assume
>that the floppy support is immaterial, let's ignore it for the moment.
>
>Anyway, what Zip drive are you using?  
>
>Then after you plug the thing in, what is the content (if any) of
>/proc/scsi/scsi?  How about /proc/bus/usb/drivers and
>/proc/bus/usb/devices?
>
>Stefan
>