From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 1 10:50:10 2011 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0014C106566C for ; Fri, 1 Apr 2011 10:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B86508FC19 for ; Fri, 1 Apr 2011 10:50:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p31Ao9s3088675 for ; Fri, 1 Apr 2011 10:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p31Ao9Cx088674; Fri, 1 Apr 2011 10:50:09 GMT (envelope-from gnats) Resent-Date: Fri, 1 Apr 2011 10:50:09 GMT Resent-Message-Id: <201104011050.p31Ao9Cx088674@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Pyhalov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8698106564A for ; Fri, 1 Apr 2011 10:40:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C91838FC1E for ; Fri, 1 Apr 2011 10:40:09 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p31Ae6a2027930 for ; Fri, 1 Apr 2011 10:40:06 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p31Ae6CZ027929; Fri, 1 Apr 2011 10:40:06 GMT (envelope-from nobody) Message-Id: <201104011040.p31Ae6CZ027929@red.freebsd.org> Date: Fri, 1 Apr 2011 10:40:06 GMT From: Alexander Pyhalov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Fri, 01 Apr 2011 11:23:46 +0000 Cc: Subject: amd64/156106: boot0 fails to start X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 10:50:10 -0000 >Number: 156106 >Category: amd64 >Synopsis: boot0 fails to start >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 01 10:50:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Alexander Pyhalov >Release: 8.2 >Organization: SFEDU >Environment: uname -a FreeBSD fbsdhost5.xx 8.2-RELEASE FreeBSD 8.2-RELEASE #0 r219027M: Wed Mar 9 15:12:21 MSK 2011 alp@yy:/usr/obj/usr/src-releng-8.2/sys/ibm-hs-21xm-vnet-amd64.releng-8.2 amd64 >Description: We have IBM amd64 blade, which is connected to EMC storage with 4 paths (2 paths per FC card). One lun is provided to host. Initially we had the following bsdlabel: # size offset fstype [fsize bsize bps/cpg] a: 18863577 16 4.2BSD 0 0 0 # / b: 4194304 18863593 swap c: 33543657 0 unused 0 0 # "raw" part, don't edit d: 2097152 23057897 4.2BSD 0 0 0 # /tmp e: 8388608 25155049 4.2BSD 0 0 0 # /var With such bsdlabel boot0 randomly doesn't show prompt (F1: Disk1, etc...) and system boot stalls. At least it happenes once in 6-7 boots (usually faster). After resetting bsdlabel to (changing partition types to unused): # size offset fstype [fsize bsize bps/cpg] a: 18863577 16 unused 0 0 b: 4194304 18863593 swap c: 33543657 0 unused 0 0 # "raw" part, don't edit d: 2097152 23057897 unused 0 0 e: 8388608 25155049 unused 0 0 the system boots perfectly (I've booted 11 times in a row without issues). The problem is that on 2 other blades we had the similar situation, but somehow with bios settings we managed to make that systems boot every time. This time we copied bios settings from successful installation - this didn't help. Other OSes (Ununtu Linux 10.10,OpenIndiana b148) boots successfully without any tweaking on all blades. FreeBSD boots only whith fs labels changed to "unused". >How-To-Repeat: >Fix: Change FS labels to "unknown" >Release-Note: >Audit-Trail: >Unformatted: