USB flash not working anymore

Peter Radcliffe pir at pir.net
Thu Dec 30 11:17:49 PST 2004


I'm running FreeBSD 4-STABLE from Dec 28 on an IBM X30 laptop.

I'm having increasingly worse USB problems as time goes on. Nothing
that I try new works and various older devices that I bought
specificly because they were supported and worked fine for years now
do not work.

My SanDisk CF reader (SDDR-31) used to work perfectly, now gives me;

  umass0: SanDisk Corporation ImageMate CompactFlash USB, rev 1.10/0.09, addr 2
  umass0: Get Max Lun not supported (STALLED)
  usb_block_allocmem: in interrupt context, size=4096
  da0 at umass-sim0 bus 0 target 0 lun 0
  da0: <SanDisk ImageMate II 1.30> Removable Direct Access SCSI-2 device 
  da0: 650KB/s transfers
  da0: 489MB (1001953 512 byte sectors: 64H 32S/T 489C)

here I try to mount hte filesystem or use mtools;

  usb_block_allocmem: in interrupt context, size=4096
  usb_block_allocmem: in interrupt context, size=4096
  usb_block_allocmem: in interrupt context, size=4096
  usb_block_allocmem: in interrupt context, size=65536
  usb_block_allocmem: in interrupt context, failed
  umass0: BBB reset failed, STALLED
  usb_block_allocmem: in interrupt context, size=65536
  usb_block_allocmem: in interrupt context, failed
  umass0: BBB reset failed, STALLED
  usb_block_allocmem: in interrupt context, size=65536
  usb_block_allocmem: in interrupt context, failed
  umass0: BBB reset failed, STALLED

and it hangs. Sometimes the process hangs, sometimes the machine hangs.


My crucial gizmo flashdrive gives me;

  umass0: Crucial Gizmo, rev 2.00/0.01, addr 2
  usb_block_allocmem: in interrupt context, size=4096
  da0 at umass-sim0 bus 0 target 0 lun 0
  da0: <Crucial Gizmo 1.00> Fixed Direct Access SCSI-CCS device 
  da0: 650KB/s transfers
  da0: 123MB (251904 512 byte sectors: 64H 32S/T 123C)
[mount the drive]
  usb_block_allocmem: in interrupt context, size=4096
  usb_block_allocmem: in interrupt context, size=4096
[repeated about 30 times]
  usb_block_allocmem: in interrupt context, size=4096
  usb_block_allocmem: in interrupt context, size=4096
  umass0: at uhub1 port 1 (addr 2) disconnected
  (da0:umass-sim0:0:0:0): lost device
  (da0:umass-sim0:0:0:0): removing device entry
  umass0: detached

This at least works when mounted but mtools will hang hard.

The Iomega mini flashdrive hard hung my machine so I have no logs.


Anyone seen these problems before or working on usb in 4.x ? I'll do
what I can to help debugging...

Thanks,
P.

-- 
pir



More information about the freebsd-usb mailing list