From owner-freebsd-net@FreeBSD.ORG Sun Jun 28 06:02:51 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E8481065674 for ; Sun, 28 Jun 2009 06:02:51 +0000 (UTC) (envelope-from atkin901@yahoo.com) Received: from web37906.mail.mud.yahoo.com (web37906.mail.mud.yahoo.com [209.191.91.168]) by mx1.freebsd.org (Postfix) with SMTP id C816F8FC1C for ; Sun, 28 Jun 2009 06:02:50 +0000 (UTC) (envelope-from atkin901@yahoo.com) Received: (qmail 24366 invoked by uid 60001); 28 Jun 2009 05:36:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1246167368; bh=ZynbvEQLtXqOC3AimgMwxiW6kzFLnjeG/qAI78Z7s6A=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=tFbuy/IR4gLTKIb4sFMG+muXDBWJrBoAwlwbybCD97KqT/tiiemrocJSEQal0gTgJp8+may3fjARd9bkZV2pOJ02aYq7ity358ZIBa/RpMI7tjq5QpmSCuIc9l5vER/9/eHYn2xaH8YOo0qOIr2I97gULf5vhKxYzoH3lQCoIz8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=2QCeGvlUVTlKGfmzlNN4KuIpFFnRdeeccmtTqbz/fxbG5ZLrtAm1svRsSqGz2oJSH+ENaKQlOhELpH+5nRUT5oUR63u06/nSgkaxXnWQZOCZw28+MeYfeEHsGRxu5wrH9BnAb9eZ5areB+HurGCXnHFtRHfA0S2kkjdakRMCXRo=; Message-ID: <688430.20427.qm@web37906.mail.mud.yahoo.com> X-YMail-OSG: AcNBAkIVM1mHnqmT1L213aKpequTbCh7hv1oBw8K7Zy4WlcaalpMLDUcnC.JuBtSKmevvW4cU1qv.fUkihApmeyKpCfu104tG23v.VHYhc0zgzfQzdFOI44MV2v__iCFriKKazvpqCnljVHfCM42HAMiH888boTklmxLYxqSF0ZV0jBYPxcB5hk0SipfcYkDwoSds2FrDe0o9N.NJKv8RJn6ztXP5V280qezw0dpcVf0u0FI.1vBUs98.tFG24zfM.wIdQ8wKJSPjNiC5H5WuhaBUCbr45VnsESkpSoLTgnaEmupi0Vw3EavrzrDaooiRgUaqzbqZ7hh1f3BnbiIDV5YqPNEL0MEyQjpwRBD9A-- Received: from [209.20.215.244] by web37906.mail.mud.yahoo.com via HTTP; Sat, 27 Jun 2009 22:36:08 PDT X-Mailer: YahooMailRC/1277.43 YahooMailWebService/0.7.289.15 References: <2a41acea0905020803s63b69b1awb39538f000f5bd5a@mail.gmail.com> <2a41acea0906261725x57e6903br9f3f42b55f3a3d30@mail.gmail.com> Date: Sat, 27 Jun 2009 22:36:08 -0700 (PDT) From: Mark Atkinson To: Jack Vogel In-Reply-To: <2a41acea0906261725x57e6903br9f3f42b55f3a3d30@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-net@freebsd.org Subject: Re: Regression: em driver in -CURRENT, "Invalid MAC address" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2009 06:02:51 -0000 ________________________________ >From: Jack Vogel >Oh, hmmm, so this card is completely broken with the new driver then? Completely, unfortunately (they don't show up in ifconfig, only in dmesg/pciconf). >What was the last working version you used? I was running a kernel from -current May 27th, 2009. I don't recall any significant em updates between then and when the new driver went in. On Fri, Jun 26, 2009 at 11:36 AM, Mark Atkinson wrote: Jack Vogel wrote: > I'm willing to bet that its in fact the same problem that VMWare is > having. Our method of getting the mac address changed, and the emulations > seem to be unprepared for it. > > This was done for a real customer requirement to allow support of > alternate mac addressing in firmware. What happens now is a warm reset of > the hardware is done, followed by reading the RAR[0] register. In a real > Intel NIC the mac > address will be valid in that register, but in VMWare, and I'm willing to > bet in > VirtualBox as well, its 0. > > VMWare also has 3 choices of device (wow, amazing coincidence :), can > you tell me when you pick e1000 what real adapter it claims to emulate? > > I am considering options for this problem. The one I lean toward right now > is to make a "legacy" em driver, it will have support for ONLY pre-PCI > Express > hardware, it will be frozen as it were, the idea is that with no new work > on it > it will not suffer from any regression type failures. If I do this, there > are some > strategy issues, and its those I'm thinking about. > > In any case, I intend to have this problem resolved for 8's release. Stay > tuned. Just FYI. this is a real machine with real cards. Older fiber cards. em0: mem 0xdb000000-0xdb01ffff irq 28 at device 4.0 on pci19 em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xdb000000 em0: Invalid MAC address device_attach: em0 attach returned 5 em1: mem 0xdb020000-0xdb03ffff irq 29 at device 9.0 on pci19 em1: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xdb020000 em1: Invalid MAC address device_attach: em1 attach returned 5 $ pciconf -v -l |grep -A4 -e "^em" em0@pci0:19:4:0: class=0x020000 card=0x10008086 chip=0x10008086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82542 Gigabit Ethernet Controller' class = network subclass = ethernet em1@pci0:19:9:0: class=0x020000 card=0x10008086 chip=0x10008086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82542 Gigabit Ethernet Controller' class = network subclass = ethernet -- Mark Atkinson atkin901@yahoo.com (!wired)?(coffee++):(wired); _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"