Page MenuHomeFreeBSD

Make isp(4) suggest loading ispfw(4) when it fails to attach.
ClosedPublic

Authored by trasz on Feb 26 2019, 8:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 15 2024, 12:10 PM
Unknown Object (File)
Mar 15 2024, 12:10 PM
Unknown Object (File)
Feb 6 2024, 1:33 AM
Unknown Object (File)
Jan 12 2024, 11:04 PM
Unknown Object (File)
Dec 27 2023, 3:25 AM
Unknown Object (File)
Dec 22 2023, 8:40 AM
Unknown Object (File)
Dec 20 2023, 5:15 AM
Unknown Object (File)
Oct 25 2023, 10:07 PM
Subscribers

Details

Summary

Make isp(4) suggest loading ispfw(4) when it fails to attach.
It cannot load it automatically at boot, because the root filesystem
is not there yet. An alternative would be adding ispfw(4) to GENERIC,
but it's an additional 1MB.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I think generally it may be not a bad idea, but I'd prefer less exact message, like "Consider loading ispfw kernel module for known good firmware".

Also you could add check for card generation, since there is no public firmware images for 16Gbps cards and above, so the message would not have sense.

Don't print stuff for 16Gb HBAs.

Thanks. Does it look ok now?

Regarding the message - why? I quite like the current one, because it tells you exactly what you need to do, instead of having to figure it out.

Regarding the message - why? I quite like the current one, because it tells you exactly what you need to do, instead of having to figure it out.

Because it tells you what to do (may happen to be incorrect for somebody), not explaining why.

I think it would actually be better to add the suggestion to put in ispfw_load whenever the user isn't on a 16Gb board and hasn't loaded firmware.

In most cases, we'll probably have the newest firmware in the kernel. And certainly the firmware that has been tested with the driver.

I believe we might be close to automatically loading those by loader(8) itself. And that would make this advice redundant soon.

This revision is now accepted and ready to land.Apr 25 2019, 8:17 PM
This revision was automatically updated to reflect the committed changes.