6.1 and USB: problems with mounting SonyEricsson K750 flash

Dennis Melentyev dennis.melentyev at gmail.com
Wed May 17 04:10:16 PDT 2006


Hi All!

I've got a problem with mounting SonyEricsson K750 flash card:
6.1 is not stabily mounting/recognizing device, and, after several tries
ended up in creating TWO IDENTICAL device nodes in /dev!!!

Has anyone any suggestion on how to resolve such a problem?

Here is kind of my actions log:
After connecting the cable, got this in console:
umass0: Sony Ericsson Sony Ericsson K750, rev 2.00/0.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Sony Eri Memory Stick 0000> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 1902MB (3895296 512 byte sectors: 255H 63S/T 242C)

so far everything is ok, except the reported disk size: it's 1Gb, not 2Gb.

Trying to mount, get at console:
umass0: BBB reset failed, STALLED
Killing mount with ^C.
After extracting plug from the socket:
umass0: BBB reset failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
g_vfs_done():da0s1[READ(offset=16384, length=4096)]error = 5
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status
== 0x0
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: at uhub2 port 2 (addr 2) disconnected

Trying to plug it back again for several times, some failures to recognize
the device, and finally it recognized again.
Mounting again, got:
D-MELENTYEV# mount /mnt/flash/
mount_msdosfs: /dev/da0s1: Device not configured

Take a look at /dev and start going mad seeing two identical nodes:
D-MELENTYEV# ll /dev/da0*
crw-r-----  1 root  operator    0, 116 May 15 12:39 /dev/da0
crw-r-----  1 root  operator    0, 114 May 15 12:39 /dev/da0s1
crw-r-----  1 root  operator    0, 114 May 15 12:39 /dev/da0s1

D-MELENTYEV# stat /dev/da0*
67174144 116 crw-r----- 1 root operator 116 0 "May 15 12:39:14 2006" "May 15
12:39:14 2006" "May 15 12:39:14 2006" "Jan  1 02:59:59 1970" 4096 0 0
/dev/da0
67174144 114 crw-r----- 1 root operator 114 0 "May 15 12:39:14 2006" "May 15
12:39:14 2006" "May 15 12:39:14 2006" "Jan  1 02:59:59 1970" 4096 0 0
/dev/da0s1
67174144 114 crw-r----- 1 root operator 114 0 "May 15 12:39:14 2006" "May 15
12:39:14 2006" "May 15 12:39:14 2006" "Jan  1 02:59:59 1970" 4096 0 0
/dev/da0s1

The file names are absolutely identical!!!
D-MELENTYEV# find /dev -name "da0*" -print0 | hd
00000000  2f 64 65 76 2f 64 61 30  73 31 00 2f 64 65 76 2f
|/dev/da0s1./dev/|
00000010  64 61 30 00 2f 64 65 76  2f 64 61 30 73 31 00
|da0./dev/da0s1.|

Any ideas? What could I include in PR apart from info in this message?
PS. 6.1-RC1 worked fine
PPS. uname -a
FreeBSD D-MELENTYEV.HOME 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed May 10
15:08:05 EEST 2006     root at D-MELENTYEV.HOME:/usr/obj/usr/src/sys/GENERIC
i386
cvsup'ed on May 10th several hours before rebuilding everything.
-- 
Dennis Melentyev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: console.log
Type: application/octet-stream
Size: 19592 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060517/b78fe4d2/console-0001.obj


More information about the freebsd-stable mailing list