Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763077AbXJPCvP (ORCPT ); Mon, 15 Oct 2007 22:51:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757372AbXJPCu5 (ORCPT ); Mon, 15 Oct 2007 22:50:57 -0400 Received: from dsl081-033-126.lax1.dsl.speakeasy.net ([64.81.33.126]:44636 "EHLO bifrost.lang.hm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757676AbXJPCu4 (ORCPT ); Mon, 15 Oct 2007 22:50:56 -0400 Date: Mon, 15 Oct 2007 19:54:22 -0700 (PDT) From: david@lang.hm X-X-Sender: dlang@asgard.lang.hm To: Greg KH cc: Rob Landley , Julian Calaby , Theodore Tso , James Bottomley , Matthew Wilcox , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Jens Axboe , Suparna Bhattacharya , Nick Piggin Subject: Re: What still uses the block layer? In-Reply-To: <20071015173357.GB5738@kroah.com> Message-ID: References: <200710112011.22000.rob@landley.net> <200710150304.00901.rob@landley.net> <646765f40710150206j75af4c4dwac4f4565451b64b1@mail.gmail.com> <200710150508.37332.rob@landley.net> <20071015173357.GB5738@kroah.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1978 Lines: 42 On Mon, 15 Oct 2007, Greg KH wrote: > On Mon, Oct 15, 2007 at 05:08:36AM -0500, Rob Landley wrote: >> On Monday 15 October 2007 4:06:20 am Julian Calaby wrote: >>> On 10/15/07, Rob Landley wrote: >>>> I note that the eth0 and eth1 names are dynamically assigned on a first >>>> come first serve basis (like scsi). This never causes me a problem >>>> because the driver loading order is constant, and once you figure out >>>> that eth0 is gigabit and eth1 is the 80211g it _stays_ that way across >>>> reboots, reliably. Yeah, it's a heuristic. Hands up everybody relying on >>>> such a heuristic in the real world. >>> >>> Umm, not quite, from my experiences with pre-production wireless >>> drivers, (another story, another time) fancy stuff is being done in >>> udev to make sure that your gigabit card is always assigned to eth0. >> >> I remember building a 2.4 kernel, statically linking in all the drivers, and >> getting the ethernet devices showing up in a reliable order for years. Where >> does the need for fancy stuff come in? > > Because PCI devices reorder their bus numbers all the time. And we have > ethernet devices hanging off of USB connections now (yes, even built-in > to the machine), and we have network connections on other hot-pluggable > busses (remember, PCI is hot pluggable.) do PCI devices reorder their bus numbers spontaniously, or only if you change the hardware? > So, the distros need to name network devices in a persistant way, that > is why the distros now do this. If you don't like the distro doing it, > complain to them, it's not a kernel issue :) I have, at least the response was to tell me how to kill this 'feature' even if they won't change it. David Lang - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/