i386_set_ioperm on FreeBSD 5.3

Dmitry Frolov frolov at riss-telecom.ru
Thu Dec 30 05:00:28 PST 2004


* Tom Alsberg <alsbergt at cs.huji.ac.il> [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 <frolov at riss-telecom.ru>
RISS-Telecom Network, Novosibirsk, Russia
66415911 at ICQ, +7 3832 NO WA1T, DVF-RIPE


More information about the freebsd-hackers mailing list