Subject: install/8473: No dmesg on boot.fs.gz
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/22/1999 16:50:53
>Number:         8473
>Category:       install
>Synopsis:       No dmesg on boot.fs.gz
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager (NetBSD system installation bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 22 16:50:01 1999
>Originator:     Andrew Cagney
>Release:        NetBSD-1.4.1-release, i386
N.T. 4.0, patch level 5 ???

Boot disk failed to find both the SCSI disk and ethernet controller
(understandable - both very new with).

My problem was that I couldn't figure this out as the good old
``dmesg'' command wasn't there.  I suspect that many people are
more familiar with dmesg than ``more /kern/msgbuf'' (I stumbled
across the latter, is that even the corect name).


$ dmesg
sh: dmesg: command not found

Adding another `x_' command like:

main ()
  int fd = open ("/kern/msgbuf", ....);
  char ch;
  while (read (fd, &ch, 1) == 1)
    if (isprint (ch))
      write (1, &ch, 1);

To the crunchgen utils :-)