From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-April/014076.html | 114 ++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-April/014076.html (limited to 'zarb-ml/mageia-dev/2012-April/014076.html') diff --git a/zarb-ml/mageia-dev/2012-April/014076.html b/zarb-ml/mageia-dev/2012-April/014076.html new file mode 100644 index 000000000..163b9dc17 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/014076.html @@ -0,0 +1,114 @@ + + + + [Mageia-dev] dkms-nvidia-current removes module when installing + + + + + + + + + +

[Mageia-dev] dkms-nvidia-current removes module when installing

+ simple w8 + simplew8 at gmail.com +
+ Mon Apr 9 21:14:42 CEST 2012 +

+
+ +
Hi,
+
+I saw that in nvidia-current.spec the nvidia module is being removed
+from kernel after running dkms install:
+
+%post -n dkms-%{drivername}
+/usr/sbin/dkms --rpm_safe_upgrade add -m %{drivername} -v
+%{version}-%{release} &&
+/usr/sbin/dkms --rpm_safe_upgrade build -m %{drivername} -v
+%{version}-%{release} &&
+/usr/sbin/dkms --rpm_safe_upgrade install -m %{drivername} -v
+%{version}-%{release} --force
+
+# rmmod any old driver if present and not in use (e.g. by X)
+rmmod nvidia > /dev/null 2>&1 || true
+
+this makes that after running dkms install the module is removed, this
+loosing the purpose of isntalling this dkms package, see the output:
+
+Building module:
+cleaning build area....
+make KERNELRELEASE=3.3.1-desktop-2.mga2
+SYSSRC=/lib/modules/3.3.1-desktop-2.mga2/build module........
+cleaning build area....
+cleaning kernel tree (make mrproper)....
+
+DKMS: build Completed.
+
+nvidia-current.ko.xz:
+ - Installation
+   - Installing to /lib/modules/3.3.1-desktop-2.mga2/dkms/drivers/char/drm/
+
+depmod..........
+ERROR: could not insert 'nvidia_current': No such device
+
+Is possible that someone can remove that "rmmod" command from the %post section?
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1