dkms-agrsm_2.1.80-5_i386.deb usage

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

 



To use the dkms-agrsm_2.1.80-5_i386.deb package,
don't run
$ sudo make module
in the code folder.

Rather run:
$ sudo dpkg -i dkms-agrsm_2.1.80-5_i386.deb
with output shown below.

If done within /usr/src/agrsm-2.1.80-4mdv2009.0, there is the reported
error, though I'm not sure why
See below.

MarvS


/usr/src/agrsm-2.1.80-4mdv2009.0$ sudo make module
make -C /lib/modules/`uname -r`/build/ SUBDIRS= modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
make[2]: *** No rule to make target `kernel/bounds.c', needed by
`kernel/bounds.s'.  Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
make: *** [module] Error 2


In contrast:
$ sudo dpkg -i dkms-agrsm_2.1.80-5_i386.deb
(Reading database ... 154066 files and directories currently installed.)
Preparing to replace dkms-agrsm 2.1.80-5 (using
dkms-agrsm_2.1.80-5_i386.deb) ...

-------- Uninstall Beginning --------
Module:  agrsm
Version: 2.1.80-4mdv2009.0
Kernel:  2.6.27-9-generic (i686)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

agrmodem.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.27-9-generic/updates/dkms/
 - Original module
   - Archived original module found in the DKMS tree
   - Moving it to: /lib/modules/2.6.27-9-generic/kernel/drivers/char/

agrserial.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.27-9-generic/updates/dkms/
 - Original module
   - Archived original module found in the DKMS tree
   - Moving it to: /lib/modules/2.6.27-9-generic/kernel/drivers/char/
depmod......

Removing original_module from DKMS tree for kernel 2.6.27-9-generic (i686)

DKMS: uninstall Completed.

------------------------------
Deleting module version: 2.1.80-4mdv2009.0
completely from the DKMS tree.
------------------------------
Done.
Unpacking replacement dkms-agrsm ...
Setting up dkms-agrsm (2.1.80-5) ...

Creating symlink /var/lib/dkms/agrsm/2.1.80-4mdv2009.0/source ->
                 /usr/src/agrsm-2.1.80-4mdv2009.0

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.27-9-generic -C
/lib/modules/2.6.27-9-generic/build
M=/var/lib/dkms/agrsm/2.1.80-4mdv2009.0/build......
cleaning build area....

DKMS: build Completed.
Running module version sanity check.

agrmodem.ko:
 - Original module
   - Found /lib/modules/2.6.27-9-generic/kernel/drivers/char/agrmodem.ko
   - Storing in /var/lib/dkms/agrsm/original_module/2.6.27-9-generic/i686/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/2.6.27-9-generic/updates/dkms/

agrserial.ko:
 - Original module
   - Found /lib/modules/2.6.27-9-generic/kernel/drivers/char/agrserial.ko
   - Storing in /var/lib/dkms/agrsm/original_module/2.6.27-9-generic/i686/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/2.6.27-9-generic/updates/dkms/

depmod....

DKMS: install Completed.

0$ ls -l  /lib/modules/2.6.27-9-generic/updates/dkms/agr*.ko
-rw-r--r-- 1 root root 1563628 2009-01-08 18:40
/lib/modules/2.6.27-9-generic/updates/dkms/agrmodem.ko
-rw-r--r-- 1 root root   26844 2009-01-08 18:40
/lib/modules/2.6.27-9-generic/updates/dkms/agrserial.ko

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

  Powered by Linux