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

Alexander Schreiber <[email protected]> Wed, 18 Dec 2024 23:02:57 +0100
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On Wed, Dec 18, 2024 at 04:21:32PM +0100, Alexander Schreiber wrote:
> On Wed, Dec 18, 2024 at 07:03:56AM +1100, matthew green wrote:
> > > [   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.
> 
> Ah, I suspected that to be the case, which is why I included that
> detail, thanks for confirming my suspicion.
> 
> I'll cook up a kernel with INSECURE, try again and will report
> back.

And that did the trick. Rebooted with a fresh kernel with
option INSECURE, set securelevel in rc.conf and sysctl.conf to -1,
rebooted again and was greeted by xdm as configured.

Thanks.

Kind regards,
          Alex.
-- 
"Opportunity is missed by most people because it is dressed in overalls and
 looks like work."                                      -- Thomas A. Edison