Re: [SLE] XFree86-4.3.0 and Suse 8.1 request for assistance
Hello SuSE folks; Same thread, different problem.Have completely lost X Downloaded a dist-upgrade with apt because I wanted to update XFree86. I was already running SuSE 8.1 and KDE 3.1 through previous upgrades. First I got the latest sources list, then did an apt-get update, then the apt-get dist-upgrade. All of the rpm's installed,(I think) as there were no error messages. Did a SuSEconfig and all seemed well. Shut down for the night. Next day I booted up and the machine would not initiate runlevel 5. This is error message: "kdm/opt/kde3/bin/kdm error while loading shared libraries: libX11.so.6 cannot open shared object file: No such file or directory" Did an rpm -q XFree86. Was told that XFree86 is not installed. Checked, yes, is in apt-achives with all of the other packages. Thinking it might not have been installed I tried an apt-get install. Many pages of "depends" flew by on the screen. Tried a - force and a -nodeps. Didn't work. Then tried a apt-get dist-upgrade and was advised I had to download another 30 megabutes?? That shouldn't be. I probably did 3 apt-get -d dist-upgrade's to make sure everything was downloaded before I let it do it's thing. And,of course I can't do another download because I can't get on line with ppp!! So here I am, on my wife's old Windows machine asking for help and guidance. Anyone? Please?? Bob S.
On Sunday 09 March 2003 5:49 pm, R. Stia wrote:
Did an rpm -q XFree86. Was told that XFree86 is not installed. Checked, yes, is in apt-achives with all of the other packages. Thinking it might not have been installed I tried an apt-get install. Many pages of "depends" flew by on the screen. Tried a - force and a -nodeps. Didn't work. Then tried a apt-get dist-upgrade and was advised I had to download another 30 megabutes?? That shouldn't be. I probably did 3 apt-get -d dist-upgrade's to make sure everything was downloaded before I let it do it's thing. And,of course I can't do another download because I can't get on line with ppp!!
So here I am, on my wife's old Windows machine asking for help and guidance. Anyone? Please??
Bob S.
I am afraid I cannot offer you much help in getting the new XFree to working. I just went through what you are and I ended up restoring the old X system stuff. Mine would only boot into Level 3 where I was able to run yast and reinstall the old XF86 stuff. First I went back into apt sources.list and removed the Xfree86 entry so I could later use apt without screwing up my system any further. Then I started Yast in level three and used the software installation selection and reinstalled ALL of xf86 and KDE. Then I reinstalled the KDE upgrade. and got things back to normal. I am now going to wait for some other poor fool to figure out how to get it all running right before I try again. Hopefully someone will come along and tell us how to upgrade XFree86 without messing up our system any further. If you need any more detailed instructions on how I recovered, let me know. Richard
On Sunday 09 March 2003 02:41 pm, Richard wrote: ----------snip----------
If you need any more detailed instructions on how I recovered, let me know. Richard
It would be great if you could post a short how to to the list. I just reverted to 4.2.0 yesterday, took all day as I think I made a mistake early on (so my howto would not be the prefered method). But after a full day re-installing, getting kde3.1 functional again, re-installing open office, and re-building my kernel I once again can play tux racer on my ati radeon 7500. life is good -- dh Don't shop at GoogleGear.com!
Richard wrote:
On Sunday 09 March 2003 5:49 pm, R. Stia wrote:
Did an rpm -q XFree86. Was told that XFree86 is not installed. Checked, yes, is in apt-achives with all of the other packages. Thinking it might not have been installed I tried an apt-get install. Many pages of "depends" flew by on the screen. Tried a - force and a -nodeps. Didn't work. Then tried a apt-get dist-upgrade and was advised I had to download another 30 megabutes?? That shouldn't be. I probably did 3 apt-get -d dist-upgrade's to make sure everything was downloaded before I let it do it's thing. And,of course I can't do another download because I can't get on line with ppp!!
So here I am, on my wife's old Windows machine asking for help and guidance. Anyone? Please??
Bob S.
I am afraid I cannot offer you much help in getting the new XFree to working. I just went through what you are and I ended up restoring the old X system stuff.
Oh Noooo.... I hate it when I hear things like that. I guess I am not alone in this problem.
Mine would only boot into Level 3
Me too
where I was able to run yast and reinstall the old XF86 stuff.
Hmmmm. I hate to have to do that. And, how did you do that? from the original 8.1 discs? If so, I don't have them. My 8.1 upgrade is from 8.0 via apt-get
First I went back into apt sources.list and removed the Xfree86 entry so I could later use apt without screwing up my system any further. Then I started Yast in level three and used the software installation selection and reinstalled ALL of xf86 and KDE. Then I reinstalled the KDE upgrade. and got things back to normal.
I am now going to wait for some other poor fool to figure out how to get it all running right before I try again.
Hopefully someone will come along and tell us how to upgrade XFree86 without messing up our system any further.
If you need any more detailed instructions on how I recovered, let me know. Richard
Yes please! I hate to ask you to do all that work but I'm sure others on the list may need that help also. What I don't understand is that there must be others who have successfully done the upgrade. Bob S.
On Sunday 09 March 2003 5:54 pm, David Herman wrote:
I just reverted to 4.2.0 yesterday, took all day as I think I made a mistake early on (so my howto would not be the prefered method).
But after a full day re-installing, getting kde3.1 functional again, re-installing open office, and re-building my kernel I once again can play tux racer on my ati radeon 7500.
life is good
Here's a copy of Currie Sylvanus' message saying how he did it. Maybe one of
you brave souls will try it and let us know how well it works. I am in the
process of writing up my little howto for those of us who are trying to
extricate that nasty snake from our buttocks! Will post it here in a bit.
Sorry for the delay, I had to work today.
Curries' message:
I have successfully upgraded to Xfree86-4.3 over the weekend.
First I installed apt4rpm as I only have a dial-up connection and apt will
restart broken downloads.
Then I used the latest "sources" file and commented out the "base" entry
I then ran:
* "apt-get update"
* "apt-get -f install"
to make sure everything was hunky-dory.
Then:
* "SuSEconfig"
After this, "apt-get -s Xfree86" suggested that a lot of packages would be
removed
So I downloaded all (except DRI) the rpms from
ftp.suse.com/pub/suse/i386/supplementary/X/Xfree86/Xfree86-4.3/suse81/
On Wednesday 12 March 2003 11:44 pm, R. Stia wrote:
Richard???
Were you ghoing to give us a step-by-step recovery??
Bob S.
Am working on it. I have a second machine with the same problem and am doing a fairly detailed howto. If you want just an outline, I can do that fairly quickly. Since this thread was started by a newbie I thought a fairly detailed thing was called for . Am I right? Richard
Richard wrote:
On Sunday 09 March 2003 5:49 pm, R. Stia wrote:
Did an rpm -q XFree86. Was told that XFree86 is not installed. Checked, yes, is in apt-achives with all of the other packages. Thinking it might not have been installed I tried an apt-get install. Many pages of "depends" flew by on the screen. Tried a - force and a -nodeps. Didn't work. Then tried a apt-get dist-upgrade and was advised I had to download another 30 megabutes?? That shouldn't be. I probably did 3 apt-get -d dist-upgrade's to make sure everything was downloaded before I let it do it's thing. And,of course I can't do another download because I can't get on line with ppp!!
So here I am, on my wife's old Windows machine asking for help and guidance. Anyone? Please??
Bob S.
I am afraid I cannot offer you much help in getting the new XFree to working. I just went through what you are and I ended up restoring the old X system stuff.
Mine would only boot into Level 3 where I was able to run yast and reinstall the old XF86 stuff. First I went back into apt sources.list and removed the Xfree86 entry so I could later use apt without screwing up my system any further. Then I started Yast in level three and used the software installation selection and reinstalled ALL of xf86 and KDE. Then I reinstalled the KDE upgrade. and got things back to normal.
I am now going to wait for some other poor fool to figure out how to get it all running right before I try again.
Hopefully someone will come along and tell us how to upgrade XFree86 without messing up our system any further.
If you need any more detailed instructions on how I recovered, let me know. Richard
Richard??? Were you ghoing to give us a step-by-step recovery?? Bob S.
On Monday 10 March 2003 5:08 am, R. Stia wrote:
Yes please! I hate to ask you to do all that work but I'm sure others on the list may need that help also. What I don't understand is that there must be others who have successfully done the upgrade.
Bob, Here's a very short version of how I recovered from the upgrade to XFree86 4.3. It may be a bit jumbled as I am doing the summary from memory. I think you can see the major points. My problems with the Xfree86 4.3 upgrade was brought about by using Webmin to upgrade my system. It used apt-get –dist upgrade which eventually hosed the X system so bad I couldnt go past Runlevel 3. sax2 simply wouldnt work Recovery was done entiely from the command line using the vi editor to modify files and yast to uninstall/install xfree86. My troubles began when I changed the /etc/atp/sources.list to include xfree86 in place of sax2. 1.Recovery begins with deleting that xfree86 entry using the vi editor. 2.Next X Windows , and in my case, KDE are reinstalled from the distro Cds using yast.which is invoked from the command line. I also recommend you install midnite commander so you can navigate the system and get a good idea of what you have. 3.You should also insure that Yast2 is completely installed. 4.At this point you may have to use sax or yast to set up your video card. 5.Then a reboot cannot hurt much. So reboot and see if it all works. 6.If you can only boot to the command line, ie., level 2 , 3, then you must modify your /etc/inittab file to allow you to boot to level 5. But first try a startx from the command line to see if your xfree86 will work. 7.Assuming it all falls into place you are now ready to upgrade KDE to KDE3.1. 8.After upgradeing to KDE3.1, you will want to check out you File Manager to see if it will work. If it fires up and dies rapidly, you may try deleting the /tmp/kde,??or simply delete all that is in that directory. Restarting things will re-create the correct files in that directory. 9.This is a very abbreviated version of how to recover from the upgrading of xfree86 to ver 4.2. I am going fishing for the next couple of days so I will expand the above and try to have it on this weekend. Hope this helps a bit. Richard
hi , i used the following steps..... and i did not have any problems at all.... :-) ########################################################################## 1) Installation --------------- To install XFree86 4.3.0 download the appropriate files, i.e. all the files (not including the sub directory DRI) located in * suse81 (SuSE Linux 8.1) and type the following commands to update XFree86 to release 4.3.0 in your download directory: # rpm --nodeps --force -Uhv *.rpm # SuSEconfig Just ignore the warnings (if there are any). For configuration of XFree86 4.3.0 use the configuration XFree86 tools 'xf86config', 'xf86cfg' or the SuSE XFree86 4 configuration tool SaX2. SaX2 is located in * suse81/sax2 (SuSE Linux 8.1) Install SaX2 with rpm -Uhv sax*.i386.rpm Make sure that the following packages are installed. They are required by SaX2! - perl (series a) - perl_tk (series perl) - perl_sto (series perl) - perl_gtx (series perl) - xbanner (series xap) Just type the following command if you want to use SaX2 for configuration. # sax2 If the mouse does not work please run SaX2 with the following options: # sax2 -n /dev/<mousedevice> -t <protocol> 2) Nvidia OpenGL Support ------------------------ For hardware accelerated OpenGL support please download and install the SuSE 8.1 RPMs located on the website http://www.nvidia.com/ * SuSE Linux 8.1 # rpm -Uhv NVIDIA_GLX-1.0-*.suse81.i386.rpm --nodeps --force (ignore all occuring error messages!) # rpm -Uhv NVIDIA_kernel-1.0-*.suse81.i386.rpm --force # switch2nvidia_glx The kernel RPM also contains the 'sources', so you can compile the kernel module 'NVdriver' yourself if you want. Your kernel sources, i.e. package kernel-source must be installed for this. # cd /usr/src/linux; make cloneconfig; make dep # cd /usr/src/kernel-modules/nv_glx # make -f Makefile.module # make -f Makefile.module install # depmod -a You must configure XFree86 4.3.0 with sax2 -m 0=nvidia (0 is a digit, not a letter!) and enable 3D support, i.e. there must be a line in your '/etc/X11/XF86Config' in the "Modules" section which looks like this: ### Load "glx" ### Otherwise you will get the following error when starting an OpenGL application: Xlib: extension "GLX" missing on display ":0.0" 3) DRI (3D accelerated OpenGL support) -------------------------------------- To be able to use DRI you must compile some kernel modules. Your kernel source package kernel-source must be installed and configured for this. The configuration can be done with the commands: SuSE 8.1: # cp /boot/vmlinuz.config /usr/src/linux/.config # cp /boot/vmlinuz.version.h /usr/src/linux/include/linux/version.h # cd /usr/src/linux; make cloneconfig; make dep Then you'll have to compile the DRM kernel modules. The sources can be found in * suse81/DRI (SuSE Linux 8.1) Install the sources with # rpm -Uhv km_drm-*.i386.rpm Compile and install the kernel modules with # cd /usr/src/kernel-modules/drm # make -f Makefile.module # install -m 644 -o root -g root gamma.o i810.o i830.o mga.o r128.o radeon.o tdfx.o /lib/modules/`uname -r`/kernel/drivers/char/drm # depmod -a At last you must install the XFree86-GLX package located in * suse81/DRI (SuSE Linux 8.1) with # rpm -Uhv XFree86-GLX-*.i386.rpm # /usr/X11R6/bin/switch2xf86_glx and add the following entries to your '/etc/X11/XF86Config' in the "Modules" Section ### Load "glx" Load "dri" ### Please notice, that most drivers only support 16bpp ("DefaultDepth 16" in "Screen" Section of '/etc/X11/XF86Config')! DRI Support is currently available for the following boards: - Matrox G200/G400/G450/G550 - ATI Rage 128(Pro)/Radeon - Intel i810/i815/i830/i845 - 3Dfx Banshee - 3Dfx Voodoo 3/4/5 You'll need the following entry in your "Device" Section of your /etc/X11/XF86Config for i810/i815/i830/i845 chipsets, otherwise there won't be enough memory available to use 3D. # VideoRam 16384 # ################################ IMPORTANT #################################### Either add all users, who work on this machine locally, to the group 'video' or change the DRI section of your /etc/X11/XF86Config to Section "DRI" Group "video" Mode 0666 EndSection Otherwise users can't access 3D hardware and 'Mesa Software Rendering' (slow) would be the fallback. Notice that these mentioned changes represent a security issue. ################################ IMPORTANT #################################### 4) Known Problems ----------------- - Some people complain that the keys "<", ">" and "|" no longer work after the update. Please verify that "pc105" (and not "pc104") is specified in the config file "/etc/X11/XF86Config" if you own a pc105 keyboard (german keyboards and maybe also others). - Fonts look ugly. Use 'fonts-config -f' to recreate font cache files for Xft/Xft2. See also manual page for fonts-config. fonts-config is included in new xf86tools package. - fonts-config resp. fc-cache hangs. Please use the following workaround for now to fix it: rm -f /usr/X11R6/lib/X11/fonts/misc/fonts.cache-1.gz rm -f /usr/X11R6/lib/X11/fonts/100dpi/fonts.cache-1.gz rm -f /usr/X11R6/lib/X11/fonts/75dpi/fonts.cache-1.gz rm -f /usr/X11R6/lib/X11/fonts/cyrillic/fonts.cache-1.gz rm -f /usr/X11R6/lib/X11/fonts/Type1/fonts.cache-1.gz ###############################################################################################################
Richard wrote:
On Monday 10 March 2003 5:08 am, R. Stia wrote:
Yes please! I hate to ask you to do all that work but I'm sure others on the list may need that help also. What I don't understand is that there must be others who have successfully done the upgrade.
Bob, Here's a very short version of how I recovered from the upgrade to XFree86 4.3. It may be a bit jumbled as I am doing the summary from memory. I think you can see the major points.
My problems with the Xfree86 4.3 upgrade was brought about by using Webmin to upgrade my system. It used apt-get –dist upgrade which eventually hosed the X system so bad I couldnt go past Runlevel 3. sax2 simply wouldnt work
Recovery was done entiely from the command line using the vi editor to modify files and yast to uninstall/install xfree86.
My troubles began when I changed the /etc/atp/sources.list to include xfree86 in place of sax2.
1.Recovery begins with deleting that xfree86 entry using the vi editor. 2.Next X Windows , and in my case, KDE are reinstalled from the distro Cds using yast.which is invoked from the command line. I also recommend you install midnite commander so you can navigate the system and get a good idea of what you have.
Richard, OK. Have MC and I can edit directly from there. Problem is that YaST2 is not working properly. It will not access my CD's and no matter what I put in the "change installation" Yast ignores it.
3.You should also insure that Yast2 is completely installed.
Right !!!! Guess not!
4.At this point you may have to use sax or yast to set up your video card. 5.Then a reboot cannot hurt much. So reboot and see if it all works. 6.If you can only boot to the command line, ie., level 2 , 3, then you must modify your /etc/inittab file to allow you to boot to level 5. But first try a startx from the command line to see if your xfree86 will work. 7.Assuming it all falls into place you are now ready to upgrade KDE to KDE3.1. 8.After upgradeing to KDE3.1, you will want to check out you File Manager to see if it will work. If it fires up and dies rapidly, you may try deleting the /tmp/kde,??or simply delete all that is in that directory. Restarting things will re-create the correct files in that directory. 9.This is a very abbreviated version of how to recover from the upgrading of xfree86 to ver 4.2.
I am going fishing for the next couple of days so I will expand the above and try to have it on this weekend.
Hope you catch a lot of fish. Have fun! Richard Bos sent me an e-mail re: the upgrade. Going to see if I can make that work. May have to download the files from another computer and get them into this one though. I guess we will see. Bob S.
On Friday 14 March 2003 1:50 am, R. Stia wrote: .
I am going fishing for the next couple of days so I will expand the above and try to have it on this weekend.
Hope you catch a lot of fish. Have fun!
We had fun but no fish! I took my laptop on which I had downloaded all the SuSE Xfree86 upgrade files. Following the Readme and much of what Richard Bos had provided, I promplty got my laptop in the same fix as the other tries with XFree864.3! But I have figured out a way out! I had two problems. One dealing with apt sources.list and the other with the installation of XFree86. Apt was giving me a conflict between the tk rpm and I eventually figured out if I removed the suse-users entry as well as the base in /etc/apt/sources.list, that problem went away and I could use apt-get to upload and update. BUT, I am ahead of myself! I had followed the XFree86 instructions and while in the directory containing ALL of the xfree stuff it did the rpm -Uvh --force --nodeps *.rpm. Eventually it was all installed. Then I tried to do SuSEconfig which would hang trying to create the cache files for fonts. Richard Bos' suggestion to remove the font stuff in the cache directory didnt work. So after it hung time after time I looked into the font file and saw that it was installing the cerillic fonts. Since I dont even drink Russian vodka, I said why am I installing their fonts??? I deleted the XFree86-cerillic fonts rpm and cd'd into the directory with the xfree rpms and did another rpm -Uvh *.rpm. SUCCESS! SuSEconfig then ran just as it is supposed to do. Now I could run sax2 and make sure my video card was setup correctly. A shutdown and reboot got the laptop back up and running XFree86 4.3! Finally I did an apt-get update, apt-get upgrade and I am back in business. It looks like each computer reacts differently to an upgrade to XFree 86 4.3 which I'm sure that comes as no surprise to many, The real trick is to figure out what is hosing up the upgrade. In my case it was the cerillic fonts. Also after removing the entry for suse-people in the apt sources.list I can now keep the xfree86 entry in there and all is well in Mudville.
Richard Bos sent me an e-mail re: the upgrade. Going to see if I can make that work. May have to download the files from another computer and get them into this one though. I guess we will see.
If you had used apt-get upgrade to install XF86 you may still have them in the directory /var/cache/apt/archives Richard
participants (4)
-
David Herman
-
k_anand
-
R. Stia
-
Richard