Date: Wed, 30 Apr 1997 16:30:02 +0100 (BST) From: Stephen Roome <steve@visint.co.uk> To: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: netatalk/de0 and addmulti errors Message-ID: <Pine.BSF.3.91.970430155347.9861B-100000@bagpuss.visint.co.uk>
next in thread | raw e-mail | index | archive | help
I've heard that netatalk 1.4b2 works "out of the box" on 2.2.x versions. But as yet my luck with my (couple of weeks old) -SMP machine I'm having a really bad time. (Anyway, I doubt this is being caused by anything SMP.) Anyway, I downloaded netatalk-1.4b2 and made it (I had to add a couple of #include <sys/time.h> bits because <net/if.h> doesn't include it but needs it for ifi_timechange). atalkd doesn't do much but this sort of stuff: root@yakko# atalkd AppleTalk not up! Child exited with 1. Apr 30 15:58:16 yakko atalkd[5673]: addmulti: Invalid argument Apr 30 15:59:01 yakko atalkd[5678]: addmulti: Invalid argument This seems to be because in atalkd/main.c at about line 1300 ioctl(s,cmd,&ifr) returns -1 also leaving errno set as EINVAL (22) basically, I don't get it, and really don't understand what ioctl should be called, for this to work. Any help would go down well =) Thanks, Steve Roome. More information follows.. I've got a de card which identifies as : === (inserted from dmesg output from verbose boot) de0 <Digital 21140A Fast Ethernet> rev 32 int a irq 18 on pci0:10:0 Freeing (NOT implimented) irq 11 for ISA cards. mapreg[10] type=1 addr=00006400 size=0080. mapreg[14] type=0 addr=e0800000 size=0080. reg16: ioaddr=0x6400 size=0x80 de0: 21140A [10-100Mb/s] pass 2.0 de0: address 00:00:21:74:51:01 de0: enabling 10baseT port bpf: de0 attached === I have NETATALK configed into the kernel as such: options NETATALK The kernel compiles fine, netatalk compiles with a few dir.h passing wrong pointer warnings (i.e. not too bad and not net related). I'd include a full dmesg, but I don't think it'll help. -- Steve Roome Technical Systems Manager, Vision Interactive Ltd. E: steve@visint.co.uk M: +44 (0) 976 241 342 T: +44 (0) 117 973 0597 F: +44 (0) 117 923 8522
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970430155347.9861B-100000>