Bug #2406
closedpuffs stuck in puffsrpl
0%
Description
How to reproduce:
zoidberg# kldload puffs
zoidberg# mount_psshfs max@192.168.1.11:/Users/max/obj /usr/obj
zoidberg# cd /usr/src && make buildworld
Rebuilding the temporary build tree
--------------------------------------------------------------
rm -rf /usr/obj/usr/src/btools_x86_64 /usr/obj/usr/src/ctools_x86_64_x86_64 /usr/obj/usr/src/world_x86_64
mkdir -p /usr/obj/usr/src /usr/obj/usr/src/btools_x86_64 /usr/obj/usr/src/ctools_x86_64_x86_64 /usr/obj/usr/src/world_x86_64
mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /usr/obj/usr/src/world_x86_64/ > /dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr/obj/usr/src/world_x86_64/usr > /dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /usr/obj/usr/src/btools_x86_64/ > /dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr/obj/usr/src/btools_x86_64/usr > /dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /usr/obj/usr/src/ctools_x86_64_x86_64/ > /dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr/obj/usr/src/ctools_x86_64_x86_64/usr > /dev/null
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/obj/usr/src/world_x86_64/usr/include > /dev/null
ln -sf /usr/src/sys /usr/obj/usr/src/world_x86_64
stage 1: bootstrap tools
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/btools_x86_64 OBJTREE=/usr/obj DESTDIR=/usr/obj/usr/src/btools_x86_64 PATH=/usr/obj/usr/src/btools_x86_64/usr/sbin:/usr/obj/usr/src/btools_x86_64/usr/bin:/usr/obj/usr/src/btools_x86_64/bin:/usr/obj/usr/src/btools_x86_64/usr/games:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin INSTALL="sh /usr/src/tools/install.sh" make -f Makefile.inc1 -DBOOTSTRAPPING -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -DNO_WERROR -DNO_NLS bootstrap-tools
ln -fs /bin/date /usr/obj/usr/src/btools_x86_64/bin/date
echo "===> games/fortune/strfile (bootstrap-tools)"; cd /usr/src/games/fortune/strfile; make DIRPRFX=games/fortune/strfile/ obj; make DIRPRFX=games/fortune/strfile/ depend; make DIRPRFX=games/fortune/strfile/ all; make DIRPRFX=games/fortune/strfile/ DESTDIR=/usr/obj/usr/src/btools_x86_64 install
===> games/fortune/strfile (bootstrap-tools)
/usr/obj/usr/src/btools_x86_64/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile
rm -f .depend
mkdep.depend
echo strfile: /usr/obj/usr/src/btools_x86_64/usr/lib/libc.a >> .depend
".depend", line 21: Need an operator
make: fatal errors encountered -
- Error code 1
- Error code 1
- Error code 1
Stop in /usr/src.
zoidberg# make buildworld
load: 0.18 cmd: sh 1053 [puffsrpl] 0.00u 0.00s 0% 2640k
Other commands can also get stuck like this, it is nothing unique to buildworld.
Kernel and core are on leaf, ~mh/crash/*23. Look at the threads.
Updated by herrgard over 12 years ago
- Status changed from New to Closed
This deadlock is gone with 39a5cda324dae9fe470e2b8c3a834b22ab847a09
#ifdef XXXDF
/* deadlocks, needs its own kernel thread */
cache_purge(vp);
+#endif