Re: [10.99.12] Panic (softints stuck)
BERTRAND Joël <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
Michael van Elst a écrit : > [email protected] (=?UTF-8?Q?BERTRAND_Jo=c3=abl?=) writes: > >> [ 148425,692985] dumping to dev 18,1 (offset=3D253015, size=3D4162677): >> [ 148425,692985] dump [ 1.0000000] Copyright (c) 1996, 1997, 1998, > > > My guess is that dump on a raid partition is broken. > > raid checks the partition to be of type FS_SWAP and > redirects the request to the FS_RAID partition of the component. > > The component driver does the same check and fails. > > Please try: > > Index: sys/dev/dksubr.c > =================================================================== > RCS file: /cvsroot/src/sys/dev/dksubr.c,v > retrieving revision 1.117 > diff -p -u -r1.117 dksubr.c > --- sys/dev/dksubr.c 6 Feb 2025 20:11:46 -0000 1.117 > +++ sys/dev/dksubr.c 18 Feb 2025 09:58:56 -0000 > @@ -831,7 +831,7 @@ dk_dump(struct dk_softc *dksc, dev_t dev > } else { > int nsects, sectoff; > > - if (p->p_fstype != FS_SWAP) { > + if (p->p_fstype != FS_SWAP && p->p_fstype != FS_RAID) { > DPRINTF(DKDB_DUMP, ("%s: bad fstype %d\n", __func__, > p->p_fstype)); > return ENXIO; Patch applied, but I cannot test. Maybe this evening. Regards, JB
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQj8MW8iOsC2RXEznnFW/s/mMLXCAUCZ7RglAAKCRDFW/s/mMLX CIFcAQD+ucOMhlsums0Mootv7rUjRw+zlHFrgNFoOzPHIuoQnwEApqJRgfzRrf/e ypYfmrEaHN6oiSymu8hGXh1Nfl7C2w8= =r083 -----END PGP SIGNATURE-----