Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
module-init-tools failiure after 'emerge world --newuse'
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
kr3mliyn
n00b
n00b


Joined: 02 Aug 2005
Posts: 17
Location: Tokyo, Japan

PostPosted: Sun Sep 18, 2005 2:19 am    Post subject: module-init-tools failiure after 'emerge world --newuse' Reply with quote

Morning/Afternoon all. Sorry in advanced for the lack of formatting, I'm posting this from the links in graphics mode off of the Gentoo 2005.1 Universal Installation disc.

Okay, I have had a relatively stable/supported system (iBook G4 800MHz). 3D, Suspend/pbbuttons, CPU frequency scaling work. Sound doesn't.

Whilst following the Japanese Text Input guide, which advised that I 'emerge world --newuse', so I did.

Everything seemed to be fine (including suspending my iBook mid emerges). But all of a sudden I have been getting this error when module-init-tools: -
(Note: That I am retyping this by hand, I strive for minimal errors...)

make[1]: *** [insmod.static] Error 1
make[1]: Leaving directory '/var/tmp/portage/module-init-tools-3.2_pre7-r1/work/modutils-2.4.27/insmod'
make: *** [all] Error 2

!!! Error: sys-apps/module-init-tools-3.2_pre7-r1 failed.
!!! Function src_compile, Line 84, Exitcode 2
!!! emake modutils failed

So, I foolishly unmerged module-init-tools thinking that this would help me progress. All it's helped is my system throw up boot errors/warnings, lock me out of my non root user and fail to bringup/recognise ANY networking device (so, there's no way that I'm aware of to post this from my OS... it still boots, but it's vaguely usable).

A few questions.
Is there a way I can emerge an older , seemingly more stable version of module-init-tools?

Thanks in advance for your help. If you need to to post more information, just tell me.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Sep 18, 2005 6:13 am    Post subject: Reply with quote

The actual error for module_init_tools should be above those errors you posted. If you could give us the 20 lines before it fails, that would help.

I've put a binary package up here which should get things up and running for you until we get it compiling again:
http://dev.gentoo.org/~josejx/module_init_tools-3.0-r2.tbz2
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
kr3mliyn
n00b
n00b


Joined: 02 Aug 2005
Posts: 17
Location: Tokyo, Japan

PostPosted: Sun Sep 18, 2005 11:37 am    Post subject: Thanks for the reply... Reply with quote

...I pessimistically didn't think I'd get a reply, so thank you JoseJX!

I am posting from my x86 for now (iBook isn't very functional as of this moment. GUI comes up, but zero networking, so off little use...).

Just a few newbie questions: -

* How would I go about installing these binaries successfully?
I'm assuming that I simply just copy each folder into the root of my hard disk? I don't remember their being that many non-binary files in sbin, so I'm just a little paranoid that you have a very exotic setup?

* Is their a smart way to save/retrieve 'emerge's output?
I attempted to 'emerge module-init-tools >> /errors_output.txt' to no avail... it plain left out the important bits!

I greatly appreciate your help, and apologise for the poor English in my 1st post... it was really late/earl in the morning, and I don't much sleep...
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Sep 18, 2005 2:01 pm    Post subject: Reply with quote

This "binary" is a package file. Basically, I built the program with portage with the -b option, which produces this tbz2 file. What you'll need to do is:
1. Boot with a livecd
2. Mount your existing install
3. Now we can set up the package file so portage can read it. You'll need to change directory to your portage root (usually /usr/portage, so that would be /mnt/gentoo/usr/portage if you've mounted your root in /mnt/gentoo)
Code:
# mkdir ./packages/All
# mkdir ./packages/sys-apps
# cd ./packages/All
# wget http://dev.gentoo.org/~josejx/module_init_tools-3.0-r2.tbz2
# ln -s module_init_tools-3.0-r2.tbz2 ../sys-apps/

4. Chroot into your install
5. Now we can have portage install the program
Code:
emerge module-init-tools -K


To capture all of the output from a merge, you'll have to redirect the output since the build process writes to stderr instead of stdout.
Code:
# emerge module_init_tools -v > error.log 2>&1

_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
kr3mliyn
n00b
n00b


Joined: 02 Aug 2005
Posts: 17
Location: Tokyo, Japan

PostPosted: Mon Sep 19, 2005 11:48 am    Post subject: "I tried; I gave up..." Reply with quote

Thanks for your help, advice and binaries JoseJX. I followed your guide and got module-init-tools back. Whilst booting I noticed a couple of different warnings, then it turns out I was still locked out of my non-root user account. Gnome would lock up on loading, and I had a 75% chance of getting an inactive console between boots, which made reproducing my emerge error messages impossible.

I know this isn't a hardware problem because I have been booting back into Mac OS X Tiger to check mail and a few things, and testing numerous Live CD's (namely Ubuntu Colony 3 Breezy Badger), just to see...

After working at this for the past 2 days, I've finally given up and reinstalled Gentoo (to think, I had an almost perfect system).

Now I face clock skew (yes, I've read the forums, and resolved the new breed of problems), and recently (3rd Disk wipe and install today!) just plain Genkernel errors (yes, with stock gentoo-sources). I'm fed up. Trying not to sound like a bitch, but I honestly wouldn't reconsider reintalling Gentoo if it wasn't for the simple fact that this is the only distro that has supported sleep and cpu properly.

I know your bound to have problems with a cutting edge OS, but in all honesty, some Gentoo problems just seem completely unrecoverable. It's just a shame really. Thanks again for your help. Back to the drawing board I guess (God, if only Fedora Core didn't suck...)
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