From owner-freebsd-hackers Wed Oct 30 08:37:46 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA28555 for hackers-outgoing; Wed, 30 Oct 1996 08:37:46 -0800 (PST) Received: from innocence.interface-business.de (innocence.interface-business.de [193.101.57.202]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA28516 for ; Wed, 30 Oct 1996 08:37:37 -0800 (PST) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.203]) by innocence.interface-business.de (8.6.11/8.6.9) with SMTP id RAA08273 for ; Wed, 30 Oct 1996 17:36:08 +0100 Received: (from j@localhost) by ida.interface-business.de (8.7.5/8.7.3) id RAA06231 for freebsd-hackers@freebsd.org; Wed, 30 Oct 1996 17:38:32 +0100 (MET) From: J Wunsch Message-Id: <199610301638.RAA06231@ida.interface-business.de> Subject: Verbose babble in if_fddisubr.c To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Wed, 30 Oct 1996 17:38:32 +0100 (MET) Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch) X-Phone: +49-351-31809-14 X-Fax: +49-351-3361187 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi all, i've just got a call by a customer who's using a DEC DEFPA FDDI card now. She told me that everything works fine (once i've pointed her to the `pseudo-device fddi') but has been a little scared by some verbose babble caused by the driver. After digging around and looking up the error messages, it looks to me that they've got all kinds of weird frames and packets on their wire, so the following two printf's hit often enough: (sys/net/if_fddisubr.c) default: printf("fddi_input: unknown protocol 0x%x\n", fddi_type); ... default: printf("fddi_input: unknown dsap 0x%x\n", l->llc_dsap); ifp->if_noproto++; I think both printf's are merely nice debugging aids to see all the garbage that flies along your wire :), but nothing to be dropped onto a regular user. I therefore suggest hiding them inside either some #ifdef, or at least behind `bootverbose'. -- J"org Wunsch Unix support engineer joerg_wunsch@interface-business.de http://www.interface-business.de/~j