HI 2008/8/4, Claudio <[EMAIL PROTECTED]>: > 2008/8/4, Hinko Kocevar <[EMAIL PROTECTED]>: >> MichelinoK wrote: >>> "Hinko Kocevar" <[EMAIL PROTECTED]> ha scritto nel messaggio >>> news:[EMAIL PROTECTED] >>>> MichelinoK wrote: >>>>> Is there a way to have a more verbose "boot" (to see where it hangs) ? >>>>> >>>>> >>>> Run sysinit scripts in /etc/inittab with '#!/bin/sh -x' or use strace to >>>> start the script. It might help if strace and/or init are both >>>> statically >>>> >>>> linked. >>>> >>>> HTH, >>>> Hinko >>> >>> 1) You mean that I must modify the sources and edit all the scripts and >>> add >>> "-x"? >> >> At least the /etc/init.d/rcS - this one is run first. >> >>> 2) How can statically link strace/init ? >> >> if /sbin/init is from busybox, correct me if I'm wrong, so all that is >> needed is to build busybox as static binary - there is a config option in >> busybox for this. >> >> strace is not in openwrt, yet. >> I have made a port of 4.5.8 cris patch for 4.5.15. If someone could make >> the >> openwrt package I'll provide the patch for cris architecture. To build >> strace statically add '-static' flag to the final link command. > > Wonderful!! > This is __exactly__ what I need now! > > I will test it shortly!! >
I had test it and it works! Here the related patch https://dev.openwrt.org/cgi-bin/trac.fcgi/ticket/3844 > Many thanks! > >> >> Regards, >> Hinko >> > Best Regards > >> -- >> ČETRTA POT, d.o.o., Kranj >> Planina 3 >> 4000 Kranj >> Slovenia, Europe >> Tel. +386 (0) 4 280 66 03 >> E-mail: [EMAIL PROTECTED] >> Http: www.cetrtapot.si _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel