Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 1995 10:45:59 -0600
From:      Nate Williams <nate@trout.sri.MT.net>
To:        hackers@FreeBSD.org
Subject:   Verbose vs. non-verbose
Message-ID:  <199504291645.KAA24938@trout.sri.MT.net>

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

Here's a quick example of the current state of affairs, and an example
of results I think might we workable.  (Note, I know some of the outputs
I'm using are not doable now, but something similar should be doable)

Current-verbose scheme.
-----------------------
FreeBSD 2.0.950416-SNAP #0: Sat Apr 15 13:27:44 PDT 1995
    davidg@freefall.cdrom.com:/c/local/sys/compile/FREEFALL
CPU: 90-MHz Pentium 735\\90 (Pentium-class CPU)
  Origin = "GenuineIntel"  Id = 0x521  Stepping=1  Features=0x1bf<FPU,VME,PSE,MC
E,CX8,APIC>
real memory  = 49938432 (12192 pages)
avail memory = 47591424 (11619 pages)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA mono <16 virtual consoles, flags=0x0>
ed0 at 0x280-0x29f irq 10 maddr 0xe8000 msize 16384 on isa
ed0: address 00:00:c0:bc:55:7d, type SMC8416C/SMC8416BT (16 bit) 
bpf: ed0 attached
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
bt0: Bt946C/ 0-PCI/EISA/VLB(32bit) bus
bt0: reading board settings, busmastering, int=11
bt0: version 4.21, sync, parity, 32 mbxs, 32 ccbs
bt0: targ 0 sync rate=10.00MB/s(100ns), offset=15
bt0: targ 1 sync rate=10.00MB/s(100ns), offset=15
bt0: targ 2 sync rate=10.00MB/s(100ns), offset=15
bt0: targ 6 sync rate= 4.54MB/s(220ns), offset=15
bt0: Enabling Round robin scheme
bt0 at 0x330 irq 11 on isa
(bt0:0:0): "QUANTUM EMPIRE_2100S 1021" type 0 fixed SCSI 2
sd0(bt0:0:0): Direct-Access 2006MB (4108600 512 byte sectors)
(bt0:1:0): "QUANTUM PD1800S 3162" type 0 fixed SCSI 2
sd1(bt0:1:0): Direct-Access 1717MB (3517856 512 byte sectors)
(bt0:2:0): "QUANTUM PD1800S 3162" type 0 fixed SCSI 2
sd2(bt0:2:0): Direct-Access 1717MB (3517856 512 byte sectors)
(bt0:6:0): "TOSHIBA CD-ROM XM-3501TA 2694" type 5 removable SCSI 2
cd0(bt0:6:0): CD-ROM cd present.[320577 x 2048 byte records]
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
bio_imask c0000840 tty_imask c0010012 net_imask c0020400
Probing for devices on the pci0 bus:
        configuration mode 2 allows 16 devices.
chip0 <Intel 82434LX PCI cache memory controller> rev 17 on pci0:0
chip1 <Intel 82378IB PCI-ISA bridge> rev 3 on pci0:2
pci0:12: vendor=0xffff, device=0x140, class=storage [not supported]
        map(10): io(330)
sd0s1: start 32, end = 61439, size 61408: OK
sd0s2: start 61440, end = 4108287, size 4046848: OK
sd0: rejecting partition in BSD label: it isn't entirely within the slice
sd0: start 61440, end 4108287, size 4046848
sd0e: start 32, end 61439, size 61408
sd1s1: start 0, end = 3517855, size 3517856: OK
sd2s1: start 0, end = 3517855, size 3517856: OK
sd0s1: start 32, end = 61439, size 61408: OK
sd0s2: start 61440, end = 4108287, size 4046848: OK
sd0: rejecting partition in BSD label: it isn't entirely within the slice
sd0: start 61440, end 4108287, size 4046848
sd0e: start 32, end 61439, size 61408
bpf: lo0 attached
sd0s1: start 32, end = 61439, size 61408: OK
sd0s2: start 61440, end = 4108287, size 4046848: OK
sd0: rejecting partition in BSD label: it isn't entirely within the slice
sd0: start 61440, end 4108287, size 4046848
sd0e: start 32, end 61439, size 61408
WARNING: / was not properly dismounted

And now, a less verbose but still valuable scheme
-------------------------------------------------
FreeBSD 2.0.950416-SNAP #0: Sat Apr 15 13:27:44 PDT 1995
    davidg@freefall.cdrom.com:/c/local/sys/compile/FREEFALL
CPU: 90-MHz Pentium 735\\90 (Pentium-class CPU)
E,CX8,APIC>
real memory  = 49938432 (12192 pages)
avail memory = 47591424 (11619 pages)
Probing for devices on the ISA bus:
sc0: Graphics console [VGA color, 16 consoles]: port 0x60-0x6f, irq 1 on ISA
ed0: Ethernet adapter
ed0: [address 00:00:c0:58:99:72, type SMC8416C/SMC8416BT (16 bit)]
ed0: port 0x280-0x29f, irq 15, ioaddr 0xd8000, iosize 16384 on ISA.
bpf: ed0 attached
sio0: Serial port[type 16550A]: port 0x3f8-0x3ff, irq 4 on ISA
sio1: NOT FOUND at port 0x3f8-0x3ff, irq 4
bt0: Bt946C [PCI/EISA/VLB]: port 0x330, irq 11 on ISA
(bt0:0:0): "QUANTUM EMPIRE_2100S 1021" type 0 fixed SCSI 2
sd0(bt0:0:0): Direct-Access 2006MB (4108600 512 byte sectors)
(bt0:1:0): "QUANTUM PD1800S 3162" type 0 fixed SCSI 2
sd1(bt0:1:0): Direct-Access 1717MB (3517856 512 byte sectors)
(bt0:2:0): "QUANTUM PD1800S 3162" type 0 fixed SCSI 2
sd2(bt0:2:0): Direct-Access 1717MB (3517856 512 byte sectors)
(bt0:6:0): "TOSHIBA CD-ROM XM-3501TA 2694" type 5 removable SCSI 2
cd0(bt0:6:0): CD-ROM cd present.[320577 x 2048 byte records]
fdc0: Floppy controller[NEC 72065B]: port 0x3f0-0x3f7, irq 6, drq 2 on ISA
fd0: Floppy [1.44MB 3.5in]
npx0: INT 16 interface [on motherboard]
bio_imask c0000840 tty_imask c0010012 net_imask c0020400
Probing for devices on the PCI0 bus:
chip0: cache controller[Intel 82434LX rev 17] on PCI0:0
chip1: PCI-ISA bridge [Intel 82378IB rev 3] on PCI0:2
pci0:12: vendor=0xffff, device=0x140, class=storage [not supported]
        map(10): io(330)
bpf: lo0 attached
WARNING: / was not properly dismounted

I won't comment on the verbosity of the SCSI output messages simply
because I don't have a good scheme for making them shorter.  I don't
like the (aha0:0:0) at the beginning of the line, could we use a couple
spaces to offset it to make it obvious that it was referring to the
previous line as well?

Anyway, when a devices isn't found, you still print out the normal
sio1: header, but a big 'NOT FOUND' followed by the compiled in HW flags
would be my preference.

Note, this line:
pci0:12: vendor=0xffff, device=0x140, class=storage [not supported]
        map(10): io(330)
Still means nothing to me.  I'm not sure what it is, or why it's on my
system.  This is where having the short descriptions and a standard
format is invaluable.



Nate



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