Subject: Re: recent pnpbios lossage
To: John Hawkinson <jhawk@MIT.EDU>
From: Johan Danielsson <joda@pdc.kth.se>
List: port-i386
Date: 05/25/2000 17:30:25
John Hawkinson <jhawk@MIT.EDU> writes:

> INVALID_HANDLE  83h
>     "Device node number/handle passed is invalid or out of range."

Yes, but I don't understand what that means. I would guess that you
get that error if you call getnode with a non-existant node-id, but we
just got pointed to node 11 by the bios.

> Do you know why you're getting this? i.e. what is special about node
> 11, etc.?

It's one of the two(!) lpt devices reported (node 11 is PNP0400 node
12 is PNP0401), see output at the end.

> The current code makes the presumption that any valid index for
> static configuration is still a valid index for dynamic
> configuration; I think this is probably true, and I guess it doesn't
> seem to be particular to your problem.

No, that's why I think it's a bug in the bios.

/Johan

pnpbios0 at mainbus0: code f0000, data f0000, entry e724, control 1 eventp 415
pnpbios0: nodes 24, max len 980
pnpbios0: not docked
PNP0000 (io 20-21 a0-a1, irq 2) at pnpbios0 index 0 ignored
PNP0200 (io 0-f 80-8f c0-df, dma 4) at pnpbios0 index 1 ignored
PNP0100 (io 40-43, irq 0) at pnpbios0 index 2 ignored
PNP0B00 (io 70-73, irq 8) at pnpbios0 index 3 ignored
PNP0800 (io 61) at pnpbios0 index 4 ignored
PNP0303 (io 60 64, irq 1) at pnpbios0 index 5 ignored
IBM3780, PNP0F13 (irq 12) at pnpbios0 index 6 ignored
PNP0C04 (io f0-ff, irq 13) at pnpbios0 index 7 ignored
PNP0700 (io 3f0-3f5, irq 6, dma 2) at pnpbios0 index 8 ignored
PNP0A03 (io cf8-cff) at pnpbios0 index 9 ignored
PNP0C02 (mem 0-9ffff f0000-fffff 100000-7ffffff ffff0000-ffffffff, io 22 2e-2f 92 b2-b3 4d0-4d1 15e0-15ef ef00-efaf) at pnpbios0 index 10 ignored
pnpbios0: failed get static configuration for node 11
pnpbios0: guessing next 12
PNP0400 at pnpbios0 index 11 disabled
PNP0401 at pnpbios0 index 12 disabled
com0 at pnpbios0 index 13 (PNP0501)
com0: io 3f8-3ff, irq 4
com0: ns16550a, working fifo
CSC0100, CSC0100 (io 530-537 388-38b 220-233, irq 5, dma 1 0) at pnpbios0 index 14 ignored
CSC0110, CSC0110 (io 538-53f) at pnpbios0 index 15 ignored
CSC0101, PNPB02F (io 200-207) at pnpbios0 index 16 ignored
CSC0103, CSC0103 at pnpbios0 index 17 disabled
IBM3765 at pnpbios0 index 18 disabled
IBM0071, PNP0511 at pnpbios0 index 19 disabled
PNP0E03, PNP0E00 (io 3e0-3e1) at pnpbios0 index 20 ignored
PNP0680, PNP0600 (io 1f0-1f7 3f6-3f7 fcf0-fcf7, irq 14) at pnpbios0 index 23 ignored
PNP0680, PNP0600 (io 170-177 376 fcf8-fcff, irq 15) at pnpbios0 index 25 ignored
PNP0C02 at pnpbios0 index 27 disabled