dkms install problems

Matt_Domsch at Dell.com Matt_Domsch at Dell.com
Fri Aug 24 21:23:21 CDT 2007


please post the rpm -qp --scripts madwifi-0.9.4-* dkms-madwifi-0.9.4-*

I'm not sure what those scripts are doing when they invoke dkms remove.

Thanks,
Matt

--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
-----Original Message-----
From: Zé [mailto:mmodem00 at gmail.com] 
Sent: Friday, August 24, 2007 8:27 PM
To: Domsch, Matt
Cc: dkms-devel-Lists
Subject: dkms install problems

I have been building madwifi svn releases and in last dkms-madwifi install i saw some weird outputs.

As we can see im installing dkms-madwifi-0.9.4-0.svn2669, it was installed dkms-madwifi-0.9.4-0.svn2659, but all madwifi kernel modules were removed during the install when that shouldnt happened, but check the output:


[root at asus x86_64]# urpmi madwifi-0.9.4-0.svn2669.1mde2007.1.x86_64.rpm
dkms-madwifi-0.9.4-0.svn2669.1mde2007.1.x86_64.rpm

installing madwifi-0.9.4-0.svn2669.1mde2007.1.x86_64.rpm
dkms-madwifi-0.9.4-0.svn2669.1mde2007.1.x86_64.rpm
preparing...                    
############################################################
      1/2: dkms-madwifi          
############################################################

Creating symlink /var/lib/dkms/madwifi/0.9.4-0.svn2669.1mde2007.1/source ->
                 /usr/src/madwifi-0.9.4-0.svn2669.1mde2007.1

DKMS: add Completed.

Preparing kernel 2.6.22-6mde for module build:
(This is not compiling a kernel, just preparing kernel symbols) Storing current .config to be restored when complete Running Generic preparation routine make mrproper.......
using /proc/config.gz
make oldconfig.......
make prepare.......

Building module:
cleaning build area....
make KERNELRELEASE=2.6.22-6mde modules
KERNELPATH=/lib/modules/2.6.22-6mde/build TARGET=x86_64-elf modules.......................
cleaning build area....
cleaning kernel tree (make mrproper).....

DKMS: build Completed.
Running module version sanity check.

Error! Module version 0.9.4 for ath_pci.ko.gz is not newer than what is already found in kernel 2.6.22-6mde (0.9.4).
You may override by specifying --force.

-------- Uninstall Beginning --------
Module:  madwifi
Version: 0.9.4-0.svn2659.1mde2007.1
Kernel:  2.6.22-2mdv (x86_64)
-------------------------------------

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

ath_pci.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath_hal.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath_rate_amrr.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath_rate_onoe.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath_rate_sample.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_acl.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_ccmp.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_scan_ap.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_scan_sta.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_tkip.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_wep.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_xauth.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath_rate_minstrel.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-2mdv/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

DKMS: uninstall Completed.

-------- Uninstall Beginning --------
Module:  madwifi
Version: 0.9.4-0.svn2659.1mde2007.1
Kernel:  2.6.22-3mde (x86_64)
-------------------------------------

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

ath_pci.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath_hal.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath_rate_amrr.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath_rate_onoe.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath_rate_sample.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_acl.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_ccmp.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_scan_ap.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_scan_sta.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_tkip.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_wep.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

wlan_xauth.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

ath_rate_minstrel.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-3mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

DKMS: uninstall Completed.

-------- Uninstall Beginning --------
Module:  madwifi
Version: 0.9.4-0.svn2659.1mde2007.1
Kernel:  2.6.22-6mde (x86_64)
-------------------------------------

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

ath_pci.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


ath_hal.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


ath_rate_amrr.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


ath_rate_onoe.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


ath_rate_sample.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


wlan.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


wlan_acl.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


wlan_ccmp.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


wlan_scan_ap.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


wlan_scan_sta.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


wlan_tkip.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


wlan_wep.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


wlan_xauth.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


ath_rate_minstrel.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.22-6mde/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


DKMS: uninstall Completed.

------------------------------
Deleting module version: 0.9.4-0.svn2659.1mde2007.1 completely from the DKMS tree.
------------------------------
Done.


If i was installing an updated dkms-madwifi package why all madwifi modules were remvoed form kernel tree?

--
Zé
Linux user #378762



More information about the DKMS-devel mailing list