NetBSD Problem Report #10117

Received: (qmail 17602 invoked from network); 14 May 2000 08:27:06 -0000
Message-Id: <200005140826.e4E8QvV01281@arresum.inka.de>
Date: Sun, 14 May 2000 10:26:57 +0200 (MEST)
From: Bernd Ernesti <bernd@arresum.inka.de>
Reply-To: bernd@arresum.inka.de
To: gnats-bugs@gnats.netbsd.org
Subject: fdc_pnpbios fails to attach on my system
X-Send-Pr-Version: 3.95

>Number:         10117
>Category:       port-i386
>Synopsis:       fdc_pnpbios fails to attach on my system
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 14 08:28:00 +0000 2000
>Closed-Date:    Fri Jul 02 18:41:05 +0000 2004
>Last-Modified:  Fri Jul 02 18:41:05 +0000 2004
>Originator:     Bernd Ernesti
>Release:        NetBSD-current 11-May-2000
>Organization:

>Environment:
System: NetBSD arresum.inka.de 1.4Y NetBSD 1.4Y (ARRESUM) #431: Thu May 11 20:33:22 MEST 2000 bernd@arresum.inka.de:/home/work/obj_i386/src.i386/sys/arch/i386/compile/ARRESUM i386


>Description:
	Try to enable the fdc at pnpbios on an Asus P2B-LS board and notice that it
	doesn't attach:

fdc0 at pnpbios0 index 4 (PNP0700)
fdc0: unable to map CTL I/O space

>How-To-Repeat:
	This is the full pnpbios output on an fdc_pnpbios enabled kernel
	(with a changed lm_pnpbios so it attaches on my board and works):

pnpbios0 at mainbus0: code f0000, data f0000, entry d240, control 0 eventp 0
pnpbios0: nodes 15, max len 114
pnpbios0: node index mismatch (static): requested 0, got 1
pnpbios0: node index mismatch (dynamic): requested 0, got 1
lpt1 at pnpbios0 index 0 (PNP0401)
lpt1: io 378-37f 778-77f, irq 7, dma 3
com0 at pnpbios0 index 2 (PNP0501)
com0: io 3f8-3ff, irq 4
com0: ns16550a, working fifo
com1 at pnpbios0 index 3 (PNP0501)
com1: io 2f8-2ff, irq 3
com1: ns16550a, working fifo
fdc0 at pnpbios0 index 4 (PNP0700)
fdc0: unable to map CTL I/O space
pckbc0 at pnpbios0 index 5 (PNP0F13): aux port
PNP0C01 (mem 0-9ffff 100000-fffffff e8000-effff f0000-f3fff f4000-f7fff f8000-fffff d9800-dbfff fffe
0000-ffffffff) at pnpbios0 index 6 ignored
PNP0000 (io 20-21 a0-a1 4d0-4d1, irq 2) at pnpbios0 index 7 ignored
PNP0100 (io 40-43, irq 0) at pnpbios0 index 8 ignored
PNP0B00 (io 70-71, irq 8) at pnpbios0 index 9 ignored
pckbc1 at pnpbios0 index 10 (PNP0303): kbd port
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
PNP0C04 (io f0, irq 13) at pnpbios0 index 11 ignored
PNP0200 (io 0-f 80-90 94-9f c0-de, dma 4) at pnpbios0 index 12 ignored
PNP0800 (io 61) at pnpbios0 index 13 ignored
PNP0A03 (io cf8-cff) at pnpbios0 index 14 ignored
lm0 at pnpbios0 index 15 (PNP0C02)
lm0: io 290-297 e400-e43f e800-e83f
lm0: LM78

	This is the output from an old non fdc_pnpbios kernel:

pnpbios0 at mainbus0: code f0000, data f0000, entry d240, control 0 eventp 0
pnpbios0: nodes 15, max len 114
node idx: called 0, got 1
lpt1 at pnpbios0 index 0 (PNP0401)
lpt1: io 378-37f 778-77f, irq 7, dma 3
com0 at pnpbios0 index 2 (PNP0501)
com0: io 3f8-3ff, irq 4
com0: ns16550a, working fifo
com1 at pnpbios0 index 3 (PNP0501)
com1: io 2f8-2ff, irq 3
com1: ns16550a, working fifo
PNP0700 (io 3f2-3f5, irq 6, dma 2) at pnpbios0 index 4 ignored
pckbc0 at pnpbios0 index 5 (PNP0F13): aux port
PNP0C01 (mem 0-9ffff 100000-fffffff e8000-effff f0000-f3fff f4000-f7fff f8000-fffff d9800-dbfff fffe0000-ffffffff) at pnpbios0 index 6 ignored
PNP0000 (io 20-21 a0-a1 4d0-4d1, irq 2) at pnpbios0 index 7 ignored
PNP0100 (io 40-43, irq 0) at pnpbios0 index 8 ignored
PNP0B00 (io 70-71, irq 8) at pnpbios0 index 9 ignored
pckbc1 at pnpbios0 index 10 (PNP0303): kbd port
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
PNP0C04 (io f0, irq 13) at pnpbios0 index 11 ignored
PNP0200 (io 0-f 80-90 94-9f c0-de, dma 4) at pnpbios0 index 12 ignored
PNP0800 (io 61) at pnpbios0 index 13 ignored
PNP0A03 (io cf8-cff) at pnpbios0 index 14 ignored
lm0 at pnpbios0 index 15 (PNP0C02)
lm0: io 290-297 e400-e43f e800-e83f
lm0: LM78

>Fix:
>Release-Note:
>Audit-Trail:

From: joda@pdc.kth.se (Johan Danielsson)
To: bernd@arresum.inka.de
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-i386/10117: fdc_pnpbios fails to attach on my system
Date: 14 May 2000 12:49:20 +0200

 Bernd Ernesti <bernd@arresum.inka.de> writes:

 > fdc0 at pnpbios0 index 4 (PNP0700)
 > fdc0: unable to map CTL I/O space

 This is most likely because the BIOS only reports one io-range. My
 laptop (TP600) only does do, and also only reports 6 io-ports (the fdc
 driver wants 6+1 if I remember correctly):

 ...
 PNP0700 (io 3f0-3f5, irq 6, dma 2) at pnpbios0 index 8 ignored
 ...
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 ...

 /Johan

From: bernd@arresum.inka.de (Bernd Ernesti)
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: port-i386/10117: fdc_pnpbios fails to attach on my system
Date: Thu, 29 Jun 2000 19:36:55 +0200 (MEST)

 Hi,

 this is another broken attachment:

 [..]
 fdc0 at pnpbios0 index 21 (PNP0700)
 fdc0: io 3f0-3f5 3f7, irq 6, dma 2
 fdcresult: timeout
 fdcresult: timeout
 [..]

 Thats from a Asus F7400 notebook.

 Bernd

State-Changed-From-To: open->closed 
State-Changed-By: jmc 
State-Changed-When: Fri Jul 2 18:40:21 UTC 2004 
State-Changed-Why:  
Fixed in rev 1.2 of fdc_pnpbios.c 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.