On Mon, 2004-06-14 at 11:12, Fernando Pablo Lopez-Lezcano wrote:
On Sun, 2004-06-13 at 19:03, Fernando Pablo Lopez-Lezcano wrote:
> On Fri, 2004-06-11 at 12:50, Fernando Pablo Lopez-Lezcano wrote:
> > >From what I have read in the list, FC >= 1 has a /lib/modules/`uname
> > -r`/updates directory where kernel modules could be dropped to override
> > modules that are included in the standard kernel.
> >
> > Apparently that is not happening. The kernel modules in the
"updates"
> > directory are always showing up in modules.dep _after_ the kernel
> > modules in the main tree.
> >
> > Anything I need to do to change this?
>
> I did some more code reading and apparently you can't override a kernel
> module with another module of the same name _reliably_.
> [MUNCH]
> I hope I'm wrong and there's something I did miss.
Apparently not.
> If my assesment is
> correct, I'm left with not options for upgrading the ALSA subsystem
> independently of the kernel itself. Arghhhh...
The only one I can think of would be to patch modutils.
One simple patch attached (just tested it, seems to work) that uses
scandir to reverse-order the directory entries so that, for example,
"_updates/" is scanned first and modules stored there override modules
of the same name that come with the kernel package.
-- Fernando