Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 May 2005 07:57:29 -0500
From:      "Fafa Hafiz Krantz" <fteg@london.com>
To:        questions@freebsd.org, arch@freebsd.org
Subject:   A beautiful dmesg! Maybe one day?
Message-ID:  <20050506125729.DF5D94BEAD@ws1-1.us4.outblaze.com>

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

Hello.

For you all meticulous cats out there, here's how I hope that
FreeBSD's dmesg one day can look like. This is merely a beautification
that would make more people go "wow, cool" and it doesn't deprive
FreeBSD of its UNIX heritage.

Perhaps someone out there can help me implement these changes?
I have a lot more suggestions for ASCII redesigns, so let me know!

# dmesg (imaginary)
#

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
              The Regents of the University of California. All rights reser=
ved.

FreeBSD 5.4-STABLE #0: Thu May  5 22:54:49 CEST 2005
   fafa@ninja.domain.com:/usr/obj/usr/src/sys/NINJA

Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P54C (119.75-MHz 586-class CPU)
   Origin =3D GenuineIntel, Id =3D 0x52c, Stepping =3D 12
   Features =3D 0x1bf <FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
Real memory =3D 100663296 (96 MB)
Available memory =3D 93036544 (88 MB)
Intel Pentium detected, installing work-around for F00F bug

npx0:      Math processor> on motherboard
npx0:	   INT 16 interface
cpu0:	   Attached to motherboard
pcib0:     Host to PCI bridge, pcibus 0 on motherboard
pci0:	   PCI bus, on pcib0
isab0:     PCI-ISA bridge, at device 7.0 on pci0
isa0:	   ISA bus, on isab0
pci0:	   VGA display, at device 8.0 (no driver attached)
lnc0:	   PCNet/PCI ethernet adapter, port 0xff80-0xff9f irq 10 at device 11=
.0 on pci0
lnc0:      Attached to PCNet/PCI ethernet adapter
lnc0:      Ethernet address: 00:00:4b:30:1e:94
lnc0:      if_start running deferred for Giant
lnc0:      PCnet-PCI
pci0:      Multimedia (audio), at device 17.0 (no driver attached)
pci0:      VGA display, at device 19.0 (no driver attached)
orm0:      ISA Option ROMs, at iomem 0xed000-0xedfff,0xc0000-0xc7fff on isa0
ata0:      Attached to port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
ata1:      Attached to port 0x376,0x170-0x177 irq 15 on isa0
atkbdc0:   Keyboard controller (i8042), at port 0x64,0x60 on isa0
atkbd0:    AT keyboard, irq 1 on atkbdc0
kbd0:      Attached to atkbd0
fdc0:      Enhanced floppy controller, at port 0x3f0-0x3f5 irq 6 drq 2 on i=
sa0
fd0:       1440-KB 3.5" drive, on fdc0 drive 0
sc0:       System console, at flags 0x100 on isa0
sc0:       VGA <16 virtual consoles, flags=3D0x300>
sio0:      Attached to port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0:      Type 16550A
sio1:      Configured irq 3 not in bitmap of probed irqs 0
sio1:      Port may not be enabled
vga0:      Generic ISA VGA, at port 0x3c0-0x3df iomem 0xa0000-0xbffff on is=
a0
ep0:       3Com 3C509B-Combo EtherLink III (PnP), at port 0x210-0x21f irq 3=
 on isa0
ep0:       Ethernet address: 00:a0:24:1b:2b:a6
ad0:       38166MB <WDC WD400AB-00BVA0/21.01H21> [77545/16/63] at ata0-mast=
er PIO4

Timecounter "TSC" frequency 119753009 Hz quality 800
Timecounters tick every 10.000 msec
Mounting root from ufs:/dev/ad0s1a

# dmesg (actual)
#
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.4-STABLE #0: Thu May  5 22:54:49 CEST 2005
    fafa@ninja.domain.com:/usr/obj/usr/src/sys/NINJA
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P54C (119.75-MHz 586-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x52c  Stepping =3D 12
  Features=3D0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  =3D 100663296 (96 MB)
avail memory =3D 93036544 (88 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <display, VGA> at device 8.0 (no driver attached)
lnc0: <PCNet/PCI Ethernet adapter> port 0xff80-0xff9f irq 10 at device 11.0=
 on pci0
lnc0: Attaching PCNet/PCI Ethernet adapter
lnc0: Ethernet address: 00:00:4b:30:1e:94
lnc0: if_start running deferred for Giant
lnc0: PCnet-PCI
pci0: <multimedia, audio> at device 17.0 (no driver attached)
pci0: <display, VGA> at device 19.0 (no driver attached)
orm0: <ISA Option ROMs> at iomem 0xed000-0xedfff,0xc0000-0xc7fff on isa0
ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
ata1 at port 0x376,0x170-0x177 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ep0: <3Com 3C509B-Combo EtherLink III (PnP)> at port 0x210-0x21f irq 3 on i=
sa0
ep0: Ethernet address: 00:a0:24:1b:2b:a6
unknown: <PNP0303> can't assign resources (port)
psmcpnp0: irq resource info is missing; assuming irq 12
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0680> can't assign resources (port)
unknown: <PNP0680> can't assign resources (port)
Timecounter "TSC" frequency 119753009 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 38166MB <WDC WD400AB-00BVA0/21.01H21> [77545/16/63] at ata0-master PIO4
Mounting root from ufs:/dev/ad0s1a

See the difference.
Appreciate the difference.
Commit the difference.

Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


--=20
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



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