linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Issue with running depmod after cross compiling
@ 2005-08-03  1:27 Daniel Ann
  2005-08-03  5:55 ` Matej Kupljen
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Ann @ 2005-08-03  1:27 UTC (permalink / raw)
  To: linuxppc-embedded

Hey folks,

For certain, I understand why running make module_install fails if I
run it after cross compiling the kernel+module.
What I'm doing now is, I've just commented out the bit in Makefile
(where it exec's depmod), and everythings cool.

BUT, problem with this method is, I get none of the module.dep and
many related files for auto loading of module.

What would be considered reasonable if I was to solve this ?

Thanks for your thought on this in advance.

--=20
Daniel

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

* Re: Issue with running depmod after cross compiling
@ 2005-08-03  3:36 Rupesh S
  0 siblings, 0 replies; 4+ messages in thread
From: Rupesh S @ 2005-08-03  3:36 UTC (permalink / raw)
  To: ktdann, linuxppc-embedded

Daniel,

Assuming your kernel is 2.6 based, you might want to try module-init-tools =
version 3.2-pre7. Also, it would be better to have the existing depmod =
renamed as depmod.old. This is for the new depmod to use in case it fails =
to execute.

--
Rupesh S

>>> Daniel Ann <ktdann@gmail.com> 08/03/05 06:57AM >>>
Hey folks,

For certain, I understand why running make module_install fails if I
run it after cross compiling the kernel+module.
What I'm doing now is, I've just commented out the bit in Makefile
(where it exec's depmod), and everythings cool.

BUT, problem with this method is, I get none of the module.dep and
many related files for auto loading of module.

What would be considered reasonable if I was to solve this ?

Thanks for your thought on this in advance.

--=20
Daniel
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org=20
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

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

* Re: Issue with running depmod after cross compiling
  2005-08-03  1:27 Daniel Ann
@ 2005-08-03  5:55 ` Matej Kupljen
  0 siblings, 0 replies; 4+ messages in thread
From: Matej Kupljen @ 2005-08-03  5:55 UTC (permalink / raw)
  To: Daniel Ann; +Cc: linuxppc-embedded

Hi

> What would be considered reasonable if I was to solve this ?

I use depmod.pl, which is i Perl script that do just that.
It is bundled with the busybox. You can find it in the 
examples subdirectory.

Hope that helps.

BR,
Matej

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

* Re: Issue with running depmod after cross compiling
       [not found] <s2f08948.038@EMAIL>
@ 2005-08-03  8:49 ` Daniel Ann
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Ann @ 2005-08-03  8:49 UTC (permalink / raw)
  To: Rupesh S; +Cc: linuxppc-embedded

Rupesh,

I've tried it with module-init-tools version 3.2-pre8 (since it was
latest), it works like a charm. Thanks.


On 8/3/05, Rupesh S <rupeshs@myw.ltindia.com> wrote:
> Daniel,
>=20
> Assuming your kernel is 2.6 based, you might want to try module-init-tool=
s version 3.2-pre7. Also, it would be better to have the existing depmod re=
named as depmod.old. This is for the new depmod to use in case it fails to =
execute.
>=20
> --
> Rupesh S
>=20
> >>> Daniel Ann <ktdann@gmail.com> 08/03/05 06:57AM >>>
> Hey folks,
>=20
> For certain, I understand why running make module_install fails if I
> run it after cross compiling the kernel+module.
> What I'm doing now is, I've just commented out the bit in Makefile
> (where it exec's depmod), and everythings cool.
>=20
> BUT, problem with this method is, I get none of the module.dep and
> many related files for auto loading of module.
>=20
> What would be considered reasonable if I was to solve this ?
>=20
> Thanks for your thought on this in advance.
>=20
> --
> Daniel
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>=20
>=20


--=20
Daniel

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

end of thread, other threads:[~2005-08-03  8:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <s2f08948.038@EMAIL>
2005-08-03  8:49 ` Issue with running depmod after cross compiling Daniel Ann
2005-08-03  3:36 Rupesh S
  -- strict thread matches above, loose matches on Subject: below --
2005-08-03  1:27 Daniel Ann
2005-08-03  5:55 ` Matej Kupljen

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