Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: X server startup fails on Ultra-45 with Sun XVR-100



> [   149.779562] radeonfb0: autoconfiguration error: mmap() rejected.
>
> For completeness, kern.securelevel=1 as per default.

i think this is exactly the problem.  netbsd/sparc64 has regressed
(a long while ago) and needs securelevel=-1 for many cards now days.
try a kernel with options INSECURE, unfortunately.

the failure happens when a KAUTH_MACHDEP_UNMANAGEDMEM request is
rejected, and that happens when trying to map the non-screen memory
for radeonfb.c.

Mac, are these registers? can they be abused to modify other kernel
memory?  what's the specific problem here?  i see this code in many
of the fb drivers, and the comments seem to be pre-kauth issue here,
since it says:

 * restrict all other mappings to processes with superuser privileges
 * or the kernel itself

but without understanding i can't judge.


.mrg.


Home | Main Index | Thread Index | Old Index