[Bug 294161] smartpqi does not log anything
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 294161] smartpqi does not log anything"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 May 2026 18:09:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294161
--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=0d48d6d7bba77d6c3736ce56ea5667bfbde89705
commit 0d48d6d7bba77d6c3736ce56ea5667bfbde89705
Author: John Hall <jrhall@FreeBSD.org>
AuthorDate: 2026-05-04 21:43:27 +0000
Commit: John Hall <jrhall@FreeBSD.org>
CommitDate: 2026-05-07 18:08:26 +0000
smartpqi: Add runtime sysctl for debug_level and log device state changes
The smartpqi driver did not log device add/remove or controller events
to syslog, and hw.smartpqi.debug_level could only be set at boot via
loader.conf with no runtime sysctl interface.
Add a read-write sysctl at dev.smartpqi.N.debug_level for runtime
debug level changes. Add device_printf calls for device addition,
removal, and controller events (hotplug, hardware, physical/logical
device, AIO state/config changes) so state changes always appear in
dmesg. Add DBG_DISC logging for discovery state transitions. Fix
spelling errors in strings and comments across the driver.
Bump driver version to 14.4691.1.2000 / 15.2.1.2000.
PR: 294161
Reviewed by: imp
Approved by: imp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D56832
sys/dev/smartpqi/smartpqi_cam.c | 4 ++--
sys/dev/smartpqi/smartpqi_defines.h | 8 ++++----
sys/dev/smartpqi/smartpqi_discovery.c | 21 ++++++++++++++++++---
sys/dev/smartpqi/smartpqi_event.c | 17 ++++++++++++++---
sys/dev/smartpqi/smartpqi_main.c | 12 +++++++++++-
sys/dev/smartpqi/smartpqi_misc.c | 4 ++--
sys/dev/smartpqi/smartpqi_queue.c | 4 ++--
sys/dev/smartpqi/smartpqi_request.c | 4 ++--
sys/dev/smartpqi/smartpqi_response.c | 4 ++--
sys/dev/smartpqi/smartpqi_sis.c | 6 +++---
sys/dev/smartpqi/smartpqi_structures.h | 4 ++--
11 files changed, 62 insertions(+), 26 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.