Error-message

2002-02-21 Thread Wolfgang Pausch

Hello,

I use dosemu 1.0.2 with freedos on debian linux with kernel 2.2.18. If I
start dosemu with the debug-flags -a+i, I get the following messages in
boot.log:


 Running unpriviledged in low feature mode
 kernel CPU speed is 70038 Hz
 Running on CPU=586, FPU=1
 using stderr for debug-output
 debug flags: -a+i
 debug flags: -dARWDCvXkiTsm#pQgcwhIExMnPrSgZ
 PORT: allow_io for port 0x03b8:1 perm=3 or=0 and=ff
 PORT: registered std port io handle 0x01 [0x03b8-0x03b8] fd=-1
 PORT: registered VGAEmu VGA Controller handle 0x06 [0x03c0-0x03cf] fd=-1
 PORT: registered VGAEmu CRT Controller handle 0x07 [0x03d4-0x03d5] fd=-1
 PORT: registered VGAEmu Input Status #1/Feature Control handle 0x08 
[0x03da-0x03da] fd=-1
 ERROR: PORT: conflicting devices: VGAEmu Mono/Hercules Card  std port io
 ERROR: PORT: conflicting devices: VGAEmu Mono/Hercules Card  std port io
 PORT: registered 8254 Timer0 handle 0x0a [0x0040-0x0040] fd=-1
 PORT: registered 8254 Timer1 handle 0x0b [0x0041-0x0041] fd=-1
 PORT: registered 8254 Timer2 handle 0x0c [0x0042-0x0042] fd=-1
 PORT: registered 8254 Ctrl02 handle 0x0d [0x0043-0x0043] fd=-1
 PORT: registered CMOS RAM handle 0x0e [0x0070-0x0071] fd=-1
 PORT: registered 8259 PIC0 handle 0x0f [0x0020-0x0021] fd=-1
 PORT: registered 8259 PIC1 handle 0x10 [0x00a0-0x00a1] fd=-1
 PORT: registered 8042 Keyboard data handle 0x11 [0x0060-0x0060] fd=-1
 PORT: registered 8042 Keyboard command handle 0x12 [0x0064-0x0064] fd=-1
 PORT: registered Speaker port handle 0x13 [0x0061-0x0061] fd=-1
 PORT: registered DMA - XT Controller handle 0x14 [0x-0x000f] fd=-1
 PORT: registered DMA - XT Pages handle 0x15 [0x0081-0x0087] fd=-1
 PORT: registered DMA - AT Controller handle 0x16 [0x00c0-0x00de] fd=-1
 PORT: registered DMA - AT Pages handle 0x17 [0x0089-0x008a] fd=-1
 PORT: registered Adlib (+ Advanced) Emulation handle 0x18 [0x0388-0x038b] fd=-1
 PORT: registered Midi Emulation handle 0x19 [0x0330-0x0331] fd=-1
 PORT: registered PCI Config handle 0x1a [0x0cf8-0x0cff] fd=-1
 PORT: 0x3ce can't be mapped to handle 0x1(0x6)
 PORT: 0x3cf can't be mapped to handle 0x1(0x6)
 PORT: 0x3d4 can't be mapped to handle 0x1(0x7)
 PORT: 0x3d5 can't be mapped to handle 0x1(0x7)
 PORT: 0x3da can't be mapped to handle 0x1(0x8)
 PORT: 0x3da can't be mapped to handle 0x5(0x8)
 PORT: 0x3d4 can't be mapped to handle 0x5(0x7)
 PORT: 0x3d5 can't be mapped to handle 0x5(0x7)
 DOS termination requested
 SPEAKER: sound OFF!


Since the program I wan't to execute doesn't work without errors, my
question:

Are the two lines starting with ERROR: PORT: ... important? Is there a
way to fix the problem (if it is one)?
And is this problem the reason for the lines with PORT: ... can't be
mapped to ...? How can I get rid of them?

Thanks,

Wolfgang Pausch

-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html



Re: Error-message

2002-02-21 Thread Bart Oldeman

On Thu, 21 Feb 2002, Wolfgang Pausch wrote:

  Running unpriviledged in low feature mode
  kernel CPU speed is 70038 Hz
  Running on CPU=586, FPU=1
  using stderr for debug-output
  debug flags: -a+i

you might want to use -D+i, this gives a little more context.

  PORT: allow_io for port 0x03b8:1 perm=3 or=0 and=ff

for some reason dosemu is allowed direct r/w access to port 0x3b8. Did you
specify something in dosemu.conf to do that, for instance, in $_ports?

Also from this I may assume that you are running dosemu as root (or
suid-root)?

  ERROR: PORT: conflicting devices: VGAEmu Mono/Hercules Card  std port io
  ERROR: PORT: conflicting devices: VGAEmu Mono/Hercules Card  std port io

yes. if you give direct access to port 0x3b8 then it can't be emulated as 
well.

  PORT: 0x3ce can't be mapped to handle 0x1(0x6)
...

 Are the two lines starting with ERROR: PORT: ... important? Is there a
 way to fix the problem (if it is one)?

yes, disallow direct port access (if running xdosemu that is) :-)

 And is this problem the reason for the lines with PORT: ... can't be
 mapped to ...? How can I get rid of them?

by hacking DOSEMU. There is something left to clean up in
extra_port_init() in src/emu-i386/ports.c. But these messages are
harmless.

You haven't mentioned what kind of program you want to run. So your
question is somewhat vague and I'm not sure what you are trying to
accomplish.

Bart

-
To unsubscribe from this list: send the line unsubscribe linux-msdos in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html