Re: armv7 kernel panic on swap exhaustion

Mark Millard <[email protected]> Sun, 1 Mar 2026 20:13:24 -0800
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On 3/1/26 18:15, bob prohaska wrote:
> 
> A Pi2B v1.1 (armv7) has paniced while running a -j3 buildworld.
> 
> I've put details at
> http://www.zefox.net/~fbsd/rpi2/panic_on_swap_exhaustion/
> 
> This particular machine has been patched for the 
> "panic on shutdown" problem, and that patch seemed
> to work: shutdown panics were reproducible and the
> patch made them go away completely. 
> 
> The panic reported in this message has never been 
> seen before; whether it touches on the same issue
> or is completely unrelated I've no idea. There are
> no behaviors suggesting a faulty hard disk but some
> of the console messages  might suggest otherwise.

For:

. . .
(da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:10,0 (ID CRC or ECC
error)
. . .
(da0:umass-sim0:0:0:0): Error 5, Retries exhausted=32768)]error = 5
. . .

my understanding is:

) "SCSI sense: MEDIUM ERROR asc:10,0 (ID CRC or ECC error)" indicates
that the data fails the CRC/ECC data check where it was trying to read:
Bad data.

) "Error 5, Retries exhausted" indicates repeated attempts were made and
they all failed for the location in question.

> The disk is far from new and has been well-used.

My guess is that it is time to replace it.

>  
> At the time top stopped updating swap usage was
> modest (69 MB).
> 
> Thanks for reading,
> 
> bob prohaska
> 
> 
> 


-- 
===
Mark Millard
marklmi at yahoo.com