From owner-freebsd-current@FreeBSD.ORG Thu Nov 27 04:45:50 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 485E41065670 for ; Thu, 27 Nov 2008 04:45:50 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-gx0-f12.google.com (mail-gx0-f12.google.com [209.85.217.12]) by mx1.freebsd.org (Postfix) with ESMTP id 106DD8FC08 for ; Thu, 27 Nov 2008 04:45:49 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: by gxk5 with SMTP id 5so800139gxk.19 for ; Wed, 26 Nov 2008 20:45:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=P+9jzuTKXi1Wn7nBspN6t/Z3I0CDkInLz+SeUD3EQ58=; b=EHt2FkvXmIydaFk2dCeSmKBXT/eBo6jl7nK4xTcFjdzM5WAQt/fwILbOn29EnCajMB cHiX0gDVfTC+cYxJ4i5btmWbaskX3vXaxjoxkuo/ZLlABwg07+C4VKUoLJ5Irp0gkog7 Yayu9U31hNsGhj3Z+RPGiUOD7LY6cLjNu61C0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BcOTzP3nl5jy0m3dS1k2OI0cNiafbb6z6ug9HtGzRgO14SvaLECT7dsyf7iFOEVK++ sF/kJkij6j9aMyDwVyYAQ7DXRGuqkQEeQid9c11ZU8IKVZ15G/xz28YeYDTLO/JY9Z+c qOnNkuXaPpg4R7dixOXQqx317Nqgt7xMlBAO4= Received: by 10.90.67.10 with SMTP id p10mr1396359aga.87.1227761149116; Wed, 26 Nov 2008 20:45:49 -0800 (PST) Received: by 10.90.82.5 with HTTP; Wed, 26 Nov 2008 20:45:49 -0800 (PST) Message-ID: <1d6d20bc0811262045r72d62a15n3b9f8629ddecee2a@mail.gmail.com> Date: Thu, 27 Nov 2008 12:45:49 +0800 From: "Jia-Shiun Li" To: "Ivan Voras" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1d6d20bc0811260656t101ddb0eu35296ac973c6ba10@mail.gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: if_le unit number change? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2008 04:45:50 -0000 On Wed, Nov 26, 2008 at 11:21 PM, Ivan Voras wrote: > I have the same thing, but I thought it was just my bad luck sice I'm > working on the kernel. If it's the same thing you should notice in your > dmesg that both "le0" and "le1" are actually "detected" (I presume > wrongly, or at least that one of them is wrong) but ifconfig recognizes > only "le1" and errors out at any operation with le0. I looked at the dmesg more closely. It turns out that the other le is the entry in /boot/device.hints for the isa version of le. Commenting it out and then le0 is back. So there are some procedures reordered? Old version initialized detected le on PCI first , then le0 in device.hints will be skipped due to conflict. New kernel loads and initializes device hints first so the detected one goes second as le1. Jia-Shiun.