[Bug 298273] Re: Add DKMS support to sl-modem

Mario Limonciello superm1 at ubuntu.com
Tue Nov 18 17:58:55 GMT 2008


This package is not pulling in the right headers from it's depends.
You'll need something that pulls in linux-headers-generic | linux-
headers I believe.

Have you tested this DKMS build on a standard desktop install?  I've
only been testing it in a chroot, so I may be a corner case:

(jaunty-i386)root at serverman:/home/supermario/ubuntu/incoming# apt-get install sl-modem-source
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libfile-basedir-perl libfile-desktopentry-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  busybox-initramfs debhelper dkms dmsetup html2text initramfs-tools kernel-package klibc-utils libdevmapper1.02.1 libklibc libmail-sendmail-perl libsys-hostname-long-perl
  libvolume-id0 lilo linux-firmware linux-headers-2.6.27-1-386 linux-image linux-image-2.6.27-7-generic linux-image-generic linux-ports-headers-2.6.27-1 mbr module-assistant
  module-init-tools po-debconf udev uuid-runtime
Suggested packages:
  dh-make linux-source kernel-source libdb3-dev libncurses-dev docbook-utils xmlto linux-initramfs-tool lilo-doc fdutils linux-doc-2.6.27 linux-source-2.6.27 libmail-box-perl
The following NEW packages will be installed:
  busybox-initramfs debhelper dkms dmsetup html2text initramfs-tools kernel-package klibc-utils libdevmapper1.02.1 libklibc libmail-sendmail-perl libsys-hostname-long-perl
  libvolume-id0 lilo linux-firmware linux-headers-2.6.27-1-386 linux-image linux-image-2.6.27-7-generic linux-image-generic linux-ports-headers-2.6.27-1 mbr module-assistant
  module-init-tools po-debconf sl-modem-source udev uuid-runtime
0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded.
Need to get 36.7MB/37.2MB of archives.
After this operation, 166MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  sl-modem-source
Install these packages without verification [y/N]? y
Get:1 http://archive.ubuntu.com jaunty/main libklibc 1.5.12-2ubuntu1 [45.8kB]
Get:2 http://archive.ubuntu.com jaunty/main klibc-utils 1.5.12-2ubuntu1 [140kB]
Get:3 http://archive.ubuntu.com jaunty/main busybox-initramfs 1:1.10.2-2ubuntu1 [504kB]
Get:4 http://archive.ubuntu.com jaunty/main module-init-tools 3.3-pre11-4ubuntu16 [74.5kB]
Get:5 http://archive.ubuntu.com jaunty/main libvolume-id0 124-10 [87.7kB]
Get:6 http://archive.ubuntu.com jaunty/main uuid-runtime 1.41.3-1ubuntu1 [48.1kB]
Get:7 http://archive.ubuntu.com jaunty/main udev 124-10 [264kB]
Get:8 http://archive.ubuntu.com jaunty/main initramfs-tools 0.92bubuntu15 [79.7kB]
Get:9 http://archive.ubuntu.com jaunty/main linux-image-2.6.27-7-generic 2.6.27-7.14 [23.4MB]
Get:10 http://archive.ubuntu.com jaunty/main libdevmapper1.02.1 2:1.02.27-4ubuntu1 [55.1kB]
Get:11 http://archive.ubuntu.com jaunty/main dmsetup 2:1.02.27-4ubuntu1 [39.6kB]
Get:12 http://archive.ubuntu.com jaunty/main html2text 1.3.2a-5 [91.9kB]
Get:13 http://archive.ubuntu.com jaunty/main po-debconf 1.0.15ubuntu1 [237kB]
Get:14 http://archive.ubuntu.com jaunty/main debhelper 7.0.17ubuntu1 [555kB]
Get:15 http://archive.ubuntu.com jaunty/main linux-firmware 1.2 [3365kB]
Get:16 http://archive.ubuntu.com jaunty/main linux-image-generic 2.6.27.7.11 [2802B]
Get:17 http://archive.ubuntu.com jaunty/main linux-image 2.6.27.7.11 [2792B]
Get:18 http://archive.ubuntu.com jaunty/main linux-ports-headers-2.6.27-1 2.6.27-1.1 [5962kB]
Get:19 http://archive.ubuntu.com jaunty/main linux-headers-2.6.27-1-386 2.6.27-1.1 [597kB]
Get:20 http://archive.ubuntu.com jaunty/main dkms 2.0.20.4-0ubuntu2 [55.5kB]
Get:21 http://archive.ubuntu.com jaunty/main kernel-package 11.012 [537kB]
Get:22 http://archive.ubuntu.com jaunty/main libsys-hostname-long-perl 1.4-2 [11.4kB]
Get:23 http://archive.ubuntu.com jaunty/main libmail-sendmail-perl 0.79.16-1 [26.5kB]
Get:24 http://archive.ubuntu.com jaunty/main mbr 1.1.9-3ubuntu1 [23.4kB]
Get:25 http://archive.ubuntu.com jaunty/main lilo 1:22.8-6.4ubuntu1 [378kB]
Get:26 http://archive.ubuntu.com jaunty/universe module-assistant 0.10.11ubuntu1 [100kB]
Fetched 36.7MB in 4s (9027kB/s)     
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package libklibc.
(Reading database ... 14753 files and directories currently installed.)
Unpacking libklibc (from .../libklibc_1.5.12-2ubuntu1_i386.deb) ...
Selecting previously deselected package klibc-utils.
Unpacking klibc-utils (from .../klibc-utils_1.5.12-2ubuntu1_i386.deb) ...
Selecting previously deselected package busybox-initramfs.
Unpacking busybox-initramfs (from .../busybox-initramfs_1%3a1.10.2-2ubuntu1_i386.deb) ...
Selecting previously deselected package module-init-tools.
Unpacking module-init-tools (from .../module-init-tools_3.3-pre11-4ubuntu16_i386.deb) ...
Selecting previously deselected package libvolume-id0.
Unpacking libvolume-id0 (from .../libvolume-id0_124-10_i386.deb) ...
Selecting previously deselected package uuid-runtime.
Unpacking uuid-runtime (from .../uuid-runtime_1.41.3-1ubuntu1_i386.deb) ...
Selecting previously deselected package udev.
Unpacking udev (from .../archives/udev_124-10_i386.deb) ...
Selecting previously deselected package initramfs-tools.
Unpacking initramfs-tools (from .../initramfs-tools_0.92bubuntu15_all.deb) ...
/dev/sda5: error opening volume
Selecting previously deselected package linux-image-2.6.27-7-generic.
Unpacking linux-image-2.6.27-7-generic (from .../linux-image-2.6.27-7-generic_2.6.27-7.14_i386.deb) ...
Done.
Selecting previously deselected package libdevmapper1.02.1.
Unpacking libdevmapper1.02.1 (from .../libdevmapper1.02.1_2%3a1.02.27-4ubuntu1_i386.deb) ...
Selecting previously deselected package dmsetup.
Unpacking dmsetup (from .../dmsetup_2%3a1.02.27-4ubuntu1_i386.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-5_i386.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.15ubuntu1_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_7.0.17ubuntu1_all.deb) ...
Selecting previously deselected package linux-firmware.
Unpacking linux-firmware (from .../linux-firmware_1.2_all.deb) ...
Selecting previously deselected package linux-image-generic.
Unpacking linux-image-generic (from .../linux-image-generic_2.6.27.7.11_i386.deb) ...
Selecting previously deselected package linux-image.
Unpacking linux-image (from .../linux-image_2.6.27.7.11_i386.deb) ...
Selecting previously deselected package linux-ports-headers-2.6.27-1.
Unpacking linux-ports-headers-2.6.27-1 (from .../linux-ports-headers-2.6.27-1_2.6.27-1.1_all.deb) ...
Selecting previously deselected package linux-headers-2.6.27-1-386.
Unpacking linux-headers-2.6.27-1-386 (from .../linux-headers-2.6.27-1-386_2.6.27-1.1_i386.deb) ...
Selecting previously deselected package dkms.
Unpacking dkms (from .../dkms_2.0.20.4-0ubuntu2_all.deb) ...
Selecting previously deselected package kernel-package.
Unpacking kernel-package (from .../kernel-package_11.012_all.deb) ...
Selecting previously deselected package libsys-hostname-long-perl.
Unpacking libsys-hostname-long-perl (from .../libsys-hostname-long-perl_1.4-2_all.deb) ...
Selecting previously deselected package libmail-sendmail-perl.
Unpacking libmail-sendmail-perl (from .../libmail-sendmail-perl_0.79.16-1_all.deb) ...
Selecting previously deselected package mbr.
Unpacking mbr (from .../mbr_1.1.9-3ubuntu1_i386.deb) ...
Selecting previously deselected package lilo.
Unpacking lilo (from .../lilo_1%3a22.8-6.4ubuntu1_i386.deb) ...
Selecting previously deselected package module-assistant.
Unpacking module-assistant (from .../module-assistant_0.10.11ubuntu1_all.deb) ...
Selecting previously deselected package sl-modem-source.
Unpacking sl-modem-source (from .../sl-modem-source_2.9.11~20080817-1ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up libklibc (1.5.12-2ubuntu1) ...
Setting up klibc-utils (1.5.12-2ubuntu1) ...
Setting up busybox-initramfs (1:1.10.2-2ubuntu1) ...
Setting up module-init-tools (3.3-pre11-4ubuntu16) ...

Setting up libvolume-id0 (124-10) ...
Setting up uuid-runtime (1.41.3-1ubuntu1) ...

Setting up libdevmapper1.02.1 (2:1.02.27-4ubuntu1) ...

Setting up dmsetup (2:1.02.27-4ubuntu1) ...
update-initramfs: deferring update (trigger activated)

Setting up html2text (1.3.2a-5) ...

Setting up po-debconf (1.0.15ubuntu1) ...

Setting up debhelper (7.0.17ubuntu1) ...
Setting up linux-firmware (1.2) ...
Setting up linux-ports-headers-2.6.27-1 (2.6.27-1.1) ...
Setting up linux-headers-2.6.27-1-386 (2.6.27-1.1) ...
Examining /etc/kernel/header_postinst.d.

Setting up kernel-package (11.012) ...
Setting up libsys-hostname-long-perl (1.4-2) ...
Setting up libmail-sendmail-perl (0.79.16-1) ...
Setting up mbr (1.1.9-3ubuntu1) ...
Setting up lilo (1:22.8-6.4ubuntu1) ...

Setting up module-assistant (0.10.11ubuntu1) ...
Setting up sl-modem-source (2.9.11~20080817-1ubuntu1) ...
Adding Module to DKMS build system
Doing initial module build

Error! Your kernel source for kernel 2.6.24-20-generic cannot be found at
/lib/modules/2.6.24-20-generic/build or /lib/modules/2.6.24-20-generic/source.
Installing initial module

Error! The directory /lib/modules/2.6.24-20-generic doesn't exist.
You cannot install a module onto a non-existant kernel.
Done.

Setting up initramfs-tools (0.92bubuntu15) ...
update-initramfs: deferring update (trigger activated)

Setting up udev (124-10) ...
/etc/iftab does not exist to convert
 Removing any system startup links for /etc/init.d/finish ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: /etc/init.d/udev missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
update-rc.d: warning: /etc/init.d/udev-finish missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>

Setting up linux-image-2.6.27-7-generic (2.6.27-7.14) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.27-7-generic
Examining /etc/kernel/postinst.d.

Setting up linux-image-generic (2.6.27.7.11) ...
Setting up linux-image (2.6.27.7.11) ...
Setting up dkms (2.0.20.4-0ubuntu2) ...
 * Running DKMS auto installation service for kernel 2.6.24-20-generic                                                                                                            *  sl-modem (2.9.11~20080817)...                                                                                                                                         [fail] 

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.27-7-generic

-- 
Add DKMS support to sl-modem
https://bugs.launchpad.net/bugs/298273
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list