[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-emulation
Subject:    Re: sec:uRe: sec:uRe: sec:uRe: [net/citrix_ica/]
From:       John E Hein <jhein () timing ! com>
Date:       2007-05-08 13:28:11
Message-ID: 17984.31467.919324.655183 () gromit ! timing ! com
[Download RAW message or body]

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.
_______________________________________________
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic