From: Serguei Tzukanov <tzukanov@narod.ru> To: Jake Burkholder <jake@locore.ca> Cc: freebsd-platforms@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: A question about S/390 port Message-ID: <200207111849.21252.tzukanov@narod.ru> In-Reply-To: <20020711104316.E48985@locore.ca> References: <200207101554.09734.tzukanov@narod.ru> <200207110911.47369.tzukanov@narod.ru> <20020711104316.E48985@locore.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 11 July 2002 18:43, Jake Burkholder wrote: > Where exactly in init are you trying to print? If you're in the > single_user function, you can only use stdio in the forked child > after it calls setctty. Before that you have to open an fd on > /dev/console yourself and write(2) to it, or call login_tty on it > which dups the standard descriptors from it. I don't know if starting > a getty on /dev/console will work, but in any case this doesn't > happen until you go multi-user, iirc this line is only used for the > secure keyword. Problem is solved, I made as you'd said earlier: fixed hc to support tty interface. Right now I'm debugging sh crushing with sig 11. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207111849.21252.tzukanov>