From owner-freebsd-hackers@freebsd.org Sat Jul 15 23:15:48 2017 Return-Path: Delivered-To: freebsd-hackers@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 16C20B7DA9C for ; Sat, 15 Jul 2017 23:15:48 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ua0-x22b.google.com (mail-ua0-x22b.google.com [IPv6:2607:f8b0:400c:c08::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BCBB73274 for ; Sat, 15 Jul 2017 23:15:47 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-ua0-x22b.google.com with SMTP id 35so21582842uax.3 for ; Sat, 15 Jul 2017 16:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=xQzjuWLj1NT8BHEiQOgnxhorEX5k0cQTVVvSaWN0YuM=; b=jZOAlC/s2qJu8sypDHwsYL4QkZzWqUL3wW7zDmqcMCms2Ldin15RU65dx9JSpRkDL8 FnhCdp1OaezDYUMxQaMces3lt7ZywvukGMs6uwDBt9YwxisDc0jhmnOe4x2LAE/pbS9M a6I0zePoEZ2unOD/KmFP8D7e6+3RG7U/rpnkqc+rRmUkvptGN6NmnopS1UExx6ojO9qv SBoENViL6xDbB+W1CjsNuvhcyK7p6Zr52ltNgdydPp+HDVFQu4O9pJO5azB8+6wky3BO iD/ITa9NadevLZLJkATnhJxsxDnFci/fNiWAfUvRTr4uSeeQQaeBIQBD3nHOhEpfcP/4 iIag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=xQzjuWLj1NT8BHEiQOgnxhorEX5k0cQTVVvSaWN0YuM=; b=YrL7zqIenbRAUKhMQWhkSdYHEVGd5aWR+FsTft2QrjlOjq4EKUjGMacVdeGUqmD9i2 r/K+HRo0uJwyx3kL+44v37T3YG1B22h9nV7VBUAFpzbdPV7qEoWs30+siBlSOvYhrFTI mMu2A151AQTUTeDdkzcXOctqIP4XhRKJQhJTokgVvFcAqN7ejUWvE8O2N4uNXoH/Lce1 irAJ0GQqeNXupCKOhV3+9jO5w9ALjELeg+hcKelx97iQ1WOH7ecdxVJt1ns9Qz0A0yfo SoUMUyNq8dBni8fR4O64s6ouYxvA0jzhw+EVgMMdAt0b3IXMyCAnNymI8UvOh+DJnMhc +hJw== X-Gm-Message-State: AIVw111gFOPdURAdSVrW5ZoKBVxmDKMaVc2mj/OcAafClw8PCIdCMbc2 0tisNZ/yl9NSUkKXpB8Cl1XinbQ0rw07 X-Received: by 10.159.35.136 with SMTP id 8mr9252320uao.1.1500160546583; Sat, 15 Jul 2017 16:15:46 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.103.36.1 with HTTP; Sat, 15 Jul 2017 16:15:46 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: References: From: Warner Losh Date: Sat, 15 Jul 2017 17:15:46 -0600 X-Google-Sender-Auth: miMdfUPPvAV24-KvFnrKO7leTqI Message-ID: Subject: Re: GEOM: ada0: the secondary GPT header is not in the last LBA or random: unblocking device. when using more than 2 cores To: Nicolas Embriz Cc: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2017 23:15:48 -0000 On Sat, Jul 15, 2017 at 12:52 PM, Nicolas Embriz wrote: > Hello, I have been creating FreeBSD images to use within AWS with ZFS > on root, using this scripts: https://fabrik.red > (https://github.com/fabrik-red/images/blob/master/fabrik.sh) > > Recently I created a new image but start to notice that when using > t2.medium or instances with more than 1 core, they are not booting and > in many cases, I get this message: > > GEOM: ada0: the secondary GPT header is not in the last LBA. > This message is fine. It means that you DD'd an image into disk whose size wasn't the same as the image. This is typically normal, but you should double check to make sure that the image is smaller than the disk you've done this to. > of > random: unblocking device > This is normal. > This seems to be happening only with FreeBSD 11.1 prerelease, with > 11.0 is working fine working image can be found here: > https://github.com/fabrik-red/images/releases either with 1 core or > more than 2 cores. > > This is the kernel I am using: > https://github.com/fabrik-red/images/blob/master/fabrik.kernel > > Any idea of what could be causing this issue? > > The pattern I have found is that this only happens with instances with > 2 or more cores. > You'll need to provide more information if you want our help to make progress. I'd start with a full dmesg of a boot -v on the machine affected, if at all possible. Warner