Почетак › Форуми › Линукс дистрибуције › Mandriva › Хардвер › Mandrake 9.2 i Intel 536EP – treba mi samo koji drajver radi
- This topic has 12 одговора, 4 гласа, and was last updated 20 years, 8 months раније by
nokias.
-
АуторЧланци
-
23. новембар 2005. у 3:25 pm #6555
nokias
УчесникInteresuje me samo koja verzija drajvera za modem Intel 536EP radi na Mandrake 9.2. Sve ostalo znam da uradim.
23. новембар 2005. у 6:11 pm #37684nVideo
УчесникNe sekiraj se rade skoro svi, kod mene su radili i oni sa CD-a koji ide uz modem.
23. новембар 2005. у 6:23 pm #37685nokias
УчесникA kako da instaliram kernel source kad nemam gde da ga chekiram pa da ga instaliram?
23. новембар 2005. у 6:38 pm #37686nVideo
Учесникurpmi kernel-source
23. новембар 2005. у 7:59 pm #37687nokias
УчесникNece, pazi sta pise:
[miroslav@localhost miroslav]$ su
Password:
[root@localhost miroslav]# urpmi
urpmi version 4.4
Copyright (C) 1999, 2000, 2001, 2002 MandrakeSoft.
This is free software and may be redistributed under the terms of the GNU GPL.usage:
–help – print this help message.
–update – use only update media.
–media – use only the given media, separated by comma.
–excludemedia – do not use the given media, separated by comma.
–sortmedia – sort media according to substrings separated by comma.
–synthesis – use the given synthesis instead of urpmi db.
–auto – automatically select a package in choices.
–auto-select – automatically select packages to upgrade the system.
–no-uninstall – never ask to uninstall a package, abort the installation.
–keep – keep existing packages if possible, reject requested
packages that leads to remove.
–split-level – split in small transaction if more than given packages
are going to be installed or upgraded,
default is 20.
–split-length – small transaction length, default is 1.
–fuzzy – impose fuzzy search (same as -y).
–src – next package is a source package (same as -s).
–install-src – install only source package (no binaries).
–clean – remove rpm from cache before anything else.
–noclean – keep rpm not used in cache.
–force – force invocation even if some packages do not exist.
–allow-nodeps – allow asking user to install packages without
dependencies checking.
–allow-force – allow asking user to install packages without
dependencies checking and integrity.
–parallel – distributed urpmi accross machines of alias.
–wget – use wget to retrieve distant files.
–curl – use curl to retrieve distant files.
–limit-rate – limit the download speed.
–proxy – use specified HTTP proxy, the port number is assumed
to be 1080 by default (format is ).
–proxy-user – specify user and password to use for proxy
authentication (format is ).
–bug – output a bug report in directory indicated by
next arg.
–env – use specific environment (typically a bug
report).
–X – use X interface.
–best-output – choose best interface according to the environment:
X or text mode.
–verify-rpm – verify rpm signature before installation
(–no-verify-rpm disable it, default is enabled).
–test – verify if the installation can be achieved correctly.
–excludepath – exclude path separated by comma.
–excludedocs – exclude docs files.
-a – select all matches on command line.
-p – allow search in provides to find package.
-P – do not search in provides to find package.
-y – impose fuzzy search (same as –fuzzy).
-s – next package is a source package (same as –src).
-q – quiet mode.
-v – verbose mode.names or rpm files given on command line will be installed.
[root@localhost miroslav]# urpmi kernel source
The following packages contain source:
apache-source
apache2-source
gtksourceview
libgtksourceview-1.0_0
libgtksourceview-1.0_0-devel
perl-BSD-Resource
[root@localhost miroslav]# urpmi kernel-source
no package named kernel-source
[root@localhost miroslav]#Sta treba da uradim? Ovo je za mene visa matematika ili ti spansko selo.
23. новембар 2005. у 8:54 pm #37688kmilos
УчесникKoliko se ja sećam, zar nije falio kernel-source na CD-ovima kod nekog od ranijih MDK-a?
Inače uvek možeš da ga ručno skineš sa nekog MDK mirror-a…24. новембар 2005. у 2:43 pm #37689nokias
УчесникNece da instalira modem. Kernel-source sam skinuo sa neta i instalirao sam ga bez problema jer sam nasao taj koji meni treba dok za modem nakon komande make install izlista par redova i na kraju pise: ERROR: Can not remove /dev/536ep i mogu samo da ga duvam.
24. новембар 2005. у 5:54 pm #37690nVideo
Учесникvidi lsmod i ako tu nađeš i536ep, onda ti je modul poteran, možda još samo da startuješ hamregistry, a proveri sa: ps -A | grep hamregitry , svakako možeš konsultovati i i Intel536ep.install i .boot skriptu i tu ti je tačno prikazano šta make install skripta radi i kako se podiže prilikom starta mašine, a pošto je to MDK onda bi po restartu sve trebalo da radi.
Jednostavno:
modprobe intel536ep
hamregistry &Jedino ako ti sad ko za inat ne napravi nodove, ali bi i to trebalo da radi.
24. новембар 2005. у 8:29 pm #37691miroslav_joksimovic
УчесникA koju verziju drajvera si instalirao? Koju si koristio?
24. новембар 2005. у 8:59 pm #37692nokias
УчесникInstalirao sam vise verzija ali evo sta konkretno pose u toku cele instalacije:
[nokias@localhost nokias]$ su
Password:
[root@localhost nokias]# cd Desktop
[root@localhost Desktop]# tar xzvf intel-536ep-4.69.tgz
intel-536EP-2.56.76.0/
intel-536EP-2.56.76.0/config_check
intel-536EP-2.56.76.0/coredrv/
intel-536EP-2.56.76.0/coredrv/536core.lib
intel-536EP-2.56.76.0/coredrv/clmmain.c
intel-536EP-2.56.76.0/coredrv/coredrv.c
intel-536EP-2.56.76.0/coredrv/hamcore.h
intel-536EP-2.56.76.0/coredrv/hamdefs.h
intel-536EP-2.56.76.0/coredrv/locks.c
intel-536EP-2.56.76.0/coredrv/lock_lin.h
intel-536EP-2.56.76.0/coredrv/Makefile
intel-536EP-2.56.76.0/coredrv/rts.c
intel-536EP-2.56.76.0/coredrv/rts.h
intel-536EP-2.56.76.0/coredrv/softcore.h
intel-536EP-2.56.76.0/coredrv/softserial.c
intel-536EP-2.56.76.0/coredrv/softserial.h
intel-536EP-2.56.76.0/coredrv/softserial_io.c
intel-536EP-2.56.76.0/coredrv/softserial_ioctl.c
intel-536EP-2.56.76.0/coredrv/sys_ver.h
intel-536EP-2.56.76.0/coredrv/task.c
intel-536EP-2.56.76.0/coredrv/tasker.h
intel-536EP-2.56.76.0/coredrv/uart.c
intel-536EP-2.56.76.0/coredrv/uart.h
intel-536EP-2.56.76.0/coredrv/wwh_dflt.c
intel-536EP-2.56.76.0/coredrv/wwh_dflt.h
intel-536EP-2.56.76.0/hamregistry
intel-536EP-2.56.76.0/Intel536_boot
intel-536EP-2.56.76.0/Intel536_inst
intel-536EP-2.56.76.0/license.txt
intel-536EP-2.56.76.0/makefile
intel-536EP-2.56.76.0/readme.txt
[root@localhost Desktop]# cd intel-536EP-2.56.76.0
[root@localhost intel-536EP-2.56.76.0]# make clean
cd coredrv; make clean
make[1]: Entering directory `/home/miroslav/Desktop/intel-536EP-2.56.76.0/coredrv’
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/home/miroslav/Desktop/intel-536EP-2.56.76.0/coredrv’
rm -f *.o *.ko
[root@localhost intel-536EP-2.56.76.0]# make 536
Module precompile check
Current running kernel is: 2.4.22-10mdk
/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
make[1]: Entering directory `/home/miroslav/Desktop/intel-536EP-2.56.76.0/coredrv’
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o coredrv.o coredrv.c
coredrv.c:286: warning: `power_callback’ defined but not used
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o clmmain.o clmmain.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o rts.o rts.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o task.o task.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o uart.o uart.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o wwh_dflt.o wwh_dflt.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o locks.o locks.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o softserial_io.o softserial_io.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o softserial_ioctl.o softserial_ioctl.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o softserial.o softserial.c
strip –strip-debug 536core.lib
ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o locks.o softserial_io.o softserial_ioctl.o softserial.o 536core.lib -o Intel536.o
make[1]: Leaving directory `/home/miroslav/Desktop/intel-536EP-2.56.76.0/coredrv’
[root@localhost intel-536EP-2.56.76.0]# make install
rm -f /etc/hamregistry.bin
bash Intel536_inst
running kernel 2.4.22-10mdk
installing hamregistry, used for persistant storage
installing Intel 536 driver
mandrake Intel536_boot script
starting module and utilities
depmod: *** Unresolved symbols in /lib/modules/2.4.22-10mdk/kernel/drivers/char/Intel536.o
rm: cannot remove `/dev/536ep’: Operation not permitted
done
[root@localhost intel-536EP-2.56.76.0]#Sta sad??? U cemu je sad problem???
-
АуторЧланци
Форум ‘Хардвер’ је закључан за нове теме и одговоре.