Re: agrsm06pci-2.1.80-20090106

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

 



On Mon, Jan 11, 2010 at 06:44:14PM -0500, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote:

> RE: > IMHO agrsm-test will fail unless the following two conditions are
> > satisfied:
> > - agrsm.conf is copied to the /etc/modprobe.d
> > - agrsm-test is run as root
> -------------
> Correct!!
>  agrsm.conf is copied to the /etc/modprobe.d/ during installation of
> the agrsm-tools.deb package. Thus there is a success in a subsequent:
> $ sudo agrsm-test

To be precise, 'argsm' is copied (same file, but a different name).
The agrsm-tools*.deb does not have agrsm.conf. I think having
argsm.conf and agrsm-test files in the
agrsm06pci-2.1.80~20100106.tar.bz2 tarball is not necessary, because
these files are already present in the agrsm-tools package.

Also, I have heard that recent Ubuntu releases complain if
the files added to /etc/modprobe.d do not end with *.conf:

"WARNING: All config files need .conf: /etc/modprobe.d/foo, it
will be ignored in a future release.


> 
> Re: > Also, are the following statements in the 1stReadme.txt file
> > still valid
> ----------
> Yes. Just rechecked. This is a failure with:
> $ sudo make
> But success with:
> $ fakeroot make
> or
> $ sudo su root
> # make
> 
> This might be specific to Ubuntu.  Haven't tried to figure it out further


I would argue that there is no reason to do 'sudo make'
in Ubuntu or elsewhere. Building the *.ko modules does not
require root privileges. One can just untar it in $HOME and run 'make'
for the current kernel or 'make KRELEASE=2.6.28.10' for another kernel:

ndz@toshi:~/SOURCES/modem/agrsm06pci-2.1.80~20100106$ make KRELEASE=2.6.28.10
make -C /lib/modules/2.6.28.10/build M=/home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106 modules
make[1]: Entering directory `/home/ndz/linux-2.6.28.10-build'
make -C /home/ndz/linux-2.6.28.10 O=/home/ndz/linux-2.6.28.10-build/. modules
  CC [M]  /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/agrsoftmodem.o
  SHIPPED /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/agrmodemlib.o
  CC [M]  /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/hda.o
  CC [M]  /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/serial26.o
  LD [M]  /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/agrmodem.o
  LD [M]  /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/agrserial.o
  Building modules, stage 2.
  MODPOST 2 modules
WARNING: could not find /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/.agrmodemlib.o.cmd for /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/agrmodemlib.o
  CC      /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/agrmodem.mod.o
  LD [M]  /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/agrmodem.ko
  CC      /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/agrserial.mod.o
  LD [M]  /home/ndz/SOURCES/modem/agrsm06pci-2.1.80~20100106/agrserial.ko
make[1]: Leaving directory `/home/ndz/linux-2.6.28.10-build'

Also, notice how I do not get all the warnings listed in the compile
log at the end of the 1stReadme.txt file. I think 1stReadme.txt may need
to be updated.

-- 
Nick Zhuravlev
www.auriga.com

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

  Powered by Linux