[opensuse] Problem with X after update.
Hi. On my openSUSE 11.0 I have problems with my X after and update. At the present I run the system in failsafe mode. I have had that problem before, and have tried to do what I did at that time. I downgraded the kernel, but I'm not sure I have done it correct this time. First the facts about the running kernel: # rpm -qa | grep kernel linux-kernel-headers-2.6.25-8.1 kernel-default-2.6.25.11-0.1 kernel-source-2.6.25.11-0.1 kernel-xen-2.6.25.11-0.1 kernel-syms-2.6.25.11-0.1 kernel-debug-2.6.25.11-0.1 erikja:~ # rpm -qi kernel-default-2.6.25.11-0.1 Name : kernel-default Relocations: (not relocatable) Version : 2.6.25.11 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany Release : 0.1 Build Date: Mon Jul 21 01:16:08 2008 Install Date: Thu Aug 7 08:28:12 2008 Build Host: klempnerei.suse.de Group : System/Kernel Source RPM: kernel-default-2.6.25.11-0.1.nosrc.rpm Size : 77660391 License: GPL v2 or later Signature : DSA/SHA1, Mon Jul 21 01:27:19 2008, Key ID a84edae89c800aca Packager : http://bugs.opensuse.org URL : http://www.kernel.org/ Summary : The Standard Kernel for both Uniprocessor and Multiprocessor Systems Description : The standard kernel for both uniprocessor and multiprocessor systems. Source Timestamp: 2008-07-13 20:48:28 +0200 CVS Branch: SL110_BRANCH Distribution: openSUSE 11.0 (i586) I have the 11.0 DVD in the drive and I choosed the rightclick update for: kernel-default, kernel-source, and kernel-syms But I'm NOT sure i got the udpate from the DVD. I doubt it, but what repo should I stop to force the install from the DVD ? How can I check this?. Was the explanation clear enough or is more info needed to be able to help me ? -- Med venlig hilsen / Best regards Erik Jakobsen eja@urbakken.dk Registered Linux user #114875 - http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Erik Jakobsen wrote:
Hi.
On my openSUSE 11.0 I have problems with my X after and update.
At the present I run the system in failsafe mode.
Your x problems are most likely due to a messed-up /etc/X11/xorg.conf file and not your kernel. You can try running sax2 either from the command line as root or from Yast. Though sax2 has been quite flakey lately. What video card do you have and have you installed either the ATI or nVidia drivers? You may get a working config by reinstalling the drivers, if sax2 won't work: ATI -- http://en.opensuse.org/ATI nVidia -- http://en.opensuse.org/NVIDIA
First the facts about the running kernel:
# rpm -qa | grep kernel linux-kernel-headers-2.6.25-8.1 kernel-default-2.6.25.11-0.1 kernel-source-2.6.25.11-0.1 kernel-xen-2.6.25.11-0.1 kernel-syms-2.6.25.11-0.1 kernel-debug-2.6.25.11-0.1
You have the proper kernel installed, see: 02:02 alchemy~/linux/apps/phoronix-test-suite> rpm -qa | grep kernel linux-kernel-headers-2.6.25-8.1 kernel-docs-2.6.25.11-0.1 kernel-source-2.6.25.11-0.1 kernel-default-2.6.25.11-0.1 kernel-syms-2.6.25.11-0.1 If for some reason you ever want to "--force" any rpm packaged into your system "DON'T DO IT!" ... unless it is a forced downgrade of a specific package. In most cases, if you have mucked up a specific package by version number, by update from a foreign repository, etc., what you will want to do first is: (1) disable whatever repository caused you the problems; (2) make sure you have the "update" repository enabled and refreshed; (2) Use yast -> software management to find the files and "update" them to the latest rev. contained within the _update_ repository even it is means an actual version downgrade; If you have no luck there, then it is time to consider a --force install: (1) create a new temporary directory to hold the specific downloaded rpms you plan to --force install; (2) download the latest full packages from http://download.opensuse.org/update/11.0/rpm/ (pick your architecture); (3) make sure you have _all_ the required packages for the downgrade; then, and only then: (4) rpm -Uvh --force *.rpm. don't use the "--force" lightly, it is the quickest way to permanently screw up the package management on your box.
Was the explanation clear enough or is more info needed to be able to help me ?
I think so. I hope mine was as well ;-) -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin wrote: Hello again David. I just encountered, that I sent a reply directly to you. Sorry for that.
Your x problems are most likely due to a messed-up /etc/X11/xorg.conf file and not your kernel. You can try running sax2 either from the command line as root or from Yast. Though sax2 has been quite flakey lately.
What video card do you have and have you installed either the ATI or nVidia drivers?
You may get a working config by reinstalling the drivers, if sax2 won't work:
ATI -- http://en.opensuse.org/ATI
nVidia -- http://en.opensuse.org/NVIDIA
As said in the direct mail, sax2 didn't succeeded. I went to the NVIDIA site, and used the sh <filename> way to solve the problem. Of course I then got the correct driver installed. It is running just fine now.
You have the proper kernel installed, see:
02:02 alchemy~/linux/apps/phoronix-test-suite> rpm -qa | grep kernel linux-kernel-headers-2.6.25-8.1 kernel-docs-2.6.25.11-0.1 kernel-source-2.6.25.11-0.1 kernel-default-2.6.25.11-0.1 kernel-syms-2.6.25.11-0.1
OK.
If for some reason you ever want to "--force" any rpm packaged into your system "DON'T DO IT!" ... unless it is a forced downgrade of a specific package. In most cases, if you have mucked up a specific package by version number, by update from a foreign repository, etc., what you will want to do first is:
I VERY seldom use the --force :-)
(1) disable whatever repository caused you the problems; (2) make sure you have the "update" repository enabled and refreshed; (2) Use yast -> software management to find the files and "update" them to the latest rev. contained within the _update_ repository even it is means an actual version downgrade;
If you have no luck there, then it is time to consider a --force install:
(1) create a new temporary directory to hold the specific downloaded rpms you plan to --force install; (2) download the latest full packages from http://download.opensuse.org/update/11.0/rpm/ (pick your architecture); (3) make sure you have _all_ the required packages for the downgrade; then, and only then: (4) rpm -Uvh --force *.rpm.
don't use the "--force" lightly, it is the quickest way to permanently screw up the package management on your box.
Was the explanation clear enough or is more info needed to be able to help me ?
I think so. I hope mine was as well ;-)
Thanks again David, and yes your explanation was just fine. -- Med venlig hilsen / Best regards Erik Jakobsen eja@urbakken.dk Registered Linux user #114875 - http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Erik Jakobsen wrote:
As said in the direct mail, sax2 didn't succeeded. I went to the NVIDIA site, and used the sh <filename> way to solve the problem. Of course I then got the correct driver installed. It is running just fine now.
Erik, Glad to hear. Most times if x fails for some reason, the xorg.conf is the culprit. kernel updates, even updates of the video drivers will try and install a default xorg.conf and mess up a completely good config. I have made a habit of keeping a copy of my working xorg.conf files handy to recover from these exact situations. It is a simple as getting things set the way you want and then just "cp /etc/X11/xorg.conf /etc/X11/xorg.conf.working or whatever you like. If you want to take a look at my working config from an nvidia card, here is an example: http://www.3111skyline.com/download/linux/nvidia/xorg.conf.8600GT In most cases, you only need to worry about the "devices" section. For ATI, things are a bit more complicated. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
David C. Rankin
-
Erik Jakobsen