USB/CAM multi-lun devices

From: Dmitry Morozovsky (marck_at_rinet.ru)
Date: 04/29/04

  • Next message: Richard Tobin: "Re: USB/CAM multi-lun devices"
    Date: Thu, 29 Apr 2004 20:25:52 +0400 (MSD)
    To: freebsd-stable@freebsd.org
    
    

    Dear colleagues,

    trying to connect Apacer multi-flash USB reader

    [usbdevs -v]
    port 2 addr 2: full speed, power 500 mA, config 1, Embedded Reader(0x0240), Apacer(0x0d7d), rev 1.00

    I got only the first sub-reader connected:

    Creating DISK da0
    pass0 at umass-sim0 bus 0 target 0 lun 0
    pass0: <Apacer Embedded Reader 3.02> Removable Direct Access SCSI-0 device
    pass0: Serial Number \^_
    pass0: 650KB/s transfers
    (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
    (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
    (da0:umass-sim0:0:0:0): Medium not present
    da0 at umass-sim0 bus 0 target 0 lun 0
    da0: <Apacer Embedded Reader 3.02> Removable Direct Access SCSI-0 device
    da0: Serial Number \^_
    da0: 650KB/s transfers
    da0: Attempt to query device size failed: NOT READY, Medium not present

    I tried to detect this device under -current snapshot from 20040422, and it
    successfully detects reader as multi-lun device, creating da0 to da3 disk
    devices (some of them miss to create s1 partition, but this is another story)

    I looked into sources a bit, and google also, but without much success. So, am
    I right in my assumption that -stable does not support multi-lun devices at
    all? And, how much effort would it require to port it from -current?

    Of course, I would be glad to test solutions/patches proposed.

    Sincerely,
    D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
    ------------------------------------------------------------------------
    *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
    ------------------------------------------------------------------------
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Richard Tobin: "Re: USB/CAM multi-lun devices"

    Relevant Pages

    • Re: 6.1 and USB: problems with mounting SonyEricsson K750 flash
      ... > I've got a problem with mounting SonyEricsson K750 flash card: ... > da0: 1.000MB/s transfers ... mounting and reading works perfectly without ...
      (freebsd-stable)
    • umass card reader timeout
      ... After da0 fails then it tries da0-da2 and ... pass0: 40.000MB/s transfers ... GEOM: new disk ad8 ...
      (freebsd-current)
    • Re: USB2 - umass problem
      ... First time card insertion, two umass devices appeared, both just do not ... da0: 40.000MB/s transfers ... da0: Attempt to query device size failed: NOT READY, ... da1: Attempt to query device size failed: NOT READY, ...
      (freebsd-current)
    • Please help! (Re: GEOM: da0: corrupt or invalid GPT detected.)
      ... da0: 100.000MB/s transfers ... GEOM: da0: corrupt or invalid GPT detected. ...
      (freebsd-questions)
    • USB flash drive question
      ... boot the machine, it is correctly recognized as da0, I can mount ... # camcontrol inquiry da0 ... pass0: Serial Number ... But if I then unmount the file system and unplug the flash drive, ...
      (comp.unix.bsd.freebsd.misc)