Re: Can't access I/O ports with dosemu 1.0.2

Bart Oldeman
2002-12-27T21:23:08Z

On Fri, 27 Dec 2002, Brad Rodriguez wrote:

> Stas Sergeev wrote:
> > Upgrade your dosemu.
>
> Upgrade it to what? I'm using the current "stable release" from the
> dosemu.org site.

Stas' opinion is that the development version is more stable than the
stable version. YMMV -- 1.1.x has its own problems but DPMI and sound are
better among other things. For your problem it should not matter much.

> >> $_ports = "range 0x2f8,0x2ff range 0x320,0x327 range 0x378,0x37f range
> >> 0x3f8,0x3ff"
> >
> > If any of that range is listed in
> > /proc/ioports, then dosemu will not
> > allow its usage to avoid the conflicts.
> > So you have to disable the in-kernel
> > support for that devices.
>
> I see that COM1, COM2, and LPT1 are all listed in /proc/ioports, so I'll
> have to learn how to disable the kernel support. But 0x320-0x327 (the
> EPROM emulator) is not listed in /proc/ioports and I don't seem able to
> access those ports either.

Try to run dosemu as root and see if that works. It looks like a
permission problem.

Bart