Bad interaction dosemu - kerneld?

Romano Giannetti (romano@iet.unipi.it)
Thu, 19 Dec 1996 16:24:31 +0100 (MET)


Hi all!

I have a little problem with the new dosemu (or the new kernel,
I do not know). I have a kernel 2.0.27, partly modularized; I have the
floppy module autoloaded by kerneld on request (kerneld from
modules-2.0.0). Well, it all works well if I do a mdir a: from the shell:
floppy.o got loaded and all is working, and after sometime kerneld
unloads correctly the module.

If tthe module is not loaded and I do a dir a: form the xdos windows,
(dosemu 0.64.2 compiled without the vm86enhanced, without MIT X shared
extension, without SB emu), the following happens:

DOS says: (translated from italian :-)

Sector not found reading unit A:
Cancel, Retry, Tr... ? <- what does a english dos ask?

DOSEMU says:

SYSCALL ERROR: 19, *No such device* in file disks.c, line 581: expr=
open(dp->dev_name, dp->wantrdonly ? O_RDONLY : O_RDWR, 0)
DISK: closed disk
ERROR: Sector not found 1!

about ten times, and kernel complain :

Dec 19 16:01:10 sirio insmod: A module named floppy already exists
Dec 19 16:01:10 sirio kernel: inserting floppy driver for 2.0.27
Dec 19 16:01:10 sirio kernel: Floppy drive(s): fd0 is 1.44M
Dec 19 16:01:10 sirio kernel: FDC 0 is an 8272A
Dec 19 16:01:10 sirio insmod: A module named floppy already exists
Dec 19 16:01:12 sirio last message repeated 11 times

Saying R)etry to the dos dir command it now run correctly.

Now sometime I have a lot of zombie modprobe, sons of kerneld, but
kerneld seems to work (well, sometime it does not unload the floppy
module, but it loads other needed modules).

Well, apart of this glitch, dosemu seems to work very well. Really a good
work, thank you all! And Merry Christmas and a happy new year to all!
(PS: please Cc: the answer to me, I will be on vacation next two weeks... )

Bye,
Romano

------------------------------------------------------------------
Dr. Romano Giannetti Dip. di Ingegneria dell'Informazione
Researcher Elettronica Informatica Telecomunicazioni
romano@iet.unipi.it University of Pisa
------------------------------------------------------------------