From owner-freebsd-bugs Thu Sep 2 14:30: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1E4E114D0F for ; Thu, 2 Sep 1999 14:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA75286; Thu, 2 Sep 1999 14:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from pinhead.parag.codegen.com (207-44-235-154.CodeGen.COM [207.44.235.154]) by hub.freebsd.org (Postfix) with ESMTP id DDFB214C83 for ; Thu, 2 Sep 1999 14:25:44 -0700 (PDT) (envelope-from parag@pinhead.parag.codegen.com) Received: (from parag@localhost) by pinhead.parag.codegen.com (8.9.3/8.9.3) id OAA10698; Thu, 2 Sep 1999 14:25:06 -0700 (PDT) (envelope-from parag) Message-Id: <199909022125.OAA10698@pinhead.parag.codegen.com> Date: Thu, 2 Sep 1999 14:25:06 -0700 (PDT) From: parag@codegen.com Reply-To: parag@codegen.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/13546: Too-verbose output from PCI probe at bootup Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 13546 >Category: kern >Synopsis: Too-verbose output from PCI probe at bootup >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 2 14:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Parag Patel >Release: FreeBSD 3.2-STABLE i386 >Organization: CodeGen, Inc. >Environment: 4xPentium-Pro/200Mhz system with 2 PCI buses on board >Description: The PCI probe code is much too verbose when it probes for PCI busses that do not exist. On this system, I get this message: Probing for devices on PCI bus 2 Probing for devices on PCI bus 3 ... Probing for devices on PCI bus 255 about 255 times. I'm not sure why it's so chatty, and CURRENT does not display all these messages. My fix below simply puts the verbose messages under "bootverbose", so the messages can still be displayed if one boots "-v" but not otherwise. >How-To-Repeat: Simply boot the kernel on a similar machine. >Fix: *************** *** 547,553 **** while (bus <= bushigh) { int newbushigh; ! printf("Probing for devices on PCI bus %d:\n", bus); newbushigh = pci_probebus(bus); if (bushigh < newbushigh) --- 547,555 ---- while (bus <= bushigh) { int newbushigh; ! if (bootverbose) ! printf("Probing for devices on PCI bus %d:\n", bus); ! newbushigh = pci_probebus(bus); if (bushigh < newbushigh) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message