News

Donate

Amount


Sponsor

hetzner.de

Languages


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sk11Offline
15 Post subject: [Solved]udev,initrd&nvidia problems during kde 4 upgrade  PostPosted: Aug 02, 2009 - 04:17 PM



Joined: Apr 23, 2007

Posts: 52

Status: Offline
Largely following this guide, I first encountered a dist-upgrade error:

      Code:

Processing triggers for python-support ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.25-5.slh.1-sidux-686
cpio: ./etc/udev/rules.d/libmtp.rules: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.25-5.slh.1-sidux-686
dpkg: subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (2)


So ran dpkg --configure -a

But got further errors:

      Code:

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.25-5.slh.1-sidux-686
cpio: ./etc/udev/rules.d/libmtp.rules: Cannot stat: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.25-5.slh.1-sidux-686
dpkg: subprocess installed post-installation script returned error exit status 1



Found that libmtp.rules is a link to /etc/udev/libmtp.rules

      Code:

>ls -l /etc/udev/

-rw-r--r-- 1 root root    92 2008-03-17 23:56 hdparm.rules
-rw-r--r-- 1 root root 77683 2009-07-23 16:09 libgphoto2.rules
-rw-r--r-- 1 root root 26944 2007-10-12 13:07 libmtp6.rules
-rw-r--r-- 1 root root 34568 2008-03-06 14:22 libmtp7.rules
-rw-r--r-- 1 root root  1704 2006-08-12 18:33 libnjb.rules
-rw-r--r-- 1 root root   397 2008-08-28 02:39 links.conf
-rw-r--r-- 1 root root  1502 2007-05-15 19:44 logitechmouse.rules
-rw-r--r-- 1 root root   949 2006-11-27 14:03 pcmcia.rules
drwxr-xr-x 2 root root  4096 2009-07-23 16:20 rules.d
-rw-r--r-- 1 root root   269 2009-04-18 23:51 udev.conf


So added link from /etc/udev/libmtp.rules to point at /etc/udev/libmtp7.rules



Secondly, x didn't automatically startup at boot, had to reinstall nvidia drivers every time.

      Code:

>startx

X.Org X Server 1.6.2
Release Date: 2009-7-7
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.26-2-686 i686 Debian
Current Operating System: Linux 2.6.25-5.slh.1-sidux-686 #1 SMP PREEMPT Sat Jun 7 00:35:50 UTC 2008 i686
Build Date: 13 July 2009  09:49:54PM
xorg-server 2:1.6.2-1 (bgoglin@debian.org)
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 26 12:28:17 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "type1" (module does not exist, 0)
(EE) Failed to load module "freetype" (module does not exist, 0)
Error: API mismatch: the NVIDIA kernel module has version 173.14.18,
but this NVIDIA driver component has version 173.14.20.  Please make
sure that the kernel module and all NVIDIA driver components
have the same version.
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
(EE) NVIDIA(0):     that there is a supported NVIDIA GPU in this system, and
(EE) NVIDIA(0):     that the NVIDIA device files have been created properly.
(EE) NVIDIA(0):     Please consult the NVIDIA README for details.
(EE) NVIDIA(0):  *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.


Solved this by uninstalling sidux-binary-gfx, used smxi to dist-upgrade and reinstalled graphics driver.



After that, I've only had minor annoyances like the large memory footprint of X, plasma and krunner.


Last edited by sk11 on Aug 03, 2009 - 01:21 AM; edited 6 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
ralulOffline
Post subject:   PostPosted: Aug 02, 2009 - 10:32 PM



Joined: Jan 10, 2008

Posts: 1076

Status: Offline
With this thread title you get all the people here looking who can help you regarding kde... Sad

Where is my kde problem I wanted to help you?

And this your thread is in a wrong forum:
Upgrade Warnings is about coming broken or unusable Debian sid packages....
 
 View user's profile Send private message  
Reply with quote Back to top
sk11Offline
Post subject:   PostPosted: Aug 02, 2009 - 11:50 PM



Joined: Apr 23, 2007

Posts: 52

Status: Offline
Why would people come in to help when I've assigned a tick (solved) sign to this thread?

I posted this in upgrade warnings because that's what it is: a warning about upgrade errors and how to fix them. I only meant to post it to benefit people who get similar problems.
 
 View user's profile Send private message  
Reply with quote Back to top
ralulOffline
Post subject:   PostPosted: Aug 03, 2009 - 12:54 AM



Joined: Jan 10, 2008

Posts: 1076

Status: Offline
And your thread title should have some of these:
udev / initrd / nvidia

[edit] problem title solved Smile
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2009 The Zafenio Group
Credits