From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Owens Date: Sun, 21 Jan 2001 04:53:50 +0000 Subject: Re: (Linus, please respond!) Re: Roadmap to restoring working usb module autoloading? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, 20 Jan 2001 20:39:31 -0800 (PST), Linus Torvalds wrote: >On Sun, 21 Jan 2001, Keith Owens wrote: >> >> For the record. The addition of match_flags in struct usb_device_id >> highlighted an ABI problem between the kernel and depmod. It proved >> that relying on the table size to detect format changes was a bad >> idea(TM), adding a field will not always change the table size. The >> table version numbers added in my patch (appended) are _required_ for >> depmod to reliably detect that a format has changed. > >I'd much rather just have the 2.4.0 behaviour, and no versioning. Tell >people that 2.4.0-test kernels won't work. They'll notice on their own. > >This problem won't be a problem in a few months if we just kill it _now_, >rather than try to work around it. > > Linus Fine, until the next time any of the table formats have to be changed. The version number on the kernel tables that depmod reads are there for future changes, not just for the current usb mess. Without a version number we will have exactly the same problems on the next ABI change. Whether we should support the 2.4.0-test format for usb is a separate question and has nothing to do with whether depmod needs version numbers at all. My patch is to future proof the kernel/depmod interface. _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel