From owner-freebsd-hackers Tue Mar 14 13:23:08 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA03416 for hackers-outgoing; Tue, 14 Mar 1995 13:23:08 -0800 Received: from hda.com (hda.com [199.232.40.182]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA03404 for ; Tue, 14 Mar 1995 13:23:00 -0800 Received: (dufault@localhost) by hda.com (8.6.9/8.3) id PAA00285; Tue, 14 Mar 1995 15:39:44 -0500 From: Peter Dufault Message-Id: <199503142039.PAA00285@hda.com> Subject: Re: SCSI ASC-ASCQ descriptions To: julian@tfs.com (Julian Elischer) Date: Tue, 14 Mar 1995 15:39:44 -0500 (EST) Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.org In-Reply-To: from "Julian Elischer" at Mar 14, 95 12:02:33 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1426 Sender: hackers-owner@FreeBSD.org Precedence: bulk Julian Elischer writes: > > > > > J Wunsch writes: > > > > > > I rather thought of an LKM to interpret the ASC's. Syslogd could > > > load it... :-) At least, the strings are no longer _static_ then. > nice idea, but we need it earlier then that, as Peter says... > > > > > I tried it this morning. It adds 4982 bytes of kernel bloat > > to put all the "additional sense code"/"additional sense > > code qualifier" descriptions in the kernel. > I wonder if compression would help in any way? > there are lots of words that are common.... > e.g. "ready, audio, logical, unit, required, progress, error, not " > > I'm really tempted to make a program to do this... :) Yes, I thought of that too. I even went through the effort of seeing how many unique words there are (about 300). If you had a clever way of finding "good overlap" I think you could cut the size in half or more. It is probably pointless to knock ourselves out to save 2048 bytes, though. > (and print it) > > > > Shall I commit this? > yes, I would, but it might be good top make an option to leave it out.. > (a SMALL option?) I prefer individual options documented in LINT. It is too hard to decide that something should always be left out when you want a SMALL kernel. -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267