Hi all...
I have a problem with modprobe, 2.6.2-rc1-mm2, and agpgart.
With 2.4, I had this setup to have agpgart loaded:
alias char-major-226 agpgart
With 2.6 and the same setup, that module is loaded. But as agpgart backend is
now split, I need to load also intel-agp.ko. I read manuals, and corrected my
modprobe.conf this way:
install agpgart /sbin/modprobe intel-agp; /sbin/modprobe --ignore-install agpgart;
But it goes on an infinite loop :(.
I got this working with
alias char-major-226 intel-agp
How can I get the good old 'above' with new module init tools ?
TIA
--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrake Linux release 10.0 (Cooker) for i586
Linux 2.6.2-rc1-jam2 (gcc 3.3.2 (Mandrake Linux 10.0 3.3.2-4mdk))
Am Sa, den 24.01.2004 schrieb J.A. Magallon um 23:29:
> I have a problem with modprobe, 2.6.2-rc1-mm2, and agpgart.
>
> With 2.4, I had this setup to have agpgart loaded:
>
> alias char-major-226 agpgart
>
> With 2.6 and the same setup, that module is loaded. But as agpgart backend is
> now split, I need to load also intel-agp.ko. I read manuals, and corrected my
> modprobe.conf this way:
>
> install agpgart /sbin/modprobe intel-agp; /sbin/modprobe --ignore-install agpgart;
>
> But it goes on an infinite loop :(.
Well, I suppose it's because modprobe intel-agp tries to load agpgart
and that's where it loops. I think you should try to modprobe
--ignore-install agpgart first so that it's already loaded when you
insert intel-agp. And probably use a && between the two commands.
On Sat, 24 Jan 2004 23:29:07 +0100
"J.A. Magallon" <[email protected]> wrote:
> Hi all...
>
> I have a problem with modprobe, 2.6.2-rc1-mm2, and agpgart.
>
> With 2.4, I had this setup to have agpgart loaded:
>
> alias char-major-226 agpgart
The new style is "alias char-major-226-* agpgart", but that should still
work in 2.6.2-rc1.
> With 2.6 and the same setup, that module is loaded. But as agpgart backend is
> now split, I need to load also intel-agp.ko. I read manuals, and corrected my
> modprobe.conf this way:
>
> install agpgart /sbin/modprobe intel-agp; /sbin/modprobe --ignore-install agpgart;
Yes. intel-agp presumably depends on agpgart? If so,
(1) You can just alias char-major-226 intel-agp
(2) There was a bug some older module-init-tools versions, have you tried
3.0-pre7?
Thanks!
Rusty.
--
there are those who do and those who hang on and you don't see too
many doers quoting their contemporaries. -- Larry McVoy