Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jan 2002 16:20:30 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        current@FreeBSD.org
Subject:   Re: today's current: boot/loader and console
Message-ID:  <XFMail.020104162030.jhb@FreeBSD.org>
In-Reply-To: <200201042238.g04Mchl11179@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 04-Jan-02 Mikhail Teterin wrote:
>> 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.
> 
> The hints did not change since forever:
> -r--r--r--  1 root  wheel    2030 Feb 10  2001 device.hints
> 
> Everything else seems fresh:
> -r--r--r--  1 root  wheel    7721 Jan  3 20:34 loader.4th
> -r--r--r--  1 root  wheel   35097 Jan  3 20:34 support.4th
> -r-xr-xr-x  1 root  wheel  174080 Jan  3 20:34 pxeboot
> -r-xr-xr-x  1 root  wheel  176128 Jan  3 20:34 liloboot
> drwxr-xr-x  2 root  wheel     512 Jan  3 20:34 defaults
> -r-xr-xr-x  1 root  wheel  172032 Jan  3 20:34 loader
> 
>> 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.
> 
> Mmm, Ok... Next time I reboot, I'll post the results... Thanks!
> 
>> 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.
> 
> There was time, when direct booting of the kernel was working...

Hints used to be statically compiled in by default sort of but on longer are. 
They haven't been for quite some time.  Direct booting works great if you
compiler your hints using "hints foo.hints" in your kernel config file.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020104162030.jhb>