problems with MODULES_CONF_ALIAS_TYPE
Matt Domsch
Matt_Domsch at dell.com
Mon Feb 5 11:40:12 CST 2007
On Mon, Feb 05, 2007 at 09:23:29AM +0100, Jean-Christophe Dubois wrote:
> Hello Pascal,
>
> On Monday 05 February 2007 09:07, Pascal Terjan wrote:
> > 2007/2/1, Jean-Christophe Dubois <jdubois at mc.com>:
> > > this seems to come from this line:
> > >
> > > alias_number=$(( `grep "alias
> > > ${modules_conf_alias_type[$index]}"$moduleconfig | awk '{print $2}' |
> > > sed "s/${modules_conf_alias_type[$index]}//" | sort -n | tail -n 1` + 1
> > > ))
> > >
> > > Is this a known issue? Am I missing something or missusing DKMS?
> >
> > There is a bug open on Mandriva's bugzilla regarding this issue and a
> > patch is attached : http://qa.mandriva.com/show_bug.cgi?id=27985
>
> Thanks for the patch. This looks like what I had in mind but I was first
> trying to understand if I was missing some DKMS design features as I am still
> a bit new to this package.
Seems sane, I'll apply the patch for 2.6.14.
For initrd-loaded modules, the ordinal is used to set up the load
order.
For non-initrd-loaded modules, the ordinal is supposed to point at a
specific device instance, which is what was tripping you up. Fair enough.
Thanks,
Matt
--
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
More information about the DKMS-devel
mailing list