From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 30 13:00:28 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8582B16A4CE for ; Thu, 30 Dec 2004 13:00:28 +0000 (GMT) Received: from nerve.riss-telecom.ru (nerve.riss-telecom.ru [80.66.65.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A95F43D45 for ; Thu, 30 Dec 2004 13:00:27 +0000 (GMT) (envelope-from frol@nerve.riss-telecom.ru) Received: from nerve.riss-telecom.ru (4fr5gfgavy0hndvo@localhost [127.0.0.1]) by nerve.riss-telecom.ru (8.13.1/8.13.1) with ESMTP id iBUD01Uq023781; Thu, 30 Dec 2004 19:00:01 +0600 (NOVT) (envelope-from frol@nerve.riss-telecom.ru) Received: (from frol@localhost) by nerve.riss-telecom.ru (8.13.1/8.13.1/Submit) id iBUD01SJ023780; Thu, 30 Dec 2004 19:00:01 +0600 (NOVT) (envelope-from frol) Date: Thu, 30 Dec 2004 19:00:01 +0600 From: Dmitry Frolov To: FreeBSD Hackers List Message-ID: <20041230130001.GA23464@nerve.riss-telecom.ru> Mail-Followup-To: FreeBSD Hackers List , Tom Alsberg References: <20041227075616.GA9502@cs.huji.ac.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041227075616.GA9502@cs.huji.ac.il> Organization: RISS-Telecom, JSC X-PGP-Fingerprint: 5232 98E7 596E 21C2 52B5 FCAE 8088 3F87 88BC 27B0 User-Agent: Mutt/1.5.6i cc: Tom Alsberg Subject: Re: i386_set_ioperm on FreeBSD 5.3 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 13:00:28 -0000 * Tom Alsberg [27.12.2004 13:57]: > Hi there. > > I'm trying to use some code I wrote quite a while ago using Doug > White's FreeBSD IPMI code (kcs.c, send-kcs-command.c, etc.). > > It still works as it did back then on FreeBSD 4.10. On FreeBSD 5.3 it > does not. > > Problem seems to be, that i386_set_ioperm isn't doing what it should. > The program gets SIGBUS when doing outb, while it shouldn't. I was able to work around this by using io(4). wbr&w, dmitry. -- Dmitry Frolov RISS-Telecom Network, Novosibirsk, Russia 66415911@ICQ, +7 3832 NO WA1T, DVF-RIPE