PROBLEM: gzip locks while decompressing a particular file when on NFS v.3
Problem: gzip hangs inside a kernel call when decompressing X430src-3.tgz (part of xfree86) on a NFS root system.
Full description: When i try to gunzip (or untar with -zx) the X430src-3.tgz archive (its MD5 checksum is correct) over a NFS mounted filesystem it hangs at the file xc/programs/Xserver/XpConfig/C/print/models/SPSPARC2/fonts/AvantGarde-Demi.pmf every time. The only way to kill the stalled gzip is to reboot. The gunzip does not use CPU nor much ram. Tha same .tgz correctly decompress on a local hard drive on the same machine / same config.
keywords: NFS, KERNEL 2.6, NFSROOT, HANG
kernel version: 2.6.8
Trigger: grab that file from xfree86 ftp site and decompress on a NFS mounted filesystem
Environment:
Linux shimitar 2.6.8-gentoo-r3 #1 Tue Aug 31 17:35:53 CEST 2004 i686 Mobile AMD Athl AuthenticAMD GNU/Linux
Gnu C 3.3.4 Gnu make 3.80 binutils 2.14.90.0.8 util-linux 2.12 mount 2.12 module-init-tools 3.0 e2fsprogs 1.35 nfs-utils 1.0.6 Linux C Library 2.3.3 Dynamic linker (ldd) 2.3.3 Procps 3.1.15 Net-tools 1.60 Kbd 1.12 Sh-utils 5.2.1 Modules Loaded nvidia lp vmnet parport_pc parport vmmon snd_seq_midi
snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_emu10k1 snd_rawmidi snd_ac97_codec snd_util_mem snd_hwdep snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_pcm snd_page_alloc snd_timer snd_mixer_oss snd rtl8150 8139too thermal fan processor button battery ac bttv evdev tuner tvaudio video_buf i2c_algo_bit v4l2_common btcx_risc videodev soundcore usbhid via686a w83781d i2c_sensor i2c_isa i2c_core usblp usb_storage ohci_hcd ehci_hcd uhci_hcd usbcore sg sd_mod ide_scsi ide_cd sr_mod cdrom
"
System is Gentoo, gzip 1.3.5 tar 1.14
CPU info: shimitar scripts # cat /proc/cpuinfo
processor : 0vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : Mobile AMD Athl
stepping : 0
cpu MHz : 1603.845
cache size : 512 KBfdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : no
fpu : yesfpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow
bogomips : 3178.49
Workaround: uncompress the file on a local hard drive then copy the files on the NFS partition. This is not acceptable.
ps: i am not subscribed to the list, please CC me....
bye and thanks.
A message that is not in the archive (sent off-list or not yet received): 1094996694.1421.1.camel@boxen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I will try with 2.6.8.1 as soon as i can, meanwhile, i have discovered that the problem is resolved if i add the "tcp" option to the mount line.
I am downloading 2.6.8.1 right now...
The strace of gunzip is located at the following URL (it is about 100kb i am not attaching it at the mail):
"http://www.gardiol.org/strace.gzip"
I did many tests with different zipped files, this is the only case it fails.
Alle Sunday 12 September 2004 15:44, hai scritto:
Quoted 34 lines
Quoted 24 lines
kernel version: 2.6.8
Trigger: grab that file from xfree86 ftp site and decompress on a NFS mounted filesystem
Environment:
Linux shimitar 2.6.8-gentoo-r3 #1 Tue Aug 31 17:35:53 CEST 2004 i686 Mobile AMD Athl AuthenticAMD GNU/LinuxGnu C 3.3.4 Gnu make 3.80 binutils 2.14.90.0.8 util-linux 2.12 mount 2.12 module-init-tools 3.0 e2fsprogs 1.35 nfs-utils 1.0.6 Linux C Library 2.3.3 Dynamic linker (ldd) 2.3.3 Procps 3.1.15 Net-tools 1.60 Kbd 1.12 Sh-utils 5.2.1 Modules Loaded nvidia lp vmnet parport_pc parport vmmonQuoted 9 lines
snd_seq_midisnd_emu10k1_synthsnd_emux_synthsnd_seq_virmidisnd_seq_midi_emulsnd_emu10k1snd_rawmidisnd_ac97_codecsnd_util_memsnd_hwdepsnd_seq_osssnd_seq_midi_eventsnd_seqsnd_seq_devicesnd_pcm_osssnd_pcmsnd_page_allocsnd_timersnd_mixer_osssnd rtl8150 8139too thermal fan processor button battery ac bttv evdev tuner tvaudiovideo_bufi2c_algo_bitv4l2_commonbtcx_riscvideodev soundcore usbhid via686a w83781di2c_sensori2c_isai2c_coreusblpusb_storageohci_hcdehci_hcduhci_hcdusbcore sgsd_modide_scsiide_cdsr_modcdrom "
Quoted 3 lines
2.6.8 had some bug in nfs, please use 2.6.8.1 or 2.6.9-rc1, and test it over again, without tainting the kernel (you at least have nvidia module in there).
- --
!
Willy Gardiol - [email protected]
www.gardiol.org
+39 3492800983
Use linux for your freedom.
"Unix _IS_ user friendly -
it's just selective about
who its friends are !"
"Unix _E'_ semplice da usare -
è solo molto selettivo nei confronti
di chi siano i suoi amici !"
Martin Spott (2002)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBRGefQ9qolN/zUk4RAhjhAJsF2ilLn0yDRieM9XIuXZH2NwbTKgCdG963 yRIGJG84LnjXul33Z15b/Cs=
=ThsI
-----END PGP SIGNATURE-----