Bug 253786 - drawer.lua boot error after upgrade to 13.0-BETA3
Summary: drawer.lua boot error after upgrade to 13.0-BETA3
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.0-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-23 06:22 UTC by Bane Ivosev
Modified: 2021-02-24 18:27 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bane Ivosev 2021-02-23 06:22:25 UTC
After freebsd-update upgrade from 13.0-BETA2 to 13.0-BETA3 i have this boot error. When enter boot on prompt system proceed with normal booting. It's a Fujitsu RX2520M1 server, vanilla FreeBSD install with freebsd-update procedure from 12.2 to 13.0-BETA2 and BETA3.

ERROR: /boot/lua/drawer.lua:359: attempt to call a nil value (field 'isFramebufferConsole').


Type '?' for a list of commands, 'help' for more detailed help.
OK
Comment 1 Toomas Soome freebsd_committer 2021-02-24 14:15:41 UTC
(In reply to Bane Ivosev from comment #0)


isFramebufferConsole() should be in core.lua, can you verify it is there?
Comment 2 Bane Ivosev 2021-02-24 16:23:47 UTC
No, it's not there. And my lua directory is from Nov 2019?! Something is probably wrong on my side ... 

ls -al /boot/lua
total 209
drwxr-xr-x   2 root  wheel     17 Feb 20 18:11 .
drwxr-xr-x  11 root  wheel     64 Feb 22 12:37 ..
-r--r--r--   1 root  wheel   4128 Nov  5  2019 cli.lua
-r--r--r--   1 root  wheel   3211 Nov  5  2019 color.lua
-r--r--r--   1 root  wheel  17090 Nov  5  2019 config.lua
-r--r--r--   1 root  wheel  10249 Nov  5  2019 core.lua
-r--r--r--   1 root  wheel  12757 Feb 20 18:11 drawer.lua
-r--r--r--   1 root  wheel   3331 Nov  5  2019 hook.lua
-r--r--r--   1 root  wheel   2549 Nov  5  2019 loader.lua
-r--r--r--   1 root  wheel   2438 Nov  5  2019 logo-beastie.lua
-r--r--r--   1 root  wheel   2210 Nov  5  2019 logo-beastiebw.lua
-r--r--r--   1 root  wheel   1965 Nov  5  2019 logo-fbsdbw.lua
-r--r--r--   1 root  wheel   2406 Nov  5  2019 logo-orb.lua
-r--r--r--   1 root  wheel   2126 Nov  5  2019 logo-orbbw.lua
-r--r--r--   1 root  wheel  12934 Nov  5  2019 menu.lua
-r--r--r--   1 root  wheel   4306 Nov  5  2019 password.lua
-r--r--r--   1 root  wheel   2255 Nov  5  2019 screen.lua


After i copied /boot/lua dir from another 13-BETA host everything is ok, system is booting normal. Thanks.
Comment 3 Toomas Soome freebsd_committer 2021-02-24 18:27:28 UTC
(In reply to Bane Ivosev from comment #2)

So it seems to be issue with freebsd-update.