Subject: Various vmlocking branch issues
To: Andrew Doran <ad@netbsd.org>
From: Vincent <10.50@free.fr>
List: tech-kern
Date: 11/09/2007 19:17:40
Andrew,

there are several issues I've been encountering since I tagged the 
vmlocking branch.

First, I reported a reprductible crash in seamonkey.

Next, I rebuilt another kernel today and launched a compilation through 
ssh (from my office). The linkThe kernel crashed, I got a panic:

mutex_spin_retry -> locking against myself
panic : lock error in cc1plus

bt gave me this stack:
sleepq_remove
sleepq_wake
wakeup
knote_enqueue
knote
logwakeup
printf
trap
sched_nextlwp
nu_switch
preempt
trap

Besides, I can't build the userland since a week. I got an error in 
libpuffs, I'm wondering if this has to do with vmlocking not being up to 
date with other modifications:

#   compile  libpuffs/dispatcher.ln
CC=/usr/src/tools/bin/i386--netbsdelf-gcc 
/usr/src/tools/bin/i386--netbsdelf-lint -chapbxzFS -S -w -d 
/usr/src/bsd/usr/include  -D_FORTIFY_SOURCE=2    -i 
/usr/src/lib/libpuffs/dispatcher.c
/usr/src/lib/libpuffs/dispatcher.c(109): undefined struct/union member: 
preq_pid [101]
/usr/src/lib/libpuffs/dispatcher.c(109): undefined struct/union member: 
preq_lid [101]
/usr/src/lib/libpuffs/dispatcher.c(186): undefined struct/union member: 
preq_pid [101]
/usr/src/lib/libpuffs/dispatcher.c(186): undefined struct/union member: 
preq_pid [101]
/usr/src/lib/libpuffs/dispatcher.c(187): undefined struct/union member: 
preq_lid [101]
/usr/src/lib/libpuffs/dispatcher.c(187): undefined struct/union member: 
preq_lid [101]
/usr/src/lib/libpuffs/dispatcher.c(225): undefined struct/union member: 
preq_pid [101]
/usr/src/lib/libpuffs/dispatcher.c(225): undefined struct/union member: 
preq_pid [101]
/usr/src/lib/libpuffs/dispatcher.c(226): undefined struct/union member: 
preq_lid [101]
/usr/src/lib/libpuffs/dispatcher.c(226): undefined struct/union member: 
preq_lid [101]

*** Failed target:  dispatcher.ln
*** Failed command: CC=/usr/src/tools/bin/i386--netbsdelf-gcc 
/usr/src/tools/bin/i386--netbsdelf-lint -chapbxzFS -S -w -d 
/usr/src/bsd/usr/include -D_FORTIFY_SOURCE=2 -i 
/usr/src/lib/libpuffs/dispatcher.c
*** Error code 1

Any hint?

Vincent