Re: [osol-code] Calling kernel functions

2006-11-27 Thread Peter Memishian
> Calling ip_cksum is probably not a good idea, btw. Its not a public > function, and subject to change. Indeed. That said, perhaps an IP checksum routine should become part of the Solaris DDI. -- meem ___ opensolaris-code mailing list opensolaris

Re: [osol-code] Calling kernel functions

2006-11-27 Thread Garrett D'Amore
Scott Aitchison wrote: > Hi all. > > I'm trying to call a function from a kernel module that is within the kernel > (ip_cksum). However, everytime I load the module, I get an "undefined > symbol" message for it. > > I think I'm missing something basic here, but I'm not sure what it is. What >

[osol-code] Calling kernel functions

2006-11-27 Thread Scott Aitchison
Hi all. I'm trying to call a function from a kernel module that is within the kernel (ip_cksum). However, everytime I load the module, I get an "undefined symbol" message for it. I think I'm missing something basic here, but I'm not sure what it is. What options do I have to pass to "ld" whe

Re: [osol-code] Re: How to make in cmd/usr.sbin to open debug switch

2006-11-27 Thread Darren J Moffat
Jürgen Keil wrote: I want to build a command via "make" in source tree, but by default, it seems that it can not build a version with debug info. Is there a easy way to build it via "make" in cmd subdir. I'm using something like this (example: recompile "format" utility with debug info) : % bl

[osol-code] About debug hang issues with deadman

2006-11-27 Thread Oliver Yang
Hi All, Recently, I ran into a hang issue, and I enabled deadman timer by setting "set snooping =1" in /etc/system file. Finally, we got a crashdump file. Does anybody can give me a hint on how to debug hang issue with enabling deadman? Here are steps what I have tried on one of crashdump