NetBSD-Bugs archive

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

Re: kern/54541: kernel panic using "zfs diff"



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

From: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/54541: kernel panic using "zfs diff"
Date: Sat, 12 Oct 2019 10:02:28 +0200

 --Apple-Mail=_972375B2-1082-40B3-A97E-2DCE98FFC5F4
 Content-Type: multipart/mixed;
 	boundary="Apple-Mail=_58C83D04-59EA-49F3-9B5C-324811C87CF1"
 
 
 --Apple-Mail=_58C83D04-59EA-49F3-9B5C-324811C87CF1
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=us-ascii
 
 > On 12. Oct 2019, at 01:50, Brad Spencer <brad%anduin.eldar.org@localhost> wrote:
 <snip>
 >=20
 > [ 472375.2036056] panic: kernel diagnostic assertion "fdm !=3D NULL" =
 failed: file "/usr/src/sys/kern/vfs_trans.c", line 166 mount 0x0 invalid
 
 Sorry for being late, looks like vn_rdwr() gets called
 with garbage instead of a vnode.
 
 The attached diff could help to track it down.
 
 Do you have a recipe to trigger this panic?
 
 --
 J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig
 
 --Apple-Mail=_58C83D04-59EA-49F3-9B5C-324811C87CF1
 Content-Disposition: attachment;
 	filename=zfs_ioctl.c.diff
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="zfs_ioctl.c.diff"
 Content-Transfer-Encoding: 7bit
 
 --- zfs_ioctl.c	22 May 2019 08:46:27 -0000	1.20
 +++ zfs_ioctl.c	12 Oct 2019 07:58:07 -0000
 @@ -5297,4 +5297,6 @@ zfs_ioc_diff(zfs_cmd_t *zc)
  	off = fp->f_offset;
  
 +	KASSERTMSG(fp->f_type == DTYPE_VNODE, "type=%u", fp->f_type);
 +
  #ifdef __FreeBSD__
  	error = dmu_diff(zc->zc_name, zc->zc_value, fp, &off);
 
 --Apple-Mail=_58C83D04-59EA-49F3-9B5C-324811C87CF1--
 
 --Apple-Mail=_972375B2-1082-40B3-A97E-2DCE98FFC5F4
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP
 
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAEBCAAdFiEE2BL3ha7Xao4WUZVYKoaVJdNr+uEFAl2hiJQACgkQKoaVJdNr
 +uGAUggAi3UdG/ey3l87h76tbtpzihGsqJroA1KCsi+fWVIwddjcHaPlsx+vHX0Y
 ImMNYEg260X/JaQCvcY7v19zU3Cxu9NQE2VGVcYStx7RS0agiVmC+lDg/GE8ZOzH
 K1l+sEhOltFKtbI76l4NsXO9+k8ow4sVcPnMEolZ79HfvoxphNSRt6cpSS2JjEK5
 euesZuVuAKgD+WsnAWmiCdnLGQh8Nm/ZxuKk9zIJJs06a46JSKkE+k8yjxpP/t0a
 pzjv4VplIr2TeHEijITdM7DHC9IU1tDOHFMOyWV2SsvXJLx4YfHljpb3HPUcFO35
 vTdXqrBi0gbZBMLEvafgHi2MC/Oq2A==
 =vRS0
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_972375B2-1082-40B3-A97E-2DCE98FFC5F4--
 


Home | Main Index | Thread Index | Old Index