public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Problem with module-init-tools
@ 2004-01-24 22:29 J.A. Magallon
  2004-01-24 23:21 ` Christophe Saout
  2004-01-26  6:05 ` Rusty Russell
  0 siblings, 2 replies; 3+ messages in thread
From: J.A. Magallon @ 2004-01-24 22:29 UTC (permalink / raw)
  To: Lista Linux-Kernel

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))

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with module-init-tools
  2004-01-24 22:29 Problem with module-init-tools J.A. Magallon
@ 2004-01-24 23:21 ` Christophe Saout
  2004-01-26  6:05 ` Rusty Russell
  1 sibling, 0 replies; 3+ messages in thread
From: Christophe Saout @ 2004-01-24 23:21 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: Lista Linux-Kernel

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with module-init-tools
  2004-01-24 22:29 Problem with module-init-tools J.A. Magallon
  2004-01-24 23:21 ` Christophe Saout
@ 2004-01-26  6:05 ` Rusty Russell
  1 sibling, 0 replies; 3+ messages in thread
From: Rusty Russell @ 2004-01-26  6:05 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: linux-kernel

On Sat, 24 Jan 2004 23:29:07 +0100
"J.A. Magallon" <jamagallon@able.es> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-26  6:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-24 22:29 Problem with module-init-tools J.A. Magallon
2004-01-24 23:21 ` Christophe Saout
2004-01-26  6:05 ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox