Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X failure on ibook G4 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
pyhxr
n00b
n00b


Joined: 16 Jun 2014
Posts: 8

PostPosted: Tue Jul 08, 2014 1:03 am    Post subject: X failure on ibook G4 [SOLVED] Reply with quote

background of problem
===============
I'm actually reading other peoples post on similar issues. I had X working and running xfce4. I did some modifications to the kernel that didn't work. Following the instructions in http://wiki.gentoo.org/wiki/Kernel/Upgrade on sanitizing sources ( cp .config .confi~ run make distclean then mv .config~ .config) I realized I should have verified it actually made a copy, for whatever reason it didn't. Anyway
I made a new kernel and now I can't seem to get X working

problem
=====
X doesn't work, here are the relevant logs.
/var/log/Xorg.0.log https://pastebin.com/gXGzt0p8
****
lspci -vv | grep Radeon
0000:00:10.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] RV360/M12 [Mobility Radeon 9550] (rev 80) (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RV360/M12 [Mobility Radeon 9550]
****

dmesg | grep Radeon
[ 1.272896] radeonfb (0000:00:10.0): ATI Radeon 4e56 "NV"
****

/usr/share/X11/xorg.conf.d/10-device.conf
https://pastebin.com/0A2d40CQ
****

my .config ( /usr/src/linux/.config )
https://pastebin.com/qnSWnPcz
****
my /etc/conf.d/modules has
modules="b43"
modules="radeon"

I've tried numerous things like disabling open firmware frame buffer
changing modules to built in components of the kernel
recompiling xorg-server
****

I will check back tomorrow for replies, been reading and fiddling with this for about 16 hours now so I'm getting distracted.

(Side note, I had most of my problems resolved, with the exception of not being able to connect to WPA2, and sound--which I think the answer is to not use OSS if you want Alsa. I run a light-weight browser called Dillo so I'm not interested in Flash, or Java. -- I know some use minitube to watch youtube. And I am working on how to patch gr-baz into Gnuradio. If you have special knowledge of any of those things please dm me with a link or comment as it would be off topic)

Thanks in advance
_________________
main(int c,char**v){return!m(v[1],v[2]);}m(char*s,char*t){return*t-42?*s?63==*t|*s==*t&&m(s+1,t+1):!*t:m(s,t+1)||*s&&m(s+1,t);}


Last edited by pyhxr on Thu Jul 10, 2014 2:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
sno35
Guru
Guru


Joined: 15 May 2004
Posts: 334
Location: Paris, France

PostPosted: Tue Jul 08, 2014 5:03 am    Post subject: Reply with quote

Hi
For comparing with what used to work, if you have something at
/proc/config.gz
while your working kernel is in operation you just have to zcat it.
Hth
Laurent G.
Back to top
View user's profile Send private message
pyhxr
n00b
n00b


Joined: 16 Jun 2014
Posts: 8

PostPosted: Tue Jul 08, 2014 2:40 pm    Post subject: re: zcat /proc/config.gz Reply with quote

Thanks for the prompt reply.

Running diff on /proc/config.gz and my current .config shows it to be exactly the same. So I did not understand you, or I have wiped something that was there before.
_________________
main(int c,char**v){return!m(v[1],v[2]);}m(char*s,char*t){return*t-42?*s?63==*t|*s==*t&&m(s+1,t+1):!*t:m(s,t+1)||*s&&m(s+1,t);}
Back to top
View user's profile Send private message
pyhxr
n00b
n00b


Joined: 16 Jun 2014
Posts: 8

PostPosted: Thu Jul 10, 2014 12:23 pm    Post subject: running Xorg -configure Reply with quote

this is the output of Xorg configure command. In the seg fault right after the backtrace -- would that mean that it failed to find those specific libraries? /lib/libc.so.6. Im going to read the Xorg man page again and start Googling all the EE messages in this output. Since my last post I have recompiled the kernel several times after reading others posts. Nothing yet, probably just having the right combo of voodoo. I'll keep the forum posted if I make any progress. Maybe I need to prune that ati driver! And I haven't read the http://wiki.x.org site yet, that might be a good idea. Oh and this is the first time I realized there is a /root/xorg.conf.new file so I'll go through that. bbl

X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.12.21-gentoo-r1 ppc Gentoo
Current Operating System: Linux genice 3.12.21-gentoo-r1 #5 Tue Jul 8 19:29:30 PDT 2014 ppc
Kernel command line: root=/dev/hda4 ro
Build Date: 03 July 2014 03:29:09AM

Current version of pixman: 0.32.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 10 05:06:08 2014
List of video drivers:
ati
radeon

(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] drm report modesetting isn't supported.
(EE)
(EE) Backtrace:
(EE) 0: Xorg (xorg_backtrace+0x70) [0x101c00c0]
(EE) 1: Xorg (0x10000000+0x1c4a04) [0x101c4a04]
(EE) 2: linux-vdso32.so.1 (__kernel_sigtramp_rt32+0x0) [0x100370]
(EE) 3: Xorg (DoConfigure+0xb40) [0x1007376c]
(EE) 4: Xorg (xf86GetPixFormat+0x0) [0x10084dec]
(EE) 5: Xorg (0x10000000+0x39ab8) [0x10039ab8]
(EE) 6: Xorg (0x10000000+0x2199c) [0x1002199c]
(EE) 7: /lib/libc.so.6 (0xf9bc000+0x2663c) [0xf9e263c]
(EE) 8: /lib/libc.so.6 (0xf9bc000+0x267cc) [0xf9e27cc]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting

(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
Aborted


===========
I also added a line to /etc/yaboot.conf
append="video=radeonfb:1024x768-32@60"
then rand ybin -v and rebooted
--did not help
===========
_________________
main(int c,char**v){return!m(v[1],v[2]);}m(char*s,char*t){return*t-42?*s?63==*t|*s==*t&&m(s+1,t+1):!*t:m(s,t+1)||*s&&m(s+1,t);}
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jul 10, 2014 1:13 pm    Post subject: Reply with quote

Try enabling Kernel Mode Setting (KMS). The UMS path is no longer supported in the newer X.org releases.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
pyhxr
n00b
n00b


Joined: 16 Jun 2014
Posts: 8

PostPosted: Thu Jul 10, 2014 2:54 pm    Post subject: [solved] Reply with quote

I made a number of changes, I'm not sure which one was responsible but it startx now works and gets me into my xfce4 session.

I added [*] EDAC
----
[*] EDAC legacy sysfs

[*] DMA Engine Support

------------------------------------------

Got rid of ATI Rage 128

------------------------------------------
Edited /etc/yaboot.conf
append="video=radeonfb:off radeon.modeset=1"
closed and ran # ybin -v

-------------------------------------------

Edited xorg.conf
(which I don't know if this matters at all, but I keep this at
/usr/share/X11/xorg.conf.d/10-device.conf)
Section "Device"
Identifier "Radeon9550"
Driver "radeon"
BusID "PCI:0:16:0"
Option "GARTSize" "16"
Option "AccelMethod" "EXA"
EndSection

--------------------------------------------

So, like I said I'm not exactly sure what particular thing was responsible but if your having the same problem and reading this I would suggest editing the files before making those changes to the kernel.

Also on the line in xorg.conf Identifier "Radeon9550" do a #lspci | grep VGA and look at the end of the line, make sure to use the number you have.

-------------------------------------------
Don't give up, you'll eventually stumble on to something.

Thanks JoseJX I will check that out--didn't see your post until just now.
_________________
main(int c,char**v){return!m(v[1],v[2]);}m(char*s,char*t){return*t-42?*s?63==*t|*s==*t&&m(s+1,t+1):!*t:m(s,t+1)||*s&&m(s+1,t);}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum