From owner-freebsd-current Sun Jan 30 16: 7:11 2000 Delivered-To: freebsd-current@freebsd.org Received: from niwa.cri.nz (clam.niwa.cri.nz [131.203.55.1]) by hub.freebsd.org (Postfix) with ESMTP id 1A97E1535D for ; Sun, 30 Jan 2000 16:07:07 -0800 (PST) (envelope-from w.knowles@niwa.cri.nz) Received: from niwa.cri.nz (tornado.niwa.cri.nz [131.203.58.14]) by niwa.cri.nz (8.9.3/8.9.3) with ESMTP id NAA51656; Mon, 31 Jan 2000 13:06:10 +1300 (NZDT) Message-ID: <3894D2CC.69CDDDD4@niwa.cri.nz> Date: Mon, 31 Jan 2000 13:09:48 +1300 From: Wayne Knowles Organization: NIWA (NZ) Ltd X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: itojun@iijlab.net Cc: current@FreeBSD.ORG, Yoshinobu Inoue , Alex Zepeda , Mattias Pantzare Subject: Re: INET6 and fxp References: <20615.949212875@coconut.itojun.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG itojun@iijlab.net wrote: > >FWIW this doesn't happen with my card: > > > >fxp0: port 0x1000-0x103f mem 0xf4000000-0xf40 > >fffff,0xf4100000-0xf4100fff irq 10 at device 15.0 on pci0 > >fxp0: Ethernet address 00:90:27:d1:83:6a > >fxp0: supplying EUI64: 00:90:27:ff:fe:d1:83:6a > >fxp0: starting DAD for fe80:0001::0290:27ff:fed1:836a > >fxp0: DAD complete for fe80:0001::0290:27ff:fed1:836a - no duplicates found > > > > > >'course I don't actually use the card for internet access, just a local > >lan and the occasional IPv6 testing. > > (from what I've heard) the symptom highly depends on chip revision > so you are lucky. > > itojun The problem only occurs on faster machines. For me it didn't work in a PII 400MHz machine but moving the offending card to a P133 machine made it work again. The addition of the DELAY() fixes the problem. The problem stems from the fact that the driver init routine is called twice in quick succession - once for IPv4 and again for IPv6. The other way of fixing it is to disable the call to ifp->if_ioctl in netinet6/in6_ifattach.c Wayne -- _____ Wayne Knowles, Systems Manager / o \/ National Institute of Water & Atmospheric Research Ltd \/ v /\ P.O. Box 14-901 Kilbirnie, Wellington, NEW ZEALAND `---' Email: w.knowles@niwa.cri.nz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message