From owner-freebsd-hackers Thu Jul 11 7:51:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DE3637B400; Thu, 11 Jul 2002 07:51:22 -0700 (PDT) Received: from palmolive.yandex.ru (palmolive.yandex.ru [213.180.193.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2813C43E42; Thu, 11 Jul 2002 07:51:21 -0700 (PDT) (envelope-from tzukanov@narod.ru) Received: from dial-113.nross.ru ([195.161.59.240]:384 "EHLO antares" ident: "NO-IDENT-SERVICE[2]" whoson: "tzukanov" TLS-CIPHER: TLS-PEER: ) by mail.yandex.ru with ESMTP id ; Thu, 11 Jul 2002 18:51:08 +0400 Content-Type: text/plain; charset=US-ASCII From: Serguei Tzukanov To: Jake Burkholder Subject: Re: A question about S/390 port Date: Thu, 11 Jul 2002 18:49:21 +0400 User-Agent: KMail/1.4.1 Cc: freebsd-platforms@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG References: <200207101554.09734.tzukanov@narod.ru> <200207110911.47369.tzukanov@narod.ru> <20020711104316.E48985@locore.ca> In-Reply-To: <20020711104316.E48985@locore.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <200207111849.21252.tzukanov@narod.ru> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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