asghan
27-12-2005, 18:22
ciao
come da oggetto vorrei installare i driver su debian sarge
il driver che ho usato è il seguente --> Intel-536EP-4.71.tgz
e funziona perfettamente su linux mandriva 2005 e 2006
per installarlo ho usato la seguente procedura
ho installato i sorgenti del kernel (almeno credo)
make clean
make 536
make install
+.........
poi ho avviato kppp come root
ho scelto la “porta” /dev/modem
ma quando ho interrogato il modem per verificare se funzionava correttamente, kppp si è chiuso
non avendo alcuna idea di quale possa essere il problema, qualsiasi suggerimento è gradito, grazie
# make clean
Usare `uname --help' per ulteriori informazioni.
cd coredrv; make clean
make[1]: Entering directory `/tmp/Intel-536/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/tmp/Intel-536/coredrv'
rm -f *.o *.ko
# make 536
Usare `uname --help' per ulteriori informazioni.
Module precompile check
Current running kernel is: 2.6.8-2-k7
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
uname -r|grep "2.6" && \
cd coredrv && make 536core_26 && \
cp Intel536.ko .. && cd .. && \
strip --strip-debug Intel536.ko && \
exit; \
ls Intel536.ko >/dev/null 2>&1 || uname -r | grep "2.6" && echo "Failed to build driver" && exit; \
if [ ]; then \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
else \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
fi ; \
cp Intel536.o .. ; \
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\
fi
2.6.8-2-k7
make[1]: Entering directory `/tmp/Intel-536/coredrv'
make -C /lib/modules/2.6.8-2-k7/build SUBDIRS=/tmp/Intel-536/coredrv modules
make[2]: Entering directory `/usr/src/kernel-headers-2.6.8-2-k7'
CC [M] /tmp/Intel-536/coredrv/coredrv.o
/tmp/Intel-536/coredrv/coredrv.c:880: warning: initialization makes integer from pointer without a cast
/tmp/Intel-536/coredrv/coredrv.c:289: warning: `power_callback' defined but not used
CC [M] /tmp/Intel-536/coredrv/clmmain.o
CC [M] /tmp/Intel-536/coredrv/rts.o
CC [M] /tmp/Intel-536/coredrv/task.o
CC [M] /tmp/Intel-536/coredrv/uart.o
CC [M] /tmp/Intel-536/coredrv/wwh_dflt.o
CC [M] /tmp/Intel-536/coredrv/locks.o
CC [M] /tmp/Intel-536/coredrv/softserial_io.o
CC [M] /tmp/Intel-536/coredrv/softserial_ioctl.o
CC [M] /tmp/Intel-536/coredrv/softserial.o
/tmp/Intel-536/coredrv/softserial.c: In function `softserial_register_tty':
/tmp/Intel-536/coredrv/softserial.c:141: warning: assignment from incompatible pointer type
LD [M] /tmp/Intel-536/coredrv/Intel536.o
Building modules, stage 2.
MODPOST
CC /tmp/Intel-536/coredrv/Intel536.mod.o
LD [M] /tmp/Intel-536/coredrv/Intel536.ko
make[2]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-k7'
make[1]: Leaving directory `/tmp/Intel-536/coredrv'
# make install
Usare `uname --help' per ulteriori informazioni.
rm -f /etc/hamregistry.bin
bash Intel536_inst
running kernel 2.6.8-2-k7
installing hamregistry, used for persistant storage
installing Intel536 driver
unknown distribution. no boot scripts installed
make: *** [install] Error 1
install -o root -g root -m 110 Intel536_boot /etc/init.d
ln -s -f /etc/init.d/Intel536_boot /etc/rc2.d/S99_Intel536
ln -s -f /etc/init.d/Intel536_boot /etc/rc3.d/S99_Intel536
ln -s -f /etc/init.d/Intel536_boot /etc/rc5.d/S99_Intel536
depmod -a
/bin/bash Intel536_boot restart
come da oggetto vorrei installare i driver su debian sarge
il driver che ho usato è il seguente --> Intel-536EP-4.71.tgz
e funziona perfettamente su linux mandriva 2005 e 2006
per installarlo ho usato la seguente procedura
ho installato i sorgenti del kernel (almeno credo)
make clean
make 536
make install
+.........
poi ho avviato kppp come root
ho scelto la “porta” /dev/modem
ma quando ho interrogato il modem per verificare se funzionava correttamente, kppp si è chiuso
non avendo alcuna idea di quale possa essere il problema, qualsiasi suggerimento è gradito, grazie
# make clean
Usare `uname --help' per ulteriori informazioni.
cd coredrv; make clean
make[1]: Entering directory `/tmp/Intel-536/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/tmp/Intel-536/coredrv'
rm -f *.o *.ko
# make 536
Usare `uname --help' per ulteriori informazioni.
Module precompile check
Current running kernel is: 2.6.8-2-k7
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
uname -r|grep "2.6" && \
cd coredrv && make 536core_26 && \
cp Intel536.ko .. && cd .. && \
strip --strip-debug Intel536.ko && \
exit; \
ls Intel536.ko >/dev/null 2>&1 || uname -r | grep "2.6" && echo "Failed to build driver" && exit; \
if [ ]; then \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
else \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
fi ; \
cp Intel536.o .. ; \
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\
fi
2.6.8-2-k7
make[1]: Entering directory `/tmp/Intel-536/coredrv'
make -C /lib/modules/2.6.8-2-k7/build SUBDIRS=/tmp/Intel-536/coredrv modules
make[2]: Entering directory `/usr/src/kernel-headers-2.6.8-2-k7'
CC [M] /tmp/Intel-536/coredrv/coredrv.o
/tmp/Intel-536/coredrv/coredrv.c:880: warning: initialization makes integer from pointer without a cast
/tmp/Intel-536/coredrv/coredrv.c:289: warning: `power_callback' defined but not used
CC [M] /tmp/Intel-536/coredrv/clmmain.o
CC [M] /tmp/Intel-536/coredrv/rts.o
CC [M] /tmp/Intel-536/coredrv/task.o
CC [M] /tmp/Intel-536/coredrv/uart.o
CC [M] /tmp/Intel-536/coredrv/wwh_dflt.o
CC [M] /tmp/Intel-536/coredrv/locks.o
CC [M] /tmp/Intel-536/coredrv/softserial_io.o
CC [M] /tmp/Intel-536/coredrv/softserial_ioctl.o
CC [M] /tmp/Intel-536/coredrv/softserial.o
/tmp/Intel-536/coredrv/softserial.c: In function `softserial_register_tty':
/tmp/Intel-536/coredrv/softserial.c:141: warning: assignment from incompatible pointer type
LD [M] /tmp/Intel-536/coredrv/Intel536.o
Building modules, stage 2.
MODPOST
CC /tmp/Intel-536/coredrv/Intel536.mod.o
LD [M] /tmp/Intel-536/coredrv/Intel536.ko
make[2]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-k7'
make[1]: Leaving directory `/tmp/Intel-536/coredrv'
# make install
Usare `uname --help' per ulteriori informazioni.
rm -f /etc/hamregistry.bin
bash Intel536_inst
running kernel 2.6.8-2-k7
installing hamregistry, used for persistant storage
installing Intel536 driver
unknown distribution. no boot scripts installed
make: *** [install] Error 1
install -o root -g root -m 110 Intel536_boot /etc/init.d
ln -s -f /etc/init.d/Intel536_boot /etc/rc2.d/S99_Intel536
ln -s -f /etc/init.d/Intel536_boot /etc/rc3.d/S99_Intel536
ln -s -f /etc/init.d/Intel536_boot /etc/rc5.d/S99_Intel536
depmod -a
/bin/bash Intel536_boot restart