From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 19 15:53:17 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4D3D16A402; Mon, 19 Mar 2007 15:53:17 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 31C9913C554; Mon, 19 Mar 2007 15:53:17 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HTKAY-000G3j-9Z; Mon, 19 Mar 2007 17:53:10 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: pyunyh@gmail.com In-reply-to: <20070319102444.GD13303@cdnetworks.co.kr> References: <45FACBE4.5090403@icyb.net.ua> <20070319102444.GD13303@cdnetworks.co.kr> Comments: In-reply-to Pyun YongHyeon message dated "Mon, 19 Mar 2007 19:24:44 +0900." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Mar 2007 17:53:10 +0200 From: Danny Braniss Message-ID: Cc: freebsd-hackers@freebsd.org, Andriy Gapon , freebsd-amd64@freebsd.org Subject: Re: nve: ethernet address reversal code X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 15:53:17 -0000 I compiled the latest -current, with the latest nfe, and I got a slight regression :-) ... nfe0: port 0xdc00-0xdc07 mem 0xfe02c000-0xfe02cfff irq 21 at device 20.0 on pci0 nfe0: Ethernet address: 50:71:a9:f3:18:00 nfe0: MII without any phy! kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x1b8 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff80448cdf stack pointer = 0x10:0xffffffff80aea7a0 frame pointer = 0x10:0xffffffff80aea7d0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 0 (swapper) [thread pid 0 tid 0 ] Stopped at _mtx_lock_sleep+0x7f: movl 0x1b8(%r13),%r9d with a slightly older nfe: nfe0: port 0xdc00-0xdc07 mem 0xfe02c000-0xfe02cfff irq 21 at device 20.0 on pci0 nfe0: Ethernet address: 50:71:a9:f3:18:00 miibus1: on nfe0 e1000phy0: PHY 11 on miibus1 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto danny