tech-kern archive

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

Re: [10.99.12] Panic (softints stuck)



joel.bertrand%systella.fr@localhost (=?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;



Home | Main Index | Thread Index | Old Index