From owner-freebsd-bugs Sun Nov 17 7: 0:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1CE537B401 for ; Sun, 17 Nov 2002 07:00:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25D6F43E4A for ; Sun, 17 Nov 2002 07:00:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAHF04x3080272 for ; Sun, 17 Nov 2002 07:00:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAHF0404080271; Sun, 17 Nov 2002 07:00:04 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11A4437B401 for ; Sun, 17 Nov 2002 06:55:07 -0800 (PST) Received: from mta.progon.net (mta.progon.net [62.65.155.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E4A943E75 for ; Sun, 17 Nov 2002 06:55:05 -0800 (PST) (envelope-from wiwi@thor.progon.net) Received: from thor.progon.net (localhost [127.0.0.1]) by mta.progon.net (8.12.5/8.12.0.Beta12) with ESMTP id gAHEse9P067854 for ; Sun, 17 Nov 2002 14:54:40 GMT Received: (from wiwi@localhost) by thor.progon.net (8.12.5/8.12.0.Beta12) id gAHEseEC067853; Sun, 17 Nov 2002 14:54:40 GMT Message-Id: <200211171454.gAHEseEC067853@thor.progon.net> Date: Sun, 17 Nov 2002 14:54:40 GMT From: wiwi@progon.net Reply-To: wiwi@progon.net To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/45373: softupdate / fs damaged after loss of power / CG 8: Bad Magic Number Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45373 >Category: kern >Synopsis: softupdate / fs damaged after loss of power / CG 8: Bad Magic Number >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 17 07:00:04 PST 2002 >Closed-Date: >Last-Modified: >Originator: wiwi@progon.net >Release: FreeBSD 4.7-STABLE i386 >Organization: progon network engineering >Environment: System: FreeBSD heimdall.progon.net 4.7-STABLE FreeBSD 4.7-STABLE #4: Mon Nov 11 01:14:25 CET 2002 root@heimdall.progon.net:/usr/src/sys/compile/heimdall i386 >Description: After a loss of power I often get the following error message when the system restarts. The problem mostly happens on my logging slice (/var/log) but the root slice was also stuck from this problem. /dev/ad0s1e: CG 8: BAD MAGIC NUMBER /dev/ad0s1e: UNEXPECTED SOFTUPDATE INCONSITENCY; RUN fsck MANUALLY Some files *are* damaged after fsck, contents are lost (or are replaced by random data). This happend to three indepent computer at our site, however all of these three PCs were Compaq Evo D51s/2.4Ghz. heimdall# tunefs -p /dev/ad0s1e (/var/log) tunefs: soft updates: (-n) enabled tunefs: maximum contiguous block count: (-a) 7 tunefs: rotational delay between contiguous blocks: (-d) 0 ms tunefs: maximum blocks per file in a cylinder group: (-e) 4096 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time - heimdall# tunefs -p /dev/ad0s1a (/) tunefs: soft updates: (-n) enabled tunefs: maximum contiguous block count: (-a) 7 tunefs: rotational delay between contiguous blocks: (-d) 0 ms tunefs: maximum blocks per file in a cylinder group: (-e) 4096 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time - uname -a: FreeBSD heimdall.progon.net 4.7-STABLE FreeBSD 4.7-STABLE #2: Mon Oct 21 12:02:42 GMT 2002 wiwi@heimdall.progon.net:/usr/src/sys /compile/heimdall i386 - tail /log/messages: Nov 11 08:56:59 heimdall Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Nov 11 08:56:59 heimdall The Regents of the University of California. All rights reserved. Nov 11 08:56:59 heimdall FreeBSD 4.7-STABLE #2: Mon Oct 21 12:02:42 GMT 2002 Nov 11 08:56:59 heimdall wiwi@heimdall.progon.net:/usr/src/sys/compile/heimdall Nov 11 08:56:59 heimdall Timecounter "i8254" frequency 1193182 Hz Nov 11 08:56:59 heimdall CPU: Pentium 4 (2392.04-MHz 686-class CPU) Nov 11 08:56:59 heimdall Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Nov 11 08:56:59 heimdall Features=0x3febfbff,ACC> Nov 11 08:56:59 heimdall real memory = 260046848 (253952K bytes) Nov 11 08:56:59 heimdall avail memory = 249626624 (243776K bytes) Nov 11 08:56:59 heimdall Preloaded elf kernel "kernel" at 0xc035b000. Nov 11 08:56:59 heimdall Pentium Pro MTRR support enabled Nov 11 08:56:59 heimdall md0: Malloc disk Nov 11 08:56:59 heimdall Using $PIR table, 10 entries at 0xc00ecef0 Nov 11 08:56:59 heimdall npx0: on motherboard Nov 11 08:56:59 heimdall npx0: INT 16 interface Nov 11 08:56:59 heimdall pcib0: on motherboard Nov 11 08:56:59 heimdall pci0: on pcib0 Nov 11 08:56:59 heimdall pci0: at 2.0 irq 5 Nov 11 08:56:59 heimdall uhci0: port 0x2440-0x245f irq 5 at device 29.0 on pci0 Nov 11 08:56:59 heimdall usb0: on uhci0 Nov 11 08:56:59 heimdall usb0: USB revision 1.0 Nov 11 08:56:59 heimdall uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Nov 11 08:56:59 heimdall uhub0: 2 ports with 2 removable, self powered Nov 11 08:56:59 heimdall uhci1: port 0x2460-0x247f irq 11 at device 29.1 on pci0 Nov 11 08:56:59 heimdall usb1: on uhci1 Nov 11 08:56:59 heimdall usb1: USB revision 1.0 Nov 11 08:56:59 heimdall uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Nov 11 08:56:59 heimdall uhub1: 2 ports with 2 removable, self powered Nov 11 08:56:59 heimdall pci0: at 29.7 irq 5 Nov 11 08:56:59 heimdall pcib1: at device 30.0 on pci0 Nov 11 08:56:59 heimdall pci5: on pcib1 Nov 11 08:56:59 heimdall fxp0: port 0x1000-0x103f mem 0xfc500000-0xfc500fff irq 10 at device 8.0 on pci5 Nov 11 08:56:59 heimdall fxp0: Ethernet address 00:08:02:a8:92:fa Nov 11 08:56:59 heimdall inphy0: on miibus0 Nov 11 08:56:59 heimdall inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Nov 11 08:56:59 heimdall isab0: at device 31.0 on pci0 Nov 11 08:56:59 heimdall isa0: on isab0 Nov 11 08:56:59 heimdall atapci0: port 0x24a0-0x24af,0x24c4-0x24c7,0x24b8-0x24bf,0x24c0-0x24c3,0x24b0 -0x24b7 irq 10 at device 31.1 on pci0 Nov 11 08:56:59 heimdall ata0: at 0x1f0 irq 14 on atapci0 Nov 11 08:56:59 heimdall ata1: at 0x170 irq 15 on atapci0 Nov 11 08:56:59 heimdall pci0: (vendor=0x8086, dev=0x24c5) at 31.5 irq 5 Nov 11 08:56:59 heimdall fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 Nov 11 08:56:59 heimdall fdc0: FIFO enabled, 8 bytes threshold Nov 11 08:56:59 heimdall fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Nov 11 08:56:59 heimdall atkbdc0: at port 0x60,0x64 on isa0 Nov 11 08:56:59 heimdall atkbd0: flags 0x1 irq 1 on atkbdc0 Nov 11 08:56:59 heimdall kbd0 at atkbd0 Nov 11 08:56:59 heimdall psm0: irq 12 on atkbdc0 Nov 11 08:56:59 heimdall psm0: model IntelliMouse, device ID 3 Nov 11 08:56:59 heimdall vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Nov 11 08:56:59 heimdall sc0: at flags 0x100 on isa0 Nov 11 08:56:59 heimdall sc0: VGA <16 virtual consoles, flags=0x300> Nov 11 08:56:59 heimdall sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 Nov 11 08:56:59 heimdall sio0: type 16550A Nov 11 08:56:59 heimdall sio1 at port 0x2f8-0x2ff irq 3 on isa0 Nov 11 08:56:59 heimdall sio1: type 16550A Nov 11 08:56:59 heimdall ppc0: at port 0x378-0x37f irq 7 on isa0 Nov 11 08:56:59 heimdall ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode Nov 11 08:56:59 heimdall ppc0: FIFO with 16/16/13 bytes threshold Nov 11 08:56:59 heimdall ppi0: on ppbus0 Nov 11 08:56:59 heimdall lpt0: on ppbus0 Nov 11 08:56:59 heimdall lpt0: Interrupt-driven port Nov 11 08:56:59 heimdall IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 999 packets/entry by default Nov 11 08:56:59 heimdall IPv6 packet filtering initialized, default to accept, logging limited to 999 packets/entry Nov 11 08:56:59 heimdall IPsec: Initialized Security Association Processing. Nov 11 08:56:59 heimdall ad0: 38166MB [77545/16/63] at ata0-master UDMA100 Nov 11 08:56:59 heimdall acd0: DVD-ROM at ata1-master PIO4 Nov 11 08:56:59 heimdall Mounting root from ufs:/dev/ad0s1a Nov 11 08:56:59 heimdall VESA: v3.0, 8000k memory, flags:0x1, mode table:0xc13702a0 (1000040) Nov 11 08:56:59 heimdall VESA: Brookdale-G Graphics Chip Accelerated VGA BIOS Nov 11 08:56:59 heimdall WARNING: pseudo-random number generator used for IPsec processing Nov 11 08:56:59 heimdall squid[134]: Configuring Sibling pb.us.ircache.net/3128/3130 Nov 11 08:56:59 heimdall squid[134]: Configuring Sibling sj.us.ircache.net/3128/3130 Nov 11 08:57:46 heimdall su: wiwi to root on /dev/ttyp0 Nov 11 08:57:48 heimdall ntpd[138]: kernel time discipline status change 2041 Nov 11 09:13:14 heimdall squid[134]: Detected DEAD Sibling: sj.us.ircache.net/3128/3130 Nov 11 09:13:15 heimdall squid[134]: Detected REVIVED Sibling: sj.us.ircache.net/3128/3130 >How-To-Repeat: >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message