Date: Sun, 29 Apr 2018 18:32:37 +0200 From: "Peter G." <freebsd@disroot.org> To: rowley.evan@gmail.com, freebsd-drivers@freebsd.org Subject: Re: Matching mps driver in 11.1-STABLE to LSI 2008 firmware Message-ID: <2345b4bb-79e7-3403-8d52-b90f45d2306b@disroot.org> In-Reply-To: <CAMhuX2A9vgkRxC79FOz0oos8GYe5FhkLv-yUvy-BrPnhKnK5Lw@mail.gmail.com> References: <CAMhuX2DqDsem9uDFe2zGpc64-iATMSoRKJ3uXYOGt1LqaLoOdQ@mail.gmail.com> <94579286-7fcc-86ff-41d3-ceb6508f9b11@disroot.org> <CAMhuX2A_rRkvEY65_h7gfTKWFm0LU=BSW3EJ_u0wecg3cV70YQ@mail.gmail.com> <a006beb3-deb3-ec3a-28e6-39ef0ce98958@disroot.org> <CAMhuX2Bu0dzKzJnnotNtwQL2iASUrR40gWd0LBXA%2BGH8zTRQfQ@mail.gmail.com> <CAMhuX2A9vgkRxC79FOz0oos8GYe5FhkLv-yUvy-BrPnhKnK5Lw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29/04/2018 18:00, Evan Rowley wrote: > This is the mps line from dmesg: > > mps0: <Avago Technologies (LSI) SAS2008> port 0xb000-0xb0ff mem > 0xdfd3c000-0xdfd3ffff,0xdfd40000-0xdfd7ffff irq 36 at device 0.0 on > pci3 > mps0: Firmware: 19.00.00.00, Driver: 21.02.00.00-fbsd > mps0: IOCCapabilities: > 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc> > > One might assume that the driver version 21 requires firmware version > 21, although LSI/Avago/Broadcom do not seem to have that version > available. Patched versions of firmware 20 (20.00.07.00) are the > highest offered as of today, as far as I can tell. > > I wonder how other FreeBSD users avoid this guesswork. I honestly doubt this is the driver issue. I've got mps0: <Avago Technologies (LSI) SAS2008> port 0x3000-0x30ff mem 0xa2b40000-0xa2b4ffff,0xa2b00000-0xa2b3ffff irq 16 at device 0.0 on pci1 mps0: Firmware: 20.00.07.00, Driver: 21.02.00.00-fbsd mps0: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc> so the same, minus the firmware version; and before those controllers were flashed to 20.00.07 I've tested them with the same drivers, and since I've got 7 of them (they can be bought very cheaply post-leasing, like 30-35 EUR a pop for post-leasing Dell Perc H310 which is a fine controller), they had different older versions of their firmware. AFAIR the test controller was running version 16 or so (IR) and worked fine. Did you clean controller's BIOS when flashing new firmware? Is the SAS address properly set? If you want to turn SAS2008 into an HBA proper, it doesn't need its own bios at all, only firmware. My guess would be your problem is related to controller's misconfiguration. I run them without their bios, in strict IT/HBA mode and let ZFS handle any mirroring/raid. This way they simply show up as mpsN and drives as basic directly connected daN. I would advice you to reflash the controller, i.e. start from zero. The proper procedure would be to 1) write an empty SRB, 2) erase controller flash, and then 3) clean flash the recent firmware in desired mode (IT for HBA), and 4) set the SAS address. I can walk you through it but I'd need to dig up my old notes on that. It would be very similar to: https://fogelholk.io/reflash-lsi-megaraid-9240-8i-to-9211-8i/ Reflashing Dell H310 requires an extra step to flash older firmware first (allowing the IR->IT change) and only then re-flash the most recent version. -- PG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2345b4bb-79e7-3403-8d52-b90f45d2306b>