Date: Mon, 21 Mar 2005 06:34:21 GMT From: Edgard Haddad <edgard_h@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/79073: System panic and hang after creating a large empty file using 'dd' Message-ID: <200503210634.j2L6YL0l005993@www.freebsd.org> Resent-Message-ID: <200503210640.j2L6e2Y1039141@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79073 >Category: i386 >Synopsis: System panic and hang after creating a large empty file using 'dd' >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 21 06:40:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Edgard Haddad >Release: 5.3 RELEASE for i386 >Organization: SPSNET >Environment: FreeBSD nms.sps.net.sa 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun Mar 20 22:21:23 AST 2005 root@nms.sps.net.sa:/usr/src/sys/i386/compile/EBH i386 >Description: 'dmesg' output -------------------------------- Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE #0: Sun Mar 20 22:21:23 AST 2005 root@nms.sps.net.sa:/usr/src/sys/i386/compile/EBH Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (499.87-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x672 Stepping = 2 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 3221209088 (3071 MB) avail memory = 3155075072 (3008 MB) MPTable: <COMPAQ PROLIANT > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 3 cpu1 (AP): APIC ID: 0 cpu2 (AP): APIC ID: 1 cpu3 (AP): APIC ID: 2 ioapic0: Changing APIC ID to 8 ioapic0: Assuming intbase of 0 ioapic0 <Version 1.1> irqs 0-34 on motherboard npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82454NX PXB#0, Bus#A> pcibus 0 on motherboard pci0: <PCI bus> on pcib0 pci0: <base peripheral> at device 11.0 (no driver attached) pci0: <base peripheral> at device 12.0 (no driver attached) sym0: <875> port 0x2000-0x20ff mem 0xf7cc0000-0xf7cc0fff,0xf7cd0000-0xf7cd00ff irq 10 at device 13.0 on pci0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym0: [GIANT-LOCKED] sym1: <875> port 0x2400-0x24ff mem 0xf7ca0000-0xf7ca0fff,0xf7cb0000-0xf7cb00ff irq 11 at device 13.1 on pci0 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking sym1: [GIANT-LOCKED] pci0: <display, VGA> at device 14.0 (no driver attached) isab0: <PCI-ISA bridge> at device 15.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 UDMA33 controller> port 0x2c00-0x2c0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: <serial bus, USB> at device 15.2 (no driver attached) piix0: <PIIX Timecounter> port 0x1240-0x124f at device 15.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz quality 0 pcib4: <Intel 82454NX PXB#1, Bus#A> pcibus 4 on motherboard pci4: <PCI bus> on pcib4 pcib1: <PCI-PCI bridge> at device 2.0 on pci4 pci5: <PCI bus> on pcib1 ida0: <Compaq Smart Array 3200 controller> port 0x4000-0x40ff mem 0xf7ef0000-0xf7ef00ff irq 15 at device 0.0 on pci5 ida0: [GIANT-LOCKED] ida0: drives=1 firm_rev=4.50 idad0: <Compaq Logical Drive> on ida0 idad0: 52091MB (106683840 sectors), blocksize=512 tl0: <Compaq Netelligent 10/100> port 0x3000-0x300f irq 3 at device 3.0 on pci4 miibus0: <MII bus> on tl0 nsphy0: <DP83840 10/100 media interface> on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy0: <ThunderLAN 10baseT media interface> on miibus0 tlphy0: 10base2/BNC, 10base5/AUI tl0: Ethernet address: 00:80:5f:6f:da:12 tl0: if_start running deferred for Giant tl0: [GIANT-LOCKED] pcib2: <PCI-PCI bridge> at device 4.0 on pci4 pci6: <PCI bus> on pcib2 tl1: <Compaq Netelligent 10/100 Dual Port> port 0x5000-0x500f irq 9 at device 0.0 on pci6 miibus1: <MII bus> on tl1 nsphy1: <DP83840 10/100 media interface> on miibus1 nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy1: <ThunderLAN 10baseT media interface> on miibus1 tlphy1: 10base2/BNC, 10base5/AUI tl1: Ethernet address: 00:08:c7:a4:23:6d tl1: if_start running deferred for Giant tl1: [GIANT-LOCKED] tl2: <Compaq Netelligent 10/100 Dual Port> port 0x5010-0x501f irq 3 at device 1.0 on pci6 miibus2: <MII bus> on tl2 nsphy2: <DP83840 10/100 media interface> on miibus2 nsphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy2: <ThunderLAN 10baseT media interface> on miibus2 tlphy2: 10base2/BNC, 10base5/AUI tl2: Ethernet address: 00:08:c7:a4:23:ed tl2: if_start running deferred for Giant tl2: [GIANT-LOCKED] pci4: <base peripheral> at device 11.0 (no driver attached) cpu0 on motherboard cpu1 on motherboard cpu2 on motherboard cpu3 on motherboard eisa0: <EISA bus> on motherboard mainboard0: <CPQ0810 (System Board)> on eisa0 slot 0 orm0: <ISA Option ROMs> at iomem 0xee000-0xeffff,0xe8000-0xedfff,0xc8000-0xcbfff,0xc0000-0xc7fff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec ipfw2 initialized, divert disabled, rule-based forwarding disabled, default to deny, logging limited to 10 packets/entry by default acd0: CDROM <CD-224E/9.0B> at ata0-master PIO4 Waiting 5 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Mounting root from ufs:/dev/idad0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted /tmp: mount pending error: blocks 4 files 1 /tmp: superblock summary recomputed WARNING: /usr was not properly dismounted /usr: superblock summary recomputed WARNING: /var was not properly dismounted -------------------------------- Custom Kernel Config details: -------------------------------- machine i386 cpu I686_CPU ident EBH options SCHED_4BSD options INET options FFS options SOFTUPDATES options UFS_ACL options UFS_DIRHASH options MD_ROOT options NFSCLIENT options NFSSERVER options NFS_ROOT options MSDOSFS options CD9660 options PROCFS options PSEUDOFS options GEOM_GPT options COMPAT_43 options COMPAT_FREEBSD4 options SCSI_DELAY=5000 options KTRACE options SYSVSHM options SYSVMSG options SYSVSEM options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV options AHC_REG_PRETTY_PRINT options AHD_REG_PRETTY_PRINT options ADAPTIVE_GIANT options SMP options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 device apic device isa device eisa device pci device fdc device ata device atadisk device atapicd device atapifd options ATA_STATIC_ID device sym device scbus device da device cd device pass device ses device ida device atkbdc device atkbd device psm device vga device splash device sc device npx device sio device ppc device ppbus device lpt device ppi device miibus device tl device loop device mem device io device random device ether device ppp device tun device pty device md device gif device faith device bpf -------------------------------- Installed Packages ------------------- - cvsup-withoutgui > then update the ports collection - vsftpd after updating the ports collection I use 'dd' to create empty files to place on the public ftp server. I created files of the following sizes: 1M, 2M, 3M, 4M, 5M, 10M, 20M, 30M, 40M, 50M, 100M. Shortly after creating the 100M file, the ssh session hangs. When checked the console, I found that the system wrote something about "Reset detected on CPU2, cannot dump because no device was specified... Press any key to reboot" When tried to reboot by pressing any key, found that the system does not respond to the keyborad... >How-To-Repeat: # dd if=/dev/zero of="100M-empty-file" bs=100M count=1 >Fix: Do not use 'dd' and the system works more than fine! >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503210634.j2L6YL0l005993>