Official Gitbrew Forums
These forums cover all aspects of the Gitbrew biosphere. If you would like your development project to be based here, ask an admin.

Home » PS3 » OtherOS++ » FreeBSD » pmap_bootstrap hangs sometimes
pmap_bootstrap hangs sometimes [message #94] Wed, 04 January 2012 16:02 Go to next message
glevand is currently offline  glevand
Messages: 955
Registered: July 2011
Location: SONY
Gitbrew God
Sometimes while FreeBSD boots, it hangs in pmap_bootstrap in sys/powerpc/aim/machdep.c

Trying to find out why.
Re: pmap_bootstrap hangs sometimes [message #100 is a reply to message #94] Wed, 04 January 2012 17:00 Go to previous messageGo to next message
glevand is currently offline  glevand
Messages: 955
Registered: July 2011
Location: SONY
Gitbrew God
It hangs in mps3_bootstrap:moea64_late_bootstrap

Investigating further.

[Updated on: Wed, 04 January 2012 17:00]

Report message to a moderator

Re: pmap_bootstrap hangs sometimes [message #116 is a reply to message #100] Wed, 04 January 2012 19:10 Go to previous messageGo to next message
glevand is currently offline  glevand
Messages: 955
Registered: July 2011
Location: SONY
Gitbrew God
MMU_CPU_BOOTSTRAP(mmup,0) hangs in moea64_late_bootstrap.
MMU_CPU_BOOTSTRAP points to mps3_cpu_bootstrap.
Re: pmap_bootstrap hangs sometimes [message #120 is a reply to message #116] Wed, 04 January 2012 21:42 Go to previous messageGo to next message
glevand is currently offline  glevand
Messages: 955
Registered: July 2011
Location: SONY
Gitbrew God
Maybe related to ps3fb_remap.

Replaced

lv1_gpu_close();
lv1_gpu_open(0);

with

lv1_gpu_context_free(0x55555555);
lv1_gpu_memory_free(0x5a5a5a5a);

And it seems that hangs are gone now. Need more testing.
Re: pmap_bootstrap hangs sometimes [message #131 is a reply to message #120] Wed, 04 January 2012 23:29 Go to previous message
glevand is currently offline  glevand
Messages: 955
Registered: July 2011
Location: SONY
Gitbrew God
Here is the fix: http://gitbrew.org/~glevand/ps3/freebsd/ps3_syscons_hang.pat ch
Previous Topic: FreeBSD on PS3 problems.
Next Topic: FreeBSD VUART problems
Goto Forum:
  


Current Time: Wed Jun 19 12:04:26 CEST 2013

Total time taken to generate the page: 0.02328 seconds