Date: Thu, 2 Sep 1999 14:25:06 -0700 (PDT) From: parag@codegen.com To: FreeBSD-gnats-submit@freebsd.org Subject: kern/13546: Too-verbose output from PCI probe at bootup Message-ID: <199909022125.OAA10698@pinhead.parag.codegen.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909022125.OAA10698>