From keramida@ceid.upatras.gr  Wed Aug 29 13:06:36 2001
Return-Path: <keramida@ceid.upatras.gr>
Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5])
	by hub.freebsd.org (Postfix) with ESMTP id E6FB937B406
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Aug 2001 13:06:33 -0700 (PDT)
	(envelope-from keramida@ceid.upatras.gr)
Received: from hades.hell.gr (patr530-a101.otenet.gr [212.205.215.101])
	by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f7TK6Kw17605
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Aug 2001 23:06:20 +0300 (EEST)
Received: (from charon@localhost)
	by hades.hell.gr (8.11.6/8.11.6) id f7TBpw606363;
	Wed, 29 Aug 2001 14:51:58 +0300 (EEST)
	(envelope-from charon)
Message-Id: <200108291151.f7TBpw606363@hades.hell.gr>
Date: Wed, 29 Aug 2001 14:51:58 +0300 (EEST)
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
Reply-To: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: minor correction of message printed with boot -v by atapi-cd driver
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         30198
>Category:       kern
>Synopsis:       minor correction of message printed with boot -v by atapi-cd driver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 29 13:10:00 PDT 2001
>Closed-Date:    Thu Aug 30 00:40:55 PDT 2001
>Last-Modified:  Thu Aug 30 00:41:47 PDT 2001
>Originator:     Giorgos Keramidas
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.hell.gr 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Wed Aug 29 05:55:49 EEST 2001 root@hades.hell.gr:/usr/obj/usr/src/sys/CHARON i386

>Description:

	When booting with -v the messages printed on system console
	include the following:

	acd0: Mechanism: ejectable trayacd0: Medium: no/blank disc, unlocked

	Two messages from acd0 have been printed in one line :-)

>How-To-Repeat:

	Boot a recent kernel with 'boot -v' and watch for acd?
	messages on the console.

>Fix:

[-- diff start --]
Index: sys/dev/ata/atapi-cd.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/atapi-cd.c,v
retrieving revision 1.96
diff -u -r1.96 atapi-cd.c
--- sys/dev/ata/atapi-cd.c	21 Aug 2001 11:35:47 -0000	1.96
+++ sys/dev/ata/atapi-cd.c	29 Aug 2001 11:45:55 -0000
@@ -400,6 +400,7 @@
 	    printf("%s%s", cdp->cap.eject ? "ejectable " : "", mechanism);
 	else if (cdp->cap.eject)
 	    printf("ejectable");
+	printf("\n");
 
 	if (cdp->cap.mech != MST_MECH_CHANGER) {
 	    ata_printf(cdp->atp->controller, cdp->atp->unit, "Medium: ");
[-- diff end --]
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: greid 
Responsible-Changed-When: Wed Aug 29 13:53:51 PDT 2001 
Responsible-Changed-Why:  
sos is MrATA 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30198 
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Thu Aug 30 00:40:55 PDT 2001 
State-Changed-Why:  
Duplicate of 29360. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30198 
>Unformatted:
