Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XFree86 execution problems ... unsupported relocation type
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
rockneybot
n00b
n00b


Joined: 01 Oct 2002
Posts: 20
Location: Los Angeles

PostPosted: Tue Dec 03, 2002 9:31 pm    Post subject: XFree86 execution problems ... unsupported relocation type Reply with quote

Hello. I have some PC164 (ev56) alphas laying around doing nada. I've been trying different distributions of Linux and FreeBSD to get one of them working as functional workstation. This weekend I grabbed the stage3 ev5 tarball from ibiblio's ftp archives and got as far as :

frobnitz.pugetsoundsolare login:

So, that was cool. Took a little bit of trial and error, but it worked out great. Problem is that I can't seem to get X 4.2.1 or 4.2.0 to run properly. 4.2.1 causes a machine check which halts the machine. While it's trying to load modules, 4.2.0 returns this:

Elf_RelocateEntry() Unsupported relocation type 18
Elf_RelocateEntry() Unsupported relocation type 17

So what does this mean? How do I overcome this?
_________________
--
rb
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1375
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Wed Dec 04, 2002 3:04 pm    Post subject: Reply with quote

Let's not cross post, OK? I think the post in the desktop forum will likely be locked.

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
wwoods
n00b
n00b


Joined: 27 Jun 2002
Posts: 3
Location: Nashua, NH

PostPosted: Wed Dec 04, 2002 3:25 pm    Post subject: Reply with quote

First, the "Unsupported relocation type" errors:

The short answer: This bug prevents xfree86 from loading modules, and is fixed by a patch in gentoo's xfree-4.2.1. You don't get the machine check with 4.2.0 because it doesn't get far enough to cause problems. Use 4.2.1 instead.

The long answer: This bug happens when a program implements its own module loader (e.g. xfree86 and mozilla) but it doesn't completely support all of the relocation types available. Versions of gcc prior to 3.x didn't use some of the relocation types available on Alpha, so the module loader didn't have to support the unused types. gcc 3.x uses them, so these module loaders get confused.

As for the machine check, what kind of a machine check is it? There are many types.. it might just be that you have some bad RAM. Make sure you have the newest available firmware too, this will help eliminate some possible problems..
Back to top
View user's profile Send private message
rockneybot
n00b
n00b


Joined: 01 Oct 2002
Posts: 20
Location: Los Angeles

PostPosted: Wed Dec 04, 2002 6:28 pm    Post subject: Machine Check / Blank Screen Reply with quote

Hi Will. Thanks for the reply. It's hard to find Alpha users, or maybe I'm just looking in the wrong places.

I'll check the code returned after the machine check when I get home tonight.

The first few times I ran startx there was no machine check -- no halt. The screen blanked (dark grey), yet the keyboard seemed to still function enough to do a ctrl-alt-del. XFree logging seemed to get truncated at that point, as if the process died mid-execution. There was no consistent breaking point according to the logs. This is when I decided to downgrade 4.2.0 and got the relocation errors.

Other notes: My default Xsession is Gnome, GDM is my preferred display manager.

If it is bad RAM, how do I check the RAM? Is there a RAM tester that works for alpha? I'd assume memtest86 wouldn't work, given the postfixed "86".
_________________
--
rb
Back to top
View user's profile Send private message
rockneybot
n00b
n00b


Joined: 01 Oct 2002
Posts: 20
Location: Los Angeles

PostPosted: Tue Dec 10, 2002 11:42 pm    Post subject: What the hell is sparse mapping?? Reply with quote

Hi. :evil: I have Xfree 4.2.1 installed. SRM firmware is the latest. I no longer get unsupported relocation type errors. I no longer get a machine check, but I still have a problem. The log for XFree86 always ends like this:

Code:

       [5] -1  0x00000000 - 0x02400000 (0x240ffff) MX[B](B)
        [6] -1  0x00000000 - 0x02800000 (0x2ffffff) MX[B](B)
        [7] -1  0x00000000 - 0x02410000 (0x2413fff) MX[B](B)
        [8] 0   0x00000000 - 0x000a0000 (0xaffff) MS[B]
        [9] 0   0x00000000 - 0x000b0000 (0xb7fff) MS[B]
        [10] 0  0x00000000 - 0x000b8000 (0xbffff) MS[B]
        [11] -1 0x00000000 - 0xffffffff (0xffffffff) IX[B]
        [12] -1 0x00000000 - 0x00000000 (0xff) IX[B]
        [13] -1 0x00000000 - 0x00008020 (0x802f) IX[B]
        [14] -1 0x00000000 - 0x00008000 (0x801f) IX[B]
        [15] 0  0x00000000 - 0x000003b0 (0x3bb) IS[B]
        [16] 0  0x00000000 - 0x000003c0 (0x3df) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
        compiled for 4.2.1, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.5
(**) MGA(0): Depth 16, (--) framebuffer bpp 16
(==) MGA(0): RGB weight 565
(**) MGA(0): Option "NoAccel"
(--) MGA(0): Chipset: "mga2064w"
(==) MGA(0): Using AGP 1x mode
(**) MGA(0): Acceleration disabled
(--) MGA(0): Linear framebuffer at 0x2800000
(--) MGA(0): MMIO registers at 0x2410000
(--) MGA(0): BIOS at 0x2400000
(II) Truncating PCI BIOS Length to 32768
(--) MGA(0): Video BIOS info block at offset 0x07BC0
(II) MGA(0): MGABios.RamdacType = 0x1
(**) MGA(0): VideoRAM: 8192 kByte
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
        compiled for 4.2.1, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.5
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
        compiled for 4.2.1, module version = 1.2.0
        ABI class: XFree86 Video Driver, version 0.5
(II) Machine needs sparse mapping


At this point, the screen goes blank and I lose control of the computer. I emerged openssh and was able to log in remotely during the screenblank period. Funny things happen though. I can run some commands, but others, such as ps, seem to stall. I then have to open a new ssh connection to regain control. kill and killall don't work. I've tried different kernel options, hoping I'd stumble upon something. I ran one pass of memtest on the machine to see if it was a bad mem issue. All tests passed.

I'm not sure what sparse mapping is. Could this have something to do with my problem?

Note: This computer worked fine with a Redhat 7 install. I just don't like RedHat anymore and I want to take advantage of gnome 2.

I'm ignorant, I know. Woods, are you getting all this? Heh. I need (want) help.

Thanks.
_________________
--
rb
Back to top
View user's profile Send private message
tarzan420
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2003
Posts: 81
Location: Fairbanks AK

PostPosted: Thu Feb 26, 2004 9:41 pm    Post subject: Reply with quote

I have been having similar problems to the above (not to dredge up a really old thread...)

I have an AlphaPC 164 as well. I have xfree-4.3.0-r5 installed, with gcc-3.3.2-r3. I get the unsupported relocation errors, and then the vga bios stuff flashes on the screen (like it would on bootup on x86) and then the screen goes black (but still on.) It is unresponsive (iirc, not at home so can't test now) and ssh into it fails as well. It doesn't seem to die in any particular place as well; the logs end in different places each time.
Back to top
View user's profile Send private message
LinuxFreakus
n00b
n00b


Joined: 23 Jan 2004
Posts: 30

PostPosted: Mon May 24, 2004 3:38 pm    Post subject: Anyone found the answer to this problem? Reply with quote

Has anyone found out how to fix this problem? I'm trying to compile xfree on my AlphaServer 1200... I was using an older version of xfree before with no problem, but then I decided to upgrade to kde 3.2.2 from 3.1.5 and started getting those Elf_RelocateEntry() errors when I try to run the x server.
Back to top
View user's profile Send private message
LinuxFreakus
n00b
n00b


Joined: 23 Jan 2004
Posts: 30

PostPosted: Sun Sep 19, 2004 2:26 pm    Post subject: This bug is driving me crazy Reply with quote

This bug is driving me crazy, the whole thing compiles fine with no errors but on execution the x server fails and reports Elf_RelocateEntry() Unsupported relocation type 10.

Does anyone have any idea how to fix this or at least what is causing it?
Back to top
View user's profile Send private message
airbatica
n00b
n00b


Joined: 07 Oct 2003
Posts: 18
Location: Irving, TX

PostPosted: Wed Sep 22, 2004 12:29 pm    Post subject: Reply with quote

I found a patch here, but I have no idea how to apply it, or if it even works.

http://groups.google.com/groups?q=Elf_RelocateEntry()+Unsupported+relocation+type+10&hl=en&lr=&ie=UTF-8&selm=1sKRQ-2iH-1531%40gated-at.bofh.it&rnum=1
Back to top
View user's profile Send private message
LinuxFreakus
n00b
n00b


Joined: 23 Jan 2004
Posts: 30

PostPosted: Sun Mar 13, 2005 4:34 am    Post subject: JOY!! Reply with quote

OMFG!!! IT WORKS!!!! Its been forever since I last posted in the thread but I finally moved a lot of server stuff off this machine that was preventing me from tinkering too much for fear of interrupting server availability... I dont know precisely what the problem was but I just did an emerge sync followed by an emerge world (which took about 36 hours to finish) and now I have a working X-Server again!!! KDE 3.3.2!!

I love it!

Thanks for all the input guys... and thanks to whoever wrote all the code in the 150+ packages I updated!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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