installing the kernel
Hello sir, Here we are installing the kernel by following commond #make depend #make #make install But #make depend is working when we give #make it giving following error so please mention what is wrong with us. Warning: Object directory not changed from original /usr/src/sys/dev/ipmi cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c ipmi.c *** Error code 1 Stop in /usr/src/sys/dev/ipmi. Thank U and Regards Dhananjaya Hiremath - Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: doubts regarding the kernel programs
Hello sir, Here we are forewording the source code for that we have to make modification in the command "IPMI_REGISTER-FOR_CMD" .This is uniplemented command so we want to iplement it and want to print a message like" IPMI REGISTER FOR CMD" has been called. Thank U and Regards Dhananjaya Hiremath - It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar./*- * Copyright (c) 2006 IronPort Systems Inc. <[EMAIL PROTECTED]> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the *documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #include __FBSDID("$FreeBSD: src/sys/dev/ipmi/ipmi.c,v 1.5 2006/09/26 15:48:13 jhb Exp $"); #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef LOCAL_MODULE #include #include #else #include #include #endif #ifdef IPMB static int ipmi_ipmb_checksum(u_char, int); static int ipmi_ipmb_send_message(device_t, u_char, u_char, u_char, u_char, u_char, int) #endif static d_ioctl_t ipmi_ioctl; static d_poll_t ipmi_poll; static d_open_t ipmi_open; static d_close_t ipmi_close; int ipmi_attached = 0; #define IPMI_MINOR 0 static int on = 1; SYSCTL_NODE(_hw, OID_AUTO, ipmi, CTLFLAG_RD, 0, "IPMI driver parameters"); SYSCTL_INT(_hw_ipmi, OID_AUTO, on, CTLFLAG_RW, &on, 0, ""); static struct cdevsw ipmi_cdevsw = { .d_version =D_VERSION, .d_open = ipmi_open, .d_close = ipmi_close, .d_ioctl = ipmi_ioctl, .d_poll = ipmi_poll, .d_name = "ipmi", }; MALLOC_DEFINE(M_IPMI, "ipmi", "ipmi"); static int ipmi_open(struct cdev *cdev, int flags, int fmt, struct thread *td) { struct ipmi_device *dev; struct ipmi_softc *sc; if (!on) return (ENOENT); dev = cdev->si_drv1; sc = dev->ipmi_softc; IPMI_LOCK(sc); if (dev->ipmi_open) { IPMI_UNLOCK(sc); return (EBUSY); } dev->ipmi_open = 1; IPMI_UNLOCK(sc); return (0); } static int ipmi_poll(struct cdev *cdev, int poll_events, struct thread *td) { struct ipmi_device *dev; struct ipmi_softc *sc; int revents = 0; dev = cdev->si_drv1; sc = dev->ipmi_softc; IPMI_LOCK(sc); if (poll_events & (POLLIN | POLLRDNORM)) { if (!TAILQ_EMPTY(&dev->ipmi_completed_requests)) revents |= poll_events & (POLLIN | POLLRDNORM); if (dev->ipmi_requests == 0) revents |= POLLERR; } if (revents == 0) { if (poll_events & (POLLIN | POLLRDNORM)) selrecord(td, &dev->ipmi_select); } IPMI_UNLOCK(sc); return (revents); } static void ipmi_purge_completed_requests(struct ipmi_device *dev) { struct ipmi_request *req; while (!TAILQ_EMPTY(&dev->ipmi_completed_requests)) { req = TAILQ_FIRST(&dev->ipmi_completed_requests); TAILQ_REMOVE(&dev->ipmi_completed_requests, req, ir_link); dev->ipmi_requests--; ipmi_free_request(req); } } static int ipmi_close(struct cdev *cdev, int flags, int fmt, struct thread *td) { struct ipmi_request *req, *nreq; struct ipmi_device *dev; struct ipmi_softc *sc; #ifdef CLONING int bit; #endif dev = cdev->si_drv1; sc = dev->ipmi_softc; IPMI_LOCK(sc)
doubts regarding the kernel programs
Hello sir, Here we got the kernel source code and we want to modify the code so that we can print a some debug message.If we do this change where we will see this modification if we compile this again or is there any mothod to see weather modified method is correct or not. Thank U and Dhananjaya Hiremath - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
changing the kernel code.
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
(no subject)
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ipmi drivers
Hello sir, Here we did the following command to build the ipmi. # cd /usr/src/sys/modules/i2c/smbus && make && make install # cd /usr/src/sys/modules/ipmi && make && make install # kldload smbus # kldload ipmi Then how we come to know that the driver is installed.And how to ensure that driver runs successfully. And pls specfiy the steps for building on the freebsd. - Don't get soaked. Take a quick peak at the forecast with theYahoo! Search weather shortcut. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Fwd: building ipmi drivers
Note: forwarded message attached. - Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. --- Begin Message --- Hello sir, Here we did the following command to build the ipmi. # cd /usr/src/sys/modules/i2c/smbus && make && make install # cd /usr/src/sys/modules/ipmi && make && make install # kldload smbus # kldload ipmi Then how we come to know that the driver is installed.And how to ensure that driver runs successfully. And pls specfiy the steps for building on the freebsd. When we gone through the ioport dir and while reading Makefile.pre.in it mentioned as build and install the python1.5 newer.Then what we have to do build and istalle the python running the make command becaluse it is giving error as makefile python not found. _ Ready for the edge of your seat? [1]Check out tonight's top picks on Yahoo! TV. References 1. http://us.rd.yahoo.com/evt=48220/*http://tv.yahoo.com/ --- End Message --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rebuilding the ipmi driver
Hello sir, Here we did the following command to build the ipmi. # cd /usr/src/sys/modules/i2c/smbus && make && make install # cd /usr/src/sys/modules/ipmi && make && make install # kldload smbus # kldload ipmi Then how we come to know that the driver is installed.And how to ensure that driver runs successfully. - Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
downloading the IPMI driver on FreeBSD
Hello sir, here we installed the FreeBSD 6.2 and we updated and build the system and installed the kernel.Now we want to Download the IPMI driver on FreeBSD, build it, load it, and want to ensure that it runs successfully. For that what we have to do and in which dir we have to do how to download ,build please specify the commands used to do all these things. Thank U Regards Dhananjaya Hiremth - Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rebuilding the system
Hello sir, Here we installed the FreeBSD 6.2 release and did the check out operation.Now we want to di rebuild the system by using # make buildworld but it giving error as make: don't know how to make buildworld. Stop another thing is that my /usr/src/ dir has only gnu and etc, but in handbook it is written as check the UPDATING in the dir /src. But there is no such file.So now how to rebuild the system. We checked the FreeBSD handbook aslo we are not getting the correct answers from there. Thank U Regards Dhananjaya Hiremath - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Recompiling the source tree
Hello sir, Here we installed FreeBSD 6.2 RELEASE and installing the gnome2.But here it is giving file system is full (device is full) but we used the entire disk how it is possible to full the disk. And another thing is we updated the source tree but how to recompile this. - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Configuring Network In FreeBSD 6.2 Release
Hello sir, We have problem with how to configure the internet in FreeBSD 6.2 RELEASE and how to usr internet in this OS.Please guide us sir, THank U Regarda Dhananjaya Hiremath - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing the CVS
Hello sir, Please specifies how to get the CVS to FreeBSD.And some packages are not installing lile( samba,python etc) It is giving the error so how we can install this one. Thank U Dhananjaya Hiremath - Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
about FreeBSD debugging
Hi, I installed the FreeBSD but some of its packages are not working. For that we have to check debugging option.Please can u tell me how to debug. I dont know any thing about debugging Thank U Regards Dhananjaya Hiremath - We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing the FreeBSD GUI
Hi, I am student of MSRIT and doing project in HP. I installede the FreeBSD 6.2 in command mode only.I want that to be in GUI.So how can I do in and one more thing is that how to debug the installation weather all the package and ports are working or not. thank U Dhananjaya - Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"