Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Dec 2010 16:34:09 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: "Autosense failed" - I/O stops on SD card reader
Message-ID:  <4CFCF461.8090208@freebsd.org>
In-Reply-To: <20101204144023.2f4be1a5@core.draftnet>
References:  <20101204144023.2f4be1a5@core.draftnet>

next in thread | previous in thread | raw e-mail | index | archive | help
on 04/12/2010 16:40 Bruce Cran said the following:
> Hi,
> 
> I've been having problems with a card reader (http://www.frontier-electronics.co.za/stor_sdr012.htm) 
> and an 8GB SD card 
> (http://www.amazon.co.uk/Transcend-SDHC-Class-Flash-Memory/dp/B000P9ZBFA)
> I'm trying to use. FreeBSD 9-CURRENT will regularly display the
> following error which causes all IO to stop:
> 
> (da0:umass-sim0:0:0:0): AutoSense failed

As I understand, "AutoSense" is an automatic fetching of sense data in case of an
error.  Strange that that error is not reported here.  It would give a much better
idea of what was going on.

> g_vfs_done():da0s1[READ(offset=6782976, length=36864)]error = 5
> vnode_pager_getpages: I/O read error
> vm_fault: pager read error, pid 2986 (cp)
> 
> I tried setting hw.usb.umass.debug=1 but there was no extra debug 
> output; setting hw.usb.ehci.debug=1 or hw.usb.debug=1 results in 
> lots of output that I'm not sure is useful.
> What would I need to do to help debug what's going wrong?

-- 
Andriy Gapon



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