* 2.5 modprobe doesn't handle alias chains?
@ 2003-03-03 23:35 Mikael Pettersson
2003-03-16 20:58 ` Rusty Russell
0 siblings, 1 reply; 2+ messages in thread
From: Mikael Pettersson @ 2003-03-03 23:35 UTC (permalink / raw)
To: rusty; +Cc: linux-kernel
Rusty,
In converting my 2.5 build to make the serial driver a module,
I discovered that alias chains in modprobe.conf apparently
don't work. This is with module-init-tools-0.9.9.
I had 'alias char-major-4 serial' and 'alias char-major-5 serial'
in modprobe.conf, since that's what's built into 2.4 modutils, and
then I added 'alias serial 8250'. This did not work: opening /dev/ttyS0
resulted in modprobe complaining 'FATAL: Module serial not found'.
Is this a bug or a design limitation?
I kludged it by using 'alias char-major-4 8250' instead.
/Mikael
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.5 modprobe doesn't handle alias chains?
2003-03-03 23:35 2.5 modprobe doesn't handle alias chains? Mikael Pettersson
@ 2003-03-16 20:58 ` Rusty Russell
0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2003-03-16 20:58 UTC (permalink / raw)
To: Mikael Pettersson; +Cc: linux-kernel
In message <200303032335.h23NZetq012628@harpo.it.uu.se> you write:
> Rusty,
>
> In converting my 2.5 build to make the serial driver a module,
> I discovered that alias chains in modprobe.conf apparently
> don't work. This is with module-init-tools-0.9.9.
>
> I had 'alias char-major-4 serial' and 'alias char-major-5 serial'
> in modprobe.conf, since that's what's built into 2.4 modutils, and
> then I added 'alias serial 8250'. This did not work: opening /dev/ttyS0
> resulted in modprobe complaining 'FATAL: Module serial not found'.
>
> Is this a bug or a design limitation?
Well, it's a documented feature, see modprobe.conf(5). You can use
install commands instead if you really want recursion, or do as you
did and simply resolve the alias by hand.
Hope that helps,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-17 17:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-03 23:35 2.5 modprobe doesn't handle alias chains? Mikael Pettersson
2003-03-16 20:58 ` Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).