[DragonFlyBSD - Bug #2406] (Closed) puffs stuck in puffsrpl

Max Herrgard via Redmine bugtracker-admin at leaf.dragonflybsd.org
Fri Aug 17 13:03:53 PDT 2012

Issue #2406 has been updated by Max Herrgard.

Status changed from New to Closed

This deadlock is gone with 39a5cda324dae9fe470e2b8c3a834b22ab847a09

+#ifdef XXXDF
+               /* deadlocks, needs its own kernel thread */
Bug #2406: puffs stuck in puffsrpl

Author: Max Herrgard
Status: Closed
Priority: Normal
Target version: 

How to reproduce:

zoidberg# kldload puffs
zoidberg# mount_psshfs max at /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.

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list