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/014082.html | 125 ++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-April/014082.html (limited to 'zarb-ml/mageia-dev/2012-April/014082.html') diff --git a/zarb-ml/mageia-dev/2012-April/014082.html b/zarb-ml/mageia-dev/2012-April/014082.html new file mode 100644 index 000000000..f155afa57 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/014082.html @@ -0,0 +1,125 @@ + + + + [Mageia-dev] dkms-nvidia-current removes module when installing + + + + + + + + + +

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

+ Anssi Hannula + anssi at mageia.org +
+ Mon Apr 9 23:41:58 CEST 2012 +

+
+ +
09.04.2012 22:14, simple w8 kirjoitti:
+> Hi,
+
+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:
+
+The purpose is to unload the previous version of the module in case we
+are not already in X.
+
+> 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
+
+That's an interesting issue, can you provide the output of 'dmesg' after
+that?
+
+> Is possible that someone can remove that "rmmod" command from the %post section?
+
+I don't understand (yet) how the issue you are seeing is related to the
+'rmmod' command.
+
+-- 
+Anssi Hannula
+
+ + + + + + + + + + + + + + + + + + + + + +
+

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