From owner-freebsd-questions@FreeBSD.ORG Fri May 18 07:32:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A02C916A401 for ; Fri, 18 May 2007 07:32:43 +0000 (UTC) (envelope-from om_music06@yahoo.com) Received: from web39210.mail.mud.yahoo.com (web39210.mail.mud.yahoo.com [209.191.87.247]) by mx1.freebsd.org (Postfix) with SMTP id 69F9713C468 for ; Fri, 18 May 2007 07:32:43 +0000 (UTC) (envelope-from om_music06@yahoo.com) Received: (qmail 44025 invoked by uid 60001); 18 May 2007 07:32:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=YBEdzs2QWhInOAi+CIFgDwK7USWVDQYvwE9yw2BxpVVJldt/1uF/TPTF1PvMEdninU8cNvfeXbNE1RJwZrNxUPqdFwBd9g8cm5py8QQA5ELkxr5nWjxTQnqix1xe5b3TE6OrBjTp97zqiL3xjcdjBmwd9dREKZ5nP7ww8wulUWM=; X-YMail-OSG: cBidMUAVM1kNJD3LDXSm8T7eWswYC_l6DUCGSYkxQ55F6zgCy.yiRpxTNqoeceedkq7Vn6fJhu5VeuJ3ODJmcQW3LtkKY0YzJl5ef7eAdmDjF_2vHbANCGn9Wj2ViA-- Received: from [124.30.120.154] by web39210.mail.mud.yahoo.com via HTTP; Fri, 18 May 2007 00:32:42 PDT Date: Fri, 18 May 2007 00:32:42 -0700 (PDT) From: Dhananjaya hiremath To: FreeBSD Questions MIME-Version: 1.0 Message-ID: <926546.43505.qm@web39210.mail.mud.yahoo.com> X-Mailman-Approved-At: Fri, 18 May 2007 12:00:10 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: changing the kernel code. 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: Fri, 18 May 2007 07:32:43 -0000 Hello sir, Here we installed the IPMI driver on FreeBSD 6.2 release. Now the task is to modify the kernel code as followsHere I am totally unaware of kernel coding.Please help me. For the following IPMI ioctl command "IPMICTL_REGISTER_FOR_CMD", modify the kernel code to do the following: * Print a debug message from the kernel saying "IPMI REGISTER FOR CMD" has been called * Print a debug message from the kernel to display the command number passed * Store the command number passed in some memory location in the kernel how to search these ioctl command.. Thanks and regards Dhananjaya Hiremath ____________________________ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com