From owner-freebsd-stable@FreeBSD.ORG Tue Dec 3 09:46:10 2013 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 00F783B2 for ; Tue, 3 Dec 2013 09:46:09 +0000 (UTC) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 48894139E for ; Tue, 3 Dec 2013 09:46:08 +0000 (UTC) X-Envelope-From: egrosbein@rdtc.ru X-Envelope-To: Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.7/8.14.7) with ESMTP id rB39jvPW006633 for ; Tue, 3 Dec 2013 16:45:57 +0700 (NOVT) (envelope-from egrosbein@rdtc.ru) Message-ID: <529DA855.9040406@rdtc.ru> Date: Tue, 03 Dec 2013 16:45:57 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130415 Thunderbird/17.0.5 MIME-Version: 1.0 To: stable@freebsd.org Subject: fsck_y_enable is broken for SUJ as well as fsck_ffs Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eg.sd.rdtc.ru X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2013 09:46:10 -0000 Hi! Some time ago one of my 9.2-STABLE (r258509) servers crashed due to power outage and could not come back by itself when power restored: http://www.grosbein.net/freebsd/fsck_ffs.gif First I thought that was due to missing fsck_y_enable="YES" in its /etc/rc.conf, so I just went to single user mode, ran "fsck -y" manualy (it successfully fixed all errors) and added fsck_y_enable="YES" to /etc/rc.conf However, today the server had same long-time power outage, UPS'es died and when power restored, I've got exactly same problem with this server, including fsck_ffs segfault. # camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus1 target 0 lun 0 (ada1,pass1) # gmirror status Name Status Components mirror/gm0 COMPLETE ada0 (ACTIVE) ada1 (ACTIVE) # df -h Filesystem Size Used Avail Capacity Mounted on /dev/mirror/gm0s1a 1G 136M 790M 15% / devfs 1,0k 1,0k 0B 100% /dev /dev/mirror/gm0s1d 503M 335M 127M 72% /usr /dev/mirror/gm0s1e 9,9G 4,1G 5G 45% /var /dev/mirror/gm0s1f 19G 11G 6,4G 65% /usr/local /dev/mirror/gm0s1g 81G 34G 39G 47% /home /dev/mirror/gm0s2a 1,7T 97G 1,5T 6% /backup /usr is mounted read-only. This server is SuperMicro SYS-5016T-MTFB with IPMI 2.0 board emulating USB keyboard for IP KVM. The keyboard works fine in BIOS setup and in FreeBSD multiuser mode but does not work at all in single user mode, so I was forced to enable IPMI SOL (Serial over LAN) feature to be able to control the service in the single and learn how to direct serial console to COM3 it emulates. So many critical bugs in the STABLE branch, sigh... Eugene Grosbein