Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 121539

Summary: ISA bus isn't supported by default in the network statup scripts
Product: Gentoo Linux Reporter: Ooblick <ooblick>
Component: [OLD] baselayoutAssignee: Roy Marples (RETIRED) <uberlord>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ooblick 2006-02-04 05:44:30 UTC
I've just added a NE2000 card to an ISA slot in a really old machine I have. Everything went smoothly, but the card depends upon having isapnp working before the module will load. The current default startup order of gentoo loads isapnp after net.eth0. This causes net.eth0 to fail.

It is possible to fix this by adding isapnp to the use line in depend(). So we go from:

# For pcmcia users. note that pcmcia must be added to the same
# runlevel as the net.* script that needs it.
depend() {
        use coldplug hotplug pcmcia usb isdn wlan

to

# For pcmcia users. note that pcmcia must be added to the same
# runlevel as the net.* script that needs it.
depend() {
        use coldplug hotplug pcmcia usb isdn wlan isapnp

Whilst this is a small change that probably only affects a small portion of gentoo users, I would like to ask that it be included. "isdn" is currently in the list which is also not a universally used configuration. Including "isapnp" removes one small gotcha for Gentoo users.

Thanks.
Comment 1 Ooblick 2006-02-04 05:46:32 UTC
> It is possible to fix this by adding isapnp to the use line in depend(). So we
> go from:
> 
> # For pcmcia users. note that pcmcia must be added to the same
> # runlevel as the net.* script that needs it.
> depend() {
>         use coldplug hotplug pcmcia usb isdn wlan
> 
> to
> 
> # For pcmcia users. note that pcmcia must be added to the same
> # runlevel as the net.* script that needs it.
> depend() {
>         use coldplug hotplug pcmcia usb isdn wlan isapnp

I didn't make this completely clear that the file this change is made to is /etc/init.d/net.eth0 (or whatever file this is symbolically linked to).
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-02-16 02:26:55 UTC
Fixed in baselayout-1.11.14-r5 and baselayout-1.12.0_pre16