Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  1 Aug 2001 14:01:44 +0400 (MSD)
From:      "Sergey A.Osokin" <osa@FreeBSD.org.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/29360: No "\n" after "acd: Mechanism: ejectable tray" at verbose boot
Message-ID:  <20010801100144.586CB20D@freebsd.org.ru>

index | next in thread | raw e-mail


>Number:         29360
>Category:       kern
>Synopsis:       No "\n" after "acd: Mechanism: ejectable tray" at verbose boot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 01 03:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sergey A. Osokin
>Release:        FreeBSD 5.0-CURRENT
>Organization:
Russian FreeBSD Team
>Environment:
System: FreeBSD 5.0-CURRENT


>Description:
	No "\n" after "acd: Mechanism: ejectable tray" at verbose boot

	acd0: Mechanism: ejectable trayacd0: Medium: CD-ROM 120mm data disc, unlocked

	I think after word "tray" we must put a "\n", isn't it?

>How-To-Repeat:
	$ echo verbose_loading=\"YES\" >> /boot/loader.conf
	$ reboot
	$ dmesg | grep acd0 | grep ejectable
	acd0: Mechanism: ejectable trayacd0: Medium: CD-ROM 120mm data disc, unlocked
>Fix:

--- src/sys/dev/ata/atapi-cd.c.orig	Tue Jul 31 22:42:55 2001
+++ src/sys/dev/ata/atapi-cd.c	Tue Jul 31 22:46:11 2001
@@ -400,6 +400,8 @@
 	    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: ");
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



home | help

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