From owner-freebsd-bugs Sat Dec 29 22:30: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 742C137B41B for ; Sat, 29 Dec 2001 22:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBU6U1513632; Sat, 29 Dec 2001 22:30:01 -0800 (PST) (envelope-from gnats) Date: Sat, 29 Dec 2001 22:30:01 -0800 (PST) Message-Id: <200112300630.fBU6U1513632@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Chris Dillon Subject: Re: kern/33202: sys/dev/mly/mly.c minor mly_printf cosmetic problem Reply-To: Chris Dillon Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/33202; it has been noted by GNATS. From: Chris Dillon To: Cc: Subject: Re: kern/33202: sys/dev/mly/mly.c minor mly_printf cosmetic problem Date: Sun, 30 Dec 2001 00:22:30 -0600 (CST) On Wed, 26 Dec 2001, Chris Dillon wrote: > >Fix: > Since I won't be able to test any changes I make (I don't know how > to cause an enclosure event out of the blue, and the box in > question is also not in front of me right now) and since I'm > really not all that good with C anyway, I'll leave this up to > someone more qualified. OK, I underestimated myself. After some discussion with people in #FreeBSD on IRC and trying several different routes, I finally decided that just taking the printf arguments out of the lookup table was the cleanest way to handle this. Unfortunately the error messages won't be quite as perfectly clear as they were before, but should still make sense. I'm currently running this patch on my production box that has the mly controller in it, but unfortunately the source of the problems seems to have disappeared and so I haven't seen any enclosure errors again to verify that the output is what is expected. If anybody can test this patch by applying it and enerating any of the affected enclosure errors involved, I'd appreciate it. Uuencoded patch follows: begin 644 mly_patch M+2TM('-Y2YC+F]R:6<)36]N($UA7,O9&5V+VUL>2]M;'DN8PE4:'4@1&5C(#(W(#$U.C0Y M.C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;G1R;VQL97(@979E;G1S("@P>#`Q.#`@+2`P>#`Q9F8I("HO"B`@("`@ M>R)C("!C86-H92!WR)C("!B871T97)Y(&)A8VMU<"!U;FET(&9O=6YD(BP)"0D)"3!X,#$X $.'TL"@`` ` end -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet - Available for IA32 (Intel x86) and Alpha architectures - IA64, PowerPC, UltraSPARC, and ARM architectures under development - http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message