Bug #2406

puffs stuck in puffsrpl

Added by herrgard about 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:08/17/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

How to reproduce:

zoidberg# kldload puffs
zoidberg# mount_psshfs :/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
> .depend
mkdep -f .depend -a -std=gnu99 /usr/src/games/fortune/strfile/strfile.c
echo strfile: /usr/obj/usr/src/btools_x86_64/usr/lib/libc.a >> .depend
".depend", line 21: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** 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.

History

#1 Updated by herrgard about 2 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

Also available in: Atom PDF