From owner-freebsd-current Fri Jan 4 14:25:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 6044537B41A for ; Fri, 4 Jan 2002 14:25:07 -0800 (PST) Received: (qmail 6082 invoked from network); 4 Jan 2002 22:25:06 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Jan 2002 22:25:06 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200201042203.g04M3rl10851@aldan.algebra.com> Date: Fri, 04 Jan 2002 14:24:53 -0800 (PST) From: John Baldwin To: Mikhail Teterin Subject: Re: today's current: boot/loader and console Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 04-Jan-02 Mikhail Teterin wrote: > On 3 Jan, John Baldwin wrote: >> >> On 04-Jan-02 Mikhail Teterin wrote: >>> After 25 days of uptime I rebuilt the world, and can no longer boot >>> as usual. Both boot/loader and boot/loader.old (from Oct 30) flash >>> the list of devices and immediately reset the computer. >> >> Any chance you could setup a serial console and catch the output? > > This is my only computer... Are your loader and 4th files in sync? There was a change to the 4th scripts that I thought I sent a heads up about. Anyways, do this to get the error message: go into /sys/boot/i386/loader, edit main.c, and change the exit() function to do a while(1); loop before callign __exit(). Compile a new loader and install it and then see what message you get. >>> My only way to bring it up is to press space at the right moment, get >>> the Boot: prompt and load/boot kernel directly bypassing the loader. >>> >>> This works, but there is no console output (it goes from spinner >>> straight into the login prompt). I guess, the console output is being >>> sent down sio0, where there is an external modem now. Turning the >>> modem off does not change anything... >> >> No, you have no console because you have no hints. If you statically >> compile your hints into your kernel, you will have a console again. > > Why did it change all of a sudden? Did hints get blown away by > installworld at's the point? Why is the serial console default? Err, hints are normally loaded by the loader from /boot/device.hints. boot2 doesn't load hints when it loads a kenrel, it just loads the kernel and boots. You don't have a seiral console, you have _no_ kernel console. :) Since you are booting from boot2 and not the loader, your hints aren't getting loaded, so you aren't getting a kernel console. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message