NetBSD Problem Report #50325

From www@NetBSD.org  Sat Oct 10 15:37:25 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3F5A9A64EF
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 10 Oct 2015 15:37:25 +0000 (UTC)
Message-Id: <20151010153723.B7820A6552@mollari.NetBSD.org>
Date: Sat, 10 Oct 2015 15:37:23 +0000 (UTC)
From: m4j0rd0m0@gmail.com
Reply-To: m4j0rd0m0@gmail.com
To: gnats-bugs@NetBSD.org
Subject: cosmetic: extra newline after CPU identification on LCA-based systems (with fix)
X-Send-Pr-Version: www-1.0

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 10 15:40:00 +0000 2015
>Closed-Date:    Sat Oct 10 17:43:20 +0000 2015
>Last-Modified:  Sat Oct 10 17:43:20 +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;
 				}
 			}

>Release-Note:

>Audit-Trail:
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50325 CVS commit: src/sys/arch/alpha/alpha
Date: Sat, 10 Oct 2015 17:00:12 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sat Oct 10 17:00:12 UTC 2015

 Modified Files:
 	src/sys/arch/alpha/alpha: cpu.c

 Log Message:
 PR port-alpha/50325: cosmetic fix for cpu attach message
 from Felix Deichmann.


 To generate a diff of this commit:
 cvs rdiff -u -r1.95 -r1.96 src/sys/arch/alpha/alpha/cpu.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sat, 10 Oct 2015 17:43:20 +0000
State-Changed-Why:
Commited, thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.