tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How usable is agr(4)?

At 11:57 Uhr -0400 9.6.2009, Thor Lancelot Simon wrote:
>What version of NetBSD is this?

netbsd-5 from June 4th sources.

There are changes to agr(4) in -current, adding vlan support (which I ended
up not needing); unfortunately no man page update. They pull up cleanly to
netbsd-5, but the resulting kernel paniced during 'ifconfig agr0', so I
gave up on that.

# ifconfig agr0 create
# ifconfig agr0 agrport wm0
agr_addport: SIOCINITIFADDR error 25
fatal page fault in supervisor mode
trap type 6 code 0 eip c0517926 cs 8 eflags 10296 cr2 0 ilevel 6
kernel: supervisor trap page fault, code=0
Stopped in pid 0.5 (system) at  netbsd:agrtimer_tick+0x16:      movl
db{0}> t
agrtimer_tick(c4929800,0,0,0,0,c0b1e160,c0b1e968,c0b1f168,c0b1f968,c0517910) at
callout_softclock(0,0,0,0,0,0,0,3,0,0) at netbsd:callout_softclock+0x14c
softint_dispatch(cda07c80,2,0,0,0,0,cde75d90,cde75d28,cda07500,0) at
DDB lost frame for netbsd:Xsoftintr+0x3d, trying 0xcde75d88
Xsoftintr() at netbsd:Xsoftintr+0x3d
--- interrupt ---
fatal page fault in supervisor mode
trap type 6 code 0 eip c0541237 cs 8 eflags 10206 cr2 3a ilevel 8
kernel: supervisor trap page fault, code=0
Faulted in DDB; continuing...

(Ahh, conserver...)

>I have never seen agr successfully
>advance LACP to the forwarding (COLLECTING/DISTRIBUTING) state with any
>commercial switch under NetBSD 5 or newer.

It puzzled me, too:

# ifconfig agr0
        agrport: wm0, flags=0x3<COLLECTING,DISTRIBUTING>
        agrport: wm1, flags=0x0
        address: 00:30:48:d7:0a:78

While the man page has a lot to say about bugs, it does not discuss the
above ifconfig flags.


"It's never straight up and down"     (DEVO)

Home | Main Index | Thread Index | Old Index