From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 23 13:20:02 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0386816A421 for ; Fri, 23 Nov 2007 13:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BBA4F13C4DB for ; Fri, 23 Nov 2007 13:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lANDK1jI051827 for ; Fri, 23 Nov 2007 13:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lANDK1rk051826; Fri, 23 Nov 2007 13:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 23 Nov 2007 13:20:01 GMT Resent-Message-Id: <200711231320.lANDK1rk051826@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Toomas Aas Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5622116A418 for ; Fri, 23 Nov 2007 13:14:44 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 2B21113C469 for ; Fri, 23 Nov 2007 13:14:44 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lANDEd2t064978 for ; Fri, 23 Nov 2007 13:14:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id lANDEdUB064977; Fri, 23 Nov 2007 13:14:39 GMT (envelope-from nobody) Message-Id: <200711231314.lANDEdUB064977@www.freebsd.org> Date: Fri, 23 Nov 2007 13:14:39 GMT From: Toomas Aas To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/118219: [patch] Typo in aac debug messages X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 13:20:02 -0000 >Number: 118219 >Category: kern >Synopsis: [patch] Typo in aac debug messages >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: Fri Nov 23 13:20:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Toomas Aas >Release: 7.0-BETA3 >Organization: Tartu City Government >Environment: FreeBSD heerold.raad.tartu.ee 7.0-BETA3 FreeBSD 7.0-BETA3 #1: Fri Nov 23 12:59:44 EET 2007 toomas@heerold.raad.tartu.ee:/usr/obj/usr/src/sys/HEEROLD07 amd64 >Description: Several aac debug messages contain word "Conatainer" instead of "Container" >How-To-Repeat: Using a machine with aac-compatible controller, build a kernel with options AAC_DEBUG=0 and create an event which causes debug messages to be printed (such as removing one hard disk from a RAID) >Fix: Apply the attached patch Patch attached with submission follows: --- aac_debug.c.orig 2007-11-23 14:56:55.000000000 +0200 +++ aac_debug.c 2007-11-23 14:57:48.000000000 +0200 @@ -416,57 +416,57 @@ break; case AifJobCtrZero: /* Container clear operation */ device_printf(sc->aac_dev, - "(ConatainerZero) container %d\n", + "(ContainerZero) container %d\n", aif->data.PR[0].jd.client.container.src); break; case AifJobCtrCopy: /* Container copy operation */ device_printf(sc->aac_dev, - "(ConatainerCopy) container %d to %d\n", + "(ContainerCopy) container %d to %d\n", aif->data.PR[0].jd.client.container.src, aif->data.PR[0].jd.client.container.dst); break; case AifJobCtrCreateMirror: /* Container Create Mirror * operation */ device_printf(sc->aac_dev, - "(ConatainerCreateMirror) container %d\n", + "(ContainerCreateMirror) container %d\n", aif->data.PR[0].jd.client.container.src); /* XXX two containers? */ break; case AifJobCtrMergeMirror: /* Container Merge Mirror * operation */ device_printf(sc->aac_dev, - "(ConatainerMergeMirror) container %d\n", + "(ContainerMergeMirror) container %d\n", aif->data.PR[0].jd.client.container.src); /* XXX two containers? */ break; case AifJobCtrScrubMirror: /* Container Scrub Mirror * operation */ device_printf(sc->aac_dev, - "(ConatainerScrubMirror) container %d\n", + "(ContainerScrubMirror) container %d\n", aif->data.PR[0].jd.client.container.src); break; case AifJobCtrRebuildRaid5: /* Container Rebuild Raid5 * operation */ device_printf(sc->aac_dev, - "(ConatainerRebuildRaid5) container %d\n", + "(ContainerRebuildRaid5) container %d\n", aif->data.PR[0].jd.client.container.src); break; case AifJobCtrScrubRaid5: /* Container Scrub Raid5 * operation */ device_printf(sc->aac_dev, - "(ConatainerScrubRaid5) container %d\n", + "(ContainerScrubRaid5) container %d\n", aif->data.PR[0].jd.client.container.src); break; case AifJobCtrMorph: /* Container morph operation */ device_printf(sc->aac_dev, - "(ConatainerMorph) container %d\n", + "(ContainerMorph) container %d\n", aif->data.PR[0].jd.client.container.src); /* XXX two containers? */ break; case AifJobCtrPartCopy: /* Container Partition copy * operation */ device_printf(sc->aac_dev, - "(ConatainerPartCopy) container %d to " + "(ContainerPartCopy) container %d to " "%d\n", aif->data.PR[0].jd.client.container.src, aif->data.PR[0].jd.client.container.dst); @@ -474,13 +474,13 @@ case AifJobCtrRebuildMirror: /* Container Rebuild Mirror * operation */ device_printf(sc->aac_dev, - "(ConatainerRebuildMirror) container " + "(ContainerRebuildMirror) container " "%d\n", aif->data.PR[0].jd.client.container.src); break; case AifJobCtrCrazyCache: /* crazy cache */ device_printf(sc->aac_dev, - "(ConatainerCrazyCache) container %d\n", + "(ContainerCrazyCache) container %d\n", aif->data.PR[0].jd.client.container.src); /* XXX two containers? */ break; >Release-Note: >Audit-Trail: >Unformatted: