Skip to contentSkip to conversation

Request: increase in PCI bus limit

DISCUSSION Bernd Eckenfels 8 participants 8 messages Jan 31, 2001 – Feb 24, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · In article <[email protected]> you wrote:

I guess the cleanest solution would be to allow variable setting of the maximum number of PCI busses in the config file, similar to the CONFIG_UNIX98_PTY_COUNT setting, so that "exotic" users with 32+ PCI busses can boost the standard value according to their needs, without having to increase kernel size for the normal users.

May even decrease the kernel for systems < 4 busses.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw

[Bernd Eckenfels]

Quoted 1 line

May even decrease the kernel for systems < 4 busses.

Be careful, though. Users may set this thinking "I have a generic system with only one PCI bus" without realizing that AGP, cardbus and some motherboard devices are all counted. Pad the CONFIG option by about 4 busses and we'll be OK..

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
Quoted 7 lines · Peter Samuelson

[Bernd Eckenfels]

Quoted 1 line

May even decrease the kernel for systems < 4 busses.

Be careful, though. Users may set this thinking "I have a generic system with only one PCI bus" without realizing that AGP, cardbus and some motherboard devices are all counted. Pad the CONFIG option by about 4 busses and we'll be OK..

If someone says 1 bus, give them one bus.

Just make the description say:
Add 1 for every PCI
Add 1 for every AGP
Add 1 for every CardBus
Also account for anything else funny in the system.

Then panic on boot if they're wrong (sort of like processor type).

It's somewhat annoying that by choosing SMP NR_CPUS goes to 32 when I know I only have (and ever will have) 2 in this machine. Don't make busses have the same assumptions that just waste memory.

-George Greer

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
Quoted 10 lines · George

If someone says 1 bus, give them one bus.

Just make the description say:
Add 1 for every PCI
Add 1 for every AGP
Add 1 for every CardBus
Also account for anything else funny in the system.

Then panic on boot if they're wrong (sort of like processor type).

Where do cards with PCI-PCI bridges, like multiport PCI ethernet cards, fit into this? I can easily add 3 or 4 extra busses into a box just by grabbing a couple extra Intel dual-port Ethernet cards.

Scott

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw

depends on the network card. The adaptecs have one. the Obsidion X16 and X24 have them. Many dual channel SCSI cards use them, and even some nicer motherboards have them onboard. I would like to recommend autodetection at boot, but I'm assuming that someone has looked into it and determined it impractical?
Nick

Quoted 19 lines · Scott Laird
Quoted 10 lines · George

If someone says 1 bus, give them one bus.

Just make the description say:
Add 1 for every PCI
Add 1 for every AGP
Add 1 for every CardBus
Also account for anything else funny in the system.

Then panic on boot if they're wrong (sort of like processor type).

Where do cards with PCI-PCI bridges, like multiport PCI ethernet cards, fit into this? I can easily add 3 or 4 extra busses into a box just by grabbing a couple extra Intel dual-port Ethernet cards.

Quoted 7 lines

Scott

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#5 lore raw
In reply to Scott Laird
Quoted 3 lines · Scott Laird

Where do cards with PCI-PCI bridges, like multiport PCI ethernet cards, fit into this? I can easily add 3 or 4 extra busses into a box just by grabbing a couple extra Intel dual-port Ethernet cards.

I loaded a PC with quad-tulip cards once and the result was not pretty. IRQs all over the place, and /proc/pci shat all over itself too

-Dan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#6 lore raw
In reply to Scott Laird
Quoted 8 lines · Scott Laird
Quoted 3 lines · George

Also account for anything else funny in the system.

Then panic on boot if they're wrong (sort of like processor type).

Where do cards with PCI-PCI bridges, like multiport PCI ethernet cards, fit into this? I can easily add 3 or 4 extra busses into a box just by grabbing a couple extra Intel dual-port Ethernet cards.

Notice the 'also account for anything funny' line. Multiport ethernet cards IMO fall under this category.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#7 lore raw
In reply to Peter Samuelson
Quoted 3 lines · George

It's somewhat annoying that by choosing SMP NR_CPUS goes to 32 when I know I only have (and ever will have) 2 in this machine. Don't make busses have the same assumptions that just waste memory.

It's just sad that bumping to NR_CPUS to 128 won't work that easily ;-)

Ralf (fixing that so he gets some machine time again ...)