mpr(4) bug ?
geoffroy desvernay
dgeo at centrale-marseille.fr
Wed Dec 14 20:45:28 UTC 2016
Steve,
First of all, thank you for taking time with this problem !
Yes, I used the very same machine/controller/cable/enclosure/disks with
a live centos system and to check it, and I installed a working debian
system on the bay without problem… That's why I'm thinking the key of my
problem lives somewhere on src/sys ( well, I don't understand
kernel/scsi/sas stuff enought to be sure of this :)
The last dmesg were with a CURRENT kernel, I also tested with 11-STABLE
and sys/dev/mpr from CURRENT and 11-RELEASE, it looks the same (I saw
current mpr(4) seems to have few debugging changes recently)
I'll try tomorrow to change one disk with other 2.5' SAS drive to see if
they could be the culprits… these ones are "SEAGATE ST2000NX0433 NS02"
as reported by "camcontrol devlist", sold (modified ?) by dell.
they behave correctly with smartctl, and the error does not block dd
command if bs < 128k… not sure what it could mean.
Anyway, thank you for your time, and I'd be happy to follow any advice
helping to sort out this … (patch, live system, serial debug, …)
Yours,
Geoffroy.
On 12/14/2016 08:44 PM, Stephen Mcconnell via freebsd-scsi wrote:
> I don't see anything new that helps. Again, the driver looks like it's
> operating properly - just reporting the error that it gets. All I can think
> of is that the requested LBA is out of range, but if that were that case you
> should be getting a different error (ASC of 21 instead of 20). And one other
> thing I see is that the debug output from MPR only shows errors for
> da20:mpr0:0:24:0. The errors at the beginning of the log show several
> drives, so I'm not sure what to make of that.
>
> Are you using the same disks for FreeBSD as you are for Linux? If not, maybe
> you can do that and see what happens.
>
> Steve
>
>> -----Original Message-----
>> From: owner-freebsd-scsi at freebsd.org [mailto:owner-freebsd-
>> scsi at freebsd.org] On Behalf Of geoffroy desvernay
>> Sent: Wednesday, December 14, 2016 12:00 PM
>> To: freebsd-scsi at freebsd.org
>> Subject: Re: mpr(4) bug ?
>>
>> Oups, just overwritten it: it was truncated… the new may be more complete…
>>
>> On 12/14/2016 07:57 PM, geoffroy desvernay wrote:
>>> On 12/14/2016 07:36 PM, Stephen Mcconnell via freebsd-scsi wrote:
>>>> Hi Geoffroy,
>>>>
>>>> I looked through the logs. It's strange. I don't know why there would
>>>> be sense data for 'Invalid OP Code' for the read(10)/write(10)
>>>> commands. The driver looks like it's doing everything correctly. It's
>>>> just passing up the error and the command fails. Can you retry with
>> debug_level set to 0xFFFF?
>>>> It might not give more info, but we can see.
>>>>
>>>> Steve
>>>>
>>>
>>> Thank you :)
>>>
>>> here is a dmesg exerpt, after
>>>
>>> sysctl dev.mpr.0.debug_level=0xFFFF
>>> dd if=/dev/zero of=/dev/da20 bs=1M and
>>>
>>> http://dgeo.perso.ec-m.fr/mfi0_dd_dmesg.log
>>>
>>> Do you prefer bs=127k or bs=128k ?
>>>
>>
>>
>> --
>> geoffroy desvernay
>> C.R.I - Administration systèmes et réseaux Ecole Centrale de Marseille
>> Tel: (+33|0)4 91 05 45 24
>> Fax: (+33|0)4 91 05 45 98
>> dgeo at centrale-marseille.fr
>>
> _______________________________________________
> freebsd-scsi at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe at freebsd.org"
>
--
geoffroy desvernay
C.R.I - Administration systèmes et réseaux
Ecole Centrale de Marseille
Tel: (+33|0)4 91 05 45 24
Fax: (+33|0)4 91 05 45 98
dgeo at centrale-marseille.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20161214/8dd1eb5b/attachment.sig>
More information about the freebsd-scsi
mailing list