From owner-freebsd-net@FreeBSD.ORG Sat Jun 27 00:25:29 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 904C6106564A for ; Sat, 27 Jun 2009 00:25:29 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-pz0-f174.google.com (mail-pz0-f174.google.com [209.85.222.174]) by mx1.freebsd.org (Postfix) with ESMTP id 629368FC14 for ; Sat, 27 Jun 2009 00:25:29 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by pzk4 with SMTP id 4so658368pzk.3 for ; Fri, 26 Jun 2009 17:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=CL1sAC7Koi3RBeFXG8crf+p6W3x/Fa1uAUyn4t1zjvA=; b=oE1cHmjYooy0B/Dw+09V8NvLRhYnDnEI+s0PP6+NEJyuoXoXO0vCQn3Afxt0K9j+DR OkI5uHXmpnDP0r8ibj7Da86N5tTlPhT2d60RFeDakkbOpsyYJDAFc43jOYAPc7Nw5Zeo 8foCGOTcDkFj/LkLXGhDN4vxQMOk6d4CZQgO4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ViyJTt/EOagegL3Qv8PE9VC1gT4MSfjv5VwAIZhkD3AUQ1IDUjB5RkTRsGMuvzu2Yd M/PgZXVx2UfEZCHf9MgK3vjyrt2IxhwgsmeDLoIXEfNDdaUBLlIZW6yuVRVTgWpzk17k gPCaJJRuiPx5k/ZAcGZEY9+jZ0JtWIvPicKmg= MIME-Version: 1.0 Received: by 10.115.14.1 with SMTP id r1mr6702245wai.23.1246062329101; Fri, 26 Jun 2009 17:25:29 -0700 (PDT) In-Reply-To: References: <2a41acea0905020803s63b69b1awb39538f000f5bd5a@mail.gmail.com> Date: Fri, 26 Jun 2009 17:25:29 -0700 Message-ID: <2a41acea0906261725x57e6903br9f3f42b55f3a3d30@mail.gmail.com> From: Jack Vogel To: Mark Atkinson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Sat, 27 Jun 2009 00:25:30 -0000 Oh, hmmm, so this card is completely broken with the new driver then? What was the last working version you used? Jack 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" >