Hi Dirk,
thank you very much for this package! It provides exactly what I was looking out for a long time, DKMS and DEB, grate!
However, I have some troubles. The problem: I can whether load the
phc-intel module nor can I unload the
acpi-cpufreq module.
I tried this on a Ubuntu 11.10 installation. As Kernel I am using the modified
generic-phc from
ppa:linux-phc/testing.
uname -r Code:
3.0.0-13-generic-phc
grep -i acpi_cpufreq /boot/config-3.0.0-13-generic-phc Code:
CONFIG_X86_ACPI_CPUFREQ=m
So, I downloaded the above file and created a DEB:
make dkms_mkdeb Code:
Creating symlink ./.dkms/phc-intel/0.3.2/source ->
./.dkms//usr/src//phc-intel-0.3.2
DKMS: add Completed.
Using /etc/dkms/template-dkms-mkdeb
copying template...
modifying debian/changelog...
modifying debian/compat...
modifying debian/control...
modifying debian/copyright...
modifying debian/dirs...
modifying debian/postinst...
modifying debian/prerm...
modifying debian/README.Debian...
modifying debian/rules...
copying legacy postinstall template...
Copying source tree...
Building binary package... dpkg-source --before-build phc-intel-dkms-0.3.2
fakeroot debian/rules clean
debian/rules build
fakeroot debian/rules binary
dpkg-genchanges -b >../phc-intel-dkms_0.3.2_i386.changes
dpkg-genchanges: binary-only upload - not including any source code
dpkg-source --after-build phc-intel-dkms-0.3.2
DKMS: mkdeb Completed.
Moving built files to ./.dkms/phc-intel/0.3.2/deb...
Cleaning up temporary files...
Source package ready to install and available at
./phc-intel-dkms_0.3.2_all.deb
And installed the resulting DEB.
So far, so good. However, when trying to unload acpi-cpufreq module:
sudo rmmod acpi_cpufreq Code:
ERROR: Module acpi_cpufreq is in use
sudo rmmod -f acpi_cpufreq Code:
ERROR: Removing 'acpi_cpufreq': Device or resource busy
Sure, under this circumstances I can not load phc-intel module:
sudo modprobe -v phc-intel Code:
insmod /lib/modules/3.0.0-13-generic-phc/updates/dkms/phc-intel.ko
FATAL: Error inserting phc_intel (/lib/modules/3.0.0-13-generic-phc/updates/dkms/phc-intel.ko): Device or resource busy
Any suggestions? I have no ideas what to do now.
Best, Stefan