<HTML>
<HEAD>
<META content="text/html; charset=koi8-r" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<p><font size="2">Здравствуйте!</font></p>
<p><font size="2">При сборке дров модема Intel536 под Альт 4.0 получилось следующее :</font></p>
<font size="2"><font size="2">
<p>[root@localhost intel-536EP-2.56.76.0]# make 536</p>
<p>Module precompile check</p>
<p>Current running kernel is: 2.6.18-std-smp-alt12</p>
<p>/lib/modules... autoconf.h exists</p>
<p>diff: /boot/vmlinuz.autoconf.h: РќР</p>
<p>autoconf.h matches running kernel</p>
<p>diff: /boot/vmlinuz.version.h: </p>
<p>version.h matches running kernel</p>
<p>uname -r|grep "2.6" && \</p>
<p>cd coredrv && make 536core_26 && \</p>
<p>cp Intel536.ko .. && cd .. && \</p>
<p>strip --strip-debug Intel536.ko && \</p>
<p>exit; \</p>
<p>ls Intel536.ko >/dev/null 2>&1 || uname -r | grep "2.6" && echo "Failed to build driver" && exit; \</p>
<p>if [ ]; then \</p>
<p>cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \</p>
<p>else \</p>
<p>cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \</p>
<p>"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \</p>
<p>fi ; \</p>
<p>cp Intel536.o .. ; \</p>
<p>if [ -a /boot/vmlinuz.version.h ]; then \</p>
<p>cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\</p>
<p>fi</p>
<p>2.6.18-std-smp-alt12</p>
<p>make[1]: Entering directory `/home/yurka/Documents/intel-536EP-2.56.76.0/coredrv'</p>
<p>make -C /lib/modules/2.6.18-std-smp-alt12/build SUBDIRS=/home/yurka/Documents/intel-536EP-2.56.76.0/coredrv modules</p>
<p>make[2]: Entering directory `/usr/src/linux-2.6.18-std-smp-alt12'</p>
<p>CC [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/coredrv.o</p>
<p>CC [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/clmmain.o</p>
<p>CC [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/rts.o</p>
<p>CC [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/task.o</p>
<p>CC [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/uart.o</p>
<p>CC [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/wwh_dflt.o</p>
<p>CC [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/locks.o</p>
<p>CC [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/softserial_io.o</p>
<p>CC [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/softserial_ioctl.o</p>
<p>CC [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/softserial.o</p>
<p>LD [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/Intel536.o</p>
<p>Building modules, stage 2.</p>
<p>MODPOST</p>
<p>WARNING: could not find /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/.536core.lib.cmd for /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/536core.lib</p>
<p>CC /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/Intel536.mod.o</p>
<p>LD [M] /home/yurka/Documents/intel-536EP-2.56.76.0/coredrv/Intel536.ko</p>
<p>make[2]: Leaving directory `/usr/src/linux-2.6.18-std-smp-alt12'</p>
<p>make[1]: Leaving directory `/home/yurka/Documents/intel-536EP-2.56.76.0/coredrv'</p>
<p />
<p></p>
<p></p>
<font size="2">
<p>[root@localhost intel-536EP-2.56.76.0]# make install</p>
<p>rm -f /etc/hamregistry.bin</p>
<p>bash Intel536_inst</p>
<p>running kernel 2.6.18-std-smp-alt12</p>
<p>installing hamregistry, used for persistant storage</p>
<p>installing Intel536 driver</p>
<p>install MANDRAKE Intel536 boot script and links</p>
<p>starting module and utilities</p>
<p>Intel536_inst: line 206: depmod: command not found</p>
<p>Intel536_boot: line 51: modprobe: command not found</p>
<p>Intel536_boot: line 53: insmod: command not found</p>
<p>error loading Intel536</p>
<p>Intel536_boot: line 55: rmmod: command not found</p>
<p>done</p>
<p>Все делалось под рутом ( su root ).</p>
<p>Действительно ли не работают команды depmod, modprobe, insmod ? как с этим бороться?</p>
<p>Спасибо!</p>
</font><font face="Courier New" size="2">
<p></p>
</font>--
<br />Best regards
<br />Yurii Sokolov
<br />
<br /></font><font face="Courier New" size="2">µ</font><font size="2">С‚ С‚Р</font><font face="Courier New" size="2">°</font><font size="2">РєРѕРіРѕ С„Р</font><font face="Courier New" size="2">°</font><font size="2">Р№Р</font><font face="Courier New" size="2">»</font><font size="2">Р</font><font face="Courier New" size="2">° </font><font size="2">РёР</font><font face="Courier New" size="2">»</font><font size="2">Рё РєР</font><font face="Courier New" size="2">°</font><font size="2">С‚Р</font><font face="Courier New" size="2">°</font><font size="2">Р</font><font face="Courier New" size="2">»</font><font size="2">РѕРіР</font><font face="Courier New" size="2">°</font><font face="Times New Roman" size="2">РќР</font><font face="Courier New" size="2">µ</font><font face="Times New Roman" size="2">С‚ С‚Р</font><font face="Courier New" size="2">°</font><font face="Times New Roman" size="2">РєРѕРіРѕ С„Р</font><font face="Courier New" size="2">°</font><font face="Times New Roman" size="2">Р№Р</font><font face="Courier New" size="2">»</font><font face="Times New Roman" size="2">Р</font><font face="Courier New" size="2">° </font><font face="Times New Roman" size="2">РёР</font><font face="Courier New" size="2">»</font><font face="Times New Roman" size="2">Рё РєР</font><font face="Courier New" size="2">°</font><font face="Times New Roman" size="2">С‚Р</font><font face="Courier New" size="2">°</font><font face="Times New Roman" size="2">Р</font><font face="Courier New" size="2">»</font><font face="Times New Roman" size="2">РѕРіР</font><font face="Courier New" size="2">°</font>Таким образом, сборка модуля <font face="Courier New">Intel536.ko прошла без проблем. а вот при установке модуля начались проблемы:</font></font>
</BODY>
</HTML>