Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2012 18:08:29 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Boris Samorodov <bsam@passap.ru>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: [usb] Kingston 8Gb is not usable
Message-ID:  <4FEB21ED.40204@FreeBSD.org>
In-Reply-To: <4FEB1C77.1030903@passap.ru>
References:  <4FE9AB28.3070704@passap.ru> <201206261741.14338.hselasky@c2i.net> <4FE9E0F6.8040503@FreeBSD.org> <4FEABF3D.2010206@passap.ru> <4FEAC813.8060302@FreeBSD.org> <4FEAD898.1000806@passap.ru> <4FEAF3DA.2030800@FreeBSD.org> <4FEB1C77.1030903@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/27/12 17:45, Boris Samorodov wrote:
> 27.06.2012 15:51, Alexander Motin пишет:
>
>> The only change after that I see potentially related is r237478. It adds
>> more checks when fetching SCSI sense data, that for some reason are not
>> working in your case. I still can not completely understand why there
>> was no any READ CAPACITY errors reported before, but may be I am missing
>> something. You can try to revert that revision for check.
>
> Confirm. Reverting this commit alone helps here. Both my system with
> patched kernel uses /dev/da0 and patched kernel works if the system
> is booted from the stick.

OK. But I am not sure what to do about it. I don't see problem in my 
code. I believe it is either hardware or umass problem, or both.

> Though it is a little bit noisy. ;-) Since now I know that it shouldn't
> here is a question: should I file a PR on this noisiness (i.e. error
> reporting, etc.)?

These are real errors for CAM. There would be no noise if device 
correctly reported SCSI senses, as drivers are already instructed to not 
wine about unsupported command codes. But in this case CAM doesn't know 
what are the errors and prefers to report them.

-- 
Alexander Motin



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