Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2002 14:06:29 +0900 (JST)
From:      Mamoru Iwaki <iwaki@bc.niigata-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/46368: MAXDEP in isa/pnpparse.c is too small
Message-ID:  <20021219050738.7651.qmail@pikachu.bsp.bc.niigata-u.ac.jp>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021219050738.7651.qmail>