On Tue, 04 Mar 2014 05:54:47 +0100, Hayata <hayata at yz.yamagata-u.ac.jp>
wrote:
>
> Hi. My usb digital audio player is recognized by FreeBSD9.1's device
> system
> as /dev/da0 (internal memory) and as /dev/da1 (SD card). But I found
> 10-STABLE no longer recognize /dev/da1 and only /dev/da0 appears in /dev.
> Does anyone know why? How should I do if I want to access /dev/da1?
>
> I attached `uname` and /var/log/messages in the following.
>
> Regards,
> --
> Takahiro Hayata
>
--------------------------------------------------------------------------------------
> %uname -a
> FreeBSD spike2x.klab 10.0-STABLE FreeBSD 10.0-STABLE #0 r262690: Mon
> Mar 3 02:18:49 JST 2014
> hayata at akeldam.klab:/usr/obj/opt/src/sys/GENERIC amd64
> %cat /var/log/messages
> ...
> Mar 4 12:45:35 spike2x kernel: ugen7.2: <Transcend> at usbus7
> Mar 4 12:45:35 spike2x kernel: umass0: <Mass Storage> on usbus7
> Mar 4 12:45:35 spike2x kernel: umass0: 8070i (ATAPI) over Bulk-Only;
> quirks = 0x0000
> Mar 4 12:45:35 spike2x kernel: umass0:5:0:-1: Attached to scbus5
> Mar 4 12:45:35 spike2x kernel: da0 at umass-sim0 bus 0 scbus5 target 0
> lun 0
> Mar 4 12:45:35 spike2x kernel: da0: <MP 870 0100> Removable Direct
> Access SCSI-0 device
> Mar 4 12:45:35 spike2x kernel: da0: Serial Number K
> Mar 4 12:45:35 spike2x kernel: da0: 40.000MB/s transfers
> Mar 4 12:45:35 spike2x kernel: da0: 7672MB (15712256 512 byte sectors:
> 255H 63S/T 978C)
> Mar 4 12:45:35 spike2x kernel: da0: quirks=0x2<NO_6_BYTE>
> Mar 4 12:45:35 spike2x kernel: da1 at umass-sim0 bus 0 scbus5 target 0
> lun 1
> Mar 4 12:45:35 spike2x kernel: da1: <MP 870 0100> Removable Direct
> Access SCSI-0 device
> Mar 4 12:45:35 spike2x kernel: da1: Serial Number K
> Mar 4 12:45:35 spike2x kernel: da1: 40.000MB/s transfers
> Mar 4 12:45:35 spike2x kernel: da1: 29979MB (61396992 512 byte sectors:
> 255H 63S/T 3821C)
> Mar 4 12:45:35 spike2x kernel: da1: quirks=0x2<NO_6_BYTE>
> Mar 4 12:45:35 spike2x kernel: da1 at umass-sim0 bus 0 scbus5 target 0
> lun 1
> Mar 4 12:45:35 spike2x kernel: da1: <MP 870 0100> s/n K detached
> Mar 4 12:45:35 spike2x kernel: (da1:umass-sim0:0:0:1): Periph destroyed
Hi,
I don't know the cause, but da1 is detached for some reason. Maybe if you
increase sysctl hw.usb.debug, you will get more information about why this
happens.
Did you try to connect da1 on another usb port?
Ronald.
>
------------------------------------------------------------------------------------------
> %uname -a
> FreeBSD aerfax5.klab 9.1-STABLE FreeBSD 9.1-STABLE #17 r249542: Tue Apr
> 16 18:26:06 JST 2013
> hayata at akeldam.klab:/usr/obj/opt/src/sys/AKELDAM amd64
> %cat /var/log/messages
> ...
> Mar 4 13:33:12 aerfax5 kernel: ugen7.2: <Transcend> at usbus7
> Mar 4 13:33:12 aerfax5 kernel: umass0: <Mass Storage> on usbus7
> Mar 4 13:33:12 aerfax5 kernel: umass0: 8070i (ATAPI) over Bulk-Only;
> quirks = 0x0000
> Mar 4 13:33:12 aerfax5 kernel: umass0:6:0:-1: Attached to scbus6
> Mar 4 13:33:12 aerfax5 kernel: da0 at umass-sim0 bus 0 scbus6 target 0
> lun 0
> Mar 4 13:33:12 aerfax5 kernel: da0: <MP 870 0100> Removable Direct
> Access SCSI-0 device
> Mar 4 13:33:12 aerfax5 kernel: da0: 40.000MB/s transfers
> Mar 4 13:33:12 aerfax5 kernel: da0: 7672MB (15712256 512 byte sectors:
> 255H 63S/T 978C)
> Mar 4 13:33:12 aerfax5 kernel: da1 at umass-sim0 bus 0 scbus6 target 0
> lun 1
> Mar 4 13:33:12 aerfax5 kernel: da1: <MP 870 0100> Removable Direct
> Access SCSI-0 device
> Mar 4 13:33:12 aerfax5 kernel: da1: 40.000MB/s transfers
> Mar 4 13:33:12 aerfax5 kernel: da1: 29979MB (61396992 512 byte sectors:
> 255H 63S/T 3821C)
>
------------------------------------------------------------------------------------------
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at
freebsd.org"