Subject: Re: pim6sd bug?
To: None <tech-net@netbsd.org>
From: Jeff Ito <ijk@speakeasy.net>
List: tech-net
Date: 02/21/2006 14:38:46
On Tue, Feb 21, 2006 at 05:24:25PM +0100, 6bone@6bone.informatik.uni-leipzig.de wrote:
> it was a simple 'ifconfig -a'
> the same happens with 'netstat -i'
> 
> my pim6sd.conf
> #############################
...
> phyint vlan999 enable;
> ##############################
> 

I just tested this resulting with a crash, my initial suspicion is
that it may be vlan related.  A core will be available later this
evening should anyone want to take a closer look.

> >>panic message:
> >>
> >>uvm_fault(...) -> 0xe
> >>kernel: supervisor trap page fault, code=0
> >>stopped in pid 6690.1 (ifconfig) at netbsd:sysctl_iflist+0x56 movl0
> >>(%ebx),%eax
> >>
> >>tr output:
> >>
> >>sysctl_iflist(...) at netbsd:sysctl_iflist+0x56

This equates to rtsock.c:957

static int
sysctl_iflist(int af, struct walkarg *w, int type)
{
        struct ifnet *ifp;
        struct ifaddr *ifa;
        struct  rt_addrinfo info;
        int     len, error = 0;

        memset(&info, 0, sizeof(info));
        IFNET_FOREACH(ifp) {
                if (w->w_arg && w->w_arg != ifp->if_index)
                        continue;
                ifa = TAILQ_FIRST(&ifp->if_addrlist);
                ifpaddr = ifa->ifa_addr;     <<--<<--- line 957
                switch (type) {
                case NET_RT_IFLIST:

...



Jeff