Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OldWorld Macs and those who are having trouble
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
KungFuJesus
n00b
n00b


Joined: 04 Mar 2007
Posts: 42

PostPosted: Sun Mar 04, 2007 4:10 am    Post subject: OldWorld Macs and those who are having trouble Reply with quote

So I decided I was sick of yellowdog linux on my beige G3, saggita was never updated and several apps, including cups, had bugs. I did not feel like rebuilding half of the applications for a package based distro, so I decided to move to Gentoo for it, afterall it does this for me. I thought YDL was troublesome to put on an oldworld mac. Gentoo is great, and the devleopers are really good at making things easier, but there was an issue that arose with the PPC live CD and what the PPC handbook said to do with bootX.

Here was the issue:

Gentoo livecd wanted to boot on a ramfs, which is not unlike most installations for distros which boot from the CD. However, the linux livecd uses squashfs in the apple.igz. There is an issue with at least my Beige G3, where the kernel provided would not boot for me with the apple.igz image. Any other ramdisk I threw at it was fine. I considered making my own livecd or at least rebuilding the ramdisk. I tried the 2006.0 installation CD and it worked beautifully, but it gave me segfaults and interrupt problems every 20 seconds with my SCSI controllerand thus rendering the hard disks untouchable and unworkable. Instead, I booted into yellowdog, downloaded vanilla sources and compiled 2.6.20. Essentially worried about how the squashFS image had everything moduled and module versions were going to be a problem, specifically for most oldworld hardware (in case I ran into this problem again on another G3 Gossamer) I decided to build support directly into the kernel. Still I was utterly confused when the /dev/loop0 device was missing when loopback support was compiled into the kernel. After a while, I realized that the squashFS support has to be PATCHED into the sources to build it (DUH!!!). Now when you specify loop=blah.blah it can actually make the /dev/loop0 virtual device. So anywho, a long rant, and those of you who care to try this on your own now know how. Why the original kernel hated the ramfs I believe had something to do with SMP support, but I'm not entirely sure. I'm kind of a linux newb and find myself humbled by gentoo developers with this being my first post, but I suppose I should start trying to give back to the gentoo community, as they have given me so much.

So here is the general purpose G3 Beige OldWorld PPC livecd kernel which I used:
http://pohl.ececs.uc.edu/~adam/gentookernelG3.tar.gz


Last edited by KungFuJesus on Sun Mar 04, 2007 5:19 am; edited 2 times in total
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: Sun Mar 04, 2007 5:13 am    Post subject: Reply with quote

HOLY POOP, FINALLY!!!!
_________________
Anyone who is not confused by quantum theory does not truly understand it.


Last edited by piroko on Fri Mar 09, 2007 3:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Mar 04, 2007 4:07 pm    Post subject: Reply with quote

I tested the 2006.1 release (before release) on my 8500/180 and it works fine with the kernel provided and the documentation I wrote. Can you be more specific as to the problem you were having so we can get it fixed for 2007.0? How much ram do you have?

Gentoo-sources have squashfs patched in already. It's one of the reasons why we maintain Gentoo-sources.

There's no reason to feel humbled by the Gentoo devs, we're just regular people. :)

And piroko, please watch your language.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
KungFuJesus
n00b
n00b


Joined: 04 Mar 2007
Posts: 42

PostPosted: Sun Mar 04, 2007 11:35 pm    Post subject: Reply with quote

I have 512 mb of ram. When I use the ramdisk with the provided apple kernel, it will begin to show the cpu stats before the actual init and then I get a frozen display. Then it's done. If I had serial output for my console I may be able to say more about what it tells you before the crash.

Oh yeah, and a lot of it may have to do with the sym53c875 scsi controller that came with it. That seemed to present trouble for me in the 2006.0 bootdisk.

would you like my lspci and cat /proc/cpuinfo?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Mar 05, 2007 3:09 am    Post subject: Reply with quote

What was the last line?

It sounds like it may have frozen at Framebuffer initialization, in which case, I would suggest appending video=ofonly to your kernel strings.

I think a working kernel config would also be useful if possible, so I can compare it with the release kernel config.

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


Joined: 04 Mar 2007
Posts: 42

PostPosted: Mon Mar 05, 2007 3:12 am    Post subject: Reply with quote

I tried passing all the video= arguments in bootX with no luck. My .config is now gone, as the partition for yellowdog that was used to compile it is now overwritten with Gentoo :-/. I'll let you know if the gentoo-sources kernel I'm compiling works out, and if not, I'll make it work while I use the vanilla one I built.

Last edited by KungFuJesus on Mon Mar 05, 2007 4:08 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Mar 05, 2007 3:20 am    Post subject: Reply with quote

Okay, thanks. Please let me know. Would you also be interested in testing the 2007.0 release when it is ready? If so, please pm me with your email address so I can let you know when the time comes. :)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
KungFuJesus
n00b
n00b


Joined: 04 Mar 2007
Posts: 42

PostPosted: Tue Mar 06, 2007 10:55 pm    Post subject: Reply with quote

Here is a .config with gentoo sources which worked for me. My BMAC wasn't modular at the time, but I recently but in an intel e100 card which is 10x's the speed, so I don't want to use that device.

http://pohl.ececs.uc.edu/~adam/.config
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