CARP panic

elekktretterr at exemail.com.au elekktretterr at exemail.com.au
Thu Jul 24 03:57:20 PDT 2008


Hey Sephe,
I had to apply the patch manually as it failed to apply cleanly(on DF
2.0-RELEASE). But unfortunately the patch does more wrong than good. All
the network interfaces could not be worked with. ie. ifconfig shows that
they exist but if i did something like ifconfig bge0 or ifconfig carp0 it
would simply say bge0 doesnt exist, and thus there were no ip addresses
associated to the interfaces.

The is the patched section of the file:

static __inline struct lwkt_port *
ether_mport(int num, struct mbuf **m)
{
        if (num == NETISR_MAX) {
                /*
                 * All packets whose target msgports can't be
                 * determined here are dispatched to netisr0,
                 * where further dispatching may happen.
                 */
                return cpu_portfn(0);
        }

        return netisr_find_port(num, m);
}

Did i miss something while patching it manually?

Cheers,
Petr







More information about the Bugs mailing list