From owner-freebsd-current@FreeBSD.ORG Wed Nov 26 17:09:59 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 1BAD31065674 for ; Wed, 26 Nov 2008 17:09:59 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id BB3928FC12 for ; Wed, 26 Nov 2008 17:09:58 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so282557ywe.13 for ; Wed, 26 Nov 2008 09:09:57 -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=7+QW8YHmd0a5Mguk0jXYH+T5qHvWniZ7EHW0cdLYh5s=; b=stEKq+VFmK7rHx6S2ii5VtZQEC785/dmzEpFe4xvrw1AndnlVs1HPVY0FNoYX5qr1G vMO7Su4X2uE2Bqzcu8qnmIJt2FP0D4Ib+6c8fNt3qtviugo+MQzigo6e6zeyZ7Ynqt2c oiDz4O6jQlFrlu5tfrI3MUJYjv++dOCMOF3NY= 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=ggiCZPhegqNNkiZ5x33QxnJ5w96EcXVPMBT3ag0lf2+IGBDhRMP605WfP/fbWQABEr 3bvP30/Nf4L/coctyP6K7rn4PMUxOMureOKHstX5j9HRFIcAkqP4f9A7LOK8s9MqrGzM gMwbvyxicqN2hrWSniFO3lH4Jz15IAMaGZhzI= Received: by 10.231.38.1 with SMTP id z1mr147208ibd.28.1227719397480; Wed, 26 Nov 2008 09:09:57 -0800 (PST) Received: by 10.231.10.65 with HTTP; Wed, 26 Nov 2008 09:09:57 -0800 (PST) Message-ID: <3a142e750811260909i7ea4dca4ib70f9b2102a3c5c6@mail.gmail.com> Date: Wed, 26 Nov 2008 18:09:57 +0100 From: "Paul B. Mahol" To: "Ivan Voras" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 26 Nov 2008 17:09:59 -0000 On 11/26/08, Ivan Voras wrote: > Jia-Shiun Li wrote: >> I use vmware to run freebsd. >> >> recent update of 8-current changed the unit number of the virtual >> network interface, an emulated if_le. usually the unit number should >> start from 0 ,namely le0. But after updating the source, le0 becomes >> le1. This makes interface name mismatching that in rc.conf. I checked >> the commit log but there seems nothing related in sys/dev/le. So >> should this be caused by something else? > > 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 can "reproduce" problem with 8-current (inside qemu) as guest on (same) 8-0 CURRENT. But I can not reproduce it with if_bfe, ndis, wlan, if_rum2 which are not emulated. -- Paul