Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2010 12:48:08 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: problem with mobile phone
Message-ID:  <20100829124808.GA51033@freebsd.org>
In-Reply-To: <201008270904.16009.hselasky@c2i.net>
References:  <20100826215028.GA80160@freebsd.org> <201008270904.16009.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri Aug 27 10, Hans Petter Selasky wrote:
> On Thursday 26 August 2010 23:50:28 Alexander Best wrote:
> > hi there,
> > 
> > when i connect my mobile phone to a recent HEAD (amd64; r211393) i get the
> > following:
> > 
> > ugen3.3: <Samsung> at usbus3
> > umass0: <USB Mass Storage Interface> on usbus3
> > (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
> > (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
> > (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
> > (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready
> > to ready change, medium may have changed) da0 at umass-sim0 bus 0 scbus9
> > target 0 lun 0
> > da0: <Samsung SGH-i550 1.0> Removable Direct Access SCSI-0 device
> > da0: 40.000MB/s transfers
> > da0: 3777MB (7736320 512 byte sectors: 255H 63S/T 481C)
> > 
> > when i try to read stuff from the phone, it resets and i get this:
> > 
> > ugen3.3: <Samsung> at usbus3 (disconnected)
> > umass0: at uhub8, port 3, addr 3 (disconnected)
> > (da0:umass-sim0:0:0:0): AutoSense failed
> > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0xa, scsi
> > status == 0x0 (da0:umass-sim0:0:0:0): lost device
> > (da0:umass-sim0:0:0:0): removing device entry
> > 
> > it both happens if i mount it and read files or if i directly read
> > something from the /dev/da0 device using `dd`.
> > 
> > interestingly it always crashes after the same ammount of data read:
> > 
> > dd: /dev/da0: Input/output error
> > 4+0 records in
> > 4+0 records out
> > 4194304 bytes transferred in 3.333149 secs (1258361 bytes/sec)
> > 
> > after a few retries the usb port i was using becomes unusable and nothing
> > is being detected any longer.
> > 
> > i'm pretty sure this didn't happen a few weeks ago, but now it does.
> > 
> 
> Hi,
> 
> Have you loaded the usb_quirk.ko ?

yes

> 
> Try adding a mass storage quirk for this mass storage device, for test unit 
> ready and synchronize cache.

ok thanks. i'll try that and see if it helps. :)

> 
> Else look for changes in SCSI area.
> 
> --HPS

-- 
a13x



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100829124808.GA51033>