Šta je novo?

Suse 8.2 i Lucent

Peka

Čuven
Učlanjen(a)
26.12.2002
Poruke
16
Poena
604
Imam problem sa instalacijom lucent 1648TOO modema na SUSE 8.2 linuxu.Kada pokrenem ./ksp.sh ovo mi prijavljuje:

Checking version of current OS and rpm installed versions
Running kernel version: 2.4.20-4GB-athlon
Installed source version: 2.4.20.SuSE-30
(kernel-source-2.4.20.SuSE-30.i386.rpm
*------- Error -------*
Wrong kernel-source version
Installed = kernel-source-2.4.20-4GB-athlon.i386.rpm
Need = kernel-source-2.4.20.SuSE-30.i386.rpm

Download and re-install using:
rpm -e --justdb --nodeps kernel-source
rpm -ivh kernel-source-2.4.20-4GB-athlon.i386.rpm
Logovan sam kao su i radilo je pod mandrakom 9.0.Ako neko zna resenje za problem nek javi.Inace koristio sam ltmodem-8.26a9.tar.
 
Prvo nisi napisao na kom CPU ti se vrti SuSe (mada po sistemskoj poruci izgleda da imas AMD-a). Od toga ti i zavisi sta skidas od drivera sa neta. Meni je sve na AMD-u a kernel prijavljuje kao da sam na INTEL-u. Tu najcesce dolazi do greske. Skini sa neta za i386 verziju i za athlon verziju. Imas li adresu za drajvere?
 
Probaj da skines source drajvera pa da iskompajliras, uglavnom se svodi na make + make install. Prepoznaces ih , uglavnom imaju extenziju tgz.
 
SuSE se vrti na Duronu.Sad ne znam koje drivere skidam.Ako bi mogao da mi preporucis gde da ih nadjem?
 
Probaj na:

http://www.physcip.uni-stuttgart.de/heby/ltmodem/
 
Bio sam na heby i skinuo ltmodem-kv_2.4.20_4GB-8.26a9-1.i386.rpm odradio i dobio ovo:
linux:~ # rpm -ivv ltmodem-kv_2.4.20_4GB-8.26a9-1.i386.rpm
D: counting packages to install
D: found 1 packages
D: looking for packages to download
D: retrieved 0 packages
D: New Header signature
D: Signature size: 68
D: Signature pad : 4
D: sigsize : 72
D: Header + Archive: 394895
D: expected size : 394895
D: opening database mode 0x42 in /var/lib/rpm
D: found 0 source and 1 binary packages
D: requires: k_deflt = 2.4.20-4GB unsatisfied.
D: package ltmodem-kv_2.4.20_4GB require not satisfied: k_deflt = 2.4.20-4GB
D: requires: /bin/sh satisfied by db file lists.
error: failed dependencies:

k_deflt = 2.4.20-4GB is needed byltmodem-kv_2.4.20_4GB-8.26a9-1
 
Pisali smo vec nekoliko puta o tome, ali izgleda da ce se morati jos jednom podvuci:

- rpm instalacija sadrzi gotove iskompajlirane fajlove. Ukoliko se radi o aplikaciji, to je sasvim ok. Medjutim, ukoliko se radi o drajveru, nastaju potencijalni problemi - drajver se kompajlira da se veze za odredjenu verziju kernela (koristi njegov delove). Tako i u ovom slucaju - drajver koji si skinuo je vec prekompajliran i pripremljen za kernel v2.4.20-4GB sa odredjenim podesavanjima i ako nemas ti bas sve tako, mozes da se slikas sa njime.

- zato je bolje uzimati za drajvere obicnu tarball arhivu (tar.gz ili tgz), jer se u njima nalazi source drajvera. Otpakujes u poseban direktorijum u /usr/src/ i pogledas prateci install ili readme fajl - najcesce se svodi na "make install" i to je to. Slobodno menjas kernel i sva moguca podesavanja i posle samo opet odes u taj dir i ponovo pokrenes tu 'make install' instalaciju. I nije samo sloboda po pitanju kernela, nego i distribucije - uopste ne trazis drajver za SuSE; kada se radi o drajveru u obliku sourcea, on pasuje na SVE distribucije - i RedHat i SuSE i Mandrake i Slack i Debian, itd.
 
Ne znam da li si procitao prvi post.Ja sam koristio ltmodem-8.26a9.tar(sto ja mislim da je source) i prijavio mi je onaj error kad zelim da napravim build-module.
 
Probaj ovo:

http://www.physcip.uni-stuttgart.de/heby/ltmodem/ltmodem-8.26a9.tar.gz
 
Peka je napisao(la):
Ne znam da li si procitao prvi post.Ja sam koristio ltmodem-8.26a9.tar(sto ja mislim da je source) i prijavio mi je onaj error kad zelim da napravim build-module.

Procitao sam, ali izgleda ti nisi moj post. Ova instalaciona skripta koju su pokrenuo je samo krenula da instalira rpm-ove umesto tebe. Da si imao u taru source fajlove, video bi na ekranu poruke koje pravi gc++ prilikom kompajliranja

Prva potvrda toga je:
Wrong kernel-source version
Installed = kernel-source-2.4.20-4GB-athlon.i386.rpm
Need = kernel-source-2.4.20.SuSE-30.i386.rpm


Make se ne buni oko ovakvih stvari (posto se radi o istom kernelu, samo razlicitom buildu), nego uzima onaj kernel koji imas instaliran. Ovo je ocigledno dependancy koji je snimljen u rpm.

Druga potvrda:
Download and re-install using:
rpm -e --justdb --nodeps kernel-source
rpm -ivh kernel-source-2.4.20-4GB-athlon.i386.rpm


rpm trazi da instaliras source kernela koji njemu treba (2.4.20-4GB), posto je nasao instaliran drugi (2.4.20.SuSE-30).



Tar nije ekstenzija za source, nego za arhivu, bas kao sto je zip. Klasicna tarball linux arhiva se sastoji od dva dela - tar i gzip i zato ima dve ekstenzije *.tar.gz; prvo tar arhivira sve fajlove i poddirektorijume u jedan fajl (sa pravima vlasnistva nad fajlovima i ostalim atributima read-only i sl.) a onda gzip takav sredjeni fajl kompresuje. Dakle, tar.gz je eksenzija za kompresovanu arhivu, bas kao sto je to rar ili zip u windows okruzenju i u njemu moze da bude svasta - i source i slike i prekompajlirani programi, itd.
 
Skinuo sam ja driover ltmodem-8.26a9.tar.gz sa kojima probam da kompajliram module.Na pocetku procesa mi prijavi da ako sam novaljija u ovome da probam /utils/ksp.sh ja probam, aon mi izbaci ovo na sta si ti odgovorio.Problem je u tome sto se prilikom instalacije sam kernel prijavi kao kernel 2.4.20-4GB-athlon, a u /usr/src/2.4.20.SuSE-30 .Kada probam ./build-module izbaci error da koristim ovaj prvi i da nesto nije u redu sa kernel-headersima.
 
linux:~/ltmodem-8.26a9 # ./build_module
Within build_module FV=
/tmp/ltmodem/tmpfile
Lucent/Agere DSP chip modems (but Not the AMR modems)
are supported by the the resources of this kit.
Agere Systems, Inc. provides the proprietary code,
particularly including DSP (digital signal processing)
to volunteer Maintainers managing several enhancements.
Mark Spieth initiated the ltmodem compiler kit series.
Chris Hebeisen introduced the Configure implementation,
bringing Newbie friendliness.
Marv Stodolsky is culpable for the verbose messaging.
Within DOCs/, see CREDITS and Ltmodem.html for details on
the contributions of many others.
Volunteers have assembled the ltmodem-version.deb and
ltmodem-version.rpm Installers for the Linux community
utiliizing the resources of this compiler kit series.
If new to compiling, please first run: utils/ksp.sh
to set up your kernel-sources properly. The kernel-source package as installed
does NOT in general match an installed kernel, but one of several alternative kernels.
This with a niave usage, all could be completed well technically.
BUT the installed drivers might not be compatible with your kernel,
of even reside in the right /lib/modules/Kernel_Version/ tree.
To continue, Enter
This compilation process is likely Not necessary to work through,
if the only need is modem drivers matching the standard kernel of the
following Linux distributions: Debian, Red Hat, Mandrake, SuSE and Connectiva
Volunteers have already compiled most standard drivers.
Those available as of this 8.26a9 release are embedded in utils/scanmodem,
and any compatible with your System requirements will be later listed.
They are available for download as ltmodem-version.rpm and
ltmodem-version.deb Installers from http://www.heby.de/ltmodem/
Some additions may have since been deposited at http://www.heby.de/ltmodem/
since this 8.26a9 release. Do check carefully therein for updates if necessary.
The compiling process is a learning experience for Newbies.
We strongly recommend that you DO learn it sometime.
But getting on the Internet under Linux should have first priority.
This kit provides several diagnostics aids and good documentation.
Continuing will do no harm. Useful diagnostic information
on your system will be written to BLDrecord.txt,
with direction to documentation if a failure occurs.
At a minimum, Do keep the DOCs/ and utils/ folders and become familiar
with the resources therein.
To continue: Enter
=================================================================
This is the version 8.26a9 of the compiler + installer kit
8.26 corresponds to the version of the core Agere Systems DSP code.
a9 designation that follows reflects NO improvement in DSP code.
Rather peripheral driver, added diagnostics and installer improvements
are reflected. They are progressively implemented as Users report problems
or the Linux kernel evolves.
The modem drivers will serve with Linux kernels beginning with 2.2.2, the current
2.4.nn series, and there is experimental support for the emerging 2.5.nn kernels.
If your PC is being well served with this 8.26a9,
there is NO Benefit in using a more recent version
until there is an update in the Agere driver code, say 8.22 to 9.00.
But if the driver installation for a new kernel should in some way fail,
please do download the most recent ltmodem-VER.tar.gz
before sending a query to [email protected],
because the problem may already be solved.
This build_module script only compiles drivers,
with their installation managed by subsequent commands.
Thus ./build_module can be rerun for education or amusement,
without as yet committing changes to your System.
For general instructions: Enter
=================================================================
All should work automatically for most Linux installations/distributions,
IF a complete kernel-headers/ folder is available:
through a symbolic link: /lib/modules/KernelVersion/build --> PATH_to/kernel-headers/
at the classical /usr/src/ position.
Otherwise a symbolic link will be necessary:
ln -s PATH_to/kernel-headers/ /usr/src/linux
Read DOCs/Compile-properly.txt and 1ST-READ if an explanation is needed about kernel-headers.
To compile modules for a kernel other version than 2.4.20-4GB-athlon, such as version 2.2.17-3test, use syntax:
./build_module 2.2.17-3test
where the version.h in the kernel-headers/ folder has 2.2.17-3test
If desirable to make a record for trouble shooting purposes,
Abort with Ctrl-C. First start a recording script with:
script ltrecord.txt
Then again the command: ./build_module
To continue: Enter
====================================================================
Diagnostic information is progressively being written to BLDrecord.txt .
Often, contents of BLDrecord.txt will aid in solving a problem.
Now acquiring distribution data:
The Linux distribution is: SuSE, SuSE Linux 8.2 (i586)
VERSION = 8.2
TARGET_CPU=i686
End of distribution check.
A supported Lucent/Agere DSP chipset modem is identified: PCI_ID=11c1:044e
VENDOR 0x11c1 DEVICE 0x044e
ID are within the serviced ranges for Lucent/Agere DSP modems:
------------------------------------------
LUCENT 0x11c1 0x0440-0x045c
XIRCOM 0x115d 0x0000-0x000F
XIRCOM 0x115d 0x0440-0x045c
XIRCOM 0x115d 0x0010-0x03ff
-------------------------------------------
Drivers and their compiler kits are available at:
http://www.heby.de/ltmodem/
For more details read the Recording file.
utils/scanmodem: line 1: locate: command not found
To continue: Enter
==================================================
Checking for any preliminary complications.
Bad links to /usr/include not evident.
Kernel config file not recognized within the /boot folder.
OK thus far.
To begin acquisition of compiling information: Enter
Removing old makings and expanding a clean source.tar.gz
Setting BLDrecord.txt link within source/ folder.
lrwxrwxrwx 1 root root 16 Jun 19 16:44 BLDrecord.txt -> ../BLDrecord.txt
Following a successful check for matching kernel-headers,
the modem drivers will be compiled for the current kernel version: 2.4.20-4GB-athlon
To start resource tests: Enter
Performing a configure trial and capturing the report to ../conf-report.txt.
Parsing the report:
Version mismatch
A sample successfull conf_out.txt is in the folder DOCs/
For the Linux distribution SuSe and perhaps Others,
the resource test failure may merely be
because Root permission is needed to access kernel-headers/ folders.
Login in as Root and re-run ./build_module
Here is the report from ../conf-report.txt
------------------
creating cache ./config.cache
Checking OS
Checking machine type
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
Checking gcc major version 3
Checking for rpm build... which: no rpmbuild in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/opt/gnome/bin)
rpm
checking for a BSD compatible install... /usr/bin/install -c
checking for make... yes
checking for ld... yes
Checking for kernel headers
... in /usr/src/linux: Kernel headers found in /usr/src/linux
... in /usr/src/kernel-headers-2.4.20-4GB-athlon: nope
... in /usr/src/linux-2.4.20: nope
... in /usr/src/linux-2.4.20-4GB-athlon: nope
... in /lib/modules/2.4.20-4GB-athlon/build: Kernel headers found in /lib/modules/2.4.20-4GB-athlon/build
using /lib/modules/2.4.20-4GB-athlon/build
Checking kernel header version
kernel headers are version 2.4.20-4GB
Version of kernel sources (2.4.20-4GB) does not match the version
of the running kernel (2.4.20-4GB-athlon)
ERROR: Version mismatch
If you want to build the module for kernel 2.4.20-4GB
please use --with-force=yes. If you want to use the driver
with your currently running kernel, install the kernel
headers for it.
If the correct kernel headers are installed but configure
used the wrong ones, try passing --with-kernel=dir.
------------------
Read instructions at the end of BLDrecord.txt
 
Da javim da je problem resen tako sto je u <kernel-directory>/include/linux/version.h: change the line #define UTS_RELEASE "2.4.20" to #define UTS_RELEASE "2.4.20-4GB-athlon" promenjeno to sto je napisano i onda sledi standardna procedura.Hvala svima koji su se javljali. :happy: :happy: :happy:
 
Nazad
Vrh Dno