View previous topic :: View next topic |
Author |
Message |
likeableguy n00b
Joined: 18 Nov 2004 Posts: 8
|
Posted: Thu Nov 18, 2004 3:11 pm Post subject: Gentoo and Linux-abi [SOLVED - I'm an idiot] |
|
|
Ok i've been working on this for a few days, and with no luck. Anyone have a clue how i can make linux-abi work with Gentoo...or know another way that i could get a similar effect? I have a program i'm trying to run, on our Redhat systems 7.1 and greater i had to do this to get it to run (which i just added to the startup)
modprobe abi-ibcs
modprobe abi-cxenix
modprobe abi-sco
modprobe binfmt_xout
modprobe binfmt_coff
and so on....
so any ideas?
-------------------------------Here is the solution-----------------------------------------------
Ok, so i was completely overlooking the patch for the 2.6.9 kernel..i found it and now i'm just gonna work on getting my term to display correctly, and i'm done...thanks for all the suggestions
Last edited by likeableguy on Mon Nov 22, 2004 11:38 pm; edited 1 time in total |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Thu Nov 18, 2004 3:19 pm Post subject: |
|
|
I' m sorry I can't keep quiet. I can't really help you out, seeing that I don't know anything aboiut linux-abi (don't even know what it is), but I feel I have to point out to you that the correct way to automatically load those modules is adding them to /etc/modules.autoload.d/kernel-<2.4 or 2.6 dependant on your kernel>
Just add the modules without modprobe in front:
abi-ibcs
abi-cxenix
That being said your way should give the same results, it's just a bit of a dirty hack |
|
Back to top |
|
|
likeableguy n00b
Joined: 18 Nov 2004 Posts: 8
|
Posted: Thu Nov 18, 2004 3:27 pm Post subject: |
|
|
yeah, that was for Redhat...i need the same dirty hack for Gentoo if i can figure it out... |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Thu Nov 18, 2004 3:34 pm Post subject: |
|
|
I'm not sure what the problem is. Do you only want to know how to load those modules under gentoo? Or are you experiencing another problem. Like I pointed out to load those modules add them to:
/etc/modules.autoload.d/kernel-<2.4 or 2.6 dependant on your kernel> |
|
Back to top |
|
|
likeableguy n00b
Joined: 18 Nov 2004 Posts: 8
|
Posted: Thu Nov 18, 2004 3:37 pm Post subject: |
|
|
Well, if i could find those modules i'm not sure if they would work the way i wanted them too...in Gentoo...although i guess i should give that a try...here is what i'm going to try to do
1. Find those modules on the Redhat installation (somehow)
2. Move them to the Gentoo installation
3. Do what you suggested in the first post and see what happens
Thanks i'll reply back with my results |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Thu Nov 18, 2004 3:46 pm Post subject: |
|
|
Ok I checked out what linux abi is I see it's a kernel patch. First of all the patch only seems to be available for 2.4 kernels. So make sure you use one of them (for example emerge gentoo-sources). Then download the patch that corresponts with your kernel version from here: http://linux-abi.sourceforge.net/
patch the kernel (I'm not sure about the precise commando but a forum search for patch kernel; should help you out)
compile the kernel and
add the modules to autoload. |
|
Back to top |
|
|
likeableguy n00b
Joined: 18 Nov 2004 Posts: 8
|
Posted: Thu Nov 18, 2004 3:47 pm Post subject: |
|
|
alright,
Added them into my modules.d directory, and did modules.update, and the modules.conf file is garbaged now...so i don't know if i did that correctly or not...but that didn't work..any ideas? |
|
Back to top |
|
|
likeableguy n00b
Joined: 18 Nov 2004 Posts: 8
|
Posted: Thu Nov 18, 2004 3:48 pm Post subject: |
|
|
Oh ok, now i tried to patch the kernel before..but i'm using a 2.6 kernel..i'll do the 2.4 kernel and let ya know what happens!...thanks again |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Thu Nov 18, 2004 3:49 pm Post subject: |
|
|
See this post
BlackEdder wrote: | Ok I checked out what linux abi is I see it's a kernel patch. First of all the patch only seems to be available for 2.4 kernels. So make sure you use one of them (for example emerge gentoo-sources). Then download the patch that corresponts with your kernel version from here: http://linux-abi.sourceforge.net/
patch the kernel (I'm not sure about the precise commando but a forum search for patch kernel; should help you out)
compile the kernel and
add the modules to autoload. |
|
|
Back to top |
|
|
likeableguy n00b
Joined: 18 Nov 2004 Posts: 8
|
Posted: Thu Nov 18, 2004 4:24 pm Post subject: |
|
|
Ok no luck that way...the patch failed numerous times, so i tried a different patch, same thing happened... |
|
Back to top |
|
|
likeableguy n00b
Joined: 18 Nov 2004 Posts: 8
|
Posted: Thu Nov 18, 2004 6:58 pm Post subject: |
|
|
Not sure if this is going to be a disaster or not (probably is)..but i'm downloading the kernel they suggested from kernel.org and i'm gonna just "see what happens" i don't like the idea of not emerging a kernel... |
|
Back to top |
|
|
likeableguy n00b
Joined: 18 Nov 2004 Posts: 8
|
Posted: Mon Nov 22, 2004 4:16 pm Post subject: |
|
|
Ok here is what i did, and this worked but not the results i'd like
I downloaded a kernel that i could successfully patch, (which didn't have framebuffer support)..then i booted into that kernel, and everything worked (the term isn't right but i wasn't concerned with that, i can fix that later)..but without framebuffer support it defeats the purpose of what i was attempting to do...I wanted framebuffer support, with fbsplash (which i have working in 2.6.9-gentoo-r4) but i wanted the linux-abi support so i can run this horrible program..what i'm looking for now is for some way to get those modules (abi-ibcs, abi-cxenix, abi-machdep, abi-sco, binfmt_xout, binfmt_coff to compile on the 2.6.9-gentoo-r4 kernel, so i can have my cake and eat it too...any ideas?
Steve |
|
Back to top |
|
|
|