[Comm] Загрузка модулей
Прокопьев Евгений
=?iso-8859-1?q?john_=CE=C1_rmts=2Edonpac=2Eru?=
Вс Июн 8 21:58:44 MSD 2003
Здравствуйте!
В /etc/modules.conf у меня написано:
pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start
alias usb-interface usb-uhci
#above snd-pcm-oss snd-mixer-oss
alias sound-slot-0 emu10k1
probeall scsi_hostadapter ide-scsi
alias eth0 8139too
#above emu10k1 snd-pcm-oss
options ide-scsi units=/dev/hdc
alias usb-interface1 ehci-hcd
alias char-major-40 parport_pc
alias char-major-40 pt_drv
pre-install pt_drv modprobe -k parport_pc
options pt_drv lampoff=180 warmup=15 port=0x378 lOffonEnd=0 mov=0 slowIO=1
Но после загрузки я вижу:
# lsmod
Module Size Used by Tainted: PF
binfmt_misc 5652 1
vmnet 21184 3
parport_pc 25224 0
parport 23072 0 [parport_pc]
vmmon 20020 0 (unused)
emu10k1 54312 0 (unused)
ac97_codec 9864 0 [emu10k1]
sound 54548 0 [emu10k1]
soundcore 3556 7 [emu10k1 sound]
8139too 14728 1 (autoclean)
mii 2320 0 (autoclean) [8139too]
ipt_state 568 4 (autoclean)
ipt_MASQUERADE 1272 1
ipt_limit 888 5
ipt_LOG 3384 6
iptable_nat 14904 1 [ipt_MASQUERADE]
iptable_mangle 2128 0 (unused)
iptable_filter 1636 1
ip_tables 11416 9 [ipt_state ipt_MASQUERADE ipt_limit
ipt_LOG iptable_nat iptable_mangle iptable_filter]
ip_conntrack 17600 2 [ipt_state ipt_MASQUERADE iptable_nat]
nls_koi8-r 3836 1 (autoclean)
nls_cp866 3836 1 (autoclean)
vfat 9516 1 (autoclean)
fat 30104 0 (autoclean) [vfat]
ide-scsi 7760 0
scsi_mod 91308 1 [ide-scsi]
rtc 6044 0 (autoclean)
reiserfs 168560 4
И только после modprobe pt_drv
# lsmod
Module Size Used by Tainted: PF
pt_drv 110896 0 (unused)
binfmt_misc 5652 1
vmnet 21184 3
parport_pc 25224 1
parport 23072 1 [pt_drv parport_pc]
vmmon 20020 0 (unused)
emu10k1 54312 0 (unused)
ac97_codec 9864 0 [emu10k1]
sound 54548 0 [emu10k1]
soundcore 3556 7 [emu10k1 sound]
8139too 14728 1 (autoclean)
mii 2320 0 (autoclean) [8139too]
ipt_state 568 4 (autoclean)
ipt_MASQUERADE 1272 1
ipt_limit 888 5
ipt_LOG 3384 6
iptable_nat 14904 1 [ipt_MASQUERADE]
iptable_mangle 2128 0 (unused)
iptable_filter 1636 1
ip_tables 11416 9 [ipt_state ipt_MASQUERADE ipt_limit
ipt_LOG iptable_nat iptable_mangle iptable_filter]
ip_conntrack 17600 2 [ipt_state ipt_MASQUERADE iptable_nat]
nls_koi8-r 3836 1 (autoclean)
nls_cp866 3836 1 (autoclean)
vfat 9516 1 (autoclean)
fat 30104 0 (autoclean) [vfat]
ide-scsi 7760 0
scsi_mod 91308 1 [ide-scsi]
rtc 6044 0 (autoclean)
reiserfs 168560 4
Еще интересно, что depmod говорит:
depmod: *** Unresolved symbols in
/lib/modules/2.4.20-alt4-linus-up/misc/pt_drv.o
Хотя модуль pt_drv работает выполняет свои функции.
Так что я делаю неправильно?
--
o' O~?A'O"A*I^E'A*I', ?O`I"E"I"??A*? a*?C,A*I^E'E^
Подробная информация о списке рассылки community