From owner-freebsd-questions Wed Apr 30 08:20:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA01202 for questions-outgoing; Wed, 30 Apr 1997 08:20:09 -0700 (PDT) Received: from bagpuss.visint.co.uk (bagpuss.vis.net.uk [194.207.134.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA01196; Wed, 30 Apr 1997 08:20:05 -0700 (PDT) Received: from bagpuss.visint.co.uk (bagpuss.vis.net.uk [194.207.134.1]) by bagpuss.visint.co.uk (8.7.5/8.7.3) with SMTP id QAA10367; Wed, 30 Apr 1997 16:30:02 +0100 (BST) Date: Wed, 30 Apr 1997 16:30:02 +0100 (BST) From: Stephen Roome To: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: netatalk/de0 and addmulti errors Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 bits because 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 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