Re: Netbsd v 8.0 fails to boot on spare ultra 45

"Michael L. Hitch" <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On Sat, 22 Dec 2018, Jerome Ibanes wrote:

> Could you try a GENERIC.UP kernel and/or disable the audio driver?
>
> Thank you,
> Jerome

   I haven't tried GENERIC.MP, but I have effectively disabled the audio 
driver (forced the code to never match - quicker than removing it from 
the config and rebujilding the entire kernel).  It is able to boot after 
that, although I didn't run that kernel very long.

   I was able to track a specific commit of audio.c that starts crashing.

/*      $NetBSD: audio.c,v 1.335 2017/05/06 00:13:25 nat Exp $  */
   This one boots.

/*      $NetBSD: audio.c,v 1.337 2017/05/08 07:31:34 martin Exp $       */
   This one crashes with SIR.

   I can't see any reason why that change would cause this.  I'm starting 
to suspect the problem is acually elsewhere and that one change just 
causes the real problem to consistently occur.

   I was trying to see how far the audio attach got on a current netbsd-8 
tree, and got to a point where kmem_zalloc() is called, but never 
returned.  With the tree I used to locate the audio.c commuit that fails, 
it appears to get much further in the audio attach code before is fails.

   One other possibly related problem is that a few times I had sshd fault 
on startup on boot.  I wasn't paying much attention to which kernel that 
was at the time.

Mike

---
Michael L. Hitch                        [email protected]
Operations Consulting,  University Information Technology
Montana State University, Bozeman, MT     USA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.