* Re: PNPBIOS: warning: >= 16 resources, overflow?
@ 2001-09-06 11:32 Dumitru Ciobarcianu
2001-09-06 12:12 ` PNPBIOS: warning: >= 16 resources, overflow? - SOLVED Dumitru Ciobarcianu
0 siblings, 1 reply; 2+ messages in thread
From: Dumitru Ciobarcianu @ 2001-09-06 11:32 UTC (permalink / raw)
To: LKML
On J, 2001-09-06 at 11:42, Gerd Knorr wrote:
> lspnp (comes with pcmcia-cs) would be more intresting. The pnpbios code
> fills a "struct pci_dev" for each device reported by the pnpbios, and it
> looks like your portable has one device with alot ressources, so the
> ressources array in struct pci_dev can't hold them all. There is a
> #define in include/linux/pci.h for the array size ...
>
> Gerd
>
Ok, I'll try to modify that array.
Here is the output of lspnp -vvv
[root@LNX cioby]# lspnp -vvv >lspnp
00 PNP0c02 system peripheral: other
flags: [no disable] [no config] [static]
allocated resources:
io 0x0080-0x0080 [16-bit decode]
mem 0xfff80000-0xffffffff [8 bit] [r/o]
01 PNP0c01 memory controller: RAM
flags: [no disable] [no config] [static]
allocated resources:
mem 0x00000000-0x0009ffff [8 bit] [r/w]
mem 0x000e8000-0x000fffff [8 bit] [r/o] [shadow] [rom]
mem 0x00100000-0x080fffff [8 bit] [r/o]
02 PNP0200 system peripheral: DMA controller
flags: [no disable] [no config] [static]
allocated resources:
io 0x0000-0x000f [16-bit decode]
io 0x0081-0x008f [16-bit decode]
io 0x00c0-0x00df [16-bit decode]
dma 4 [8/16 bit] [compat]
03 PNP0000 system peripheral: programmable interrupt controller
flags: [no disable] [no config] [static]
allocated resources:
io 0x0020-0x0021 [16-bit decode]
io 0x00a0-0x00a1 [16-bit decode]
irq 2 [high edge]
04 PNP0100 system peripheral: system timer
flags: [no disable] [no config] [static]
allocated resources:
io 0x0040-0x0043 [16-bit decode]
irq 0 [high edge]
05 PNP0b00 system peripheral: real time clock
flags: [no disable] [no config] [static]
allocated resources:
io 0x0070-0x0071 [16-bit decode]
irq 8 [high edge]
06 PNP0303 input device: keyboard
flags: [no disable] [no config] [static]
allocated resources:
io 0x0060-0x0060 [16-bit decode]
io 0x0064-0x0064 [16-bit decode]
irq 1 [high edge]
07 PNP0c04 reserved: other
flags: [no disable] [no config] [static]
allocated resources:
io 0x00f0-0x00ff [16-bit decode]
irq 13 [high edge]
08 PNP0800 multimedia controller: audio
flags: [no disable] [no config] [static]
allocated resources:
io 0x0061-0x0061 [16-bit decode]
09 PNP0a03 bridge controller: PCI
flags: [no disable] [no config] [static]
allocated resources:
io 0x0cf8-0x0cff [16-bit decode]
0a PNP0c02 bridge controller: ISA
flags: [no disable] [no config] [static]
allocated resources:
io 0x04d0-0x04d1 [16-bit decode]
io 0x1000-0x103f [16-bit decode]
io 0x1040-0x104f [16-bit decode]
io 0x0010-0x0018 [16-bit decode]
io 0x001f-0x001f [16-bit decode]
io 0x0024-0x0025 [16-bit decode]
io 0x0028-0x0029 [16-bit decode]
io 0x002c-0x002d [16-bit decode]
io 0x0030-0x0031 [16-bit decode]
io 0x0034-0x0035 [16-bit decode]
io 0x0038-0x0039 [16-bit decode]
io 0x003c-0x003d [16-bit decode]
io 0x0050-0x0052 [16-bit decode]
io 0x0072-0x0077 [16-bit decode]
io 0x0090-0x009f [16-bit decode]
io 0x00a4-0x00a5 [16-bit decode]
io 0x00a8-0x00a9 [16-bit decode]
io 0x00ac-0x00ad [16-bit decode]
io 0x00b0-0x00bd [16-bit decode]
0b PNP0c02 memory controller: RAM
flags: [no disable] [no config] [static]
allocated resources:
mem 0x000e4000-0x000e7fff [8 bit] [r/w]
0c PNP0c02 memory controller: RAM
flags: [no disable] [no config] [static]
allocated resources:
mem disabled [8 bit] [r/o] [shadow]
mem disabled [8 bit] [r/o] [shadow]
mem disabled [8 bit] [r/o] [shadow]
mem disabled [8 bit] [r/o] [shadow]
mem disabled [8 bit] [r/o] [shadow]
mem disabled [8 bit] [r/o] [shadow]
11 PNP0f13 input device: mouse
flags: [input] [dynamic]
allocated resources:
irq 12 [high edge]
possible resources:
irq 12 [high edge]
15 PNP0700 mass storage device: floppy
flags: [bootable] [dynamic]
allocated resources:
io 0x03f0-0x03f5 [16-bit decode]
io 0x03f7-0x03f7 [16-bit decode]
irq 6 [high edge]
dma 2 [8 bit] [compat]
possible resources:
[start dep fn]
io 0x03f0-0x03f5 [16-bit decode]
io 0x03f7-0x03f7 [16-bit decode]
irq 6 [high edge]
dma 2 [8 bit] [compat]
[start dep fn]
io 0x0370-0x0375 [16-bit decode]
io 0x0377-0x0377 [16-bit decode]
irq 6 [high edge]
dma 2 [8 bit] [compat]
[end dep fn]
17 PNP0400 communications device: AT parallel port
flags: [dynamic]
allocated resources:
io 0x0378-0x037f [16-bit decode]
irq 7 [high edge]
possible resources:
[start dep fn]
io 0x0378-0x037f [16-bit decode]
irq 7 [high edge]
[start dep fn]
io 0x0278-0x027f [16-bit decode]
irq 7 [high edge]
[start dep fn]
io 0x03bc-0x03bf [16-bit decode]
irq 7 [high edge]
[start dep fn]
io 0x0378-0x037f [16-bit decode]
irq 5 [high edge]
[start dep fn]
io 0x0278-0x027f [16-bit decode]
irq 5 [high edge]
[start dep fn]
io 0x03bc-0x03bf [16-bit decode]
irq 5 [high edge]
[end dep fn]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PNPBIOS: warning: >= 16 resources, overflow? - SOLVED
2001-09-06 11:32 PNPBIOS: warning: >= 16 resources, overflow? Dumitru Ciobarcianu
@ 2001-09-06 12:12 ` Dumitru Ciobarcianu
0 siblings, 0 replies; 2+ messages in thread
From: Dumitru Ciobarcianu @ 2001-09-06 12:12 UTC (permalink / raw)
To: LKML
On J, 2001-09-06 at 14:32, Dumitru Ciobarcianu wrote:
> On J, 2001-09-06 at 11:42, Gerd Knorr wrote:
> > lspnp (comes with pcmcia-cs) would be more intresting. The pnpbios code
> > fills a "struct pci_dev" for each device reported by the pnpbios, and it
> > looks like your portable has one device with alot ressources, so the
> > ressources array in struct pci_dev can't hold them all. There is a
> > #define in include/linux/pci.h for the array size ...
> >
> > Gerd
> >
That solved the warning.
The current pnp boot messages:
PnP: PNP BIOS installation structure at 0xc00f7470
PnP: PNP BIOS version 1.0, entry at f0000:a905, dseg at 400
PnP: 15 devices detected total
PNPBIOS: request ports [PNP0c01]:
PNPBIOS: request ports [PNP0c02]: 0x4d0-0x4d2 0x1000-0x1040
0x1040-0x1050
PNPBIOS: request ports [PNP0c02]:
PNPBIOS: request ports [PNP0c02]:
What is strange is that PNPBIOS reports 15 devices detected, and lspnp
detects 18 (00 - 17):
[root@LNX /root]# lspnp
00 PNP0c02 system peripheral: other
01 PNP0c01 memory controller: RAM
02 PNP0200 system peripheral: DMA controller
03 PNP0000 system peripheral: programmable interrupt controller
04 PNP0100 system peripheral: system timer
05 PNP0b00 system peripheral: real time clock
06 PNP0303 input device: keyboard
07 PNP0c04 reserved: other
08 PNP0800 multimedia controller: audio
09 PNP0a03 bridge controller: PCI
0a PNP0c02 bridge controller: ISA
0b PNP0c02 memory controller: RAM
0c PNP0c02 memory controller: RAM
11 PNP0f13 input device: mouse
15 PNP0700 mass storage device: floppy
17 PNP0400 communications device: AT parallel port
Trivial patch below (for the warning):
--- pci-orig.h Thu Sep 6 14:59:00 2001
+++ pci.h Thu Sep 6 15:09:45 2001
@@ -317,7 +317,7 @@
#define DEVICE_COUNT_COMPATIBLE 4
#define DEVICE_COUNT_IRQ 2
#define DEVICE_COUNT_DMA 2
-#define DEVICE_COUNT_RESOURCE 16
+#define DEVICE_COUNT_RESOURCE 32
#define PCI_ANY_ID (~0)
//Cioby
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-06 12:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-06 11:32 PNPBIOS: warning: >= 16 resources, overflow? Dumitru Ciobarcianu
2001-09-06 12:12 ` PNPBIOS: warning: >= 16 resources, overflow? - SOLVED Dumitru Ciobarcianu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).