You are not logged in.

#1 2010-03-23 19:28:05

Ventil1
Member
Registered: 2010-03-17
Posts: 138

I lost my lib/udev/load-modules.sh

I wanted to speed up udev. I accidentaly deleted my lib/udev/load-modules.sh
Can someone post the original file here?

Also I was wondering... If I load modules manually in rc.conf. Udev will load faster, right? But how do I know which modules to load? I am newbie.

Offline

#2 2010-03-23 19:35:21

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: I lost my lib/udev/load-modules.sh

Mine, http://pastebin.com/LiphM57n

To know your modules do: lsmod.

Last edited by n0dix (2010-03-23 19:38:12)

Offline

#3 2010-03-23 19:47:06

Ventil1
Member
Registered: 2010-03-17
Posts: 138

Re: I lost my lib/udev/load-modules.sh

Thanks n0dix
So everything will work the same if I manually put modules in rc.conf? Plus they will load faster?

Ijust need to write the names, right? MODULES (michael_mic, arc4, ecb, snd_hda_codec_nvhdmi,...)

[marko@Asus ~]$ lsmod
Module                  Size  Used by
michael_mic             1610  8 
arc4                    1058  4 
ecb                     1545  4 
snd_hda_codec_nvhdmi     3351  1 
snd_hda_codec_realtek   179443  1 
snd_seq_dummy           1099  0 
snd_seq_oss            25304  0 
snd_seq_midi_event      4452  1 snd_seq_oss
snd_hda_intel          18985  0 
snd_seq                42628  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_hda_codec          56728  3 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
snd_seq_device          4313  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_hwdep               5102  1 snd_hda_codec
usbhid                 33579  0 
snd_pcm_oss            33693  0 
snd_mixer_oss          14810  1 snd_pcm_oss
snd_pcm                57351  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
hid                    61085  1 usbhid
snd_timer              16117  2 snd_seq,snd_pcm
snd                    43847  11 snd_hda_codec_realtek,snd_seq_oss,snd_hda_intel,snd_seq,snd_hda_codec,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
joydev                  7768  0 
soundcore               5007  1 snd
ac                      2255  0 
nvidia               8795767  30 
psmouse                56309  0 
snd_page_alloc          5841  2 snd_hda_intel,snd_pcm
shpchp                 26592  0 
video                  14871  0 
i2c_nforce2             4748  0 
ohci_hcd               19732  0 
output                  1404  1 video
r8192se_pci           444129  0 
agpgart                23331  1 nvidia
pcspkr                  1347  0 
serio_raw               3620  0 
thermal                 9326  0 
pci_hotplug            23492  1 shpchp
ehci_hcd               31594  0 
evdev                   6970  16 
sg                     21079  0 
processor              26526  0 
i2c_core               15369  2 nvidia,i2c_nforce2
wmi                     4083  0 
button                  3638  0 
battery                 7328  0 
usbcore               118921  4 usbhid,ohci_hcd,ehci_hcd
rtc_cmos                7504  0 
rtc_core               12011  1 rtc_cmos
rtc_lib                 1450  1 rtc_core
ext4                  313138  1 
mbcache                 4278  1 ext4
jbd2                   68146  1 ext4
crc16                   1041  1 ext4
sd_mod                 24101  2 
pata_acpi               2264  0 
ahci                   29834  1 
ata_generic             2235  0 
libata                135579  3 pata_acpi,ahci,ata_generic
scsi_mod               78933  3 sg,sd_mod,libata

Offline

#4 2010-03-23 19:57:34

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: I lost my lib/udev/load-modules.sh

Ventil1 wrote:

Thanks n0dix
So everything will work the same if I manually put modules in rc.conf? Plus they will load faster?

Ijust need to write the names, right? MODULES (michael_mic, arc4, ecb, snd_hda_codec_nvhdmi,...)

No necessary, the kernel load some modules for you. If you want to run an specific module manually because you have a problem, then do it. But the idea is no to add all modules in MODULES array.

Offline

#5 2010-03-23 20:12:55

Ventil1
Member
Registered: 2010-03-17
Posts: 138

Re: I lost my lib/udev/load-modules.sh

Oh, OK. Thanks again n0dix

Offline

Board footer

Powered by FluxBB