From owner-freebsd-bugs@freebsd.org Mon Dec 17 20:11:32 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC06E134B1AD for ; Mon, 17 Dec 2018 20:11:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 41BED88192 for ; Mon, 17 Dec 2018 20:11:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 02311134B1AC; Mon, 17 Dec 2018 20:11:32 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3D25134B1AB for ; Mon, 17 Dec 2018 20:11:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 71FCE8818D for ; Mon, 17 Dec 2018 20:11:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A4D1B3A00 for ; Mon, 17 Dec 2018 20:11:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wBHKBUTB092545 for ; Mon, 17 Dec 2018 20:11:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wBHKBUqJ092530 for bugs@FreeBSD.org; Mon, 17 Dec 2018 20:11:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 234031] loader can't traverse filesystem, LUA ERROR: cannot open /boot/lua/loader.lua Date: Mon, 17 Dec 2018 20:11:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vollbluthengst@mail.ru X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2018 20:11:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234031 --- Comment #6 from former_user --- To add, a VM running inside Qemu so there's no ada0 - instead the device is vtbd0 and the gpart output: Geom name: vtbd0 modified: false state: OK fwheads: 16 fwsectors: 63 last: 104857559 first: 0 entries: 2 scheme: BSD Providers: 1. Name: vtbd0a Mediasize: 50465341440 (47G) Sectorsize: 512 Mode: r1w1e1 rawtype: 7 length: 50465341440 offset: 0 type: freebsd-ufs index: 1 end: 10485759 start: 0 2. Name: vtbd0b Mediasize: 2684354560 (2.5G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 3221245952 Mode: r1w1e0 rawtype: 1 length: 2684354560 offset: 50465886208 type: freebsd-swap index: 2 end: 103809063 start: 10485760 A reinstall with explicitly choosing GPT and ignoring the installer wants to use BSD the layout: Geom name: vtbd0 modified: false state: OK fwheads: 16 fwsectors: 63 last: 104857559 first: 40 entries: 152 scheme: GPT Providers: 1. Name: vtbd0p1 Mediasize: 524288 (512K) Sectorsize: 512 Stripesize: 0 Stripeoffset: 20480 Mode: r0w0e0 efimedia: HD(1,GPT,d9da6ff2-021d-11e9-b4eb-00163cfd496c,0x28,0x400) rawuuid: d9da6ff2-021d-11e9-b4eb-00163cfd496c rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f label: (null) length: 524288 offset: 20480 type: freebsd-boot index: 1 end: 1063 start: 40 2. Name: vtbd0p2 Mediasize: 50465341440 (47G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 544768 Mode: r1w1e1 efimedia: HD(2,GPT,d9e22632-021d-11e9-b4eb-00163cfd496c,0x428,0x5dffc00) rawuuid: d9e22632-021d-11e9-b4eb-00163cfd496c rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b label: (null) length: 50465341440 offset: 544768 type: freebsd-ufs index: 2 end: 98566183 start: 1064 3. Name: vtbd0p3 Mediasize: 2684354560 (2.5G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 3221245952 Mode: r1w1e0 efimedia: HD(3,GPT,d9fa078e-021d-11e9-b4eb-00163cfd496c,0x5e00028,0x5000= 00) rawuuid: d9fa078e-021d-11e9-b4eb-00163cfd496c rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: (null) length: 2684354560 offset: 50465886208 type: freebsd-swap index: 3 end: 103809063 start: 98566184 Consumers: 1. Name: vtbd0 Mediasize: 53687091200 (50G) Sectorsize: 512 Mode: r2w2e3 which works. Another system still affected by the issue: Geom name: ada0 modified: false state: OK fwheads: 16 fwsectors: 63 last: 976773167 first: 0 entries: 8 scheme: BSD Providers: 1. Name: ada0a Mediasize: 5368709120 (5.0G) Sectorsize: 512 Mode: r1w1e1 rawtype: 7 length: 5368709120 offset: 0 type: freebsd-ufs index: 1 end: 10485759 start: 0 2. Name: ada0b Mediasize: 17179869184 (16G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 1073741824 Mode: r1w1e0 rawtype: 1 length: 17179869184 offset: 5368709120 type: freebsd-swap index: 2 end: 44040191 start: 10485760 3. Name: ada0d Mediasize: 5368709120 (5.0G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 1073741824 Mode: r1w1e1 rawtype: 7 length: 5368709120 offset: 22548578304 type: freebsd-ufs index: 4 end: 54525951 start: 44040192 4. Name: ada0e Mediasize: 53687091200 (50G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 2147483648 Mode: r1w1e1 rawtype: 7 length: 53687091200 offset: 27917287424 type: freebsd-ufs index: 5 end: 159383551 start: 54525952 5. Name: ada0f Mediasize: 418503483392 (390G) Sectorsize: 512 Mode: r1w1e1 rawtype: 27 length: 418503483392 offset: 81604378624 type: freebsd-zfs index: 6 end: 976773167 start: 159383552 Consumers: 1. Name: ada0 Mediasize: 500107862016 (466G) Sectorsize: 512 Mode: r5w5e9 In the non-working cases the loader gets stuck being unable to find lua, ls= dev shows disk0a / disk0b etc. and one is able to do "ls /" but unable to "walk" into directories. Manually setting currdev to e.g. disk0a still won't help. Booting from ISO, then setting currdev and loading the kernel helps as work-around. To reproduce do an install of 11.2-RELEASE inside a VirtualBox / QEMU VM, choosing BSD disklabel as layout, let it use the entire disk and then upgra= de to 12.0-RELEASE. --=20 You are receiving this mail because: You are the assignee for the bug.=