All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: LTTng modules not loading?
       [not found] <3CA1A65C03C1A34C81BBC6272782E696987933@valcartierex01.valcartier.drdc-rddc.gc.ca>
@ 2013-01-22 17:28 ` David Goulet
  0 siblings, 0 replies; 2+ messages in thread
From: David Goulet @ 2013-01-22 17:28 UTC (permalink / raw)
  To: Thibault, Daniel; +Cc: lttng-dev

Usually, it's the lttng-sessiond's job to load the kernel modules.

So the quick fix here would be to start a session daemon at boot with of
course root privileges.

Thanks!
David

Thibault, Daniel:
>    My two Ubuntu installations have the same set of LTTng modules and tools (they were all built from the same git.lttng.org packages) but different kernels and installation histories.  The "clean" machine has kernel linux-virtual (3.2.0-36-virtual), the other one has linux-generic (3.2.0-35-generic).  After installing LTTng and rebooting, the clean machine does *not* load the lttng kernel modules, while the other one does.  /etc/modules and /etc/modprobe.d are the same, the .ko are present in /lib/modules/<kernel>/extra in both cases.  The clean machine's lttng kernel modules can be loaded using modprobe without demur, so there is no problem there.
> 
>    At first I thought this was because the clean machine had not installed the dkms package yet, but adding it made no difference: the lttng modules do not load.
> 
>    How can I get the clean machine to load the lttng kernel modules at boot time?
> 
> Daniel U. Thibault
> R & D pour la défense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
> Cyber sécurité pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)
> Protection des systèmes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)
> 2459 route de la Bravoure
> Québec, QC  G3J 1X5
> CANADA
> Vox : (418) 844-4000 x4245
> Fax : (418) 844-4538
> NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
> Gouvernement du Canada / Government of Canada
> <http://www.valcartier.drdc-rddc.gc.ca/>
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

* LTTng modules not loading?
@ 2013-01-22 17:22 Thibault, Daniel
  0 siblings, 0 replies; 2+ messages in thread
From: Thibault, Daniel @ 2013-01-22 17:22 UTC (permalink / raw)
  To: lttng-dev

   My two Ubuntu installations have the same set of LTTng modules and tools (they were all built from the same git.lttng.org packages) but different kernels and installation histories.  The "clean" machine has kernel linux-virtual (3.2.0-36-virtual), the other one has linux-generic (3.2.0-35-generic).  After installing LTTng and rebooting, the clean machine does *not* load the lttng kernel modules, while the other one does.  /etc/modules and /etc/modprobe.d are the same, the .ko are present in /lib/modules/<kernel>/extra in both cases.  The clean machine's lttng kernel modules can be loaded using modprobe without demur, so there is no problem there.

   At first I thought this was because the clean machine had not installed the dkms package yet, but adding it made no difference: the lttng modules do not load.

   How can I get the clean machine to load the lttng kernel modules at boot time?

Daniel U. Thibault
R & D pour la défense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
Cyber sécurité pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)
Protection des systèmes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)
2459 route de la Bravoure
Québec, QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada / Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>

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

end of thread, other threads:[~2013-01-22 17:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3CA1A65C03C1A34C81BBC6272782E696987933@valcartierex01.valcartier.drdc-rddc.gc.ca>
2013-01-22 17:28 ` LTTng modules not loading? David Goulet
2013-01-22 17:22 Thibault, Daniel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.