NetBSD-Bugs archive

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

Re: kern/56700: panic on dkctl makewedges on vnd



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

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56700: panic on dkctl makewedges on vnd
Date: Tue, 8 Feb 2022 06:35:45 -0000 (UTC)

 reinoud%13thmonkey.org@localhost writes:
 
 >When trying to figure out an issue with wedge enumeration in a Qemu instance I
 >vnconfig'd its drive and seeing that it didn't produce wedges there too I
 >issued `dkctl vnd0 makewedges' and got the following crash. IIRC it wasn't
 >mounted but was accessed.
 
 This happens when the device doesn't exist yet, i.e. the vnconfig wasn't done
 yet or failed. vndioctl() already filters some ioctls, but not those
 handled by disk_ioctl.
 
 Let me prepare a patch.
 


Home | Main Index | Thread Index | Old Index