Subject: port-i386/10117: fdc_pnpbios fails to attach on my system
To: None <gnats-bugs@gnats.netbsd.org>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 05/14/2000 01:27:12
>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 14 01:28:00 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: