Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] LTTng modules not loading?
@ 2013-01-22 17:22 Thibault, Daniel
  2013-01-22 17:28 ` David Goulet
  0 siblings, 1 reply; 2+ messages in thread
From: Thibault, Daniel @ 2013-01-22 17:22 UTC (permalink / raw)


   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

* [lttng-dev] LTTng modules not loading?
  2013-01-22 17:22 [lttng-dev] LTTng modules not loading? Thibault, Daniel
@ 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)


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 at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev



^ 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 --
2013-01-22 17:22 [lttng-dev] LTTng modules not loading? Thibault, Daniel
2013-01-22 17:28 ` David Goulet

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