Re: pre 2.0.5 2.0.6 hang with /dev/fd0

Wingerde van GR (gertjan@cs.vu.nl)
Wed, 22 May 1996 12:57:05 +0200 (MET DST)


Frank Pavageau writes:
>
> On Mon, 20 May 1996, Alex Gitelman wrote:
>
> > pre 2.0.5 and 2.0.6 always hang then I mount /dev/fd0 with minix
> > and try to delete some files. File created by touch was deleted but
> > files of biger size cause hang. No messages - just total freezing.
> > 2.0.4 - OK.
> >
> Well, I noticed that yesterday and thought it was faulty hardware, but
> when I tried with pre2.0.4, it did work, so I guess it's a bug. It's
> still there with pre2.0.7, which I just tried.
>
> Under X it frozes everything solid , but then I reproduced it in text
> mode and was able to change VCs, and print the CPU state.
>
> It looks like it loops in V1_trunc_indirect, from the CPU state :
> EIP: 0010:[<0014a381>] EFLAGS: 00000257
> EAX: 00000000 EBX: 00000000 ECX: 015c6ef4 EDX:013f46ac
> ESI: 00000000 EDI: 00000000 EBP: 00000488 DS: 0018 ES: 0018 FS: 002b GS: 002b
>
> and from vmlinux :
> 0014a1bc t V1_trunc_direct
> 0014a1bc t gcc2_compiled.
> 0014a2c0 t V1_trunc_indirect
> 0014a4e8 t V1_trunc_dindirect
> 0014a638 T V1_minix_truncate
>
> (asking for other states shows that it stays somewhere between 0014a340
> and 0014a390).
>
> This is on a fresh pre2.0.7, with nothing special enabled (config follows).

I don't think it is something in the minix code. It hasn't changed during
the last patch levels. Probably some changes in the vfs code has led to
this behaviour.

Gertjan

-- 

Gertjan van Wingerde home address: Student Computer Science Vrije Universiteit J.H. Dunantstraat 44 Amsterdam 1561 BD Krommenie The Netherlands

e-mail: gertjan@cs.vu.nl URL: http://www.cs.vu.nl/~gertjan/