LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-10-2012, 05:37 PM   #1
yenn
Member
 
Registered: Jan 2011
Location: Czech Republic
Distribution: Slackware, Gentoo
Posts: 153

Rep: Reputation: 21
Xorg segfault after latest upgrade -current


After latest X11 upgrade (Sat May 5 02:28:15 UTC 2012) Xorg crashes with segfault. I have pretty old Nvidia GPU running with open-source nv driver. I also tried Nouveau driver and Xorg stops before it can segfault (for some reason Xorg refuses to start with Nouveau), so segfault appears after all modules and libraries are checked and loaded.

Strange thing is that on another computer (with ATI GPU) running nearly identical -current system, Xorg works without a glitch.

Here goes Xorg.O.log
Relevant lines:
Code:
Backtrace:
[...]
[   218.035] (II) Loading sub module "ramdac"
[   218.035] (II) LoadModule: "ramdac"
[   218.035] (II) Module "ramdac" already built-in
[   218.035] (II) UnloadModule: "vesa"
[   218.035] (II) Unloading vesa
[   218.035] (--) Depth 24 pixmap format is 32 bpp
[   218.035]
[   218.045] 0: /usr/bin/X (xorg_backtrace+0x49) [0x81b47a9]
[   218.045] 1: /usr/bin/X (0x8048000+0x170016) [0x81b8016]
[   218.045] 2: linux-gate.so.1 (__kernel_rt_sigreturn+0x0) [0xffffe40c]
[   218.045] 
[   218.046] Segmentation fault at address (nil)
[   218.046] 
Fatal server error:
[   218.046] Caught signal 11 (Segmentation fault). Server aborting
Full log:
Attached Files
File Type: log Xorg.0.log (34.7 KB, 7 views)
 
Old 05-10-2012, 07:33 PM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,438

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Your NVIDIA GeForce2 Ti should be supported by the nouveau driver. http://nouveau.freedesktop.org/wiki/CodeNames#NV10
Quote:
for some reason Xorg refuses to start with Nouveau
Are you trying to use KDE? If so, there may be a problem as your card may not be capable of all the OpenGL features that KDE expects.

I suggest again trying the nouveau driver as the nv driver is unsupported. This section from CHANGES_AND_HINTS.TXT may be relevant.
Quote:
Regardless of your chipset (though it seems more common with intel), if KDE
crashes on startup, try disabling the Composite extension (which will also
disable all of the fancy desktop effects). Place the following content in
a file at /etc/X11/xorg.conf.d/disable-composite.conf:
Section "Extensions"
Option "Composite" "Disable"
EndSection
 
1 members found this post helpful.
Old 05-11-2012, 11:32 AM   #3
yenn
Member
 
Registered: Jan 2011
Location: Czech Republic
Distribution: Slackware, Gentoo
Posts: 153

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by allend View Post
Your NVIDIA GeForce2 Ti should be supported by the nouveau driver. http://nouveau.freedesktop.org/wiki/CodeNames#NV10
It is supported and works. Xorg previously failed because of missing nouveau driver. I guess I though kernel module was enough

Quote:
Originally Posted by allend View Post
I suggest again trying the nouveau driver as the nv driver is unsupported. This section from CHANGES_AND_HINTS.TXT may be relevant.
Since when? I'm just curious.

Anyway, thanks for your help!
 
Old 05-11-2012, 06:22 PM   #4
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Quote:
Originally Posted by yenn View Post
After latest X11 upgrade
How did you upgrade? I hope you didn't use slackpkg.
 
Old 05-12-2012, 03:56 AM   #5
Alkin
LQ Newbie
 
Registered: Sep 2006
Location: Bulgaria
Distribution: Slackware
Posts: 24

Rep: Reputation: 2
Quote:
Originally Posted by ottavio View Post
How did you upgrade? I hope you didn't use slackpkg.
Could you be more verbose and explain what is your concern? I've recently upgraded my current 64bit system using slackpkg and installed the new packages using "--install-new" option. The only issue I've faced is that the drop shadow effect in xcompmrg has stopped working properly, although the fade effect is still there. Could it be due to a fact that the libX11 is now build against XCB or the new ati video driver (my card is manufactured by ATI)?

Thanks,

Alkin
 
Old 05-12-2012, 06:11 AM   #6
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Quote:
Originally Posted by Alkin
Quote:
Originally Posted by ottavio
How did you upgrade? I hope you didn't use slackpkg.
Could you be more verbose and explain what is your concern
Slackware doesn't use dependencies, therefore 'slackpkg upgrade-all' doesn't know which package depends on which. The changelog in -current comes with a wealth of information that slackpkg cannot parse.
Some examples:
Quote:
Sat May 5 16:56:34 UTC 2012 x/xterm-278-i486-1.txz: Rebuilt. Replaced incorrect x86_64 package. Sorry! At least it wasn't libX11. ;-)
-----------------------------

Sat Apr 14 22:06:26 UTC 2012 Hey folks! We've merged KDE 4.8.2 and a bunch of new packages that it depends upon into -current, thanks in large part to months of work and testing by Eric Hameleers. Note that NetworkManager is included. If you want to use this, make sure to move the new rc.M into place, make /etc/rc.d/rc.networkmanager executable, and then add the KDE "Network Manager" widget to your desktop. Have fun! :-) NOTE: After upgrading, the following obsolete KDE packages should be removed: kdeaccessibility, kdebase, kdebase-runtime, kdebase-workspace, kdebindings, kdeedu, kdegraphics, kdeutils, koffice, konq-plugins, kopete-cryptography, polkit-kde-1, and all koffice-l10n-*.
Slackpkg doesn't know that some packages must be removed to make the new ones work. All these bits of information will eventually go into the "Changes and hints" when the new stable version is released.

I do use slackpkg but only to install/upgrade individual packages not the whole system.
 
Old 05-12-2012, 07:04 AM   #7
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
Another option is using it to upgrade everything, read the changelog too and behave consequently: I use this with no pain since I can remember (years).
 
Old 05-12-2012, 07:06 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
Quote:
Originally Posted by ottavio View Post
Slackware doesn't use dependencies, therefore 'slackpkg upgrade-all' doesn't know which package depends on which. The changelog in -current comes with a wealth of information that slackpkg cannot parse.
Some examples:
Slackpkg doesn't know that some packages must be removed to make the new ones work. All these bits of information will eventually go into the "Changes and hints" when the new stable version is released.

I do use slackpkg but only to install/upgrade individual packages not the whole system.
I always use slackpkg (with care) to upgrade my Slackware system.
In case you had my versions okf KDE4 packages installed and blacklisted them in "/etc/slackpkg/blacklist" you will first have to remove or comment out the line "[0-9]+alien" so that slackpkg can upgrade my packages with the official Slackware versions.

The following steps should work for all situations:

Blacklist the following packages in "/etc/slack/pkg/blacklist":
Code:
kernel-firmware
kernel-generic
kernel-generic-smp
kernel-huge
kernel-huge-smp
kernel-modules
kernel-modules-smp
If new kernels have been added, then "installpkg" those new kernel packages first (do not use "upgradepkg").
Update your "/etc/lilo.conf" with the new kernel (don't remove your running kernel!) and run "lilo".
You should always be able to boot back into a previous kernel in case the new Slackware kernel gives you a hard time.

# slackpkg update

Now that slackpkg has updated its internal database we can let it update the computer with the current state of affairs.

# slackpkg install-new

# slackpkg upgrade-all

# slackpkg clean-system

The first of those three commands (install-new) will install every package which is listed in the ChangeLog.txt file as "Added:" It will not install any other packages, for instance if you did not have KDE installed before, this command will not add KDE packages to your computer all of a sudden.
The third commmand (clean-system) will show you an overview of all packages which are not part of Slackware Linux at this moment. That means, the list will show any package which has been removed from Slackware like kdeaccessibility, kdebase, etccetera. It will also show you every 3rd party package which you have installed! So, use this command wisely. De-select every package which you want to keep (i.e. all 3rd party packages) and then click "OK" to let slackpkg remove all obsolete packages.

This is the easiest way to get "current" again, it is also the proper way to upgrade between two adjacent stable Slackware releases.
You can trust slackpkg to do it safely, but it will need your brains and care.

Eric

Last edited by Alien Bob; 05-12-2012 at 07:07 AM.
 
2 members found this post helpful.
Old 05-12-2012, 07:57 AM   #9
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,438

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Quote:
Since when? I'm just curious.
http://www.phoronix.com/scan.php?pag...kills_nv&num=1

On the side issue of Slackpkg that has arisen.
Quote:
Slackpkg doesn't know that some packages must be removed to make the new ones work.
Slackpkg works by syncing your installed packages to those in the official Slackware trees. It is the official tool for maintaining Slackware. I would not use anything else for maintaining my Slackware installs, apart from the occasional use of the tools in pkgtool.
 
Old 05-12-2012, 08:12 AM   #10
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,170

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Originally Posted by allend View Post
Slackpkg works by syncing your installed packages to those in the official Slackware trees. It is the official tool for maintaining Slackware. I would not use anything else for maintaining my Slackware installs, apart from the occasional use of the tools in pkgtool.
Agreed. Slackpkg is the best utility for maintaining/updating your Slackware systems.
 
Old 05-12-2012, 09:07 AM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,554

Rep: Reputation: 424Reputation: 424Reputation: 424Reputation: 424Reputation: 424
Quote:
Originally Posted by Alien Bob View Post
I always use slackpkg (with care) to upgrade my Slackware system.
In case you had my versions okf KDE4 packages installed and blacklisted them in "/etc/slackpkg/blacklist" you will first have to remove or comment out the line "[0-9]+alien" so that slackpkg can upgrade my packages with the official Slackware versions.

The following steps should work for all situations:

Blacklist the following packages in "/etc/slack/pkg/blacklist":
Code:
kernel-firmware
kernel-generic
kernel-generic-smp
kernel-huge
kernel-huge-smp
kernel-modules
kernel-modules-smp
If new kernels have been added, then "installpkg" those new kernel packages first (do not use "upgradepkg").
Update your "/etc/lilo.conf" with the new kernel (don't remove your running kernel!) and run "lilo".
You should always be able to boot back into a previous kernel in case the new Slackware kernel gives you a hard time.

# slackpkg update

Now that slackpkg has updated its internal database we can let it update the computer with the current state of affairs.

# slackpkg install-new

# slackpkg upgrade-all

# slackpkg clean-system

The first of those three commands (install-new) will install every package which is listed in the ChangeLog.txt file as "Added:" It will not install any other packages, for instance if you did not have KDE installed before, this command will not add KDE packages to your computer all of a sudden.
The third commmand (clean-system) will show you an overview of all packages which are not part of Slackware Linux at this moment. That means, the list will show any package which has been removed from Slackware like kdeaccessibility, kdebase, etccetera. It will also show you every 3rd party package which you have installed! So, use this command wisely. De-select every package which you want to keep (i.e. all 3rd party packages) and then click "OK" to let slackpkg remove all obsolete packages.

This is the easiest way to get "current" again, it is also the proper way to upgrade between two adjacent stable Slackware releases.
You can trust slackpkg to do it safely, but it will need your brains and care.

Eric
I do agree with the above statement, except in the latest update, slackpkg failed to properly do it's job while migrating from xaw3d to libXaw3d. It couldn't keep the items belonging to the new package (libXaw3d) when removing xaw3d. Luckily it's easy to fix by reinstalling libXaw3d
 
Old 05-12-2012, 12:31 PM   #12
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
When something is indicated as "Removed" in the ChangeLog, usually I removepkg it before upgrading everything with slackpkg.

If I can't remove it because it's a base package, like it happened with util-linux-ng/util-linux not long ago, I use upgradepkg on it with the %, like GazL suggested me at the time (after -my bad- I found it also in the manpage ).

Last edited by ponce; 05-12-2012 at 12:46 PM.
 
Old 05-12-2012, 01:06 PM   #13
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,438

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Quote:
I do agree with the above statement, except in the latest update, slackpkg failed to properly do it's job while migrating from xaw3d to libXaw3d. It couldn't keep the items belonging to the new package (libXaw3d) when removing xaw3d. Luckily it's easy to fix by reinstalling libXaw3d
Was this really a Slackpkg problem? As I understand it, Slackpkg merely overlays the installpkg, upgradepkg and removepkg tools in pkgtool.
 
Old 05-12-2012, 01:57 PM   #14
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,554

Rep: Reputation: 424Reputation: 424Reputation: 424Reputation: 424Reputation: 424
Quote:
Originally Posted by ponce View Post
When something is indicated as "Removed" in the ChangeLog, usually I removepkg it before upgrading everything with slackpkg.

If I can't remove it because it's a base package, like it happened with util-linux-ng/util-linux not long ago, I use upgradepkg on it with the %, like GazL suggested me at the time (after -my bad- I found it also in the manpage ).
I used to the other way around
I added the new packages first by installpkg or slackpkg install-new and then i removepkg the removed package
But i learned from xaw3d case that it's wiser to add another shot at upgradepkg --reinstall on new added packages just to make sure everything stays in place after the package removal
 
Old 05-14-2012, 05:41 PM   #15
yenn
Member
 
Registered: Jan 2011
Location: Czech Republic
Distribution: Slackware, Gentoo
Posts: 153

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by ottavio View Post
How did you upgrade? I hope you didn't use slackpkg.
Just for a record, I used slackpkg two-step upgrade (upgrade-all && install-new). The problem was in deprecated 'nv' driver.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
latest update causes ATI driver segfault vdemuth Slackware 13 06-05-2012 09:58 PM
Xorg segfault problem rojoblandino Linux - Software 0 07-30-2009 03:04 PM
[SOLVED] Latest slackware64-current xorg and kernel update woes veeall Slackware 10 07-19-2009 12:31 AM
upgrade slack-current with slackpkg, problem with Xorg specialized Slackware 24 07-07-2009 02:32 PM
Xterminal + current GTK = segfault crxssi Linux - Software 3 01-28-2006 06:58 PM


All times are GMT -5. The time now is 01:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration