Hush 1.6.0 fork problem on non MMU

Denis Vlasenko vda.linux at googlemail.com
Mon Jun 4 23:39:11 UTC 2007


On Monday 04 June 2007 23:14, Martinb_ARM_NOMMU_KISSDVD wrote:
> FYI
> 
> Sorry to bug you again but somehow i get:
> 
> /hdd/newscript # ./test2
> hush: fork: Function not implemented
> 
> when I run the 1.6.0 hush
> 
> I do compile with the following options
> 
> make ARCH=arm CROSS_COMPILE=arm-uclinux-elf-
> EXTRA_CFLAGS="-D__uClinux__ -DBB_NOMMU" LDFLAGS="-Wl,-elf2flt" install
> 
> and if i look it the source of hush.c (but i have no idea what im doing)
> then the "if then" looks ok
> so somehow busybox thinks BB_MMU is set, but it was not me
> 
> I think the problem is inside platform.h
> if I replace the 3 forks with vfork then hush is running ok (for scripting,
> not for telnet shell, see older message)
> and I also can tell that finally the script:
> 
> #!./hush
> PCLINK=`cut -d = -f3 /tmp/stage2.tmp`
> echo pclink=$PCLINK
> 
> is working on my system, thanks

Oh my. My napoleonic plans to finally organize NOMMU test/debug
environment in qemu are still only plans. :(
--
vda



More information about the busybox mailing list