Re: Mauri, Switzerland, kernel 2.6.20-16-generic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 make: *** /lib/modules/2.6.20-16-386/build: No such file or directory.  
 Stop.

Maurizio needs the kernel sources or kernel-devel package.  They should be found on the install cd or on the net.  This is why the compilation fails.

ModemData generated by scanModem output the following instructions which are clear

\begin{quote}

$ sudo apt-get -s install linux-kernel-devel
While some of the files may be on the install CD, others may have to be
found through http://packages.ubuntu.com

For Ubuntu Feisty, additional packages required were:
libc6-dev linux-libc-dev
available through http://packages.ubuntu.com/ , if not on the install CD.
Such packages may have different names for other Linux distributions.
Try installing just the libc6-dev, then test the compile again.

\end{quote}

if the kernel sources are installed, this error message should not appear again. Try that and report back success/failure.

Regards,

Antonio 

----- Original Message ----
From: Jacques Goldberg <Jacques.Goldberg@xxxxxxx>
To: Maurizio Togni <maurizio.togni@xxxxxxxxxx>
Cc: discuss@xxxxxxxxxxxxx
Sent: Thursday, September 6, 2007 7:50:18 AM
Subject: Re: Mauri, Switzerland, kernel 2.6.20-16-generic

Maurizio
There is no point in trying make install and further when make all has 
failed.
The problem with make all is probably caused by different Ubuntu versions.
Marv knows Ubuntu and will address your problem.
I know nothing about Ubuntu and similar (Debian) Linux distributions.
The only way by which I could help you would be if you could type the 
two following commands EXACTLY as shown and send me the file 
jacques.txt which they will produce. Thanks - Jacques:

ls /lib/modules/*/  >  jacques.txt
uname -a >> jacques.txt



Maurizio Togni wrote:
> Jacques, Many Thanks for your support I'm getting closer but still 
> having some troubles (due most probably to my not very advanced Linux 
> experience). I did the steps you indicated but when I run the INSTALL 
> procedure step by steps it seems that I'm having some troubles executing 
> some of the commands (I've also tried with "sudo" but seems not to help 
> to much).
> 
> Below a dump of the commands and results I would very much appreciate if 
> you could further help and tell me what I'm doing wrong.
> Again thanks in advance very much for your help.
> Maurizio
> --------------------------------------------
> tati@tati:~/Desktop$ ls
> evolution-mail.desktop  martian-ubuntu-2.6.20-16-generic.tar.gz
> firefox.desktop         mozilla-thunderbird.desktop
> gcalctool.desktop       rhythmbox.desktop
> google-picasa.desktop   totem.desktop
> tati@tati:~/Desktop$ tar zxf martian-ubuntu-2.6.20-16-generic.tar.gz
> tati@tati:~/Desktop$ cd martian-ubuntu-2.6.20-16-generic
> tati@tati:~/Desktop/martian-ubuntu-2.6.20-16-generic$ ls
> ChangeLog  INSTALL  Makefile   modem   scripts
> Concept    kmodule  martian.h  README  wvdial.txt
> tati@tati:~/Desktop/martian-ubuntu-2.6.20-16-generic$ make all
> make -C kmodule/ modules
> make[1]: Entering directory 
> `/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic/kmodule'
> make -C /lib/modules/2.6.20-16-386/build 
> M="/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic/kmodule"  modules
> make: Entering an unknown directory
> make: *** /lib/modules/2.6.20-16-386/build: No such file or directory.  
> Stop.
> make: Leaving an unknown directory
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory 
> `/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic/kmodule'
> make: *** [all] Error 2
> tati@tati:~/Desktop/martian-ubuntu-2.6.20-16-generic$ su
> Password:
> su: Authentication failure
> Spiacente.
> tati@tati:~/Desktop/martian-ubuntu-2.6.20-16-generic$ sudo su
> Password:
> root@tati:/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic# make install
> make -C kmodule/ install
> make[1]: Entering directory 
> `/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic/kmodule'
> make -C /lib/modules/2.6.20-16-386/build 
> M="/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic/kmodule" 
> modules_install
> make: Entering an unknown directory
> make: *** /lib/modules/2.6.20-16-386/build: No such file or directory.  
> Stop.
> make: Leaving an unknown directory
> make[1]: *** [install] Error 2
> make[1]: Leaving directory 
> `/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic/kmodule'
> make: *** [install] Error 2
> root@tati:/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic# sudo make 
> install
> make -C kmodule/ install
> make[1]: Entering directory 
> `/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic/kmodule'
> make -C /lib/modules/2.6.20-16-386/build 
> M="/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic/kmodule" 
> modules_install
> make: Entering an unknown directory
> make: *** /lib/modules/2.6.20-16-386/build: No such file or directory.  
> Stop.
> make: Leaving an unknown directory
> make[1]: *** [install] Error 2
> make[1]: Leaving directory 
> `/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic/kmodule'
> make: *** [install] Error 2
> root@tati:/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic# modprobe 
> martian_dev
> FATAL: Module martian_dev not found.
> root@tati:/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic# modprobe 
> martian_dev
> FATAL: Module martian_dev not found.
> root@tati:/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic# sudo 
> modprobe martian_dev
> FATAL: Module martian_dev not found.
> root@tati:/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic# ls
> ChangeLog  Concept  INSTALL  kmodule  Makefile  martian.h  modem  
> README  scripts  wvdial.txt
> root@tati:/home/tati/Desktop/martian-ubuntu-2.6.20-16-generic#
> 
> 
> 
> 
> 
> 
> ---------------------------------------------
> 
> 
> Jacques Goldberg ha scritto:
>> Maurizio
>> ModemData.txt says:
>> BEGIN
>> The modem has a supported Lucent/Agere  Mars or Apollo DSP (digital
>> signal processing) chipset. Support packages for 2.6.n kernels are at:
>> http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/ 
>>
>>
>> See AgereDSP.txt for Details.
>> END
>>
>> so you go to
>> http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/ 
>>
>> You download the file martian-ubuntu-2.6.20-16-generic.tar.gz
>> You unpack it with the command:
>> tar zxf martian-ubuntu-2.6.20-16-generic.tar.gz
>> You enter the software for the driver with
>> cd martian-ubuntu-2.6.20-16-generic
>> There, you read the file named INSTALL and you do step by step what it 
>> says (IGNORE x86_64 platform).
>> The "root" directory wuioted there is NOT the /root (note the /) 
>> directory of user "root" but the directory  
>> martian-ubuntu-2.6.20-16-generic
>>
>> Your dreams are shared and will remain dreams. We are a handful of 
>> volunteers unable to create a "dream" installer for each of so many 
>> modems under so many versions of Linux.
>> In addition, you will see that when your modem will work, you will 
>> already have learnt a lot about using Linux, specially command lines.
>>
>> Jacques
>> maurizio.togni wrote:
>>> Hi Linux/Ubuntu Friends
>>>
>>> Hi just installed for the first time the ubuntu version on a Compaq 
>>> Evo N610c / 256k RAM and now almost everything works fine but as I 
>>> need to use very often a modem connection (modem already integrated 
>>> in the Notebook) and I need now your help to get it possibly 
>>> configured and recognized by ubuntu.
>>>
>>> Now, Iʼm not a very technical person and I must admit that it was 
>>> already quite difficult for me to find out the Modem chipset 
>>> following a procedure I fould on 
>>> (http://help.ubuntu-it.org/7.04/ubuntu/internet/it/connect-to-internet.html)and 
>>> frankly speaking Iʼm quite confuse now when I read what I need to do 
>>> next (root?, Compiling?,..).
>>>
>>> Could some one help me and tell what I really need to do next? My 
>>> dream as I really donʼt know nothing about linux and compilers would 
>>> be to download a self extracting application that would recognize and 
>>> configure my modems, but well if this is only a dream then I would 
>>> really need a step by step procedure (possibly written for non 
>>> technical/linux person) so that I can hopefully really follow.
>>>
>>> Many thanks for your great support!!! :-)
>>>
>>> Maurizio
>>>
>>> Below the ModemData.txt file with the Chipset (if I read it rigth 
>>> Agere.DSP)
>>> -------------------------------------------------------------------------------------------- 
>>>
>>> Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx List
>>> Server.
>>> Do use the following as the email Subject Line:
>>>           SomeName, YourCountry  kernel 2.6.20-16-generic This will 
>>> alert cogent experts, and  distinguish cases in the Archives.
>>> YourCountry will enable Country Code guidance.
>>> Occassionally responses are blocked by an Internet Provider mail
>>> filters.
>>> So in a day, also check the Archived responses at
>>> http://www.linmodems.org .
>>> Local Linux experts can be found through:
>>> http://www.linux.org/groups/index.html
>>> --------------------------  System information
>>> ----------------------------
>>> CPU=i686,  Linux version 2.6.20-16-generic (root@terranova) (gcc 
>>> version 4.1.2
>>> (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Fri Aug 31 00:55:27 UTC 2007
>>> scanModem update of:  2007_August_28
>>>
>>>
>>> There are no blacklisted modem drivers in /etc/modprobe*  files USB 
>>> modem not detected by lsusb
>>>
>>>
>>> Several modems are supported by drivers with ALSA, the Advanced Linux
>>> Sound Architecture software.
>>> Copying ALSA diagnostics to Modem/ALSAroot.tgz
>>> ALSAversion = 1.0.13
>>>
>>> Modem or candidate host audio card have firmware information and
>>> diagnostics:
>>>
>>> PCI slot    PCI ID        SubsystemID    Name
>>> ----------    ---------    ---------    --------------
>>> 02:04.0    11c1:0450    1468:0450    Communication controller: Agere 
>>> Systems LT
>>> WinModem
>>> Modem interrupt assignment and sharing: 11:      36107    
>>> XT-PIC-XT        yenta, yenta, Intel 82801CA-ICH3,
>>> radeon@pci:0000:01:00.0
>>> --- Bootup diagnostics for card in PCI slot 02:04.0 ----
>>>
>>> === Finished modem firmware and bootup diagnostics section. ===
>>> === Next deducing cogent software ===
>>>
>>> For candidate modem in PCI bus:  02:04.0
>>>   Class 0780: 11c1:0450 Communication controller: Agere Systems LT
>>> WinModem
>>>      Primary PCI_id  11c1:0450
>>> Support type needed or chipset:    Agere.DSP
>>>
>>>
>>>
>>> The modem has a supported Lucent/Agere  Mars or Apollo DSP (digital
>>> signal processing) chipset. Support packages for 2.6.n kernels are at:
>>> http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/ 
>>>
>>>
>>> See AgereDSP.txt for Details.
>>>  DSP=1
>>>
>>> Vendor 11c1 is Lucent Technologies with modem technology now under LSI
>>> Inc. Their Linux  code developer/maintainer is Soumyendu Sarkar. 
>>> Support for
>>> a chipset and its continued maintenance is only initiated at the 
>>> request of a major
>>> chipset buyer,
>>> or comparable sponsor. Several different  modem chipset types  are
>>> produced: with varying support under Linux.
>>> Device ID  Support        Name           Comment
>>> ---------  -------------  -----------    -----------------------------
>>> 0480       serial drivers Venus           controller chipset 1673JV7
>>> 0440-045d  martian        Mars/Apollo     DSP (digital signal
>>> processing) chipsets
>>> 0462       none           56K.V90/ADSL Wildwire 048d 
>>> none                  SV2P            soft modem 048(c or f) 
>>> AGRSM         SV2P            soft modem
>>> 0600       none           soft modem, very few in the field.
>>> 0620       AGRSM          Pinball  soft modem, in some HP desktop PCs
>>> 062(1-3)   none           SV92PP,Pinball  soft modem, in some HP
>>> desktop PCs
>>>
>>> martian - At
>>> http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/ 
>>>
>>>
>>> AGRSM - At
>>> http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/ 
>>> agrsm-alpha.tar.bz2 potentially provides support for PCI_id chipsets
>>>   11c1:048c,  11c1:048f and 11c1:0620
>>> in addition to prior support of Subsystems under Intel 8086:???? below
>>> 11C1:048C
>>> 11C1:048F
>>> 11C1:0620
>>> 8086:(2416 2426 7196 2486 24C6 24CD6 266D) are soft modem controllers,
>>> better
>>>   supported through ALSA modem drivers and the Smartlink slmodemd
>>> helper.
>>>   There has only been one reported success for 11c1:048c, 11c1:048f and
>>> 11c1:0620. See:
>>> http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00849.html
>>> http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00970.html
>>> Interaction with experts will likely be necessary to get any of these
>>> modems working.
>>>
>>> 0x0450 -- Mars 3 Mercury data fax Global board
>>> -------------- end Agere Systems section -------------------
>>>
>>> Completed candidate modem analyses.
>>>
>>> The base of the UDEV device file system is: /dev/.udev
>>>
>>> Versions adequately match for the compiler installed: 4.1.2
>>>             and the compiler used in kernel assembly: 4.1.2
>>>
>>>
>>>
>>> Minimal compiling resources appear complete:
>>>   make utility - /usr/bin/make
>>>   Compiler version 4.1
>>>   linuc_headers base folder /lib/modules/2.6.20-16-generic/build
>>>
>>> However some compilations and executable functions may need additional
>>> files,
>>> in the FileNames.h (so called kernel "h"eaders) collection installed
>>> in  /usr/include/ .
>>> For martian_modem, additional required packages are libc6-dev (and for
>>> Debian/Ubuntu,  linux-libc-dev). The also required headers of package
>>> libc6 are commonly installed by default.
>>>
>>>
>>> If a driver compilation files with message including some lack of some
>>> FileName.h (stdio.h for example. Some additional kernel-header files 
>>> need installation to /usr/include.
>>> For Debian/Ubuntu related distributions, run the following command to
>>> display the needed package list:
>>> $ sudo apt-get -s install linux-kernel-devel
>>> While some of the files may be on the install CD, others may have to be
>>> found through http://packages.ubuntu.com
>>>
>>> For Ubuntu Feisty, additional packages required were:
>>> libc6-dev linux-libc-dev
>>> available through http://packages.ubuntu.com/ , if not on the install
>>> CD.
>>> Such packages may have different names for other Linux distributions.
>>> Try installing just the libc6-dev, then test the compile again.
>>>
>>>
>>> Checking pppd properties:
>>>     -rwsr-xr-- 1 root dip 269224 2007-04-05 05:41 /usr/sbin/pppd
>>>
>>> In case of an "error 17" "serial loopback" problem, see:
>>>    http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html
>>>
>>> To enable dialout without Root permission do:
>>>     $ su - root  (not for Ubuntu)
>>>        sudo chmod a+x /usr/sbin/pppd
>>> or under Ubuntu related Linuxes
>>>     sudo chmod a+x /usr/sbin/pppd
>>>
>>> Checking settings of:    /etc/ppp/options
>>> asyncmap 0
>>> noauth
>>> crtscts
>>> lock
>>>
>>>
>>
>>
> 





       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux