Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iBook G4 gets inactive and stops working
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
sceptiq
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2004
Posts: 103

PostPosted: Wed Sep 06, 2006 8:47 am    Post subject: iBook G4 gets inactive and stops working Reply with quote

Salut

My gentoo-iBook stops working i dont know how i should discribe it

i boot gentoo, every thing looks fine. I login and start a X session or log in as root on tty (no X running) the i can do some things if im luky i can do an "emerge --sync" but after some actions things getting dirty. I can work, start a terminal but the second terminal takes about 5min until i get my prompt (if i get it!). If im luky i get it but the next command will never be executet all the time Loadaverage never goes over 0.24 but never under 0.24 too... Same things on tty only session.
I dont know whats going on here... And i dont know where starting debugging too!

Some Ideas?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Sep 06, 2006 1:47 pm    Post subject: Reply with quote

Are you using kernel 2.6.18_rc5? If so, please upgrade, there was a bad clock bug in _rc5 which could result in the behaviour you're seeing.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
piroko
Tux's lil' helper
Tux's lil' helper


Joined: 25 Aug 2006
Posts: 77

PostPosted: Wed Sep 06, 2006 1:48 pm    Post subject: Reply with quote

Here's just a couple suggestions:

    If you have syslog enabled, check /var/log/messages for any strange lines
    As soon as you start your computer, keep a terminal open with "top" running to see if any processes start taking over your computer


Ask if you still need help!
_________________
Anyone who is not confused by quantum theory does not truly understand it.
Back to top
View user's profile Send private message
sceptiq
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2004
Posts: 103

PostPosted: Wed Sep 06, 2006 2:18 pm    Post subject: Reply with quote

@ JoseJX
Yes I Do! can i build my new kernel with live cd? (chroot?)

@ piroko


I did this! no msgs in dmesg and top always stays cool (la 0.24)
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Sep 06, 2006 2:26 pm    Post subject: Reply with quote

Yeah, chrooting in is the right thing to do. The best thing is to simply keep a backup kernel when testing a new kernel. :)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
sceptiq
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2004
Posts: 103

PostPosted: Wed Sep 06, 2006 2:53 pm    Post subject: Reply with quote

allways ;)
Back to top
View user's profile Send private message
sceptiq
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2004
Posts: 103

PostPosted: Wed Sep 06, 2006 6:33 pm    Post subject: Reply with quote

okay... it seems that my fs was broken i checkd it with xfs_check and fixed it ( ithink so) with xfs_repair
but if i open /var/lib/portage/world i see only "@" but allot of... is there a way to rebuild a world file?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Sep 06, 2006 6:58 pm    Post subject: Reply with quote

Ugh, XFS. Make sure you're using the latest xfsprogs (unstable), there was a bad corruption bug in 2.6.17 that ate filesystems, the latest has a fsck fix for it.

To rebuild the world file, you can use regenworld
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
sceptiq
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2004
Posts: 103

PostPosted: Wed Sep 06, 2006 9:02 pm    Post subject: Reply with quote

to late :) i did it...


but my worldfile is still broken :/

got it :) THX!
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Thu Sep 07, 2006 6:16 am    Post subject: Reply with quote

@sceptiq :

Just a suggestion, the XFS filesystem is always a bad idea unless you have a special purpose for it, such as tons of over 100 MB files being randomly accessed. I'm pretty sure that all of EXT2, EXT3, JFS, reiserfs are more stable and more tested on PPC!
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
sceptiq
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2004
Posts: 103

PostPosted: Thu Sep 07, 2006 7:09 am    Post subject: Reply with quote

THX for the info!... next time ;) or is there a way to migrate? I dont think so.
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Thu Sep 07, 2006 8:00 am    Post subject: Reply with quote

If you have the extra disk space, a DVD burner, or any large removable media (external HD, etc.) that will work with the LiveCD, you could just tar the whole partition, reformat, untar. Other than that, no, you can't convert.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
sceptiq
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2004
Posts: 103

PostPosted: Thu Sep 07, 2006 8:33 am    Post subject: Reply with quote

no space left on device... xD

but i think a nfs schuld help, what fs should i use?
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Thu Sep 07, 2006 9:11 am    Post subject: Reply with quote

sceptiq wrote:
but i think a nfs schuld help, what fs should i use?

NFS access of another machine could work well -- just make sure you can access it OK via the LiveCD.

You should also do your taring and untaring from the LiveCD -- don't have the system running, is the safest approach.

You should go with a journalized filesystem, so one of: EXT3, reiserfs, JFS .
My recommendations:

  • If you want to be standard and trouble-free with backup-tools, etc., use EXT3
  • If you use tons of tiny files on a partition, like Portage or ccache, on a partition, then use reiserfs (only if partition is > 500 MB, otherwise you waste too much space w/ journalling)
  • If you use large files, like ISOs, large downloads, Virtual Machines, etc., on a partition, use JFS


For my Powerbook, I use reiserfs for everything linux-only that I don't want Mac OS X to see, and EXT3 for partitions that I want to mount under Mac OS X. such as home and some large file storage areas.
And of course, you know that the kernel must have the driver for the filesystem of '/' compiled-in, not as a module.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
sceptiq
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2004
Posts: 103

PostPosted: Thu Sep 07, 2006 9:24 am    Post subject: Reply with quote

Right, the kernel issue is well known ;)

About the planning what fs... thats dirty its my on&only i use it for every thing... large downloads, tiny files like portage...
But i only have a 40g hdd and using dualboot (osx) so i have only 18gigs for my gentoo. and i use only one partition...
cause i think slpiting 18 gigs is not real usefull or?!?
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Thu Sep 07, 2006 5:49 pm    Post subject: Reply with quote

Every filesystem that can be used as '/' is good for all tasks; but I listed the filesystems according to their strengths. If you can convert from XFS to something else, I highly recommend it due to painful experiences I have had with it myself; but it is not necessary.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
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