Date: Mon, 9 Dec 2002 19:28:07 -0500 (EST) From: Andrew Gallatin <gallatin@cs.duke.edu> To: "Sergey Amelyuschenko" <adminu5@mail.ru> Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: alpha/45947: init does not invoke getty Message-ID: <15861.13591.592853.836992@grasshopper.cs.duke.edu> In-Reply-To: <200212060910.gB69A3ls034629@freefall.freebsd.org> References: <200212060910.gB69A3ls034629@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sergey Amelyuschenko writes: > It is much worse - it does not even try to open /etc/ttys :-( > I run this sequence "ktrace -di -p 1 ; kill -HUP 1 ; sleep 0.5 ; ktrace -C" > after editing /etc/ttys on both alpha and i386. Here is the result: > > alpha# kdump | grep init > 1 init PSIG SIGHUP caught handler=0x120002780 mask=0x9e7c9054 > code=0xffffffff > 1 init RET wait4 -1 errno 4 Interrupted system call > 1 init CALL sigreturn(0x11ffb8c8) > 1 init RET sigreturn JUSTRETURN > 1 init CALL wait4(0xffffffffffffffff,0x11ffbc70,0x2,0) Hmm.. 2 ideas: 1) Perhaps it still thinks that its running a startup script and has not made it fully multi-user. Have you installed or upgraded any ports recently? something in /usr/local/etc/rc.d/foo.sh started so that it does not go into the background might block init. 2) init has gone totally insane. I'd stick some printfs in transition_handler(), and in multi_user(), and in clean_ttys(). So as to try to see what's happening when the signal is delivered. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15861.13591.592853.836992>