From owner-freebsd-bugs Wed Dec 18 21:10: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF74B37B401 for ; Wed, 18 Dec 2002 21:10:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F16AC43EC5 for ; Wed, 18 Dec 2002 21:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBJ5A1x3009071 for ; Wed, 18 Dec 2002 21:10:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBJ5A1V5009070; Wed, 18 Dec 2002 21:10:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81A2737B401 for ; Wed, 18 Dec 2002 21:07:53 -0800 (PST) Received: from pikachu.bsp.bc.niigata-u.ac.jp (pikachu.bsp.bc.niigata-u.ac.jp [133.35.85.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 9356743EE1 for ; Wed, 18 Dec 2002 21:07:51 -0800 (PST) (envelope-from iwaki@bc.niigata-u.ac.jp) Received: (qmail 7653 invoked by alias); 19 Dec 2002 14:07:38 +0900 Message-Id: <20021219050738.7651.qmail@pikachu.bsp.bc.niigata-u.ac.jp> Date: Thu, 19 Dec 2002 14:06:29 +0900 (JST) From: Mamoru Iwaki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/46368: MAXDEP in isa/pnpparse.c is too small 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 >Number: 46368 >Category: kern >Synopsis: MAXDEP in isa/pnpparse.c is too small >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 18 21:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Mamoru Iwaki >Release: FreeBSD 4.7-STABLE i386 >Organization: Niigata University >Environment: System: FreeBSD mi000.merlin.gs.niigata-u.ac.jp 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Dec 19 01:11:01 JST 2002 root@mi000.merlin.gs.niigata-u.ac.jp:/usr1/obj/usr/src/sys/MI i386 >Description: On booting my machine, it always displays and log the following message. isa0: too many dependant configs (8) I don't know how serious it is, but it looks bad for arbitration of computer resources in PnP/isa. On my system, pnpinfo reports as follows. # pnpinfo | grep Device Device Description: Creative SB AWE64 PnP Logical Device ID: CTL0042 0x42008c0e #0 Device Description: Audio Logical Device ID: CTL7002 0x02708c0e #1 Compatible Device ID: PNPb02f (2fb0d041) Device Description: Game Logical Device ID: CTL0022 0x22008c0e #2 Device Description: WaveTable Logical Device ID: CTL2011 0x11208c0e #3 Compatible Device ID: PNP0600 (0006d041) Device Description: IDE >How-To-Repeat: >Fix: In line 39, isa/pnpparse.c has a constant named MAXDEP, which is set to 8 now. Simply changing the value from 8 to 16 like - #define MAXDEP 8 + #define MAXDEP 16 the message has disappeared. I hope the value is independent of other parts, and a more preferable value is set in the future releases. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message