| Summary: | x11-drivers/xf86-video-ati - x11-base/xorg-server Segmentation fault | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Joseph <syscon780> |
| Component: | [OLD] Server | Assignee: | Gentoo X packagers <x11> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Xorg.0.log | ||
|
Description
Joseph
2012-07-09 00:17:54 UTC
I've tried to downgrade to xorg-server-1.11.4-r1 but I'm still getting the same error: Segmentation fault Please attach Xorg.0.log with the entire call stack. If possible, please also build xorg-server and xf86-video-ati with debug compiler flags (-g) and get a stack trace through gdb. Created attachment 317636 [details]
Xorg.0.log
Here the attachment: Xorg-log
> [ 2774.011] (II) [KMS] drm report modesetting isn't supported. It appears that you don't have KMS enabled. Please configure your kernel according to http://www.gentoo.org/doc/en/xorg-config.xml and see if the problem persists. (In reply to comment #2) > Please attach Xorg.0.log with the entire call stack. > > If possible, please also build xorg-server and xf86-video-ati with debug > compiler flags (-g) and get a stack trace through gdb. I've recompile xorg-server-1.12.2 and run: emerge $(qlist -IC x11-drivers) with make.conf changes: CFLAGS="-march=amdfam10 -O2 -pipe -ggdb" FEATURES="collision-protect parallel-fetch strict nostrip splitdebug" but I'm not sure how to run it though gdb: gdb /etc/init.d/xdm restart is not producing any result. Hot to run them thorugh "gdb"? The UMS code path is not maintained any more and will be removed from the driver in the next release. I suggest to try KMS first before debugging further. If X does not immediately crash on start, you can run gdb and then attach to the PID of the running X server (best do that via ssh). If it immediately crashes on start, then you can either enable core dumps and load the /etc/X11/core into gdb, or launch X from gdb (without gdm). (In reply to comment #4) > > [ 2774.011] (II) [KMS] drm report modesetting isn't supported. > It appears that you don't have KMS enabled. Please configure your kernel > according to http://www.gentoo.org/doc/en/xorg-config.xml and see if the > problem persists. Thank you, it appears that was it? cat .config |grep KMS CONFIG_DRM_KMS_HELPER=y CONFIG_DRM_RADEON_KMS=y Why did it worked prevously without KMS? The only down side after I enabled KMS is that during booting kernel poses for 1min or longer after: - Switching to clocksource tsc Is the a way to run it without KMS? Got it: the 1.5min delay is caused by Radeon looking for firmware: [ 1.740141] Switching to clocksource tsc [ 61.920149] r600_cp: Failed to load firmware "radeon/R600_rlc.bin" [ 61.920229] [drm:r600_startup] *ERROR* Failed to load firmware! Which binary should I emerge to get rid of this message? Solution:
emerge: x11-drivers/radeon-ucode
in kernel .config:
Device Drivers:
- Generic Driver Options
[*] Include in-kernel firmware blobs in kernel binary
(radeon/R600_rlc.bin) External firmware blobs to build into the kernel binary
(/lib/firmware) Firmware blobs root directory
Good to hear it worked. Not that all the firmware configuration is described in http://www.gentoo.org/doc/en/xorg-config.xml too. er, I mean "Note that..." |