From owner-freebsd-i386@FreeBSD.ORG Mon Mar 21 06:40:03 2005 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5E3416A4CE for ; Mon, 21 Mar 2005 06:40:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A4B343D4C for ; Mon, 21 Mar 2005 06:40:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j2L6e2Ti039149 for ; Mon, 21 Mar 2005 06:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j2L6e2Y1039141; Mon, 21 Mar 2005 06:40:02 GMT (envelope-from gnats) Resent-Date: Mon, 21 Mar 2005 06:40:02 GMT Resent-Message-Id: <200503210640.j2L6e2Y1039141@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Edgard Haddad Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80D9F16A4CE for ; Mon, 21 Mar 2005 06:34:22 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AF8343D1F for ; Mon, 21 Mar 2005 06:34:22 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2L6YL0Z005994 for ; Mon, 21 Mar 2005 06:34:22 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j2L6YL0l005993; Mon, 21 Mar 2005 06:34:21 GMT (envelope-from nobody) Message-Id: <200503210634.j2L6YL0l005993@www.freebsd.org> Date: Mon, 21 Mar 2005 06:34:21 GMT From: Edgard Haddad To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: i386/79073: System panic and hang after creating a large empty file using 'dd' X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 06:40:04 -0000 >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 real memory = 3221209088 (3071 MB) avail memory = 3155075072 (3008 MB) MPTable: 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 irqs 0-34 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pci0: on pcib0 pci0: at device 11.0 (no driver attached) pci0: 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: at device 14.0 (no driver attached) isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: 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: at device 15.2 (no driver attached) piix0: port 0x1240-0x124f at device 15.3 on pci0 Timecounter "PIIX" frequency 3579545 Hz quality 0 pcib4: pcibus 4 on motherboard pci4: on pcib4 pcib1: at device 2.0 on pci4 pci5: on pcib1 ida0: 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: on ida0 idad0: 52091MB (106683840 sectors), blocksize=512 tl0: port 0x3000-0x300f irq 3 at device 3.0 on pci4 miibus0: on tl0 nsphy0: on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy0: 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: at device 4.0 on pci4 pci6: on pcib2 tl1: port 0x5000-0x500f irq 9 at device 0.0 on pci6 miibus1: on tl1 nsphy1: on miibus1 nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy1: 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: port 0x5010-0x501f irq 3 at device 1.0 on pci6 miibus2: on tl2 nsphy2: on miibus2 nsphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tlphy2: 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: at device 11.0 (no driver attached) cpu0 on motherboard cpu1 on motherboard cpu2 on motherboard cpu3 on motherboard eisa0: on motherboard mainboard0: on eisa0 slot 0 orm0: at iomem 0xee000-0xeffff,0xe8000-0xedfff,0xc8000-0xcbfff,0xc0000-0xc7fff on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sc0: 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: 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 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: