[CentOS-de] dauerhaftes modprobe wie?
Krechel.Wolfgang
Wolfgang.Krechel at Bank-Verlag.de
Mo Jun 1 07:12:02 UTC 2015
Sorry, da fehlten ein paar Zeilenumbrüche...
Hallo Günther,
Original Doku RedHat (29.7. Persistent Module Loading):
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Persistent_Module_Loading.html
root at centos7:~ $ ls -la /etc/sysconfig/modules/tpm_infineon.modules
-rwxr-xr-x. 1 root root 103 1. Jun 09:00 /etc/sysconfig/modules/tpm_infineon.modules
root at centos7:~ $ cat /etc/sysconfig/modules/tpm_infineon.modules
#!/bin/sh
if [ ! -c /dev/input/uinput ] ; then
exec /sbin/modprobe tpm_infineon >/dev/null 2>&1
fi
Reboot - funktioniert.
Getestet mit:
root at centos7:~ $ cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
Gruß
Wolfgang
-----Ursprüngliche Nachricht-----
Von: centos-de-bounces at centos.org [mailto:centos-de-bounces at centos.org] Im Auftrag von Günther J. Niederwimmer
Gesendet: Montag, 1. Juni 2015 08:50
An: centos-de at centos.org
Betreff: Re: [CentOS-de] dauerhaftes modprobe wie?
Hallo,
Danke für die Antworten,
leider hilft das alles nichts, denn dann wird der Treiber zu spät geladen für systemd :-(.
Immer diese neuen Sachen die dann nicht funktionieren wenn man es braucht ....
Am Montag, 1. Juni 2015, 08:18:44 schrieb Lars Kagrath:
> Hallo Günther J. Niederwimmer
>
> Workaround:
>
> # modprobe tpm_infineon
>
> oder besser automatisch laden:
>
> # touch /etc/sysconfig/modules/tpm_infineon.modules
> # chmod +x /etc/sysconfig/modules/tpm_infineon.modules
> # vi /etc/sysconfig/modules/tpm_infineon.modules
>
> darin einfach folgendes eintragen:
> #!/bin/sh
>
exec /sbin/modprobe tpm_infineon
>
> dann klappt es auch beim booten ;)
>
> --
> Mit freundlichen Grüßen / kind regards
>
> Lars Kagrath
>
> Am 01.06.2015 um 02:32 schrieb Günther J. Niederwimmer:
> > Hallo,
> >
> > Da ich mir ein TPM Modul zugelegt habe, müsste ich jetzt den
> > tpm_infineon Treiber beim Start laden?
> >
> > Centos 7.1
> >
> > leider funktioniert das anscheinend nicht oder ich habe etwas falsch
> > verstanden
> >
> > Was ich gefunden habe ist!
> >
> > In /etc/modprobe.d/tpm_infineon.conf mit dem Inhalt
> >
> > alias tpm0 tpm_infineon
> >
> > anlegen
> >
> > nur funktioniert das nicht automatisch beim booten
> >
> > Ich muss das immer händisch machen
> >
> > modprobe tpm_infineon
> >
> > dann wird das Modul geladen.
> >
> > Habt Ihr eine Idee was da falsch sein könnte ?
> >
> > Danke für eine Antwort,
--
mit freundlichen Grüssen / best regards,
Günther J. Niederwimmer
--
_______________________________________________
CentOS-de mailing list
CentOS-de at centos.org
http://lists.centos.org/mailman/listinfo/centos-de
Mehr Informationen über die Mailingliste CentOS-de