Re: Boot messages

Marc Unangst (mju@cs.cmu.edu)
Tue, 02 Jul 1996 01:43:22 -0400


As long as we're on this topic, I'd like to make a semi-related
suggestion. One of the small items that I miss from NetBSD/FreeBSD is
the consistent format of the device probe messages. When you boot the
system, each driver should print its probe status message in the same
format, and present the same information. Right now each author has
chosen his or her own format, and the result is an ugly hodge-podge of
messages when the system boots. This also makes it more difficult to
spot a certain message when they're all flying by at boot time.

Here's a sample bootup sequence from a NetBSD/Alpha machine, to
demonstrate what I'm talking about. With this format, it's pretty
easy to just watch the beginning of each line for a specific device
when the system is booting.

Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

NetBSD 1.2_ALPHA (GENERIC) #52: Tue Jun 18 09:12:17 EDT 1996
cgd@bunnahabhain.pdl.cs.cmu.edu:/usr/src/sys/arch/alpha/compile/GENERIC
AlphaStation 200 4/233 ("Mustang II"), 233MHz
8192 byte page size, 1 processor.
real mem = 100663296 (2048000 reserved for PROM, 98615296 used by NetBSD)
avail mem = 83091456
using 1203 buffers containing 9854976 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: 21064A (EV45), Pass 3
cpu0: VAX FP support, IEEE FP support, Primary Eligible
apecs0 at mainbus0: DECchip 21071 Core Logic chipset
apecs0: DC21071-CA pass 2, 64-bit memory bus
apecs0: DC21071-DA pass 2
pci0 at apecs0 bus 0
ncr0 at pci0 dev 6 function 0: NCR 53c810 SCSI
ncr0: interrupting at isa irq 11
ncr0: restart (scsi reset).
scsibus0 at ncr0
sd0 at scsibus0 targ 0 lun 0: <DEC, RZ26L (C) DEC, 442D> SCSI2 0/direct fixed
sd0: sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
1001MB, 3117 cyl, 8 head, 82 sec, 512 bytes/sec
sd1 at scsibus0 targ 3 lun 0: <DEC, RZ25 (C) DEC, 0900> SCSI2 0/direct fixed
sd1: sd1(ncr0:3:0): 200ns (5 Mb/sec) offset 8.
406MB, 1476 cyl, 9 head, 62 sec, 512 bytes/sec
cd0 at scsibus0 targ 4 lun 0: <DEC, RRD43 (C) DEC, 0064> SCSI2 5/cdrom removable
sio0 at pci0 dev 7 function 0: Intel 82378IB PCI-ISA Bridge (System I/O) (rev. 0x03)
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x3bc-0x3c3 irq 7
pcprobe: reset error 1
pckbd0 at isa0 irq 1
pms0 at isa0 port 0x60-0x67 irq 12
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
de0 at pci0 dev 11 function 0: DC21040 [10Mb/s] pass 2.3
de0: Ethernet address 08:00:2b:e5:16:8c
de0: enabling Thinwire/AUI port
de0: interrupting at isa irq 5
pcivga0 at pci0 dev 12 function 0: vendor Digital Equipment, unknown product 0xd (rev. 0x22)
wscons0 at pcivga0
de1 at pci0 dev 13 function 0: Digital DE500 DC21140 [10-100Mb/s] pass 1.1
de1: Ethernet address 00:00:f8:00:90:e5
de1: enabling 10baseT UTP port
de1: interrupting at isa irq 14
root on sd0a swap on sd0b
init: copying out path `/sbin/init' 11

Now, compare this to the bootup messages displayed by my Linux/Intel
machine:

Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
Calibrating delay loop.. ok - 33.18 BogoMIPS
Memory: 18688k/20480k available (808k kernel code, 384k reserved, 600k data)
This processor honours the WP bit even when in supervisor mode. Good.
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.12 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.0 (root@saavik.fleckerel.com) (gcc version 2.7.2) #2 Thu Jun 13 01:20:20 EDT 1996
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16450
tty01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.07
Sound initialization started
<Gravis UltraSound 3.7 (256k)> at 0x220 irq 15 dma 6
Sound initialization complete
Floppy drive(s): fd0 is 1.44M
Started kswapd v 1.4.2.2
FDC 0 is an 8272A
Configuring Adaptec (SCSI-ID 7) at IO:330, IRQ 11, DMA priority 5
scsi0 : Adaptec 1542
scsi : 1 host.
Vendor: HP Model: 97560-300 Rev: 0B16
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
Vendor: MAXTOR Model: 7213-SCSI Rev: 0742
Type: Direct-Access ANSI SCSI revision: 01 CCS
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
Vendor: ARCHIVE Model: Python 25501-XXX Rev: 2.50
Type: Sequential-Access ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0
scsi : detected 1 SCSI tape 2 SCSI disks total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 2647080 [1292 MB] [1.3 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 415600 [202 MB] [0.2 GB]
wd.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
eth0: WD80x3 at 0x280, 00 00 C0 93 78 5A WD8013, IRQ 10, shared memory at 0xcc000-0xcffff.
Partition check:
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 >
sdb: sdb1
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 52220k swap-space

Is it appropriate to mention that the TCP/IP implementation is by the
Swansea University Computer Society, or that Donald Becker wrote the
WD8003 driver? This just makes Linux look like more of a patchwork
than it already is, rather than giving a seamless, well-integrated
appearance.

-Marc