ISSUE: 2.3.* hangs if Netscape and ProFTPD are writing simultaneously

From: Florin Andrei (fandrei@mail.rds.ro)
Date: Mon Mar 20 2000 - 05:23:02 EST


        1. 2.3.* hangs if Netscape and ProFTPD are writing simultaneously

        2. When Netscape-4.72 and ProFTPD-1.2.0pre10 are writing at the same time
into the same HDD (IDE primary slave), the system freezes. Full set of
conditions to reproduce the hang:
        - Netscape is launched as user "foo" and is downloading new messages from
the POP3 server (into /home/foo/nsmail)
        - ProFTPD gets an upload from another machine as the same user "foo", not
"anonymous", into /home/foo/whatever-you-want
        - / is on /dev/hda
        - /home is on /dev/hdb (single partition)
        - /home/foo is `chattr -R +S`

        3. Keywords: ???

        4. Kernel version: 2.3.42 and 2.3.48

        5. Oops: sorry, none available, the system is totally freezed

        6. Shell script: none available

        7. Environment:

Linux atlanta.rds.ro 2.3.48 #2 Fri Mar 17 14:29:08 EET 2000 i686 unknown
Kernel modules 2.1.121
Gnu C egcs-2.91.66
Binutils 2.9.1.0.24
Linux C Library libc.so.6
Dynamic Linker (ld.so) 2.1.2
Linux C++ Library 2.7.2.8
Procps 2.0.4
Mount 2.9u
Net-tools (1999-04-20)
Kbd 1999.03.02
Sh-utils 2.0

        ...plus netfilter-0.90.4

        Here is /proc/cpuinfo:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 3
model name : Pentium II (Klamath)
stepping : 4
cpu MHz : 267.278723
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
mmx
bogomips : 266.24

        Here is /proc/modules:

tulip 35320 1 (autoclean)
forward-fragment 564 0 (unused)
ipt_TOS 876 0 (unused)
ipt_tos 588 0 (unused)
ipt_unclean 6928 0 (unused)
ipt_udp 748 0 (unused)
ipt_tcp 1004 0 (unused)
ipt_multiport 724 0 (unused)
ipt_mac 716 0 (unused)
ipt_limit 944 0 (unused)
ipt_icmp 688 0 (unused)
ipt_REDIRECT 780 0 (unused)
ipt_MIRROR 784 0 (unused)
ipt_MASQUERADE 1108 0 (unused)
ipt_REJECT 624 0 (unused)
ipt_QUEUE 720 0 (unused)
ipt_LOG 2892 0 (unused)
ipt_filter 1764 0 (unused)
ipt_state 668 0 (unused)
ip_nat_ftp 4320 0 (unused)
ipt_nat 13064 1 [ipt_REDIRECT ipt_MASQUERADE ip_nat_ftp]
ip_conntrack_ftp 2124 1 [ip_nat_ftp]
ip_conntrack 11452 3 [ipt_REDIRECT ipt_MASQUERADE ipt_state
ip_nat_ftp ipt_nat ip_conntrack_ftp]
iptables 14284 20 [ipt_TOS ipt_tos ipt_unclean ipt_udp
ipt_tcp ipt_multiport ipt_mac ipt_limit ipt_icmp ipt_REDIRECT ipt_MIRROR
ipt_MASQUERADE ipt_REJECT ipt_QUEUE ipt_LOG ipt_filter ipt_state ipt_nat]
netfilter_dev 4356 0 (unused)

        No SCSI.

        Here is the dmesg:

Linux version 2.3.48 (root@atlanta.rds.ro) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #2 Fri Mar 17 14:29:08 EET 2000
e820: 0009fc00 @ 00000000 (usable)
e820: 00000400 @ 0009fc00 (usable)
e820: 00010000 @ 000f0000 (reserved)
e820: 00010000 @ ffff0000 (reserved)
e820: 03ef0000 @ 00100000 (usable)
e820: 0000d000 @ 03ff3000 (ACPI data)
e820: 00003000 @ 03ff0000 (ACPI NVS)
On node 0 totalpages: 16368
zone(0): 4096 pages.
zone(1): 12272 pages.
zone(2): 0 pages.
Initializing CPU#0
Detected 267278723 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 266.24 BogoMIPS
Memory: 61800k/65472k available (1336k kernel code, 3284k reserved, 90k
data, 156k init, 0k highmem)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: Intel Pentium II (Klamath) stepping 04
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.36 (20000221) Richard Gooch (rgooch@atnf.csiro.au)
PCI: PCI BIOS revision 2.10 entry at 0xfb300
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Interrupt Routing Table found at 0xc00fdbd0 [router type 8086/7000]
Limiting direct PCI/PCI transfers.
isapnp: Scanning for Pnp cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.3
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
Initializing RT netlink socket
Starting kswapd v1.6
Serial driver version 4.92 (2000-1-27) with MANY_PORTS SHARE_IRQ SERIAL_PCI
ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: registered device at major 7
loop: enabling 8 loop devices
Uniform Multi-Platform E-IDE driver Revision: 6.30
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
hda: SAMSUNG PLS-31274A, ATA DISK drive
hdb: SAMSUNG WNR-31601A (1.6GB), ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: SAMSUNG PLS-31274A, 1214MB w/256kB Cache, CHS=616/64/63
hdb: SAMSUNG WNR-31601A (1.6GB), 1536MB w/109kB Cache, CHS=780/64/63
Partition check:
 hda: hda1 hda2 hda3
 hdb: hdb1
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
PPP generic driver version 2.4.0
Real Time Clock Driver v1.10b
Non-volatile memory driver v1.0
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 156k freed
Adding Swap: 264088k swap-space (priority -1)
netfilter module v0.90.4: may you live in interesting times.
iptables v0.90.4: `Whip me, beat me, make me use ipchains'.
ip_conntrack.o v0.90.4 (511 buckets)
ip_conntrack_ftp.o v0.90.4
ip_nat v0.90.4
translate_table: size 636
Finished chain 0
Finished chain 3
Finished chain 4
table->private->number = 4
ip_nat_ftp v0.90.4
translate_table: size 636
Finished chain 1
Finished chain 2
Finished chain 3
table->private->number = 4
ipt_MASQUERADE v0.90.4
ipt_REDIRECT v0.90.4

-- 
Florin Andrei
florin@linuxstart.com	http://members.linuxstart.com/~florin/
tel: +40-93-261162

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:29 EST