Re: Further: Debugging printfs in OpenBSD lkm module

2006-09-23 Thread Chris 'Xenon' Hanson
Ted Unangst wrote: On 9/21/06, Chris 'Xenon' Hanson <[EMAIL PROTECTED]> wrote: I've tried including syslog.h and using the syslog() call, but at driver load time it complains about modload not being able to load the module because of the reference to syslog. I tried printf(), which compiled,

Re: Further: Debugging printfs in OpenBSD lkm module

2006-09-22 Thread Ted Unangst
On 9/21/06, Chris 'Xenon' Hanson <[EMAIL PROTECTED]> wrote: I've tried including syslog.h and using the syslog() call, but at driver load time it complains about modload not being able to load the module because of the reference to syslog. I tried printf(), which compiled, loaded and ran fine

Re: Further: Debugging printfs in OpenBSD lkm module

2006-09-22 Thread Woodchuck
On Fri, 22 Sep 2006, Chris 'Xenon' Hanson wrote: > Chris 'Xenon' Hanson wrote: > > I think I can sort out the problem if I can just get a few debug printfs > > to spit out some bits of info at certain times. But, I'm not an experienced > > BSD kernel guy and I've been unsuccessful in doing so. >

Re: Further: Debugging printfs in OpenBSD lkm module

2006-09-22 Thread Chris 'Xenon' Hanson
Chris 'Xenon' Hanson wrote: I think I can sort out the problem if I can just get a few debug printfs to spit out some bits of info at certain times. But, I'm not an experienced BSD kernel guy and I've been unsuccessful in doing so. Is this the wrong list to be asking this sort of stuff on?

Further: Debugging printfs in OpenBSD lkm module

2006-09-21 Thread Chris 'Xenon' Hanson
Ok, I'm still trying to get some protocol debugging done in Sangoma's PPP implementation for their excellent S518 ADSL card. I have it working under Linux, but something minor but critical seems to be failing under OpenBSD, because they internal PPP never accepts the LCP options offered by my