NetBSD Problem Report #41209

From www@NetBSD.org  Tue Apr 14 21:05:26 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id F356963B8DF
	for <gnats-bugs@gnats.netbsd.org>; Tue, 14 Apr 2009 21:05:25 +0000 (UTC)
Message-Id: <20090414210525.AA39263B8A5@www.NetBSD.org>
Date: Tue, 14 Apr 2009 21:05:25 +0000 (UTC)
From: hramrach@centrum.cz
Reply-To: hramrach@centrum.cz
To: gnats-bugs@NetBSD.org
Subject: npx* at isa0 causes infinite npxs
X-Send-Pr-Version: www-1.0

>Number:         41209
>Category:       kern
>Synopsis:       npx* at isa0 causes infinite npxs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 14 21:10:00 +0000 2009
>Last-Modified:  Wed Apr 15 08:10:02 +0000 2009
>Originator:     Michal Suchanek
>Release:        5.0 RC3
>Organization:
>Environment:
i386
>Description:
I tried to compile an i386 kernel that assigns reasonable device names (starting at the same number) regardless of the bus on which the device is found.

Unfortunately, npx* at pnpbios? results in npx1 when npx0 at isa? is configured in the configuration file.

npx* at isa? works when other bus is used for npx at runtime but causes infinite npxs to be configured when npx is accessed through isa at runtime.

I did not try with the other isa devices (fdc, lpt, com, pckbd, ...)
>How-To-Repeat:
add

change the line in generic kernel config to say 

npx* at isa?

instead of 

npx0 at isa?
>Fix:

>Audit-Trail:
From: Andrew Doran <ad@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/41209: npx* at isa0 causes infinite npxs
Date: Wed, 15 Apr 2009 08:09:36 +0000

 Fix: the FPU state should live with the cpu device.
 Consider the absurdity of a dual-core system with npx0 and no npx1.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.