rhboot / shim

UEFI shim loader
Other
848 stars 290 forks source link

"Invalid image" error #490

Closed jclab-joseph closed 2 years ago

jclab-joseph commented 2 years ago

image image

There is a signed grubx64.efi , but it fails to boot. What should I check?

Full Log: ``` shim.c:1704:efi_main() vendor_authorized:0x0DE6E010 vendor_authorized_size:1236 shim.c:1706:efi_main() vendor_deauthorized:0x0DE6E4E4 vendor_deauthorized_size:0 sbat.c:413:set_sbat_uefi_variable() Default sbat policy: previous sbat.c:458:set_sbat_uefi_variable() preserving SbatLevel variable it is 18 bytes, attributes are 0x00000003 Starting Position (0,0) is off screen Press any key to continueBooting in 5 seconds Booting in 4 seconds Booting in 3 seconds Booting in 2 seconds mok.c:958:import_mok_state() importing minimal mok state variables mok.c:864:import_one_mok_state() importing mok state for "MokList" mok.c:920:import_one_mok_state() maybe mirroring "MokList". original data: mok.c:830:maybe_mirror_one_mok_variable() deleting "MokListRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("MokListRT",...) => Success lib/variables.c:28:fill_esl() fill_esl: first_sig=0x0, data_len=1252 mok.c:577:mirror_one_mok_variable() FullDataSize:1280 FullData:0x0 mok.c:613:mirror_one_mok_variable() v->name:"MokList" v->rtname:"MokListRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:1280 FullData:0x0 mok.c:641:mirror_one_mok_variable() FullDataSize:1280 FullData:0x0 allocating FullData mok.c:661:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031018 pos:0 lib/variables.c:28:fill_esl() fill_esl: first_sig=0xE049298, data_len=1252 mok.c:690:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031518 pos:1280 mok.c:703:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031518 pos:1280 mok.c:731:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031518 pos:1280 mok.c:737:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031518 pos:1280 mok.c:760:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031518 pos:1280 mok.c:763:mirror_one_mok_variable() calling mirror_mok_db("MokListRT", datasz=1280) mok.c:235:get_max_var_sz() calling RT->QueryVariableInfo() at 0xEF3E1A2 mok.c:251:get_max_var_sz() max_var_sz:FFE4 remaining_sz:367C4 max_storage_sz:3FFF0 mok.c:329:mirror_mok_db() SetVariable("MokListRT", ... varsz=0x500) = Success mok.c:768:mirror_one_mok_variable() mirror_mok_db("MokListRT", datasz=1280) returned Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokListX" mok.c:920:import_one_mok_state() maybe mirroring "MokListX". original data: mok.c:830:maybe_mirror_one_mok_variable() deleting "MokListXRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("MokListXRT",...) => Success mok.c:582:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:613:mirror_one_mok_variable() v->name:"MokListX" v->rtname:"MokListXRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:695:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:703:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 lib/variables.c:28:fill_esl() fill_esl: first_sig=0x0, data_len=48 lib/variables.c:28:fill_esl() fill_esl: first_sig=0xE04A118, data_len=48 mok.c:756:mirror_one_mok_variable() FullDataSize:76 FullData:0xE050E18 p:0xE050E64 pos:76 mok.c:760:mirror_one_mok_variable() FullDataSize:76 FullData:0xE050E18 p:0xE050E64 pos:76 mok.c:763:mirror_one_mok_variable() calling mirror_mok_db("MokListXRT", datasz=76) mok.c:235:get_max_var_sz() calling RT->QueryVariableInfo() at 0xEF3E1A2 mok.c:251:get_max_var_sz() max_var_sz:FFE4 remaining_sz:36312 max_storage_sz:3FFF0 mok.c:329:mirror_mok_db() SetVariable("MokListXRT", ... varsz=0x4C) = Success mok.c:768:mirror_one_mok_variable() mirror_mok_db("MokListXRT", datasz=76) returned Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokSBState" mok.c:920:import_one_mok_state() maybe mirroring "MokSBState". original data: mok.c:830:maybe_mirror_one_mok_variable() deleting "MokSBStateRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("MokSBStateRT",...) => Not Found mok.c:613:mirror_one_mok_variable() v->name:"MokSBState" v->rtname:"MokSBStateRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokDBState" mok.c:920:import_one_mok_state() maybe mirroring "MokDBState". original data: mok.c:613:mirror_one_mok_variable() v->name:"MokDBState" v->rtname:"MokIgnoreDB" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "SbatLevel" mok.c:920:import_one_mok_state() maybe mirroring "SbatLevel". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX 73 62 61 74 2c 31 2c 32 XXXXXXXX|sbat,1,2| mok.c:922:import_one_mok_state() 00000008 30 32 31 30 33 30 32 31 38 0a XX XX XX XX XX XX |021030218.| mok.c:830:maybe_mirror_one_mok_variable() deleting "SbatLevelRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("SbatLevelRT",...) => Success mok.c:613:mirror_one_mok_variable() v->name:"SbatLevel" v->rtname:"SbatLevelRT" mok.c:614:mirror_one_mok_variable() v->data_size:18 v->data:0xE04A118 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:18 FullData:0x0 mok.c:636:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A118 p:0xE04A12A pos:18 mok.c:661:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A118 p:0xE04A12A pos:18 mok.c:760:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A118 p:0xE04A12A pos:18 mok.c:767:mirror_one_mok_variable() SetVariable("SbatLevelRT", ... varsz=0x12) = Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokListTrusted" mok.c:920:import_one_mok_state() maybe mirroring "MokListTrusted". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX 01 XX XX XX XX XX XX XX XXXXXXXX|.| mok.c:830:maybe_mirror_one_mok_variable() deleting "MokListTrustedRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("MokListTrustedRT",...) => Success mok.c:613:mirror_one_mok_variable() v->name:"MokListTrusted" v->rtname:"MokListTrustedRT" mok.c:614:mirror_one_mok_variable() v->data_size:1 v->data:0xE04AF18 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:1 FullData:0x0 mok.c:636:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04AF18 p:0xE04AF19 pos:1 mok.c:661:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04AF18 p:0xE04AF19 pos:1 mok.c:760:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04AF18 p:0xE04AF19 pos:1 mok.c:767:mirror_one_mok_variable() SetVariable("MokListTrustedRT", ... varsz=0x1) = Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokPolicy" mok.c:920:import_one_mok_state() maybe mirroring "MokPolicy". original data: mok.c:830:maybe_mirror_one_mok_variable() deleting "MokPolicyRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("MokPolicyRT",...) => Not Found mok.c:613:mirror_one_mok_variable() v->name:"MokPolicy" v->rtname:"MokPolicyRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:1033:import_mok_state() importing full mok state variables mok.c:864:import_one_mok_state() importing mok state for "MokList" mok.c:920:import_one_mok_state() maybe mirroring "MokList". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX a1 59 c0 a5 e4 94 a7 4a XXXXXXXX|.Y.....J| mok.c:922:import_one_mok_state() 00000008 87 b5 ab 15 5c 2b f0 72 00 05 00 00 00 00 00 00 |....\+.r........| mok.c:922:import_one_mok_state() 00000018 e4 04 00 00 50 ab 5d 60 46 e0 00 43 ab b6 3d d8 |....P.]`F..C..=.| mok.c:922:import_one_mok_state() 00000028 10 dd 8b 23 30 82 04 d0 30 82 02 b8 a0 03 02 01 |...#0...0.......| mok.c:922:import_one_mok_state() 00000038 02 02 08 64 57 2d c8 42 e3 7e 5e 30 0d 06 09 2a |...dW-.B.~^0...*| mok.c:922:import_one_mok_state() 00000048 86 48 86 f7 0d 01 01 0b 05 00 30 3a 31 16 30 14 |.H........0:1.0.| mok.c:922:import_one_mok_state() 00000058 06 03 55 04 03 0c 0d 5a 65 72 6f 6e 73 6f 66 74 |..U....Zeronsoft| mok.c:922:import_one_mok_state() 00000068 4e 20 43 41 31 13 30 11 06 03 55 04 0a 0c 0a 5a |N CA1.0...U....Z| mok.c:922:import_one_mok_state() 00000078 65 72 6f 6e 73 6f 66 74 4e 31 0b 30 09 06 03 55 |eronsoftN1.0...U| mok.c:922:import_one_mok_state() 00000088 04 06 13 02 4b 52 30 1e 17 0d 32 32 30 36 32 37 |....KR0...220627| mok.c:922:import_one_mok_state() 00000098 30 34 33 35 31 37 5a 17 0d 32 39 30 36 32 35 30 |043517Z..2906250| mok.c:922:import_one_mok_state() 000000A8 34 33 35 31 37 5a 30 68 31 2e 30 2c 06 03 55 04 |43517Z0h1.0,..U.| mok.c:922:import_one_mok_state() 000000B8 03 0c 25 5a 65 72 6f 6e 73 6f 66 74 4e 20 53 65 |..%ZeronsoftN Se| mok.c:922:import_one_mok_state() 000000C8 63 75 72 65 20 42 6f 6f 74 20 53 69 67 6e 69 6e |cure Boot Signin| mok.c:922:import_one_mok_state() 000000D8 67 20 28 32 30 32 32 29 31 14 30 12 06 03 55 04 |g (2022)1.0...U.| mok.c:922:import_one_mok_state() 000000E8 0b 0c 0b 53 65 63 75 72 65 20 42 6f 6f 74 31 13 |...Secure Boot1.| mok.c:922:import_one_mok_state() 000000F8 30 11 06 03 55 04 0a 0c 0a 5a 65 72 6f 6e 73 6f |0...U....Zeronso| mok.c:922:import_one_mok_state() 00000108 66 74 4e 31 0b 30 09 06 03 55 04 06 13 02 4b 52 |ftN1.0...U....KR| mok.c:922:import_one_mok_state() 00000118 30 82 01 22 30 0d 06 09 2a 86 48 86 f7 0d 01 01 |0.."0...*.H.....| mok.c:922:import_one_mok_state() 00000128 01 05 00 03 82 01 0f 00 30 82 01 0a 02 82 01 01 |........0.......| mok.c:922:import_one_mok_state() 00000138 00 a4 79 74 07 a3 87 fa dd b5 4c 01 d5 38 41 2c |..yt......L..8A,| mok.c:922:import_one_mok_state() 00000148 64 4c 50 de 1d 9f 45 d3 66 3b 3d 39 6b 21 6a df |dLP...E.f;=9k!j.| mok.c:922:import_one_mok_state() 00000158 79 16 5f 48 a1 13 83 68 60 39 cf 80 6e 36 97 9a |y._H...h`9..n6..| mok.c:922:import_one_mok_state() 00000168 59 9c 01 f9 d9 74 2c d0 3e 58 fb ff 4c b8 28 60 |Y....t,.>X..L.(`| mok.c:922:import_one_mok_state() 00000178 58 fa 04 30 f4 72 aa 23 5e 24 dd aa 35 4a 8d aa |X..0.r.#^$..5J..| mok.c:922:import_one_mok_state() 00000188 8f 76 9e 83 7d 0f 99 64 3d 48 12 19 af 8b ff ca |.v..}..d=H......| mok.c:922:import_one_mok_state() 00000198 95 aa c6 69 6a 6e 91 73 b4 41 b3 b4 c7 2a 2d 4b |...ijn.s.A...*-K| mok.c:922:import_one_mok_state() 000001A8 74 f5 f1 6f e3 60 a0 d8 ac 05 16 12 9f 20 89 0b |t..o.`....... ..| mok.c:922:import_one_mok_state() 000001B8 ca 3c 25 f6 51 91 6d fc c4 52 65 e3 29 f7 c3 2f |.<%.Q.m..Re.)../| mok.c:922:import_one_mok_state() 000001C8 c7 83 98 0e 19 e3 dc fe 59 ef 39 4c 7b 37 b9 f8 |........Y.9L{7..| mok.c:922:import_one_mok_state() 000001D8 23 0d 45 ec 40 b9 27 7b 21 b8 d7 97 8b a7 0b c3 |#.E.@.'{!.......| mok.c:922:import_one_mok_state() 000001E8 5d 30 4b 2c a5 0c 61 ae 07 68 bc be d1 2a 3f 0f |]0K,..a..h...*?.| mok.c:922:import_one_mok_state() 000001F8 c1 81 7e f3 61 0f af c2 ef 78 0a 60 d8 83 e4 cd |..~.a....x.`....| mok.c:922:import_one_mok_state() 00000208 51 70 2a ae 0e 2d d6 62 d1 f8 0f 75 bb 8a fc 41 |Qp*..-.b...u...A| mok.c:922:import_one_mok_state() 00000218 1f 79 46 6d b9 3f 4f f4 30 24 76 a0 b1 54 66 63 |.yFm.?O.0$v..Tfc| mok.c:922:import_one_mok_state() 00000228 6f a5 d8 95 20 1a 5a e9 83 7e a3 ca 4f 70 e0 52 |o... .Z..~..Op.R| mok.c:922:import_one_mok_state() 00000238 97 02 03 01 00 01 a3 81 ab 30 81 a8 30 1d 06 03 |.........0..0...| mok.c:922:import_one_mok_state() 00000248 55 1d 0e 04 16 04 14 08 16 0b 68 89 6d a7 f9 3e |U.........h.m..>| mok.c:922:import_one_mok_state() 00000258 81 18 5b 36 f8 7e 6f 47 4b de 52 30 0c 06 03 55 |..[6.~oGK.R0...U| mok.c:922:import_one_mok_state() 00000268 1d 13 01 01 ff 04 02 30 00 30 1f 06 03 55 1d 23 |.......0.0...U.#| mok.c:922:import_one_mok_state() 00000278 04 18 30 16 80 14 d7 48 ff 2b 3d 2e 44 50 b1 00 |..0....H.+=.DP..| mok.c:922:import_one_mok_state() 00000288 f8 a2 2c 94 36 80 95 51 7b e4 30 33 06 03 55 1d |..,.6..Q{.03..U.| mok.c:922:import_one_mok_state() 00000298 1f 04 2c 30 2a 30 28 a0 26 a0 24 86 22 68 74 74 |..,0*0(.&.$."htt| mok.c:922:import_one_mok_state() 000002A8 70 3a 2f 2f 70 6b 69 2e 7a 65 72 6f 6e 73 6f 66 |p://pki.zeronsof| mok.c:922:import_one_mok_state() 000002B8 74 6e 2e 63 6f 6d 2f 72 6f 6f 74 2f 63 72 6c 30 |tn.com/root/crl0| mok.c:922:import_one_mok_state() 000002C8 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 06 c0 30 |...U...........0| mok.c:922:import_one_mok_state() 000002D8 13 06 03 55 1d 25 04 0c 30 0a 06 08 2b 06 01 05 |...U.%..0...+...| mok.c:922:import_one_mok_state() 000002E8 05 07 03 03 30 0d 06 09 2a 86 48 86 f7 0d 01 01 |....0...*.H.....| mok.c:922:import_one_mok_state() 000002F8 0b 05 00 03 82 02 01 00 27 41 70 49 35 4c 2d 6a |........'ApI5L-j| mok.c:922:import_one_mok_state() 00000308 68 15 eb 80 58 74 ca 61 64 68 31 77 19 8e 6f 13 |h...Xt.adh1w..o.| mok.c:922:import_one_mok_state() 00000318 d1 3e 6e f3 4c d5 3c 83 a7 06 40 b8 b5 6f cc 57 |.>n.L.<...@..o.W| mok.c:922:import_one_mok_state() 00000328 6b 77 e0 0e b2 c8 4b 6f 8b a1 42 6c 76 38 96 fa |kw....Ko..Blv8..| mok.c:922:import_one_mok_state() 00000338 3a cc ca e6 30 90 dd 81 6a 2e b7 51 61 0a 1b 44 |:...0...j..Qa..D| mok.c:922:import_one_mok_state() 00000348 ee 92 f2 a9 21 0b 5c 66 48 b8 1a 5f a1 0e 24 39 |....!.\fH.._..$9| mok.c:922:import_one_mok_state() 00000358 1d 85 ce 40 78 b8 db 3a aa 6b 51 ef c5 1f 05 94 |...@x..:.kQ.....| mok.c:922:import_one_mok_state() 00000368 1e e3 61 80 ba 52 4e f8 24 96 84 de 0c 8b 34 1f |..a..RN.$.....4.| mok.c:922:import_one_mok_state() 00000378 71 24 22 91 99 35 81 52 e9 01 67 89 b2 f5 11 25 |q$"..5.R..g....%| mok.c:922:import_one_mok_state() 00000388 46 19 1a 6f c1 af 6b 62 af 72 aa 03 6a 19 06 07 |F..o..kb.r..j...| mok.c:922:import_one_mok_state() 00000398 fc aa 5c 44 6c c1 ec af 10 b7 d2 3a 34 14 da cc |..\Dl......:4...| mok.c:922:import_one_mok_state() 000003A8 05 00 3b cb 21 ac c7 3d 23 0b 49 a7 dc f9 7e 3f |..;.!..=#.I...~?| mok.c:922:import_one_mok_state() 000003B8 e3 9a 1f e8 61 e1 11 d3 8f 59 9b 87 dc ca c9 a8 |....a....Y......| mok.c:922:import_one_mok_state() 000003C8 c0 bf 28 2c 1f db 54 91 87 42 36 14 65 d1 b5 76 |..(,..T..B6.e..v| mok.c:922:import_one_mok_state() 000003D8 a2 73 7d f9 c7 c6 7e cf 51 4f dc 12 50 c9 f9 53 |.s}...~.QO..P..S| mok.c:922:import_one_mok_state() 000003E8 fe 08 69 cf 94 cf 2f b2 e5 c6 fa f4 15 34 5e 4b |..i.../......4^K| mok.c:922:import_one_mok_state() 000003F8 52 4b 9c 9a b8 0a 9b 44 12 14 8c 26 d9 3a 2d fa |RK.....D...&.:-.| mok.c:922:import_one_mok_state() 00000408 fa e7 5a e0 83 0e 4a 52 04 09 0d 53 d7 cd 21 61 |..Z...JR...S..!a| mok.c:922:import_one_mok_state() 00000418 3a 91 34 cd f9 af e3 29 3a 99 6e 39 9c cb 90 4b |:.4....):.n9...K| mok.c:922:import_one_mok_state() 00000428 c5 af 44 23 32 b4 a6 32 4e 88 88 85 a3 7a e1 6e |..D#2..2N....z.n| mok.c:922:import_one_mok_state() 00000438 f1 da 42 1c a8 10 5c fc 6a a9 07 4c 68 56 97 8c |..B...\.j..LhV..| mok.c:922:import_one_mok_state() 00000448 16 f8 42 e1 67 12 05 bf 20 7a 9a 49 18 25 23 97 |..B.g... z.I.%#.| mok.c:922:import_one_mok_state() 00000458 04 78 de 13 b7 d0 a5 6a c0 47 e4 45 44 1a b6 db |.x.....j.G.ED...| mok.c:922:import_one_mok_state() 00000468 f3 d9 ad 83 c8 29 9e f1 7c 6f 60 a8 3a cf dd 22 |.....)..|o`.:.."| mok.c:922:import_one_mok_state() 00000478 79 09 d6 5f 6f 0f b0 52 4a d0 1a b4 73 5e 5d 51 |y.._o..RJ...s^]Q| mok.c:922:import_one_mok_state() 00000488 8d 96 75 fe 1b 57 8c 2b 81 ed a9 f2 a8 58 e1 a6 |..u..W.+.....X..| mok.c:922:import_one_mok_state() 00000498 3a 90 33 d5 e9 53 55 73 7b 35 19 23 67 4d ec 6b |:.3..SUs{5.#gM.k| mok.c:922:import_one_mok_state() 000004A8 20 9d e5 ee 06 9c fc 35 fe 5f cc e2 97 d4 8c c3 | ......5._......| mok.c:922:import_one_mok_state() 000004B8 bd aa 89 e5 09 dc ea fd cd 94 f6 86 d0 d0 74 f3 |..............t.| mok.c:922:import_one_mok_state() 000004C8 26 d0 18 7a 49 d1 da 42 6e 04 1e 55 8d b4 36 5f |&..zI..Bn..U..6_| mok.c:922:import_one_mok_state() 000004D8 48 2f 1b c5 e6 4e 77 35 02 f8 2d 18 a4 b7 bc 28 |H/...Nw5..-....(| mok.c:922:import_one_mok_state() 000004E8 6f f8 4b c5 c3 b7 6b 2d 03 ab 30 68 62 24 82 f1 |o.K...k-..0hb$..| mok.c:922:import_one_mok_state() 000004F8 a1 52 b8 96 24 71 b8 10 XX XX XX XX XX XX XX XX |.R..$q..| lib/variables.c:28:fill_esl() fill_esl: first_sig=0x0, data_len=1252 mok.c:577:mirror_one_mok_variable() FullDataSize:1280 FullData:0x0 mok.c:613:mirror_one_mok_variable() v->name:"MokList" v->rtname:"MokListRT" mok.c:614:mirror_one_mok_variable() v->data_size:1280 v->data:0xE031018 mok.c:615:mirror_one_mok_variable() FullDataSize:1280 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:2560 FullData:0x0 mok.c:641:mirror_one_mok_variable() FullDataSize:2560 FullData:0x0 allocating FullData mok.c:661:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02F018 p:0xE02F018 pos:0 lib/variables.c:28:fill_esl() fill_esl: first_sig=0xE049298, data_len=1252 mok.c:690:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02F018 p:0xE02F518 pos:1280 mok.c:703:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02F018 p:0xE02F518 pos:1280 mok.c:731:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02F018 p:0xE02F518 pos:1280 mok.c:737:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02F018 p:0xE02FA18 pos:2560 mok.c:760:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02F018 p:0xE02FA18 pos:2560 mok.c:763:mirror_one_mok_variable() calling mirror_mok_db("MokListRT", datasz=2560) mok.c:235:get_max_var_sz() calling RT->QueryVariableInfo() at 0xEF3E1A2 mok.c:251:get_max_var_sz() max_var_sz:FFE4 remaining_sz:36294 max_storage_sz:3FFF0 mok.c:768:mirror_one_mok_variable() mirror_mok_db("MokListRT", datasz=2560) returned Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokListX" mok.c:920:import_one_mok_state() maybe mirroring "MokListX". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX 26 16 c4 c1 4c 50 92 40 XXXXXXXX|&...LP.@| mok.c:922:import_one_mok_state() 00000008 ac a9 41 f9 36 93 43 28 4c 00 00 00 00 00 00 00 |..A.6.C(L.......| mok.c:922:import_one_mok_state() 00000018 30 00 00 00 50 ab 5d 60 46 e0 00 43 ab b6 3d d8 |0...P.]`F..C..=.| mok.c:922:import_one_mok_state() 00000028 10 dd 8b 23 00 00 00 00 00 00 00 00 00 00 00 00 |...#............| mok.c:922:import_one_mok_state() 00000038 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| mok.c:922:import_one_mok_state() 00000048 00 00 00 00 XX XX XX XX XX XX XX XX XX XX XX XX |....| mok.c:582:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:613:mirror_one_mok_variable() v->name:"MokListX" v->rtname:"MokListXRT" mok.c:614:mirror_one_mok_variable() v->data_size:76 v->data:0xE050E18 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:76 FullData:0x0 mok.c:636:mirror_one_mok_variable() FullDataSize:76 FullData:0xE050E18 p:0xE050E64 pos:76 mok.c:661:mirror_one_mok_variable() FullDataSize:76 FullData:0xE050E18 p:0xE050E64 pos:76 mok.c:695:mirror_one_mok_variable() FullDataSize:76 FullData:0xE050E18 p:0xE050E64 pos:76 mok.c:703:mirror_one_mok_variable() FullDataSize:76 FullData:0xE050E18 p:0xE050E64 pos:76 mok.c:760:mirror_one_mok_variable() FullDataSize:76 FullData:0xE050E18 p:0xE050E64 pos:76 mok.c:763:mirror_one_mok_variable() calling mirror_mok_db("MokListXRT", datasz=76) mok.c:235:get_max_var_sz() calling RT->QueryVariableInfo() at 0xEF3E1A2 mok.c:251:get_max_var_sz() max_var_sz:FFE4 remaining_sz:36294 max_storage_sz:3FFF0 mok.c:768:mirror_one_mok_variable() mirror_mok_db("MokListXRT", datasz=76) returned Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokSBState" mok.c:920:import_one_mok_state() maybe mirroring "MokSBState". original data: mok.c:613:mirror_one_mok_variable() v->name:"MokSBState" v->rtname:"MokSBStateRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokDBState" mok.c:920:import_one_mok_state() maybe mirroring "MokDBState". original data: mok.c:613:mirror_one_mok_variable() v->name:"MokDBState" v->rtname:"MokIgnoreDB" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "SbatLevel" mok.c:920:import_one_mok_state() maybe mirroring "SbatLevel". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX 73 62 61 74 2c 31 2c 32 XXXXXXXX|sbat,1,2| mok.c:922:import_one_mok_state() 00000008 30 32 31 30 33 30 32 31 38 0a XX XX XX XX XX XX |021030218.| mok.c:613:mirror_one_mok_variable() v->name:"SbatLevel" v->rtname:"SbatLevelRT" mok.c:614:mirror_one_mok_variable() v->data_size:18 v->data:0xE04A118 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:18 FullData:0x0 mok.c:636:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A118 p:0xE04A12A pos:18 mok.c:661:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A118 p:0xE04A12A pos:18 mok.c:760:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A118 p:0xE04A12A pos:18 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokListTrusted" mok.c:920:import_one_mok_state() maybe mirroring "MokListTrusted". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX 01 XX XX XX XX XX XX XX XXXXXXXX|.| mok.c:613:mirror_one_mok_variable() v->name:"MokListTrusted" v->rtname:"MokListTrustedRT" mok.c:614:mirror_one_mok_variable() v->data_size:1 v->data:0xE04AF18 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:1 FullData:0x0 mok.c:636:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04AF18 p:0xE04AF19 pos:1 mok.c:661:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04AF18 p:0xE04AF19 pos:1 mok.c:760:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04AF18 p:0xE04AF19 pos:1 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokPolicy" mok.c:920:import_one_mok_state() maybe mirroring "MokPolicy". original data: mok.c:613:mirror_one_mok_variable() v->name:"MokPolicy" v->rtname:"MokPolicyRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:1045:import_mok_state() checking mok request mok.c:1047:import_mok_state() mok returned Success mok.c:1057:import_mok_state() returning Success shim.c:1519:shim_init() UEFI SHIM $Version: 15.6 $ $BuildMachine: Linux x86_64 unknown unknown GNU/Linux $ $Commit: master $ load-options.c:312:parse_load_options() full load options: load-options.c:313:parse_load_options() 00000000 XX XX XX XX XX XX XX XX 42 00 4f 00 4f 00 54 00 XXXXXXXX|B.O.O.T.| load-options.c:313:parse_load_options() 00000008 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 20 00 |X.6.4...E.F.I. .| load-options.c:313:parse_load_options() 00000018 00 00 66 00 73 00 31 00 3a 00 5c 00 45 00 46 00 |..f.s.1.:.\.E.F.| load-options.c:313:parse_load_options() 00000028 49 00 5c 00 42 00 4f 00 4f 00 54 00 00 00 XX XX |I.\.B.O.O.T...| load-options.c:239:is_our_path() dppath: \EFI\BOOT/BOOTX64.EFI load-options.c:240:is_our_path() path: BOOTX64.EFI shim.c:866:load_image() attempting to load \EFI\BOOT\BOOTX64.EFI pe.c:571:generate_hash() sha1 authenticode hash: pe.c:572:generate_hash() 00000000 XX XX XX XX XX XX XX XX XX XX XX XX fa 0b 0e 7e XXXXXXXXXXXX|...~| pe.c:572:generate_hash() 00000004 2a 9a 28 cb c6 41 c4 a6 5c 12 95 23 8b 3e 44 0c |*.(..A..\..#.>D.| pe.c:573:generate_hash() sha256 authenticode hash: pe.c:574:generate_hash() 00000000 bd 79 78 8c 78 24 4a f0 88 86 79 ba 82 74 1e a2 |.yx.x$J...y..t..| pe.c:574:generate_hash() 00000010 97 7f 28 ca 3b 2b 1d 76 ad 7f 27 61 1c 5c 7a cc |..(.;+.v..'a.\z.| pe.c:1190:handle_image() Loading 0xD2000 bytes at 0xDB42000 shim.c:1704:efi_main() vendor_authorized:0x0DBF5010 vendor_authorized_size:1236 shim.c:1706:efi_main() vendor_deauthorized:0x0DBF54E4 vendor_deauthorized_size:0 sbat.c:413:set_sbat_uefi_variable() Default sbat policy: previous sbat.c:458:set_sbat_uefi_variable() preserving SbatLevel variable it is 18 bytes, attributes are 0x00000003 Starting Position (0,0) is off screen Press any key to continueBooting in 5 seconds mok.c:958:import_mok_state() importing minimal mok state variables mok.c:864:import_one_mok_state() importing mok state for "MokList" mok.c:920:import_one_mok_state() maybe mirroring "MokList". original data: mok.c:830:maybe_mirror_one_mok_variable() deleting "MokListRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("MokListRT",...) => Success lib/variables.c:28:fill_esl() fill_esl: first_sig=0x0, data_len=1252 mok.c:577:mirror_one_mok_variable() FullDataSize:1280 FullData:0x0 mok.c:613:mirror_one_mok_variable() v->name:"MokList" v->rtname:"MokListRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:1280 FullData:0x0 mok.c:641:mirror_one_mok_variable() FullDataSize:1280 FullData:0x0 allocating FullData mok.c:661:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031018 pos:0 lib/variables.c:28:fill_esl() fill_esl: first_sig=0xE049298, data_len=1252 mok.c:690:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031518 pos:1280 mok.c:703:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031518 pos:1280 mok.c:731:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031518 pos:1280 mok.c:737:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031518 pos:1280 mok.c:760:mirror_one_mok_variable() FullDataSize:1280 FullData:0xE031018 p:0xE031518 pos:1280 mok.c:763:mirror_one_mok_variable() calling mirror_mok_db("MokListRT", datasz=1280) mok.c:235:get_max_var_sz() calling RT->QueryVariableInfo() at 0xEF3E1A2 mok.c:251:get_max_var_sz() max_var_sz:FFE4 remaining_sz:367C4 max_storage_sz:3FFF0 mok.c:329:mirror_mok_db() SetVariable("MokListRT", ... varsz=0x500) = Success mok.c:768:mirror_one_mok_variable() mirror_mok_db("MokListRT", datasz=1280) returned Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokListX" mok.c:920:import_one_mok_state() maybe mirroring "MokListX". original data: mok.c:830:maybe_mirror_one_mok_variable() deleting "MokListXRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("MokListXRT",...) => Success mok.c:582:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:613:mirror_one_mok_variable() v->name:"MokListX" v->rtname:"MokListXRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:695:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:703:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 lib/variables.c:28:fill_esl() fill_esl: first_sig=0x0, data_len=48 lib/variables.c:28:fill_esl() fill_esl: first_sig=0xE04A098, data_len=48 mok.c:756:mirror_one_mok_variable() FullDataSize:76 FullData:0xE0C5398 p:0xE0C53E4 pos:76 mok.c:760:mirror_one_mok_variable() FullDataSize:76 FullData:0xE0C5398 p:0xE0C53E4 pos:76 mok.c:763:mirror_one_mok_variable() calling mirror_mok_db("MokListXRT", datasz=76) mok.c:235:get_max_var_sz() calling RT->QueryVariableInfo() at 0xEF3E1A2 mok.c:251:get_max_var_sz() max_var_sz:FFE4 remaining_sz:36312 max_storage_sz:3FFF0 mok.c:329:mirror_mok_db() SetVariable("MokListXRT", ... varsz=0x4C) = Success mok.c:768:mirror_one_mok_variable() mirror_mok_db("MokListXRT", datasz=76) returned Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokSBState" mok.c:920:import_one_mok_state() maybe mirroring "MokSBState". original data: mok.c:830:maybe_mirror_one_mok_variable() deleting "MokSBStateRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("MokSBStateRT",...) => Not Found mok.c:613:mirror_one_mok_variable() v->name:"MokSBState" v->rtname:"MokSBStateRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokDBState" mok.c:920:import_one_mok_state() maybe mirroring "MokDBState". original data: mok.c:613:mirror_one_mok_variable() v->name:"MokDBState" v->rtname:"MokIgnoreDB" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "SbatLevel" mok.c:920:import_one_mok_state() maybe mirroring "SbatLevel". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX 73 62 61 74 2c 31 2c 32 XXXXXXXX|sbat,1,2| mok.c:922:import_one_mok_state() 00000008 30 32 31 30 33 30 32 31 38 0a XX XX XX XX XX XX |021030218.| mok.c:830:maybe_mirror_one_mok_variable() deleting "SbatLevelRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("SbatLevelRT",...) => Success mok.c:613:mirror_one_mok_variable() v->name:"SbatLevel" v->rtname:"SbatLevelRT" mok.c:614:mirror_one_mok_variable() v->data_size:18 v->data:0xE04A098 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:18 FullData:0x0 mok.c:636:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A098 p:0xE04A0AA pos:18 mok.c:661:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A098 p:0xE04A0AA pos:18 mok.c:760:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A098 p:0xE04A0AA pos:18 mok.c:767:mirror_one_mok_variable() SetVariable("SbatLevelRT", ... varsz=0x12) = Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokListTrusted" mok.c:920:import_one_mok_state() maybe mirroring "MokListTrusted". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX 01 XX XX XX XX XX XX XX XXXXXXXX|.| mok.c:830:maybe_mirror_one_mok_variable() deleting "MokListTrustedRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("MokListTrustedRT",...) => Success mok.c:613:mirror_one_mok_variable() v->name:"MokListTrusted" v->rtname:"MokListTrustedRT" mok.c:614:mirror_one_mok_variable() v->data_size:1 v->data:0xE04A198 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:1 FullData:0x0 mok.c:636:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04A198 p:0xE04A199 pos:1 mok.c:661:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04A198 p:0xE04A199 pos:1 mok.c:760:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04A198 p:0xE04A199 pos:1 mok.c:767:mirror_one_mok_variable() SetVariable("MokListTrustedRT", ... varsz=0x1) = Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokPolicy" mok.c:920:import_one_mok_state() maybe mirroring "MokPolicy". original data: mok.c:830:maybe_mirror_one_mok_variable() deleting "MokPolicyRT" mok.c:832:maybe_mirror_one_mok_variable() LibDeleteVariable("MokPolicyRT",...) => Not Found mok.c:613:mirror_one_mok_variable() v->name:"MokPolicy" v->rtname:"MokPolicyRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:1033:import_mok_state() importing full mok state variables mok.c:864:import_one_mok_state() importing mok state for "MokList" mok.c:920:import_one_mok_state() maybe mirroring "MokList". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX a1 59 c0 a5 e4 94 a7 4a XXXXXXXX|.Y.....J| mok.c:922:import_one_mok_state() 00000008 87 b5 ab 15 5c 2b f0 72 00 05 00 00 00 00 00 00 |....\+.r........| mok.c:922:import_one_mok_state() 00000018 e4 04 00 00 50 ab 5d 60 46 e0 00 43 ab b6 3d d8 |....P.]`F..C..=.| mok.c:922:import_one_mok_state() 00000028 10 dd 8b 23 30 82 04 d0 30 82 02 b8 a0 03 02 01 |...#0...0.......| mok.c:922:import_one_mok_state() 00000038 02 02 08 64 57 2d c8 42 e3 7e 5e 30 0d 06 09 2a |...dW-.B.~^0...*| mok.c:922:import_one_mok_state() 00000048 86 48 86 f7 0d 01 01 0b 05 00 30 3a 31 16 30 14 |.H........0:1.0.| mok.c:922:import_one_mok_state() 00000058 06 03 55 04 03 0c 0d 5a 65 72 6f 6e 73 6f 66 74 |..U....Zeronsoft| mok.c:922:import_one_mok_state() 00000068 4e 20 43 41 31 13 30 11 06 03 55 04 0a 0c 0a 5a |N CA1.0...U....Z| mok.c:922:import_one_mok_state() 00000078 65 72 6f 6e 73 6f 66 74 4e 31 0b 30 09 06 03 55 |eronsoftN1.0...U| mok.c:922:import_one_mok_state() 00000088 04 06 13 02 4b 52 30 1e 17 0d 32 32 30 36 32 37 |....KR0...220627| mok.c:922:import_one_mok_state() 00000098 30 34 33 35 31 37 5a 17 0d 32 39 30 36 32 35 30 |043517Z..2906250| mok.c:922:import_one_mok_state() 000000A8 34 33 35 31 37 5a 30 68 31 2e 30 2c 06 03 55 04 |43517Z0h1.0,..U.| mok.c:922:import_one_mok_state() 000000B8 03 0c 25 5a 65 72 6f 6e 73 6f 66 74 4e 20 53 65 |..%ZeronsoftN Se| mok.c:922:import_one_mok_state() 000000C8 63 75 72 65 20 42 6f 6f 74 20 53 69 67 6e 69 6e |cure Boot Signin| mok.c:922:import_one_mok_state() 000000D8 67 20 28 32 30 32 32 29 31 14 30 12 06 03 55 04 |g (2022)1.0...U.| mok.c:922:import_one_mok_state() 000000E8 0b 0c 0b 53 65 63 75 72 65 20 42 6f 6f 74 31 13 |...Secure Boot1.| mok.c:922:import_one_mok_state() 000000F8 30 11 06 03 55 04 0a 0c 0a 5a 65 72 6f 6e 73 6f |0...U....Zeronso| mok.c:922:import_one_mok_state() 00000108 66 74 4e 31 0b 30 09 06 03 55 04 06 13 02 4b 52 |ftN1.0...U....KR| mok.c:922:import_one_mok_state() 00000118 30 82 01 22 30 0d 06 09 2a 86 48 86 f7 0d 01 01 |0.."0...*.H.....| mok.c:922:import_one_mok_state() 00000128 01 05 00 03 82 01 0f 00 30 82 01 0a 02 82 01 01 |........0.......| mok.c:922:import_one_mok_state() 00000138 00 a4 79 74 07 a3 87 fa dd b5 4c 01 d5 38 41 2c |..yt......L..8A,| mok.c:922:import_one_mok_state() 00000148 64 4c 50 de 1d 9f 45 d3 66 3b 3d 39 6b 21 6a df |dLP...E.f;=9k!j.| mok.c:922:import_one_mok_state() 00000158 79 16 5f 48 a1 13 83 68 60 39 cf 80 6e 36 97 9a |y._H...h`9..n6..| mok.c:922:import_one_mok_state() 00000168 59 9c 01 f9 d9 74 2c d0 3e 58 fb ff 4c b8 28 60 |Y....t,.>X..L.(`| mok.c:922:import_one_mok_state() 00000178 58 fa 04 30 f4 72 aa 23 5e 24 dd aa 35 4a 8d aa |X..0.r.#^$..5J..| mok.c:922:import_one_mok_state() 00000188 8f 76 9e 83 7d 0f 99 64 3d 48 12 19 af 8b ff ca |.v..}..d=H......| mok.c:922:import_one_mok_state() 00000198 95 aa c6 69 6a 6e 91 73 b4 41 b3 b4 c7 2a 2d 4b |...ijn.s.A...*-K| mok.c:922:import_one_mok_state() 000001A8 74 f5 f1 6f e3 60 a0 d8 ac 05 16 12 9f 20 89 0b |t..o.`....... ..| mok.c:922:import_one_mok_state() 000001B8 ca 3c 25 f6 51 91 6d fc c4 52 65 e3 29 f7 c3 2f |.<%.Q.m..Re.)../| mok.c:922:import_one_mok_state() 000001C8 c7 83 98 0e 19 e3 dc fe 59 ef 39 4c 7b 37 b9 f8 |........Y.9L{7..| mok.c:922:import_one_mok_state() 000001D8 23 0d 45 ec 40 b9 27 7b 21 b8 d7 97 8b a7 0b c3 |#.E.@.'{!.......| mok.c:922:import_one_mok_state() 000001E8 5d 30 4b 2c a5 0c 61 ae 07 68 bc be d1 2a 3f 0f |]0K,..a..h...*?.| mok.c:922:import_one_mok_state() 000001F8 c1 81 7e f3 61 0f af c2 ef 78 0a 60 d8 83 e4 cd |..~.a....x.`....| mok.c:922:import_one_mok_state() 00000208 51 70 2a ae 0e 2d d6 62 d1 f8 0f 75 bb 8a fc 41 |Qp*..-.b...u...A| mok.c:922:import_one_mok_state() 00000218 1f 79 46 6d b9 3f 4f f4 30 24 76 a0 b1 54 66 63 |.yFm.?O.0$v..Tfc| mok.c:922:import_one_mok_state() 00000228 6f a5 d8 95 20 1a 5a e9 83 7e a3 ca 4f 70 e0 52 |o... .Z..~..Op.R| mok.c:922:import_one_mok_state() 00000238 97 02 03 01 00 01 a3 81 ab 30 81 a8 30 1d 06 03 |.........0..0...| mok.c:922:import_one_mok_state() 00000248 55 1d 0e 04 16 04 14 08 16 0b 68 89 6d a7 f9 3e |U.........h.m..>| mok.c:922:import_one_mok_state() 00000258 81 18 5b 36 f8 7e 6f 47 4b de 52 30 0c 06 03 55 |..[6.~oGK.R0...U| mok.c:922:import_one_mok_state() 00000268 1d 13 01 01 ff 04 02 30 00 30 1f 06 03 55 1d 23 |.......0.0...U.#| mok.c:922:import_one_mok_state() 00000278 04 18 30 16 80 14 d7 48 ff 2b 3d 2e 44 50 b1 00 |..0....H.+=.DP..| mok.c:922:import_one_mok_state() 00000288 f8 a2 2c 94 36 80 95 51 7b e4 30 33 06 03 55 1d |..,.6..Q{.03..U.| mok.c:922:import_one_mok_state() 00000298 1f 04 2c 30 2a 30 28 a0 26 a0 24 86 22 68 74 74 |..,0*0(.&.$."htt| mok.c:922:import_one_mok_state() 000002A8 70 3a 2f 2f 70 6b 69 2e 7a 65 72 6f 6e 73 6f 66 |p://pki.zeronsof| mok.c:922:import_one_mok_state() 000002B8 74 6e 2e 63 6f 6d 2f 72 6f 6f 74 2f 63 72 6c 30 |tn.com/root/crl0| mok.c:922:import_one_mok_state() 000002C8 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 06 c0 30 |...U...........0| mok.c:922:import_one_mok_state() 000002D8 13 06 03 55 1d 25 04 0c 30 0a 06 08 2b 06 01 05 |...U.%..0...+...| mok.c:922:import_one_mok_state() 000002E8 05 07 03 03 30 0d 06 09 2a 86 48 86 f7 0d 01 01 |....0...*.H.....| mok.c:922:import_one_mok_state() 000002F8 0b 05 00 03 82 02 01 00 27 41 70 49 35 4c 2d 6a |........'ApI5L-j| mok.c:922:import_one_mok_state() 00000308 68 15 eb 80 58 74 ca 61 64 68 31 77 19 8e 6f 13 |h...Xt.adh1w..o.| mok.c:922:import_one_mok_state() 00000318 d1 3e 6e f3 4c d5 3c 83 a7 06 40 b8 b5 6f cc 57 |.>n.L.<...@..o.W| mok.c:922:import_one_mok_state() 00000328 6b 77 e0 0e b2 c8 4b 6f 8b a1 42 6c 76 38 96 fa |kw....Ko..Blv8..| mok.c:922:import_one_mok_state() 00000338 3a cc ca e6 30 90 dd 81 6a 2e b7 51 61 0a 1b 44 |:...0...j..Qa..D| mok.c:922:import_one_mok_state() 00000348 ee 92 f2 a9 21 0b 5c 66 48 b8 1a 5f a1 0e 24 39 |....!.\fH.._..$9| mok.c:922:import_one_mok_state() 00000358 1d 85 ce 40 78 b8 db 3a aa 6b 51 ef c5 1f 05 94 |...@x..:.kQ.....| mok.c:922:import_one_mok_state() 00000368 1e e3 61 80 ba 52 4e f8 24 96 84 de 0c 8b 34 1f |..a..RN.$.....4.| mok.c:922:import_one_mok_state() 00000378 71 24 22 91 99 35 81 52 e9 01 67 89 b2 f5 11 25 |q$"..5.R..g....%| mok.c:922:import_one_mok_state() 00000388 46 19 1a 6f c1 af 6b 62 af 72 aa 03 6a 19 06 07 |F..o..kb.r..j...| mok.c:922:import_one_mok_state() 00000398 fc aa 5c 44 6c c1 ec af 10 b7 d2 3a 34 14 da cc |..\Dl......:4...| mok.c:922:import_one_mok_state() 000003A8 05 00 3b cb 21 ac c7 3d 23 0b 49 a7 dc f9 7e 3f |..;.!..=#.I...~?| mok.c:922:import_one_mok_state() 000003B8 e3 9a 1f e8 61 e1 11 d3 8f 59 9b 87 dc ca c9 a8 |....a....Y......| mok.c:922:import_one_mok_state() 000003C8 c0 bf 28 2c 1f db 54 91 87 42 36 14 65 d1 b5 76 |..(,..T..B6.e..v| mok.c:922:import_one_mok_state() 000003D8 a2 73 7d f9 c7 c6 7e cf 51 4f dc 12 50 c9 f9 53 |.s}...~.QO..P..S| mok.c:922:import_one_mok_state() 000003E8 fe 08 69 cf 94 cf 2f b2 e5 c6 fa f4 15 34 5e 4b |..i.../......4^K| mok.c:922:import_one_mok_state() 000003F8 52 4b 9c 9a b8 0a 9b 44 12 14 8c 26 d9 3a 2d fa |RK.....D...&.:-.| mok.c:922:import_one_mok_state() 00000408 fa e7 5a e0 83 0e 4a 52 04 09 0d 53 d7 cd 21 61 |..Z...JR...S..!a| mok.c:922:import_one_mok_state() 00000418 3a 91 34 cd f9 af e3 29 3a 99 6e 39 9c cb 90 4b |:.4....):.n9...K| mok.c:922:import_one_mok_state() 00000428 c5 af 44 23 32 b4 a6 32 4e 88 88 85 a3 7a e1 6e |..D#2..2N....z.n| mok.c:922:import_one_mok_state() 00000438 f1 da 42 1c a8 10 5c fc 6a a9 07 4c 68 56 97 8c |..B...\.j..LhV..| mok.c:922:import_one_mok_state() 00000448 16 f8 42 e1 67 12 05 bf 20 7a 9a 49 18 25 23 97 |..B.g... z.I.%#.| mok.c:922:import_one_mok_state() 00000458 04 78 de 13 b7 d0 a5 6a c0 47 e4 45 44 1a b6 db |.x.....j.G.ED...| mok.c:922:import_one_mok_state() 00000468 f3 d9 ad 83 c8 29 9e f1 7c 6f 60 a8 3a cf dd 22 |.....)..|o`.:.."| mok.c:922:import_one_mok_state() 00000478 79 09 d6 5f 6f 0f b0 52 4a d0 1a b4 73 5e 5d 51 |y.._o..RJ...s^]Q| mok.c:922:import_one_mok_state() 00000488 8d 96 75 fe 1b 57 8c 2b 81 ed a9 f2 a8 58 e1 a6 |..u..W.+.....X..| mok.c:922:import_one_mok_state() 00000498 3a 90 33 d5 e9 53 55 73 7b 35 19 23 67 4d ec 6b |:.3..SUs{5.#gM.k| mok.c:922:import_one_mok_state() 000004A8 20 9d e5 ee 06 9c fc 35 fe 5f cc e2 97 d4 8c c3 | ......5._......| mok.c:922:import_one_mok_state() 000004B8 bd aa 89 e5 09 dc ea fd cd 94 f6 86 d0 d0 74 f3 |..............t.| mok.c:922:import_one_mok_state() 000004C8 26 d0 18 7a 49 d1 da 42 6e 04 1e 55 8d b4 36 5f |&..zI..Bn..U..6_| mok.c:922:import_one_mok_state() 000004D8 48 2f 1b c5 e6 4e 77 35 02 f8 2d 18 a4 b7 bc 28 |H/...Nw5..-....(| mok.c:922:import_one_mok_state() 000004E8 6f f8 4b c5 c3 b7 6b 2d 03 ab 30 68 62 24 82 f1 |o.K...k-..0hb$..| mok.c:922:import_one_mok_state() 000004F8 a1 52 b8 96 24 71 b8 10 XX XX XX XX XX XX XX XX |.R..$q..| lib/variables.c:28:fill_esl() fill_esl: first_sig=0x0, data_len=1252 mok.c:577:mirror_one_mok_variable() FullDataSize:1280 FullData:0x0 mok.c:613:mirror_one_mok_variable() v->name:"MokList" v->rtname:"MokListRT" mok.c:614:mirror_one_mok_variable() v->data_size:1280 v->data:0xE031018 mok.c:615:mirror_one_mok_variable() FullDataSize:1280 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:2560 FullData:0x0 mok.c:641:mirror_one_mok_variable() FullDataSize:2560 FullData:0x0 allocating FullData mok.c:661:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02D018 p:0xE02D018 pos:0 lib/variables.c:28:fill_esl() fill_esl: first_sig=0xE049298, data_len=1252 mok.c:690:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02D018 p:0xE02D518 pos:1280 mok.c:703:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02D018 p:0xE02D518 pos:1280 mok.c:731:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02D018 p:0xE02D518 pos:1280 mok.c:737:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02D018 p:0xE02DA18 pos:2560 mok.c:760:mirror_one_mok_variable() FullDataSize:2560 FullData:0xE02D018 p:0xE02DA18 pos:2560 mok.c:763:mirror_one_mok_variable() calling mirror_mok_db("MokListRT", datasz=2560) mok.c:235:get_max_var_sz() calling RT->QueryVariableInfo() at 0xEF3E1A2 mok.c:251:get_max_var_sz() max_var_sz:FFE4 remaining_sz:36294 max_storage_sz:3FFF0 mok.c:768:mirror_one_mok_variable() mirror_mok_db("MokListRT", datasz=2560) returned Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokListX" mok.c:920:import_one_mok_state() maybe mirroring "MokListX". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX 26 16 c4 c1 4c 50 92 40 XXXXXXXX|&...LP.@| mok.c:922:import_one_mok_state() 00000008 ac a9 41 f9 36 93 43 28 4c 00 00 00 00 00 00 00 |..A.6.C(L.......| mok.c:922:import_one_mok_state() 00000018 30 00 00 00 50 ab 5d 60 46 e0 00 43 ab b6 3d d8 |0...P.]`F..C..=.| mok.c:922:import_one_mok_state() 00000028 10 dd 8b 23 00 00 00 00 00 00 00 00 00 00 00 00 |...#............| mok.c:922:import_one_mok_state() 00000038 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| mok.c:922:import_one_mok_state() 00000048 00 00 00 00 XX XX XX XX XX XX XX XX XX XX XX XX |....| mok.c:582:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:613:mirror_one_mok_variable() v->name:"MokListX" v->rtname:"MokListXRT" mok.c:614:mirror_one_mok_variable() v->data_size:76 v->data:0xE0C5398 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:76 FullData:0x0 mok.c:636:mirror_one_mok_variable() FullDataSize:76 FullData:0xE0C5398 p:0xE0C53E4 pos:76 mok.c:661:mirror_one_mok_variable() FullDataSize:76 FullData:0xE0C5398 p:0xE0C53E4 pos:76 mok.c:695:mirror_one_mok_variable() FullDataSize:76 FullData:0xE0C5398 p:0xE0C53E4 pos:76 mok.c:703:mirror_one_mok_variable() FullDataSize:76 FullData:0xE0C5398 p:0xE0C53E4 pos:76 mok.c:760:mirror_one_mok_variable() FullDataSize:76 FullData:0xE0C5398 p:0xE0C53E4 pos:76 mok.c:763:mirror_one_mok_variable() calling mirror_mok_db("MokListXRT", datasz=76) mok.c:235:get_max_var_sz() calling RT->QueryVariableInfo() at 0xEF3E1A2 mok.c:251:get_max_var_sz() max_var_sz:FFE4 remaining_sz:36294 max_storage_sz:3FFF0 mok.c:768:mirror_one_mok_variable() mirror_mok_db("MokListXRT", datasz=76) returned Success mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokSBState" mok.c:920:import_one_mok_state() maybe mirroring "MokSBState". original data: mok.c:613:mirror_one_mok_variable() v->name:"MokSBState" v->rtname:"MokSBStateRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokDBState" mok.c:920:import_one_mok_state() maybe mirroring "MokDBState". original data: mok.c:613:mirror_one_mok_variable() v->name:"MokDBState" v->rtname:"MokIgnoreDB" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "SbatLevel" mok.c:920:import_one_mok_state() maybe mirroring "SbatLevel". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX 73 62 61 74 2c 31 2c 32 XXXXXXXX|sbat,1,2| mok.c:922:import_one_mok_state() 00000008 30 32 31 30 33 30 32 31 38 0a XX XX XX XX XX XX |021030218.| mok.c:613:mirror_one_mok_variable() v->name:"SbatLevel" v->rtname:"SbatLevelRT" mok.c:614:mirror_one_mok_variable() v->data_size:18 v->data:0xE04A098 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:18 FullData:0x0 mok.c:636:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A098 p:0xE04A0AA pos:18 mok.c:661:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A098 p:0xE04A0AA pos:18 mok.c:760:mirror_one_mok_variable() FullDataSize:18 FullData:0xE04A098 p:0xE04A0AA pos:18 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokListTrusted" mok.c:920:import_one_mok_state() maybe mirroring "MokListTrusted". original data: mok.c:922:import_one_mok_state() 00000000 XX XX XX XX XX XX XX XX 01 XX XX XX XX XX XX XX XXXXXXXX|.| mok.c:613:mirror_one_mok_variable() v->name:"MokListTrusted" v->rtname:"MokListTrustedRT" mok.c:614:mirror_one_mok_variable() v->data_size:1 v->data:0xE04A198 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:618:mirror_one_mok_variable() FullDataSize:1 FullData:0x0 mok.c:636:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04A198 p:0xE04A199 pos:1 mok.c:661:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04A198 p:0xE04A199 pos:1 mok.c:760:mirror_one_mok_variable() FullDataSize:1 FullData:0xE04A198 p:0xE04A199 pos:1 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:864:import_one_mok_state() importing mok state for "MokPolicy" mok.c:920:import_one_mok_state() maybe mirroring "MokPolicy". original data: mok.c:613:mirror_one_mok_variable() v->name:"MokPolicy" v->rtname:"MokPolicyRT" mok.c:614:mirror_one_mok_variable() v->data_size:0 v->data:0x0 mok.c:615:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 mok.c:661:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:760:mirror_one_mok_variable() FullDataSize:0 FullData:0x0 p:0x0 pos:0 mok.c:813:mirror_one_mok_variable() returning Success mok.c:926:import_one_mok_state() returning Success mok.c:1045:import_mok_state() checking mok request mok.c:1047:import_mok_state() mok returned Success mok.c:1057:import_mok_state() returning Success shim.c:1519:shim_init() UEFI SHIM $Version: 15.6 $ $BuildMachine: Linux x86_64 unknown unknown GNU/Linux $ $Commit: master $ load-options.c:312:parse_load_options() full load options: load-options.c:313:parse_load_options() 00000000 00 00 66 00 73 00 31 00 3a 00 5c 00 45 00 46 00 |..f.s.1.:.\.E.F.| load-options.c:313:parse_load_options() 00000010 49 00 5c 00 42 00 4f 00 4f 00 54 00 00 00 XX XX |I.\.B.O.O.T...| load-options.c:239:is_our_path() dppath: \EFI\BOOT\BOOTX64.EFI load-options.c:240:is_our_path() path: shim.c:866:load_image() attempting to load \EFI\BOOT\ Invalid image Failed to read header: Unsupported Failed to load image: Unsupported pe.c:701 read_header() Invalid image pe.c:1111 handle_image() Failed to read header: Unsupported shim.c:1169 start_image() Failed to load image: Unsupported start_image() returned Unsupported start_image() returned Unsupported Exit status code: Unsupported ```
jclab-joseph commented 2 years ago

It seems like there is something wrong with loader_options. After resetting the BIOS, it works fine.

Could this be considered a shim potential bug?

ValdikSS commented 2 years ago

People have the same issue on selected laptops with Fedora's shim v15.6-1 when Secure Boot is disabled.

https://github.com/ventoy/Ventoy/issues/1707 https://github.com/ventoy/Ventoy/issues/1735

ValdikSS commented 2 years ago

Shim v15.6-1 Fails to boot on ASUS B85M-E motherboard with Nightly Fedora Rawhide ISO. https://bugzilla.redhat.com/show_bug.cgi?id=2109669 The previous shim v15.4-5 works fine, as well as non-nightly Fedora 36 ISO.

cap_20220721_154257_00:01:09_01

GloriousEggroll commented 2 years ago

reporting in with another B85M-E that cant boot with this shim. Have someone in my discord who also has the same board and also reported the same issue. Fedora 36's ISO still uses 15.4, 15.6 is only provided via updates. I made a new custom fedora 36 image and added the shim package to the excludes list in the updates repo -- and sure enough it booted using the 15.4 shim packages from the original fedora (non-updates) repo.

frozencemetery commented 2 years ago

First thing to check would be whether Asus has a firmware update available for that motherboard compared to what it's shipping with (and if so, whether applying it resolves the issue). I do have a different Asus motherboard, but it both has no issues with the newer shim and has been updated.

I'd also be curious what the EFI boot entries are, both according to the firmware and according to efibootmgr -v from userspace. (Booted by older shim, of course - full output of efibootmgr -v please.) We shouldn't be hitting BOOTX64 here, I'd think.

GloriousEggroll commented 2 years ago

First thing to check would be whether Asus has a firmware update available for that motherboard compared to what it's shipping with (and if so, whether applying it resolves the issue). I do have a different Asus motherboard, but it both has no issues with the newer shim and has been updated.

I'd also be curious what the EFI boot entries are, both according to the firmware and according to efibootmgr -v from userspace. (Booted by older shim, of course - full output of efibootmgr -v please.) We shouldn't be hitting BOOTX64 here, I'd think.

The bios is completely up to date, that was the first thing I checked. Also it's not just this specific asus board. I have another user that reported the same issue on an older Dell:

https://www.reddit.com/r/NobaraProject/comments/wobqp5/comment/ikp9z9k/?utm_source=reddit&utm_medium=web2x&context=3

And as noted reverting the shim to the older 15.4 version in my ISO fixed the issue for him as well. I'll grab the efibootmgr -v output shortly and report back.

GloriousEggroll commented 2 years ago
$ efibootmgr -v
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0000,0001,0002
Boot0000* Nobara        HD(1,GPT,bd428ec5-4fb7-4481-b46a-bd733b5120f9,0x800,0x12c000)/File(\EFI\fedora\shimx64.efi)
Boot0001* UEFI OS       HD(1,GPT,bd428ec5-4fb7-4481-b46a-bd733b5120f9,0x800,0x12c000)/File(\EFI\BOOT\BOOTX64.EFI)
Boot0002* UEFI: Samsung Flash Drive     PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(5,0)/HD(1,MBR,0x49de1631,0xac,0x4f6c)..BO
ValdikSS commented 2 years ago

@GloriousEggroll, since you already have the hardware, could you try to debug the issue? The bug happens somewhere here, but since this function haven't been changed between 15.4 and 15.6, I won't be surprised if there's something with gnu-efi instead.

GloriousEggroll commented 2 years ago

@GloriousEggroll, since you already have the hardware, could you try to debug the issue? The bug happens somewhere here, but since this function haven't been changed between 15.4 and 15.6, I won't be surprised if there's something with gnu-efi instead.

sorry but I wouldnt even know where to begin on debugging this. I can build an rpm and make a bootable iso with it but thats about the extent of what i know in regards to how this shim works much less how to debug it

ValdikSS commented 2 years ago

@GloriousEggroll, shim, stored in (EFI)/efi/boot/bootx64.efi, tries to boot (efi)/efi/boot/grubx64.efi, and fails to do so because, for some reason, the internal functions cut off the file name and try to boot (efi)/efi/boot (the directory).

You run sudo mokutil --set-verbosity true in any distro first, then you can rebuild shim, copy it as (EFI)/efi/boot/bootx64.efi (if the issue also happens in the installed OS, build ISO if not), and debug with prints.

The functions of interest are load-options.c/generate_path_from_image_path and shim.c/load_image.

frozencemetery commented 2 years ago

If someone is able to test #505, it would be helpful to know if that resolves the issue.

ValdikSS commented 2 years ago

If someone is able to test #505, it would be helpful to know if that resolves the issue.

Is it possible to provide the build in a form of .efi file, so @GloriousEggroll and @Silexium could test the patch?

GloriousEggroll commented 2 years ago

I was able to build the unsigned shim rpms patched with #505 and also the shim rpms based off them, can confirm this resolves the issue on the ASUS B85M-E. Thanks for the fix @frozencemetery. @ValdikSS I've set up a copr repo if you need it for testing:

https://copr.fedorainfracloud.org/coprs/gloriouseggroll/shim-test/

frozencemetery commented 2 years ago

Thanks for the testing. For those hitting this issue before their distros update the officially signed shim: in my opinion, it is better from a security perspective to run the older, signed shim rather than disabling secureboot to run the patched, unsigned shim above from #505.

(If you're able to enroll your own keys, of course you can have the best of both worlds; and if you're just testing fixes, none of this applies anyway.)

chardinson commented 1 year ago

This problem does not occur if I use Ventoy to load the ISO, with Fedora Media Writer and GNOME Disk Utility I get this problem.

The topic is already closed, but I wanted to leave a comment.