Subject: Re: consinit in machdep.c?
To: None <port-i386@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: port-i386
Date: 03/09/2003 22:32:42
On Sun, Mar 09, 2003 at 03:39:18PM -0500, Perry E. Metzger wrote:
> 
> David Laight <david@l8s.co.uk> writes:
> > Where do the first of these messages come from - they appear on the
> > console in green, but are missing from dmesg (which starts with the
> > kernel id).  Would they still appear if it were removed?
> 
> kern/init_main.c:main():
>         consinit();
>         printf("%s", copyright);
> 
> That handles the copyright lines on down. Where the rest comes from I
> don't know.

The "[ using ..." comes from ddb_init which is usually run before the
message buffer is initialized.

> As for dmesg, I suspect you're filling your buffer or there is a bug...
> 
> > [ using 607852 bytes of netbsd ELF symbol table ]
> > BIOS CFG: Model-SubM-Rev: fc-00-01, 0x74<EBDA,KBDINT,RTC,IC2>
> > Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
> >     The NetBSD Foundation, Inc.  All rights reserved.
> > Copyright (c) 1982, 1986, 1989, 1991, 1993
> >     The Regents of the University of California.  All rights reserved.
> > 
> > NetBSD 1.6N (GENERIC) #4: Wed Feb  5 10:50:15 GMT 2003
> >     dsl@snowdrop:/bsd/obj/sys/arch/i386/compile/GENERIC
> > total memory = 32380 KB
> > ...
> 
> -- 
> Perry E. Metzger		perry@piermont.com

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)