Quentin Garnier wrote:
On Sun, Jan 18, 2009 at 06:48:48PM +0100, Jochen Kunz wrote:
On Sat, 17 Jan 2009 13:26:14 +0100
Christoph Egger <Christoph_Egger%gmx.de@localhost> wrote:
I am interested in testing this driver in NetBSD 5 BETA. Copying the
relevant src files(if_age.c and if_agereg.h) is all that is
necessary?
No, you need more to get the complete driver:
[...]
I patched my 5.0 Beta source tree as you sugested. It builds clean, the
age0 device is attached. But when I try to use it I get this kernel
message:
arpresolve: unable to enter address for 192.168.1.254@40 on null (could not
allocate llinfo)
arpresolve: can't allocate llinfo on age0 for 192.168.1.254
Any hints for further debugging?
That's a symptom of a botched port from OpenBSD, in the ioctl routine.
Thanks to Jochen Kunz help with testing, the ioctl handling and
a bug in handlig Rx interrupts have been fixed.
Now the driver seems to be functional:
ping -nf 192.168.2.1
PING 192.168.2.1 (192.168.2.1): 56 data bytes
^C
----192.168.2.1 PING Statistics----
28949 packets transmitted, 28949 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.157/0.364/2.272/0.023 ms
2710.6 packets/sec sent, 2710.6 packets/sec received
I hope, more people will give it a try now.