sec:uRe: sec:uRe: sec:uRe: [net/citrix_ica/] /usr/local/bin/wfcmgr ... hangs upon exec().

John E Hein jhein at timing.com
Tue May 8 13:28:25 UTC 2007


Wilkinson, Alex wrote at 10:44 +0800 on May  8, 2007:
 >     0n Mon, May 07, 2007 at 08:13:34AM -0600, John E Hein wrote: 
 > 
 >     >If you have DEBUG defined when you build linux.ko, then kldload _that_
 >     >linux.ko, you should immediately be able to see compat.linux.debug in
 >     >the output of sysctl -a.
 >     >
 >     >How about this:
 >     >strings linux.ko | grep Linux.debugging.control
 >     >(make sure this is the linux.ko that you think you are kldload'ing)
 > 
 > #ls /boot/kernel/*linux*
 > /boot/kernel/3dfx_linux.ko*             /boot/kernel/amr_linux.ko.symbols*
 > /boot/kernel/3dfx_linux.ko.symbols*     /boot/kernel/linux.ko*
 > /boot/kernel/aac_linux.ko*              /boot/kernel/linux.ko.symbols*
 > /boot/kernel/aac_linux.ko.symbols*      /boot/kernel/mfi_linux.ko*
 > /boot/kernel/amr_linux.ko*              /boot/kernel/mfi_linux.ko.symbols*
 > 
 > #strings /boot/kernel/*linux* | grep Linux.debugging.control
 > #
 > 
 > Well I definitely built a new kernel with debugging added to:
 > /usr/src/sys/modules/linux/Makefile.

All this tells me that the linux.ko that is installed in /boot/kernel
was not built with -DDEBUG

Look at the bottom of linux_mib.c - you should have "Linux debugging
control" in linux.ko if built with -DDEBUG.

So you either built linux.ko incorrectly or installed it incorrectly
(or failed to install it).

If you have any further questions about the build/install process,
you may want to try freebsd-questions.


More information about the freebsd-emulation mailing list