Subject: Re: consinit in machdep.c?
To: David Laight <david@l8s.co.uk>
From: Perry E. Metzger <perry@piermont.com>
List: port-i386
Date: 03/09/2003 15:39:18
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.

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