Date: Wed, 14 Dec 2016 21:45:24 +0100 From: geoffroy desvernay <dgeo@centrale-marseille.fr> To: Stephen Mcconnell <stephen.mcconnell@broadcom.com>, freebsd-scsi@freebsd.org Subject: Re: mpr(4) bug ? Message-ID: <c80b9419-fae5-a6fa-f9c4-7eed03ee8368@centrale-marseille.fr> In-Reply-To: <853ce95f576625f247b625268a8a8b98@mail.gmail.com> References: <2ae74eaa-80da-2b81-900b-9b9d21080e5c@centrale-marseille.fr> <95d92193-ba66-ba40-e417-01f29510e73c@centrale-marseille.fr> <5fcf45f2ccbf3b4b195bfc16164bc843@mail.gmail.com> <489d892d-7734-e148-98d3-77bc6e62bac1@centrale-marseille.fr> <8d5ee1d2-e7c4-8a3f-5f8d-b1ef29995e9b@centrale-marseille.fr> <853ce95f576625f247b625268a8a8b98@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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@freebsd.org [mailto:owner-freebsd- >> scsi@freebsd.org] On Behalf Of geoffroy desvernay >> Sent: Wednesday, December 14, 2016 12:00 PM >> To: freebsd-scsi@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@centrale-marseille.fr >> > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@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@centrale-marseille.fr [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYUa9kAAoJED/P9AlFh6DwpVIP/1fEwMNc9GlcXa39PzQicLMc Wm0t/YZsscDw95KxPgGbP1LUWBJXy8XV0wjBoR8ahCQy/loFD8mTo/nFDMwKKv3b MeClubovjLY76Cmsx2P/echG+UpzrlGauN1wmlXr+ZgLCAOtO+vbWExIQ0FPs/Q/ OAbRS4R3NimXrcog1YdcMJjjniGph6UPSvJz11Kd26wpQj09tYOYzRgMlqBk49TV oICXgXCz+9l5NaMgIZAdz+yAxUz3WiFblscI3aizaL5Ic3vBQ5E20RhOcfT+k1yB wzNU7PfDFrOkMShBNU+poalt5MUdygl+2ldNJXG3R/i7kBv2Ag6tru71mqAAvBj6 k/JKtCFW3ZfIV/BfW+YH4oGT9Lwz2J+wkkqoUZCvj50Pxk6247dwkkvdrADB0ioS 9BVjpd6S+qgK/0eGEaQVFz3Th+h4xdu3gJi8AI0GlRySeh/dTyc9kzi/ce6y3wSd fOE8z+8lERbPoecZXx9+yu/ohvjvFpHZMsU5i9OfCDlX0pHUbTThMWXYGgAm9MhV YycC4E+f7qE/e6PdK3hWmZ0iTXqF8OlipcJHAT3P3MESIRVpt0LH0GC4Er/2sG5f cQtaTqlbEJ3rxD8dORff/JD0R3GUUk+/nwBFRXeKxWg0XTCp0T6dv+zTp7fhyNgk lteOUonfiFrMhUgbuoDa =uUs6 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c80b9419-fae5-a6fa-f9c4-7eed03ee8368>
