Page MenuHomeFreeBSD

cam/scsi: Support well known logical unit
ClosedPublic

Authored by jaeyoon on Nov 26 2025, 9:38 AM.
Tags
None
Referenced Files
F145388741: D53920.id167116.diff
Thu, Feb 19, 4:51 AM
F145388736: D53920.id167116.diff
Thu, Feb 19, 4:51 AM
F145388732: D53920.id167116.diff
Thu, Feb 19, 4:51 AM
Unknown Object (File)
Tue, Feb 17, 6:38 AM
Unknown Object (File)
Jan 10 2026, 5:32 AM
Unknown Object (File)
Dec 18 2025, 2:33 AM
Unknown Object (File)
Dec 11 2025, 10:33 AM
Unknown Object (File)
Dec 9 2025, 7:02 AM
Subscribers

Details

Summary

This patch adds an additional state to probe well-known logical units
before probing normal logical units.

Sponsored by: Samsung Electronics

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 68861
Build 65744: arc lint + arc unit

Event Timeline

Since only the SIMs that support WLUN reporting call this, that limits the damage.
It may be the case we have to probe LUNs first and not probe WLUNs at all if that fails (some older, reduced command CDB sets don't have REPORT LUNS at all). For the moment, it's fine.

sys/cam/scsi/scsi_all.h
3060

are there other formats we don't support?

This revision is now accepted and ready to land.Nov 28 2025, 7:16 AM
sys/cam/scsi/scsi_all.h
3060

There are several formats for the LUN address method (Peripheral, Flat, Extended flat, Long). And we don't support them.

This revision was automatically updated to reflect the committed changes.