Re: New Kernel Bug (a small one)

Bart Oldeman <[email protected]>
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
On Mon, 28 Oct 2002, Alain wrote:

> > I tried NDN 2.02 both on a "network" (DOSEMU lredir) drive and a FAT drive
> > with 2027rc and I didn't get a critical error for F8. Could you try and
> > see what the behaviour is with kernel versions 2026b and 2027te?
>
> I tested both with the same problem :(
> Did you test it on a "real" machine?

I did the same now with logging on and low and behold I have the same
problem as you (critical error)

> I believe that this problem and the "copy with F5" problem
> are very much related. As well as the "not closing files" on
> the network: this last one just looks like NDN just could
> detect that the file was not closed! What as the not closing
> problem? how did you fix it?

Tom fixed it. The not closing problem was a new bug; but probably
unrelated to what you see here.

> I made a small test creating a file and then deleting it with
> unlink() and all looks ok. Is there other ways of deleting a file?

No, but see this log:

INT21 (0) at 23bf:0042: AX=2c01, BX=297f, CX=0000, DX=0014, DS=297f, ES=5f29
INT21 (0) at 23bf:000c: AX=2a00, BX=0000, CX=0001, DX=0000, DS=297f, ES=5f29
INT21 (0) at 23bf:0042: AX=2c01, BX=297f, CX=0000, DX=0014, DS=297f, ES=5f29
INT21 (0) at 23bf:000c: AX=2a01, BX=0000, CX=0001, DX=0000, DS=297f, ES=5f29

here NDN is waiting while checking date and time after I press F8. Then I
say yes.

INT21 (0) at 24bc:3ef0: AX=1900, BX=454e, CX=0000, DX=297f, DS=3771, ES=5f15

get current default drive, nothing special

INT21 (0) at 24bc:3f03: AX=4743, BX=454e, CX=0000, DX=2903, DS=3771, ES=5f15
INT21 (0) at 24bc:3f03: AX=4783, BX=0000, CX=6186, DX=6143, DS=3771, ES=6186

get current directory (twice for some reason)

INT21 (0) at 456b:0207: AX=4409, BX=0043, CX=004c, DX=6143, DS=297f, ES=3771

check if block device remote

INT21 (0) at 0be0:05eb: AX=5942, BX=0000, CX=2000, DX=1707, DS=297f, ES=61d9

get extended error info. now NDN thinks it's a critical error; I say
"abort".

INT21 (0) at 23bf:0042: AX=2c01, BX=297f, CX=0000, DX=0014, DS=297f, ES=5f29
INT21 (0) at 23bf:000c: AX=2a20, BX=0000, CX=0001, DX=0000, DS=297f, ES=5f29
INT21 (0) at 24bc:3dea: AX=4100, BX=654c, CX=0000, DX=6cd4, DS=3771, ES=3771
check date time and delete the file. This goes all well and merry.

So I'm thinking it's a problem between ax=4409 and ah=59.
I think I should be able to fix this after all. Stay tuned.

Bart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.