tech-kern archive

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

Re: [M-Labs devel] NetBSD kernel booting on lm32



Le 21/03/14 21:42, Christos Zoulas a écrit :
On Mar 21,  7:05pm, yann.sionneau%gmail.com@localhost (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 while
| googling, for instance in the boot of NetBSD/avr32 which have been posted
| to the list.

This is really strange. I would add some more printfs to see what's causing
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 kcopy() was behaving "weirdly". Fixed in https://github.com/fallen/NetBSD/commit/ebb6e13376f0ed008a6dd4ff81ca16e8756ce40e

Thanks :)

--
Yann


Home | Main Index | Thread Index | Old Index