Re: celestine , India , 2.6.24-24generic

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

 



The problem I had mentioned before 
 
 make[2]: *** No rule to make target `arch/x86/kernel/asm-offsets.c', needed by
 `arch/x86/kernel/asm-offsets.s'.  Stop.

is a bug in linux that is not yet solved 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/233950

#3 in the above link is similar to my situation , he seems to have solved it using chmod -R +x foldername  as given in #5

When I tried the same thing , I am getting operation not permitted ! How do I fix it ?

Also how do I make my system ready for driver compiling ? Some info is given in drivercompiling.txt of scanmodem output, but I am unable to understand  it 

Celestine Preetham 




----- Original Message ----
> From: celestine preetham <mastercelestinepreetham@xxxxxxxxx>
> To: Joshua Gordon Crawford <jgcrawford@xxxxxxxxx>
> Cc: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>; Antonio Olivares <olivares14031@xxxxxxxxx>; discuss@xxxxxxxxxxxxx
> Sent: Wed, 23 December, 2009 2:55:42 PM
> Subject: Re: celestine , India , 2.6.24-24generic
> 
> I have installed all the headers (libc6-dev 2.7-10ubuntu4_i386.deb and 
> linux-libc-dev 2.6.24-26.64_i386.deb ) 
> Now I am getting a different error message when I run  "sudo make all "
> 
> celestine@localhost:/usr/src/agrsm048pci-2.1.60$ sudo
> make all
> sudo: unable to resolve host localhost
> make -C /lib/modules/2.6.24-24-generic/build SUBDIRS= modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.24-24-generic'
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
> make[2]: *** No rule to make target `arch/x86/kernel/asm-offsets.c', needed by
> `arch/x86/kernel/asm-offsets.s'.  Stop.
> make[1]: *** [prepare0] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-24-generic'
> make: *** [modules] Error 2
> 
> Pls help on what to do next.....
> 
> 
> 
> 
> ----- Original Message ----
> > From: Joshua Gordon Crawford 
> > To: celestine preetham 
> > Cc: Marvin Stodolsky ; Antonio Olivares 
> ; discuss@xxxxxxxxxxxxx
> > Sent: Tue, 22 December, 2009 5:12:26 AM
> > Subject: Re: celestine , India , 2.6.24-24generic
> > 
> > 2009/12/22 celestine preetham :
> > > I am having AMD64 bit system but all my software are 32bit , will it create 
> > problems ?
> > 
> > This code is not compatible with 64-bit systems, due to a pre-compiled
> > 32-bit component. However, previous attempts have been on fully 64-bit
> > systems (kernel and software). I am unaware of what issues might exist
> > using 32-bit on a 64-bit system.
> > 
> > > @Marvin
> > > I got a dependency error for libc6-dev  (as libc6) . So I tried installing 
> > libc6 but it does'nt install and displays that a higher version of this has 
> > already been installed. I tried running  'make  all' after installing 
> > linux-libc-dev alone but it returned the same errors ( missing of .h files )
> > >
> > > @ Joshua
> > > I tried using agrsm-20080203 and typed below the terminal display as 
> executed 
> > .  I ve got a lot of ' warnings' and the program output steps seem shorter 
> than 
> > the ones present in the cogent message 
> >  http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00849.html . Is it 
> 
> > installing properly ?
> > 
> > It looks like the code compiles and installs okay. There were no
> > errors, and warnings can mostly be ignored. But the module doesn't
> > load. When you modprobe agrserial, there should be a message similar
> > to "Loading module Agere Modem Controller driver version
> > 2.1.60.0.Linspire (2005-11-16)". Remember to rmmod both modules after
> > each test, and to make uninstall before recompiling.
> > 
> > > celestine@localhost:~/Desktop/agrsm$ make clean
> > > rm -fR agrsoftmodem.o serial26.o \
> > >      serial26.o \
> > >      agrsm_core.o \
> > >      agrmodem.{o,ko,mod.{c,o}} \
> > >      agrserial.{o,ko,mod.{c,o}} \
> > >      .*.cmd .tmp_versions
> > > celestine@localhost:~/Desktop/agrsm$ make
> > > make -C /lib/modules/2.6.24-24-generic/build
> > > SUBDIRS=/home/celestine/Desktop/agrsm modules
> > > \make[1]: Entering directory `/usr/src/linux-headers-2.6.24-24-generic'
> > >  CC [M]  /home/celestine/Desktop/agrsm/agrsoftmodem.o
> > > objcopy --weaken-symbol=LXHardwareInfoCreate \
> > >            --weaken-symbol=LXHardwareInfoDestroy
> > > \
> > >            /home/celestine/Desktop/agrsm/agrmodemlib.o
> > > /home/celestine/Desktop/agrsm/agrsm_core.o
> > >  CC [M]  /home/celestine/Desktop/agrsm/lib.o
> > >  CC [M]  /home/celestine/Desktop/agrsm/serial26.o
> > > /home/celestine/Desktop/agrsm/serial26.c: In function
> > > ‘serial8250_get_mctrl’:
> > > /home/celestine/Desktop/agrsm/serial26.c:1371: warning: unused variable
> > > ‘flags’
> > > /home/celestine/Desktop/agrsm/serial26.c: In function 
> > ‘serial8250_config_port’:
> > > /home/celestine/Desktop/agrsm/serial26.c:2039: warning: unused variable
> > > ‘ret’
> > > /home/celestine/Desktop/agrsm/serial26.c: At top level:
> > > /home/celestine/Desktop/agrsm/serial26.c:2131: warning: initialization from
> > > incompatible pointer type
> > > /home/celestine/Desktop/agrsm/serial26.c:2132: warning: initialization from
> > > incompatible pointer type
> > > /home/celestine/Desktop/agrsm/serial26.c:1922: warning:
> > > ‘serial8250_request_rsa_resource’ defined but not used
> > >  LD [M]  /home/celestine/Desktop/agrsm/agrmodem.o
> > >  LD [M]  /home/celestine/Desktop/agrsm/agrserial.o
> > >  Building modules, stage 2.
> > >  MODPOST 2 modules
> > > WARNING: could not find /home/celestine/Desktop/agrsm/.agrsm_core.o.cmd for
> > > /home/celestine/Desktop/agrsm/agrsm_core.o
> > >  CC      /home/celestine/Desktop/agrsm/agrmodem.mod.o
> > >  LD [M]  /home/celestine/Desktop/agrsm/agrmodem.ko
> > >  CC      /home/celestine/Desktop/agrsm/agrserial.mod.o
> > >  LD [M]  /home/celestine/Desktop/agrsm/agrserial.ko
> > > make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-24-generic'
> > > celestine@localhost:~/Desktop/agrsm$ sudo make install
> > > sudo: unable to resolve host localhost
> > > [sudo] password for celestine:
> > > make -C /lib/modules/2.6.24-24-generic/build
> > > M="/home/celestine/Desktop/agrsm" modules_install
> > > make[1]: Entering directory `/usr/src/linux-headers-2.6.24-24-generic'
> > >  INSTALL
> > > /home/celestine/Desktop/agrsm/agrmodem.ko
> > >  INSTALL
> > > /home/celestine/Desktop/agrsm/agrserial.ko
> > >  DEPMOD  2.6.24.6
> > > make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-24-generic'
> > > if ! /sbin/modprobe -nq agrmodem.ko ; then /sbin/depmod -a; fi
> > > celestine@localhost:~/Desktop/agrsm$ sudo modprobe agrmodem
> > > sudo: unable to resolve host localhost
> > > celestine@localhost:~/Desktop/agrsm$ sudo modprobe agrserial
> > > sudo: unable to resolve host localhost
> > > celestine@localhost:~/Desktop/agrsm$ sudo wvdialconff
> > > sudo: unable to resolve host localhost
> > > sudo: wvdialconff: command not found
> > > celestine@localhost:~/Desktop/agrsm$ sudo wvdialconf
> > > sudo: unable to resolve host localhost
> > > Editing `/etc/wvdial.conf'.
> > >
> > > Scanning your serial ports for a modem.
> > >
> > > Modem Port Scan<*1>: S0   S1   S2   S3
> > > ttySAGR<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600
> > > baud
> > > ttySAGR<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200
> > > baud
> > > ttySAGR<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
> > >
> > >
> > > Sorry, no modem was detected!  Is it in
> > > use by another program?
> > > Did you configure it properly with setserial?
> > >
> > > Please read the FAQ at http://open.nit.ca/wiki/?WvDial
> > >
> > > If you still have problems, send mail to .
> > > celestine@localhost:~/Desktop/agrsm$
> > >
> > > Celestine Preetham
> > >
> > >
> > >>
> > >> Celestine,
> > >>
> > >> Copy future exchanges to Joshua, who is the expert on these 11c1:048c/f 
> >  modems
> > >>
> > >> RE: scripts/basic/fixdep.c:107:23: error: sys/types.h: No such file or 
> > directory
> > >> scripts/basic/fixdep.c:108:22: error: sys/stat.h: No such file or directory
> > >> scripts/basic/fixdep.c:109:22: error: sys/mman.h: No such file or directory
> > >> scripts/basic/fixdep.c:110:20: error: unistd.h: No such file or directory
> > >> scripts/basic/fixdep.c:111:19: error: fcntl.h: No such file or directory
> > >> scripts/basic/fixdep.c:112:20: error: string.h: No such file or directory
> > >> scripts/basic/fixdep.c:113:20: error: stdlib.h: No such file or directory
> > >> scripts/basic/fixdep.c:114:19: error: stdio.h: No such file or directory
> > >> ----------
> > >>
> > >> These *.h files will be provideI d by the files  linux-libc-dev and
> > >> libc6-dev packages
> > >> Install them and again try the compiles.  Start at
> > >> http://packages.ubuntu.com/hardy/libc6-dev
> > >> More probably, practice using the search engines at
> > >> http://packages.ubuntu.com, as you will likely need then in the
> > >> future.
> > >>
> > >> Until there is a successfull detection of the modem by
> > >> $ sudo wdialconf
> > >> none of the dialout tools will be successful
> > >>
> > >> On Sun, Dec 20, 2009 at 2:18 PM, celestine preetham
> > >> wrote:
> > >> > Yes I tried using the symbolic links as given the agrsm how tos between 
> > SAGR ,
> > >> AGS3 and modem but when I  type pon on  terminal , It says /dev/modem is
> > >> unrecognised (something similar)
> > >> >
> > >> > PS. have attached the error file I mentioned in my previous mail (sorry 
> for
> > >> the mixup)
> > >> >> Celestine,
> > >> >>
> > >> >> On 12/20/09, celestine preetham wrote:
> > >> >> >> Thanks Antonio and Marvin for your support.
> > >> >> >> But I am facing some errors after  " sudo make all " that I have 
> > attached
> > >> >> >> .
> > >> >> >> Also I tried installing tarball for agrsm-20090418  but it returned 
> > errors
> > >> >> >> .
> > >> >> >> But when I tried installing tarball agrsm-20070804 , there were no 
> > errors
> > >> >> >> So should I consider using the older versions ?
> > >> >> >
> > >> >> If it works, why not?
> > >> >> Try it out, edit /etc/wvdial.conf and select /dev/modem as the modem
> > >> >> port, remember to make symbolic links
> > >> >> $ sudo ln -s /dev/ttyAG3 /dev/modem
> > >> >> or similar as provided in instructions, README/INSTALL and attempt a 
> > dialout.
> > >> >> >> After installing tarbal agrsm-20070804 , wvdial.conf did not identify 
> 
> > any
> > >> >> >> modem
> > >> >> >
> > >> >> Try the above, i.e, dialout with wvdial with the /dev/modem as the
> > >> >> port after making symbolic links and see if it connects?
> > >> >>
> > >> >> Let us know how it goes.
> > >> >>
> > >> >> Regards,
> > >> >>
> > >> >> Antonio
> > >> >> >> I also tried the pci=noacpi bootup but in vain
> > >> >> >>
> > >> >> >> Thanks,
> > >> >> >> Celestine Preetham
> > >> >> >>
> > >> >> >>
> > >> >> >>
> > >> >> >> ----- Original Message ----
> > >> >> >> > From: Marvin Stodolsky
> > >> >> >> > To: Antonio Olivares
> > >> >> >> > Cc: celestine preetham ; discuss@xxxxxxxxxxxxx
> > >> >> >> > Sent: Sun, 20 December, 2009 9:37:29 PM
> > >> >> >> > Subject: Re: celestine , India , 2.6.24-24generic
> > >> >> >> >
> > >> >> >> > Celestine,
> > >> >> >> >
> > >> >> >> > The dkms support was not yet established under the 2.6.24 kernels.
> > >> >> >> > So after installation of  agrsm048pci-2.1.60_20091022_i386.deb  
> > with:
> > >> >> >> > $ sudo dpkg -i agrsm*.deb
> > >> >> >> > the subsequent compile must be done manually
> > >> >> >> > The source code package will be written to 
> > /usr/src/agrsm048pci-2.1.60/
> > >> >> >> > Do
> > >> >> >> > $ cd /usr/src/agrsm048pci-2.1.60
> > >> >> >> > Look around
> > >> >> >> > $ ls
> > >> >> >> > $ sudo make clean
> > >> >> >> > $ sudo make all
> > >> >> >> > $ sudo make install
> > >> >> >> >
> > >> >> >> > Antonio, the dkms-agrsm_2.1.80 packages do NOT support this modem.
> > >> >> >> > It is necessary to use the older 2.1.60 code, for reasons obscure.
> > >> >> >> > Joshua Crawford has tested extensively.
> > >> >> >> >
> > >> >> >> > Report back as help is needed .\
> > >> >> >> >
> > >> >> >> > MarvS
> > >> >> >> > scanModem maintainer
> > >> >> >> >
> > >> >> >> >
> > >> >> >> > On Sun, Dec 20, 2009 at 8:48 AM, Antonio Olivares
> > >> >> >> > wrote:
> > >> >> >> > > Celestine,
> > >> >> >> > >
> > >> >> >> > > scanModem recommends agrsm modem driver:
> > >> >> >> > >
> > >> >> >> > > 11c1:048c and 11c1:048f
> > >> >> >> > > 2.6.29  agrsm048pci-2.1.60_20091022_i386.deb or
> > >> >> >> > > agrsm048pci-2.1.60_20091022.tar.gz
> > >> >> >> > >
> > >> >> >> > > You may get the deb file since you are under Ubuntu and if you 
> can
> > >> >> >> > > install the dkms package.
> > >> >> >> > >
> > >> >> >> > > NOTE:
> > >> >> >> > >
> > >> >> >> >
> > >> >> >>
> > >> >>
> > >> 
> > 
> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm048pci-2.1.60_20090905_i386.deb
> > >> >> >> > > exists but the 1022_i386 deb package is not there only tar.gz
> > >> >> >> > >
> > >> >> >> > >
> > >> >> >> >
> > >> >> >>
> > >> >>
> > >> 
> > 
> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm048pci-2.1.60_20091022.tar.gz
> > >> >> >> > >
> > >> >> >> > > As for dkms package there are two?
> > >> >> >> > >
> > >> >> >> > >
> > >> >> >> >
> > >> >> >>
> > >> >>
> > >> 
> > 
> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/dkms-agrsm_2.1.80-6_i386.deb
> > >> >> >> > >
> > >> >> >> >
> > >> >> >>
> > >> >>
> > >> 
> > 
> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/dkms-agrsm_2.1.80-7_i386.deb
> > >> >> >> > >
> > >> >> >> > > Which of the two should Celestine install?  The newer one is the
> > >> >> >> > > -7_i386 one, maybe this one should be installed?
> > >> >> >> > >
> > >> >> >> > > Once downloaded and transferred into a Linux partition,
> > >> >> >> > > the packages can be installed alltogether with:
> > >> >> >> > > $ sudo dpkg -i *.deb
> > >> >> >> > >
> > >> >> >> > > Here's scanModem output/recommendations:
> > >> >> >> > > ======================================
> > >> >> >> > >
> > >> >> >> > > Predictive  diagnostics for card in bus 02:02.0:
> > >> >> >> > >        Modem chipset  detected on
> > >> >> >> > > NAME="Communication controller: Agere Systems V.92 56K WinModem "
> > >> >> >> > > CLASS=0780
> > >> >> >> > > PCIDEV=11c1:048c
> > >> >> >> > > SUBSYS=11c1:044c
> > >> >> >> > > IRQ=11
> > >> >> >> > > IDENT=agrsm
> > >> >> >> > >
> > >> >> >> > >  For candidate modem in:  02:02.0
> > >> >> >> > >   0780 Communication controller: Agere Systems V.92 56K WinModem
> > >> >> >> > >      Primary device ID:  11c1:048c
> > >> >> >> > >  Support type needed or chipset:        agrsm
> > >> >> >> > >
> > >> >> >> > >
> > >> >> >> > >
> > >> >> >> > > The AgereSystems/LSI agrsm code supports compiling of a agrmodem 
> +
> > >> >> >> > > agrserial driver pair.
> > >> >> >> > > There are a few different chipsets which use this driver pair, 
> but
> > >> >> >> > > they use different code resources:
> > >> >> >> > > Chipsets                        KV*     PackageNames (most 
> current 
> > as
> > >> >> >> > > of
> > >> >> >> > November 2009)
> > >> >> >> > >
> > >> >> >> >
> > >> >> >>
> > >> >>
> > >> 
> > 
> ----------------------------------------------------------------------------------------------
> > >> >> >> > > 11c1:048c and 11c1:048f
> > >> >> >> > > 2.6.29  agrsm048pci-2.1.60_20091022_i386.deb or
> > >> >> >> > > agrsm048pci-2.1.60_20091022.tar.gz
> > >> >> >> > > 11c1:0620                       2.6.28
> > >> >> >> > > agrsm06pci_2.1.80~20090825_i386.deb  or
> > >> >> >> > > agrsm06pci_2.1.80~20090825_i386.tar.gz
> > >> >> >> > > 11c11040 (on HDA audio cards)   2.6.31  agrsm-2.6.30.tar.bz2 !!
> > >> >> >> > >   All available at:
> > >> >> >> > > http://linmodems.technion.ac.il/packages/ltmodem/11c11040/   , 
> > whereat
> > >> >> >> > > additionally
> > >> >> >> > > automation & testing                    agrsm-tools_0.0.1_all.deb 
> 
> > or
> > >> >> >> > > agrsm-tools-0.0.1-2.noarch.rpm
> > >> >> >> > > General background                      agrsm_howto.txt
> > >> >> >> > > for rpm variants of dkms-agrsm , see
> > >> >> >> >  http://linux.zsolttech.com/linmodem/agrsm/
> > >> >> >> > >
> > >> >> >> >
> > >> >> >>
> > >> >>
> > >> 
> > 
> ------------------------------------------------------------------------------------------------
> > >> >> >> > > * KV == latest kernel release with a reported success
> > >> >> >> > > !! Latest update with major credit to  Nikolay Zhuravlev
> > >> >> >> > > Report from  Bjorn Wielens:
> > >> >> >> > > Please note- trying to load the modules on a OpenSuSE 11.2 system
> > >> >> >> > > gives
> > >> >> >> > >  an error about the module_version symbol. Using:
> > >> >> >> > > # modprobe --force agrmodem
> > >> >> >> > > # modprobe --force agrserial
> > >> >> >> > > is necessary to load the drivers, and does not appear to cause 
> ill
> > >> >> >> > > effects.
> > >> >> >> > >
> > >> >> >> > >
> > >> >> >> > > All of the above packages are dkms competent.  This means that if 
> 
> > your
> > >> >> >> > > Linux distros dkms package
> > >> >> >> > > is previously installed, if provides for future updates matching
> > >> >> >> > > forthcoming kernels.
> > >> >> >> > >
> > >> >> >> > >
> > >> >> >> > > Regards,
> > >> >> >> > >
> > >> >> >> > > Antonio
> > >> >> >> > >
> > >> >> >> > > On 12/20/09, celestine preetham wrote:
> > >> >> >> > >> Help required on how to proceed for ubuntu 8.04.3 LTS
> > >> >> >> > >> Thanks in advance
> > >> >> >> > >>
> > >> >> >> > >> PS. ModemData.txt attached
> > >> >> >> > >>
> > >> >> >> > >
> > >> >> >>
> > >> >> >>
> > >> >> >>



      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/


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

  Powered by Linux