From owner-freebsd-current@freebsd.org Sun Jun 4 14:22:06 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF660B7CA0C for ; Sun, 4 Jun 2017 14:22:06 +0000 (UTC) (envelope-from tsoome@me.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 904E177C2D for ; Sun, 4 Jun 2017 14:22:06 +0000 (UTC) (envelope-from tsoome@me.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8F50CB7CA0B; Sun, 4 Jun 2017 14:22:06 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EE64B7CA0A for ; Sun, 4 Jun 2017 14:22:06 +0000 (UTC) (envelope-from tsoome@me.com) Received: from st13p35im-asmtp001.me.com (st13p35im-asmtp001.me.com [17.164.199.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6803477C2C for ; Sun, 4 Jun 2017 14:22:06 +0000 (UTC) (envelope-from tsoome@me.com) Received: from process-dkim-sign-daemon.st13p35im-asmtp001.me.com by st13p35im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0OR000400YDTMI00@st13p35im-asmtp001.me.com> for current@freebsd.org; Sun, 04 Jun 2017 13:21:59 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=4d515a; t=1496582518; bh=7IMGgg+ploaWMOHaoyFSMuf6XzcmS+sQejhpxCO7h3A=; h=From:Content-type:MIME-version:Subject:Date:To:Message-id; b=AbAloJw+AkR7HH+VziUVvRhJLpJKWljVjpweiee++tyPB48Y1xMf9JXfIBvfM5SgP Jlym8ivv5jZVkzdv4yaZyPD/7mA26Wxlw9sVSY7TlLzr4PlbkiyH4nkUESg+eJRV7B UoDzt0LrJbUcP9hiWTTlfixF4Xow37ABiXkqSW3dgUGCGGwSlKEDT7GIIsvTAaiO9Y 2H37O8aspH0mQkrxPxu0tiyA0aQFmWZ7xVR3bfqT6nU7LAdbjMRiRbeedJ6wLA/SLJ 5QUofStlXLmUClgODDjnyCaCoLVyN00I1hUGq7REF2BD0+7BvzLSnzhDmGnSlVxeH4 cl7UCVASXnL3A== Received: from icloud.com ([127.0.0.1]) by st13p35im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0OR0000EWYGKMD20@st13p35im-asmtp001.me.com> for current@freebsd.org; Sun, 04 Jun 2017 13:21:58 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-06-04_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1701120000 definitions=main-1706040258 From: Toomas Soome Content-type: text/plain; charset=us-ascii Content-transfer-encoding: quoted-printable MIME-version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: zfsloader and compiler options/version? Date: Sun, 04 Jun 2017 16:21:56 +0300 References: <20170604142809.Horde.fwk20aBDjbwJYjG3hhX43yk@webmail.leidinger.net> To: current@freebsd.org In-reply-to: <20170604142809.Horde.fwk20aBDjbwJYjG3hhX43yk@webmail.leidinger.net> Message-id: X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2017 14:22:06 -0000 > On 4. juuni 2017, at 15:28, Alexander Leidinger = wrote: >=20 > Hi, >=20 > I have a zfsloader which hangs directly after "Booting". First I = attributed it to maybe a bug in meta-mode/ccache + ino64 (easy = assumption without knowing if ino64 is involved in zfsloader), but after = ccache -C, removing /usr/obj and running 2x "make cleanworld" and 2x = "make clean" before a buildworld I now get some kind of a loader-dump = (BTX halted) message. The zfsloader binary from a downloaded = release-snapshot (r318945) after ino64 update doesn't exhibit this = issue. >=20 > Has someone seen something similar? So far I assume this is something = with the compiler flags... >=20 > I have the broken zfsloader (r319541) available at > http://www.leidinger.net/FreeBSD/zfsloader.nok > if someone wants to play around with it. >=20 note, with zfsboot.nok, selecting old kernel and boot did result in nice = BTX dump. And pressing the key with default kernel does get reboot. anyhow, it seems the issue is indeed about compile flags, with all = defaults my zfsloader has no problem booting the kernel. rgds, toomas > Here the settings I used to compile it: >=20 > dmesg: > FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on = LLVM 4.0.0) > CPU: Intel(R) Xeon(R) CPU L5630 @ 2.13GHz (2133.35-MHz = K8-class CPU) >=20 > /etc/src-env.conf > WITH_META_MODE=3Dyes >=20 > /etc/src.conf > WITH_IDEA=3Dyes > WITHOUT_PROFILE=3Dyes > CFLAGS+=3D-DFTP_COMBINE_CWDS > MALLOC_PRODUCTION=3Dyes > LOADER_FIREWIRE_SUPPORT=3Dyes > #WITH_FAST_DEPEND=3Dyes > KERNCONF=3DANDROMEDA >=20 > /etc/make.conf > CFLAGS+=3D -O2 -pipe #-mfpmath=3Dsse -msse2 > COPTFLAGS=3D -O2 -pipe > CPUTYPE?=3Dnative > WITH_CCACHE_BUILD=3Dyes >=20 > Bye, > Alexander. >=20 > --=20 > http://www.Leidinger.net Alexander@Leidinger.net: PGP = 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP = 0x8F31830F9F2772BF