View previous topic :: View next topic |
Author |
Message |
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3480 Location: Berlin
|
Posted: Sat Nov 25, 2017 4:32 pm Post subject: /etc/conf.d/modules wird nicht abgearbeitet |
|
|
Hallo,
ich bin vor geraumer Zeit auf systemd umgestiegen. Jetzt habe ich festgestellt, das die /etc/conf.d/modules gar nicht ausgewertet wird.
Code: | modules="nvidia ahci ehci_hcd loop rtc-cmos coretemp w83627ehf eeprom sr_mod vhba lp"
module_loop_args="max_loop=30" | Die folgenden Module sind nicht geladen Code: | ahci loop rtc-cmos w83627ehf eeprom vhba |
ich habe da etwas gefunden: Code: |
Put your module list file in /etc/modules-load.d/ |
Code: | Put your module option file in /etc/modprobe.d/ man modprobe.d |
Ich müsste also einemal in /etc/modules-load.d/ in einer noch zu eruierenden Form modules="nvidia ahci ehci_hcd loop rtc-cmos coretemp w83627ehf eeprom sr_mod vhba lp" und in /etc/modprobe.d/ module_loop_args="max_loop=30" eintragen.
Wenn ich das richtig verstehe , muss ich in /etc/modules-load.d für jedes Modul eine Textdatei anlegen. Beispiel ahci Code: | ahci.conf
# Load ahci.ko at boot
ahci | und in /etc/modprobe.d/ loop Code: | loop.cof
# Load loop.ko mit dem Argument 30
max_loop=30 |
Ist das so richtig? |
|
Back to top |
|
|
grumblebear Apprentice
Joined: 26 Feb 2008 Posts: 202
|
Posted: Sun Nov 26, 2017 2:55 pm Post subject: |
|
|
Quote: | Wenn ich das richtig verstehe , muss ich in /etc/modules-load.d für jedes Modul eine Textdatei anlegen. Beispiel ahci
Code: |
ahci.conf
# Load ahci.ko at boot
ahci |
|
In jeder conf-Datei in modules-load.d können natürlich auch mehrere Module gelistet sein.
Quote: | Code: |
loop.cof
# Load loop.ko mit dem Argument 30
max_loop=30 |
Ist das so richtig? |
Die Syntax ist Code: | options loop max_loop=30 |
|
|
Back to top |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3480 Location: Berlin
|
Posted: Sun Nov 26, 2017 7:34 pm Post subject: |
|
|
Ja, das funktioniert.
Allerdings nicht mit der rtc-cmos.conf..cat /usr/src/linux/.config | grep -v \# | grep RTC
Code: | CONFIG_HPET_EMULATE_RTC=y
CONFIG_RTC_LIB=y
CONFIG_RTC_MC146818_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
CONFIG_RTC_DRV_PCF85063=m
CONFIG_RTC_I2C_AND_SPI=m
CONFIG_RTC_DRV_CMOS=m
CONFIG_RTC_DRV_HID_SENSOR_TIME=m | Ich glaube, das war mein Fehler:
Code: | # lsmod | grep rtc-cmos
lsmod | grep rtc_cmos
rtc_cmos 20480 0 |
|
|
Back to top |
|
|
|