Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2004 11:51:05 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        "Greg 'groggy' Lehey" <grog@freebsd.org>
Cc:        RazorOnFreeBSD <yann.luppo@attglobal.net>
Subject:   Re: boot log
Message-ID:  <20040417105105.GB5985@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040416235333.GX24048@wantadilla.lemis.com>
References:  <005e01c423c7$e4cada60$0f01a8c0@razor> <376CD0D2-8FEE-11D8-8025-003065ABFD92@mac.com> <20040416235333.GX24048@wantadilla.lemis.com>

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

--0eh6TmSyL6TZE2Uz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 17, 2004 at 09:23:33AM +0930, Greg 'groggy' Lehey wrote:
> On Friday, 16 April 2004 at 17:37:10 -0400, Charles Swiger wrote:
> > On Apr 16, 2004, at 11:31 AM, RazorOnFreeBSD wrote:
> >> I just would like to know how can I read the exact text that is
> >> displaying very fast at the FreeBSD boot.
> >
> > Try:
> >
> > 	dmesg | less
>=20
> Unfortunately, this shows only the kernel messages, not the subsequent
> messages from userland programs run during startup.  In particular,
> messages from fsck(8) are missing.  Unfortunately, since the demise of
> paper consoles, there's no way to save this information.  This is a
> general UNIX problem, not a FreeBSD problem.

Err -- are you sure about that?  I have this in /etc/syslog.conf:

    # uncomment this to log all writes to /dev/console to /var/log/console.=
log
    console.info                                    /var/log/console.log

And consequently I have this in my /var/log/console.log:

    Apr 15 22:07:14 happy-idiot-talk /kernel: dumpon: crash dumps to /dev/d=
a0s1b (13, 131073)
    Apr 15 22:07:14 happy-idiot-talk /kernel: swapon: adding /dev/da0s1b as=
 swap device
    Apr 15 22:07:14 happy-idiot-talk /kernel: Automatic boot in progress...
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1a:=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CH=
ECKS
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1a:=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 38468 free=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: (404 frags, 4758 blocks, 0.3%=
 fragmentation)
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1g:=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CH=
ECKS
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1g:=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 15120392 free=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: (10632 frags, 1888720 blocks,=
 0.0% fragmentation)
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1f:=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CH=
ECKS
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1f:=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 1700955 free=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: (133747 frags, 195901 blocks,=
 2.2% fragmentation)
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1e:=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CH=
ECKS
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1e:=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 52326 free=20
    Apr 15 22:07:14 happy-idiot-talk /kernel: (870 frags, 6432 blocks, 0.7%=
 fragmentation)

I also get a nice transcript of running mergemaster in single user
mode when I do routine updates, or indeed any console output at all.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--0eh6TmSyL6TZE2Uz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAgQwZdtESqEQa7a0RAjdXAJ0SvfdLSZ8VGAWe/TcFMm6vkApyRwCfbRcX
H6quvZ1fZZlR6KgmvBuBXZM=
=uSxc
-----END PGP SIGNATURE-----

--0eh6TmSyL6TZE2Uz--



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