Possible fix for ALL non booting linux kernels

Discuss PearPC's Development and any bugs you find here

APIC?

Postby Guest » Mon May 09, 2005 7:51 pm

Could it have something to do with the linux kernel trying to initialize the programmable interrupt controller? I seem to recall that when I compared the screens of Yellow Dog linux booting on a real mac vs. pearpc that the APIC initialization is where it stopped at in PearPC. But I'm no programmer...
Guest
 

Re: APIC?

Postby dfoesch » Tue May 10, 2005 2:23 am

[quote="Anonymous":3380e1ee26]
Could it have something to do with the linux kernel trying to initialize the programmable interrupt controller? I seem to recall that when I compared the screens of Yellow Dog linux booting on a real mac vs. pearpc that the APIC initialization is where it stopped at in PearPC. But I'm no programmer...
[/quote:3380e1ee26]

Usually the problem has been decompressing the kernel overwrites the yaboot executable (the kernel being much larger at 2.6.*) Loading the yaboot executable into a higher address has pretty much fixed that problem.
Daniel Foesch
PearPC Developer
dfoesch
PearPC developer
PearPC developer
 
Posts: 574
Joined: Fri Oct 15, 2004 7:36 pm
Location: Seattle

Postby Guest » Wed May 11, 2005 6:06 am

And how do you do that?
Guest
 

Postby dfoesch » Wed May 11, 2005 7:10 am

[quote="Anonymous":04ed6ab8ad]
And how do you do that?
[/quote:04ed6ab8ad]

Open up src/io/prom/promboot.cc

Find the line that defines LOAD_ADDRESS, and increase it. Then recompile.

NOTE: Linux 2.6 is still not working though, as its framebuffer is not working, and it also crashes at some point during the cdrom initialization.
Daniel Foesch
PearPC Developer
dfoesch
PearPC developer
PearPC developer
 
Posts: 574
Joined: Fri Oct 15, 2004 7:36 pm
Location: Seattle

Postby Guru3 » Wed May 11, 2005 3:16 pm

So you're saying that there's something in the frambuffer code that kills it as well?
Guru3
PearPC.net staff
PearPC.net staff
 
Posts: 2187
Joined: Tue Jun 29, 2004 1:37 pm

Postby pearpctweaker » Wed May 11, 2005 6:57 pm

[quote="dfoesch":770c421440]
[quote="Anonymous":770c421440]And how do you do that?
[/quote:770c421440]

Open up src/io/prom/promboot.cc

Find the line that defines LOAD_ADDRESS, and increase it. Then recompile.

NOTE: Linux 2.6 is still not working though, as its framebuffer is not working, and it also crashes at some point during the cdrom initialization.
[/quote:770c421440]

Have you tried getting an already installed hard disk image for a linux system and see what happens? As in, one that's not loading off of CD as far as the OS sees....
Image
(RealArcade, RealRhapsody, CompleteHome, all good offers)

Patch Development: http://forums.pearpc.net/viewtopic.php?p=14217
pearpctweaker
Advanced Member
Advanced Member
 
Posts: 305
Joined: Mon Jan 17, 2005 5:45 am
Location: Asheville, NC

Postby dfoesch » Thu May 12, 2005 6:42 am

[quote="Guru3":6715aa276f]
So you're saying that there's something in the frambuffer code that kills it as well?
[/quote:6715aa276f]

Not in our framebuffer code necessarily, and it doesn't kill the bootup. The CDROM error is what kills the boot.

For some reason the framebuffer doesn't work, and it's unclear if this is an error in the linux code (highly unlikely) or a lack of compatibility on our end (much more likely)

Basically, there's a lot broken besides just loading the Linux 2.6 kernel into memory.
Daniel Foesch
PearPC Developer
dfoesch
PearPC developer
PearPC developer
 
Posts: 574
Joined: Fri Oct 15, 2004 7:36 pm
Location: Seattle

Previous

Return to PearPC Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron