Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2022 13:17:32 -0800
From:      Michael Dexter <editor@callfortesting.org>
To:        freebsd-current@freebsd.org
Subject:   smartpqi0 "panic: Segment size is not aligned" Related panic on savecore?
Message-ID:  <c8cf9616-503b-eebb-7bf7-9b1f4def0719@callfortesting.org>

next in thread | raw e-mail | index | archive | help
The HPE P408i-a SR Gen10 3.00/smartpqi(4) on an HP DL325 EYPC system 
worked well under 13.* and a SATA SSD but is providing odd behavior 
under the 14-CURRENT 2022-11-23 RE snapshot.

The dmesg is blown with this incrementing error:

...
(probe0:smartpqi0:0:582:0): Down reving Protocol Version from 6 to 2?
(probe1:smartpqi0:0:583:0): Down reving Protocol Version from 6 to 2?
(probe0:smartpqi0:0:584:0): Down reving Protocol Version from 6 to 2?
...
(probe0:smartpqi0:0:1088:2): Down reving Protocol Version from 6 to 5?
pass0 at smartpqi0 bus 0 scbus0 target 64 lun 0
pass0: <HPE Smart Adapter 3.00> Fixed Enclosure Services SPC-3 SCSI device
(quiets down)

dd'ing the 2022-11-23 Release Engineering VM raw snapshot to a device 
boots fine via USB and performs a growfs but booting to the HBA results 
in a panic when savecore it run, reporting:

panic: Segment size is not aligned


Workaround:

Set savecore_enable="NO" in rc.conf before booting.


Reproduction:

service savecore onestart


Cleanup: fsck / in single user mode and disable savecore as needed.


Possibly related?

Open (note savecore):
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240145

Resolved with the same "Segment size is not aligned" panic:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259541
https://reviews.freebsd.org/D30182

Should I update that second PR? Have any suggestions for verifying the 
issue?

All the best,

Michael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c8cf9616-503b-eebb-7bf7-9b1f4def0719>