Re: pre 2.0.5 2.0.6 hang with /dev/fd0

Frank Pavageau (frank@via.ecp.fr)
Wed, 22 May 1996 10:56:07 +0200 (MET DST)


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).

Frank

--
X is a single letter denoting the unknown. This is X too.
Motif is what everyone uses to annoy people that dont have it.
Openwindoze is related to X only harder to spell and slower to use.
			[Peter Evans (peter@gol1.gol.com) in comp.unix.admin]

.config: # # Automatically generated make config: don't edit #

# # Code maturity level options # # CONFIG_EXPERIMENTAL is not set

# # Loadable module support # # CONFIG_MODULES is not set

# # General setup # # CONFIG_MATH_EMULATION is not set CONFIG_NET=y # CONFIG_MAX_16M is not set # CONFIG_PCI is not set CONFIG_SYSVIPC=y CONFIG_BINFMT_AOUT=y CONFIG_BINFMT_ELF=y CONFIG_KERNEL_ELF=y CONFIG_M486=y

# # Floppy, IDE, and other block devices # CONFIG_BLK_DEV_FD=y CONFIG_BLK_DEV_IDE=y

# # Please see drivers/block/README.ide for help/info on IDE drives # # CONFIG_BLK_DEV_HD_IDE is not set # CONFIG_BLK_DEV_IDECD is not set # CONFIG_BLK_DEV_IDETAPE is not set # CONFIG_BLK_DEV_IDE_PCMCIA is not set # CONFIG_BLK_DEV_CMD640 is not set # CONFIG_IDE_CHIPSETS is not set

# # Additional Block Devices # # CONFIG_BLK_DEV_LOOP is not set # CONFIG_BLK_DEV_MD is not set # CONFIG_BLK_DEV_RAM is not set # CONFIG_BLK_DEV_XD is not set

# # Networking options # # CONFIG_FIREWALL is not set # CONFIG_NET_ALIAS is not set CONFIG_INET=y # CONFIG_IP_FORWARD is not set # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ACCT is not set

# # (it is safe to leave these untouched) # # CONFIG_INET_PCTCP is not set # CONFIG_INET_RARP is not set # CONFIG_NO_PATH_MTU_DISCOVERY is not set CONFIG_IP_NOSR=y CONFIG_SKB_LARGE=y

# # # # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_AX25 is not set

# # SCSI support # # CONFIG_SCSI is not set

# # Network device support # CONFIG_NETDEVICES=y # CONFIG_DUMMY is not set # CONFIG_EQUALIZER is not set # CONFIG_PLIP is not set # CONFIG_PPP is not set # CONFIG_SLIP is not set # CONFIG_NET_RADIO is not set CONFIG_NET_ETHERNET=y CONFIG_NET_VENDOR_3COM=y # CONFIG_EL1 is not set # CONFIG_EL2 is not set CONFIG_EL3=y # CONFIG_VORTEX is not set # CONFIG_LANCE is not set # CONFIG_NET_VENDOR_SMC is not set # CONFIG_NET_ISA is not set # CONFIG_NET_EISA is not set # CONFIG_NET_POCKET is not set # CONFIG_TR is not set # CONFIG_ARCNET is not set

# # ISDN subsystem # # CONFIG_ISDN is not set

# # CD-ROM drivers (not for SCSI or IDE/ATAPI drives) # # CONFIG_CD_NO_IDESCSI is not set

# # Filesystems # # CONFIG_QUOTA is not set # CONFIG_LOCK_MANDATORY is not set CONFIG_MINIX_FS=y # CONFIG_EXT_FS is not set CONFIG_EXT2_FS=y # CONFIG_XIA_FS is not set CONFIG_FAT_FS=y CONFIG_MSDOS_FS=y # CONFIG_VFAT_FS is not set # CONFIG_UMSDOS_FS is not set CONFIG_PROC_FS=y CONFIG_NFS_FS=y # CONFIG_ROOT_NFS is not set CONFIG_SMB_FS=y # CONFIG_ISO9660_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_UFS_FS is not set

# # Character devices # CONFIG_SERIAL=y # CONFIG_DIGI is not set # CONFIG_CYCLADES is not set # CONFIG_STALDRV is not set # CONFIG_RISCOM8 is not set # CONFIG_PRINTER is not set # CONFIG_BUSMOUSE is not set # CONFIG_PSMOUSE is not set # CONFIG_MS_BUSMOUSE is not set # CONFIG_ATIXL_BUSMOUSE is not set # CONFIG_UMISC is not set # CONFIG_QIC02_TAPE is not set # CONFIG_FTAPE is not set # CONFIG_APM is not set # CONFIG_WATCHDOG is not set # CONFIG_RTC is not set

# # Sound # # CONFIG_SOUND is not set

# # Kernel hacking # # CONFIG_PROFILE is not set