summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-April/014082.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-April/014082.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/014082.html')
-rw-r--r--zarb-ml/mageia-dev/2012-April/014082.html125
1 files changed, 125 insertions, 0 deletions
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 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] dkms-nvidia-current removes module when installing
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20dkms-nvidia-current%20removes%20module%20when%20installing&In-Reply-To=%3C4F8357A6.4010009%40mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="014076.html">
+ <LINK REL="Next" HREF="014092.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] dkms-nvidia-current removes module when installing</H1>
+ <B>Anssi Hannula</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20dkms-nvidia-current%20removes%20module%20when%20installing&In-Reply-To=%3C4F8357A6.4010009%40mageia.org%3E"
+ TITLE="[Mageia-dev] dkms-nvidia-current removes module when installing">anssi at mageia.org
+ </A><BR>
+ <I>Mon Apr 9 23:41:58 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="014076.html">[Mageia-dev] dkms-nvidia-current removes module when installing
+</A></li>
+ <LI>Next message: <A HREF="014092.html">[Mageia-dev] dkms-nvidia-current removes module when installing
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#14082">[ date ]</a>
+ <a href="thread.html#14082">[ thread ]</a>
+ <a href="subject.html#14082">[ subject ]</a>
+ <a href="author.html#14082">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>09.04.2012 22:14, simple w8 kirjoitti:
+&gt;<i> Hi,
+</I>
+Hi,
+
+&gt;<i> I saw that in nvidia-current.spec the nvidia module is being removed
+</I>&gt;<i> from kernel after running dkms install:
+</I>&gt;<i>
+</I>&gt;<i> %post -n dkms-%{drivername}
+</I>&gt;<i> /usr/sbin/dkms --rpm_safe_upgrade add -m %{drivername} -v
+</I>&gt;<i> %{version}-%{release} &amp;&amp;
+</I>&gt;<i> /usr/sbin/dkms --rpm_safe_upgrade build -m %{drivername} -v
+</I>&gt;<i> %{version}-%{release} &amp;&amp;
+</I>&gt;<i> /usr/sbin/dkms --rpm_safe_upgrade install -m %{drivername} -v
+</I>&gt;<i> %{version}-%{release} --force
+</I>&gt;<i>
+</I>&gt;<i> # rmmod any old driver if present and not in use (e.g. by X)
+</I>&gt;<i> rmmod nvidia &gt; /dev/null 2&gt;&amp;1 || true
+</I>&gt;<i>
+</I>&gt;<i> this makes that after running dkms install the module is removed, this
+</I>&gt;<i> loosing the purpose of isntalling this dkms package, see the output:
+</I>
+The purpose is to unload the previous version of the module in case we
+are not already in X.
+
+&gt;<i> Building module:
+</I>&gt;<i> cleaning build area....
+</I>&gt;<i> make KERNELRELEASE=3.3.1-desktop-2.mga2
+</I>&gt;<i> SYSSRC=/lib/modules/3.3.1-desktop-2.mga2/build module........
+</I>&gt;<i> cleaning build area....
+</I>&gt;<i> cleaning kernel tree (make mrproper)....
+</I>&gt;<i>
+</I>&gt;<i> DKMS: build Completed.
+</I>&gt;<i>
+</I>&gt;<i> nvidia-current.ko.xz:
+</I>&gt;<i> - Installation
+</I>&gt;<i> - Installing to /lib/modules/3.3.1-desktop-2.mga2/dkms/drivers/char/drm/
+</I>&gt;<i>
+</I>&gt;<i> depmod..........
+</I>&gt;<i> ERROR: could not insert 'nvidia_current': No such device
+</I>
+That's an interesting issue, can you provide the output of 'dmesg' after
+that?
+
+&gt;<i> Is possible that someone can remove that &quot;rmmod&quot; command from the %post section?
+</I>
+I don't understand (yet) how the issue you are seeing is related to the
+'rmmod' command.
+
+--
+Anssi Hannula
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="014076.html">[Mageia-dev] dkms-nvidia-current removes module when installing
+</A></li>
+ <LI>Next message: <A HREF="014092.html">[Mageia-dev] dkms-nvidia-current removes module when installing
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#14082">[ date ]</a>
+ <a href="thread.html#14082">[ thread ]</a>
+ <a href="subject.html#14082">[ subject ]</a>
+ <a href="author.html#14082">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>