Re: rump LOCKDEBUG panic

2017-01-14 Thread Paul Goyette
On Sat, 14 Jan 2017, Patrick Welche wrote: On Sat, Jan 14, 2017 at 05:32:36PM +0800, Paul Goyette wrote: Yeah, it seems that the rump initialization code is calling routine drvctl_init() in order to determine the c-major for the /dev/drvctl node. The right thing to do here is to temporarily

Re: rump LOCKDEBUG panic

2017-01-14 Thread Patrick Welche
On Sat, Jan 14, 2017 at 05:32:36PM +0800, Paul Goyette wrote: > Yeah, it seems that the rump initialization code is calling routine > drvctl_init() in order to determine the c-major for the /dev/drvctl node. > The right thing to do here is to temporarily attach the cdevsw structure, > retrieve the

Re: rump LOCKDEBUG panic

2017-01-14 Thread Paul Goyette
On Fri, Jan 13, 2017, Patrick Welche wrote: ... > NetBSD 7.99.58 (RUMP-ROAST) > ... > audio0 at pad0: half duplex, playback, capture > mutex error: lockdebug_alloc: already initialized > > lock address : 0x7f7ff6604300 type : sleep/adaptive > initialized : 0x7f7ff640294a >

Re: rump LOCKDEBUG panic

2017-01-13 Thread Patrick Welche
On Fri, Jan 13, 2017 at 04:43:19PM +0100, Patrick Welche wrote: > On Fri, Jan 13, 2017 at 04:00:20PM +0100, Patrick Welche wrote: > > On Fri, Jan 13, 2017 at 03:15:19PM +0100, Patrick Welche wrote: > > > Given how many tests are based on rump, am I the only one seeing this? ... because the tests

Re: rump LOCKDEBUG panic

2017-01-13 Thread Patrick Welche
On Fri, Jan 13, 2017 at 04:00:20PM +0100, Patrick Welche wrote: > On Fri, Jan 13, 2017 at 03:15:19PM +0100, Patrick Welche wrote: > > Given how many tests are based on rump, am I the only one seeing this? > > > > $ rump_allserver -v unix://sock > > Copyright (c) 1996, 1997, 1998, 1999, 2000,

Re: rump LOCKDEBUG panic

2017-01-13 Thread Patrick Welche
On Fri, Jan 13, 2017 at 03:15:19PM +0100, Patrick Welche wrote: > Given how many tests are based on rump, am I the only one seeing this? > > $ rump_allserver -v unix://sock > Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, > 2006, 2007, 2008, 2009, 2010, 2011, 2012,