Re: [M-Labs devel] NetBSD kernel booting on lm32
Yann Sionneau <[email protected]> Thu, 27 Mar 2014 20:55:00 +0100
| Newsgroups | gmane.os.netbsd.devel.kernel,gmane.os.netbsd.devel.ports,gmane.comp.multimedia.milkymist.devel |
|---|---|
| Message-ID | <[email protected]> |
Le 21/03/14 21:42, Christos Zoulas a =E9crit : > On Mar 21, 7:05pm, [email protected] (Yann Sionneau) wrote: > -- Subject: Re: [M-Labs devel] NetBSD kernel booting on lm32 > > | > Do you see the printf: > | > > | > printf("sysctl_createv: sysctl_locate(%s) returned = %d\n", > | > nnode.sysctl_name, error); > | > > | Yes that's exactly the printf I am seeing, I am using diagnostic and > | debuglock options if that matters. I have seen such messages a bit wh= ile > | googling, for instance in the boot of NetBSD/avr32 which have been po= sted > | to the list. > > This is really strange. I would add some more printfs to see what's cau= sing > it. This printf would appear in all kernels... Perhaps something is > uninitialized and ends up 0 usually? > > christos FYI I found the root of the issue, "setfault" was a stub, therefore=20 kcopy() was behaving "weirdly". Fixed in=20 https://github.com/fallen/NetBSD/commit/ebb6e13376f0ed008a6dd4ff81ca16e87= 56ce40e Thanks :) --=20 Yann