Re: [M-Labs devel] NetBSD kernel booting on lm32
Yann Sionneau <[email protected]> Fri, 21 Mar 2014 19:05:49 +0100
| Newsgroups | gmane.os.netbsd.devel.kernel,gmane.os.netbsd.devel.ports,gmane.comp.multimedia.milkymist.devel |
|---|---|
| Message-ID | <CACi+aWbsWf0eus_PNAQfagWuzvmhvbMVGhUOcZ_LJtt9ySDnRw@mail.gmail.com> |
--20cf3040e42e5d07ae04f521bc93 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Le 21 mars 2014 18:16, "Christos Zoulas" <[email protected]> a =E9crit : > > In article <CACi+aWYQ9x8c2W6M7qwzOdr=3D [email protected]>, > Yann Sionneau <[email protected]> wrote: > >2014-03-20 10:38 GMT+01:00 Yann Sionneau > ><[email protected]>: > >> Hi, > >> > >> I am very happy to announce that the NetBSD/lm32 project is making goo= d > >> progress :) > >> > >>[...] > >> > >> Regards, > >> > > > >Hi NetBSD guys, > > > >Is this normal I get that much error messages about sysctl_createv ? > >Am I doing something wrong here? > > > >seems return 2 means "ENOENT" when doing the sysctl_locate() from > >within sysctl_createv(). > > > >Moreover, when adding "options INET" in my kernel config, then > >arp_init() is doing a lot of sysctl_createv() one of them is filling a > >"node" pointer with NULL, then this node is dereferenced later in > >other calls to sysctl_createv(), I don't see exactly why this happens > >( cf http://nxr.netbsd.org/xref/src/sys/netinet/if_arp.c#1631 ). > > 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. > I don't see this in any of the kernels I boot.. > > christos > --20cf3040e42e5d07ae04f521bc93 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <p dir=3D"ltr">Le 21 mars 2014 18:16, "Christos Zoulas" <<a hr= ef=3D"mailto:[email protected]">[email protected]</a>> a =E9crit :<b= r> ><br> > In article <CACi+aWYQ9x8c2W6M7qwzOdr=3D<a href=3D"mailto:L9cVZKZ_P4= [email protected]">[email protected]<= /a>>,<br> > Yann Sionneau =A0<<a href=3D"mailto:[email protected]">yann.s= [email protected]</a>> wrote:<br> > >2014-03-20 10:38 GMT+01:00 Yann Sionneau<br> > ><<a href=3D"mailto:[email protected]">yann.sionneau@gmail= .com</a>>:<br> > >> Hi,<br> > >><br> > >> I am very happy to announce that the NetBSD/lm32 project is m= aking good<br> > >> progress :)<br> > >><br> > >>[...]<br> > >><br> > >> Regards,<br> > >><br> > ><br> > >Hi NetBSD guys,<br> > ><br> > >Is this normal I get that much error messages about sysctl_createv= ?<br> > >Am I doing something wrong here?<br> > ><br> > >seems return 2 means "ENOENT" when doing the sysctl_loca= te() from<br> > >within sysctl_createv().<br> > ><br> > >Moreover, when adding "options INET" in my kernel config= , then<br> > >arp_init() is doing a lot of sysctl_createv() one of them is filli= ng a<br> > >"node" pointer with NULL, then this node is dereferenced= later in<br> > >other calls to sysctl_createv(), I don't see exactly why this = happens<br> > >( cf <a href=3D"http://nxr.netbsd.org/xref/src/sys/netinet/if_arp.= c#1631">http://nxr.netbsd.org/xref/src/sys/netinet/if_arp.c#1631</a> ).<br> ><br> > Do you see the printf:<br> ><br> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 printf("sysctl_createv: sysctl_lo= cate(%s) returned %d\n",<br> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 nnode.sysctl_name, error);<br> ><br> Yes that's exactly the printf I am seeing, I am using diagnostic and de= buglock options if that matters. I have seen such messages a bit while goog= ling, for instance in the boot of NetBSD/avr32 which have been posted to th= e list.<br> </p> <p dir=3D"ltr">> I don't see this in any of the kernels I boot..<br> ><br> > christos<br> ><br> </p> --20cf3040e42e5d07ae04f521bc93--