NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/59153: crash dump doesn't dump



The following reply was made to PR kern/59153; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/59153: crash dump doesn't dump
Date: Sat, 8 Mar 2025 05:51:31 -0000 (UTC)

 mrg%eterna23.net@localhost (matthew green) writes:
 
 >>  ld_nvme_dump(struct ld_softc *ld, void *data, int blkno, int blkcnt)
 
 >wow.  this is so dangerous.
 
 >can we even fix it in netbsd-9 and netbsd-10 properly?  i see
 >many of the ld backends have modules.
 
 
 Fixing will be an incompatible step, that would require some
 magic that you have to maintain forever.
 
 Otherwise, just prevent the crash and limit blkno to a positive
 32bit value for -9 and -10. As good as before, but without
 the danger.
 


Home | Main Index | Thread Index | Old Index