Subject: Re: kern/33438: KASSERT at line 1274 in subr_autoconf.c
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-bugs
Date: 05/07/2006 23:50:02
The following reply was made to PR kern/33438; it has been noted by GNATS.

From: Quentin Garnier <cube@cubidou.net>
To: gnats-bugs@netbsd.org
Cc: thorpej@netbsd.org
Subject: Re: kern/33438: KASSERT at line 1274 in subr_autoconf.c
Date: Mon, 8 May 2006 01:46:32 +0200

 --nRkE97iIlkj7lnZ0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sun, May 07, 2006 at 11:35:00PM +0000, Lennart Augustsson wrote:
 > >Number:         33438
 > >Category:       kern
 > >Synopsis:       KASSERT at line 1274 in subr_autoconf.c
 > >Confidential:   no
 > >Severity:       critical
 > >Priority:       medium
 > >Responsible:    kern-bug-people
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Sun May 07 23:35:00 +0000 2006
 > >Originator:     Lennart Augustsson
 > >Release:        NetBSD 3.99.19
 > >Organization:
 > >Environment:
 > System: NetBSD bamse.augustsson.net 3.99.19 NetBSD 3.99.19 (BAMSE) #1: Su=
 n May 7 17:41:53 EDT 2006 lennart@bamse.augustsson.net:/sys/arch/i386/compi=
 le/BAMSE i386
 > Architecture: i386
 > Machine: i386
 > >Description:
 > 	I'm not exactly sure of the circumstances, but the vnd device
 > 	triggers the KASSERT(dev->dv_properties !=3D 0) in device_detach().
 > 	The problem was introduced in version 1.112 of subr_autoconf.c.
 
 That's because config_attach_pseudo() doesn't initialize
 dv_properties.  tap(4) will have the same problem (I'm not sure there
 are other uses of config_detach on pseudo-devices).
 
 --=20
 Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
 "When I find the controls, I'll go where I like, I'll know where I want
 to be, but maybe for now I'll stay right here on a silent sea."
 KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
 
 --nRkE97iIlkj7lnZ0
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.3 (NetBSD)
 
 iQEVAwUBRF6G2NgoQloHrPnoAQJA+Af/WpLhSogFLXn/m5Qxd8q3Spc6dW3hvVbO
 ClP+CQn6FctOP0UkMhe75nWkVKNQbgvaEHqSXFPvxQ1L7XG8zforVQXFAa/tay50
 w6E4/U5uL8TGaQK9X24VXlDkA2npgd9XZ5vX4JEt6XNBXBXcsXmx7SAb/pyCcqiW
 wsoif52Jlwi4yhpHnxa8kfHV9oWNnwtVk7TlQjNDUXmuZ6aFewuCp3X9UKNHY7n2
 KSl5vEKQc5Hr3X1xd7tcoA2OSehlA/0IU3ii+LbK2vtMog7nTh8yrlH6cvD8zfE7
 6TjAXKVOTO4t9/i77h0QfvZKyfMdE9jBzd1pDfIhHp554akgduaBEw==
 =ZPMa
 -----END PGP SIGNATURE-----
 
 --nRkE97iIlkj7lnZ0--