| View previous topic :: View next topic |
| Author |
Message |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Mon Jan 25, 2010 10:03 pm Post subject: Loading a usermode PRX from a kernelmode PRX |
|
|
I got this error when trying to do that: 0x80020149 (SCE_KERNEL_ERROR_ILLEGAL_PERM_CALL). Can somebody please explain this error?
And is there any way I can load a usermode PRX from a kernelmode PRX? Or otherwise load a usermode PRX as a plugin on CFW?
Thanks for your time! :) _________________
| The Incredible Bill Gates wrote: | | The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers. |
|
|
| Back to top |
|
 |
Davee
Joined: 22 Jun 2009 Posts: 59
|
Posted: Mon Jan 25, 2010 10:18 pm Post subject: |
|
|
| What firmware are you running? |
|
| Back to top |
|
 |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Mon Jan 25, 2010 10:37 pm Post subject: |
|
|
5.00 M33-6 _________________
| The Incredible Bill Gates wrote: | | The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers. |
|
|
| Back to top |
|
 |
Coldbird

Joined: 08 Feb 2007 Posts: 155
|
Posted: Thu Jan 28, 2010 7:24 am Post subject: |
|
|
Yes I can explain.
You are probably trying to compile your Kernel Module using newlib, doing so results in Permission Errors on loading modules...
To remedy that you will have to rely on the smaller kernel lib...
So make sure your makefile contains the following 2 lines...
USE_KERNEL_LIBC = 1
USE_KERNEL_LIBS = 1
In doing so you will be able to load modules just fine.
But keep in mind that a lot of newlib features wont be available, so some functions you might be using you will have to reimplement or import yourself... _________________ Been gone for some time. Now I'm back. Someone mind getting me up-2-date? |
|
| Back to top |
|
 |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Thu Jan 28, 2010 10:49 pm Post subject: |
|
|
Yup, was that, thanks for pointing that out :)
Any ideas why it doesn't work with newlib? _________________
| The Incredible Bill Gates wrote: | | The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers. |
|
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Fri Jan 29, 2010 1:41 am Post subject: |
|
|
| Why the hell would anyone use newlib for a kernel module? Just compiling an empty module with it produces 84KiB of bloat. |
|
| Back to top |
|
 |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Sun Jan 31, 2010 3:03 am Post subject: |
|
|
Thanks Torch, but what I'm asking is why it produces an error, not discussing why someone would or not use it :P _________________
| The Incredible Bill Gates wrote: | | The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers. |
|
|
| Back to top |
|
 |
|