LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Xorg segfault after latest upgrade -current (http://www.linuxquestions.org/questions/slackware-14/xorg-segfault-after-latest-upgrade-current-944305/)

yenn 05-10-2012 06:37 PM

Xorg segfault after latest upgrade -current
 
1 Attachment(s)
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:

allend 05-10-2012 08:33 PM

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

yenn 05-11-2012 12:32 PM

Quote:

Originally Posted by allend (Post 4675533)
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 (Post 4675533)
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!

ottavio 05-11-2012 07:22 PM

Quote:

Originally Posted by yenn (Post 4675469)
After latest X11 upgrade

How did you upgrade? I hope you didn't use slackpkg.

Alkin 05-12-2012 04:56 AM

Quote:

Originally Posted by ottavio (Post 4676310)
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

ottavio 05-12-2012 07:11 AM

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.

ponce 05-12-2012 08:04 AM

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). ;)

Alien Bob 05-12-2012 08:06 AM

Quote:

Originally Posted by ottavio (Post 4676560)
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

allend 05-12-2012 08:57 AM

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.

hitest 05-12-2012 09:12 AM

Quote:

Originally Posted by allend (Post 4676588)
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.

willysr 05-12-2012 10:07 AM

Quote:

Originally Posted by Alien Bob (Post 4676576)
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

ponce 05-12-2012 01:31 PM

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 :D ).

allend 05-12-2012 02:06 PM

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.

willysr 05-12-2012 02:57 PM

Quote:

Originally Posted by ponce (Post 4676737)
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 :D ).

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

yenn 05-14-2012 06:41 PM

Quote:

Originally Posted by ottavio (Post 4676310)
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.


All times are GMT -5. The time now is 08:34 AM.