NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-alpha/50325: cosmetic: extra newline after CPU identification on LCA-based systems (with fix)



>Number:         50325
>Category:       port-alpha
>Synopsis:       cosmetic: extra newline after CPU identification on LCA-based systems (with fix)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 10 15:40:00 +0000 2015
>Originator:     Felix Deichmann
>Release:        7.0 daily 201510080600Z
>Organization:
>Environment:
NetBSD/alpha 7.0 daily 201510080600Z
>Description:
An extra newline is printed after CPU identification on LCA-based systems like AXPpci33 (see below).

Entering netbsd.alpha.gz at 0xfffffc0000431220...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.0 (INSTALL.201510080600Z)
Alpha PC AXPpci33, 166MHz, s/n 
8192 byte page size, 1 processor.
total memory = 65536 KB
(2024 KB reserved for PROM, 63512 KB used by NetBSD)
avail memory = 51960 KB
kern.module.path=/stand/alpha/7.0/modules
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), LCA-2 (21066)

lca0 at mainbus0
pci0 at lca0 bus 0
siop0 at pci0 dev 6 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at isa irq 11
scsibus0 at siop0: 8 targets, 8 luns per target
sio0 at pci0 dev 7 function 0: vendor 0x8086 product 0x0484 (rev. 0x03)
tlp0 at pci0 dev 11 function 0: DECchip 21040 Ethernet, pass 2.3
tlp0: interrupting at isa irq 9
tlp0: ZNYX ZX312, Ethernet address 00:c0:95:xx:xx:xx
tlp0: 10baseT, 10baseT-FDX, 10base5, manual
isa0 at sio0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 2 lun 0: <IBM, DORS-32160, WA6A> disk fixed
sd0: 2063 MB, 6703 cyl, 5 head, 126 sec, 512 bytes/sect x 4226725 sectors
sd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers, tagged queueing
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
sd0: no disk label
root on md0a dumps on md0b
root file system type: ffs
>How-To-Repeat:
Boot a system with LCA CPU like AXPpci33.
>Fix:
--- src/sys/arch/alpha/alpha/cpu.c.r1.95	Sat Oct 10 17:32:12 2015
+++ src/sys/arch/alpha/alpha/cpu.c	Sat Oct 10 17:32:57 2015
@@ -217,7 +217,7 @@
 			s = cpunametable[i].cpu_minor_names;
 			for(i = 0; s && s[i]; ++i) {
 				if (i == minor && strlen(s[i]) != 0) {
-					aprint_normal(" (%s)\n", s[i]);
+					aprint_normal(" (%s)", s[i]);
 					goto recognized;
 				}
 			}



Home | Main Index | Thread Index | Old Index