From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 15:15:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26EBC106566C for ; Tue, 23 Nov 2010 15:15:32 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 63CF68FC13 for ; Tue, 23 Nov 2010 15:15:29 +0000 (UTC) Received: by ewy3 with SMTP id 3so4670888ewy.13 for ; Tue, 23 Nov 2010 07:15:29 -0800 (PST) Received: by 10.213.114.77 with SMTP id d13mr1675176ebq.44.1290525328880; Tue, 23 Nov 2010 07:15:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.19.9 with HTTP; Tue, 23 Nov 2010 07:15:07 -0800 (PST) In-Reply-To: <7F1EA323-F04F-4921-B169-E168E1CB1FC1@vt.edu> References: <20101122170806.GA58734@dan.emsphone.com> <20101122213155.GC58734@dan.emsphone.com> <47405515-D6EF-4B80-B020-0C93987EBA29@vt.edu> <7F1EA323-F04F-4921-B169-E168E1CB1FC1@vt.edu> From: Chris Brennan Date: Tue, 23 Nov 2010 10:15:07 -0500 Message-ID: To: Weihang Wang Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Dan Nelson , freebsd-questions@freebsd.org Subject: Re: Got an error: Unknown option "DDB_CTF" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 15:15:32 -0000 On Mon, Nov 22, 2010 at 9:58 PM, Weihang Wang wrote: > Hi, > > Thanks for your reply. Yes, now I still got problems. I have checked the > release notes of versions later than 6.0, almost every version has not so > few changes in their network protocols kernel. For example, some functions > were replaced by others, arguments for a function is not needed in a later > version, things like that... This will make the transport protocol does not > work. But if I go through to adapt the protocol to a new version, that would > be lots of work. Also, that's not what I supposed to do. > On the other hand, I could not find other kind of instrumenting tools for > FreeBSD either. E.g., Systemtap, LLtng, Oprofile e.t. which are all for > Linux kernel. > In terms of not on real machine, I have thought of using some kind of > simulator, which could be used to get the performance statistics of the > kernel. That is, I run the kernel and transport protocol on this simulator, > and get information from this simulator. But again, not found a simulator > for FreeBSD... > BTW, I do not know how to use VM to do this... Could you explain a bit for > me? Thank you so much. > > Best, > W.Wang > > > Don't top post, ruins the flow of reading. VM = Virtual Machine. Grab yourself a copy of Virtual Box or VMWare for your OS of choice and install it, the rest is fairly self-explanatory. Once the VM is installed, grab a few copies of VMWare and install them (If you have enough resources, you can run more then 1 VM) and see if your code works on newer versions of FreeBSD. You might be surprised what does still work w/ the compat libs from previous branches. Also keep in mind that if your 6x machine is forward-facing (i.e. has access to the world) and you happen across a security flaw, you will get almost no support from the community in fixing it as it's a discontinued branch and has reach it's EoL (End-of-Life). So you will be left to either leave the hole alone or attempt to fix it yourself. Anywho ... hth