• [^] # Re: Firmware UEFI bogué ?

    Posté par (Mastodon) . En réponse au message Grub à la main... j'y suis presque !. Évalué à 3. Dernière modification le 13 février 2023 à 18:20.

    $ sudo efibootmgr -v
    BootCurrent: 0002
    Timeout: 0 seconds
    BootOrder: 0002,2003,2001,2002
    Boot0000* EFI Network 0 for IPv4 (F8-B4-6A-E8-FA-88) PciRoot(0x0)/Pci(0x13,0x0)/Pci(0x0,0x0)/MAC(f8b46ae8fa88,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
    Boot0001* EFI Network 0 for IPv6 (F8-B4-6A-E8-FA-88) PciRoot(0x0)/Pci(0x13,0x0)/Pci(0x0,0x0)/MAC(f8b46ae8fa88,0)/IPv6([::]:<->[::]:,0,0)RC
    Boot0002* ubuntu HD(1,GPT,fef9070f-7029-4bc2-afa4-b34a5406f921,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)RC
    Boot2001* EFI USB Device RC
    Boot2002* EFI DVD/CDROM RC
    Boot2003* EFI Network RC
    

    Et d'après la donc que t'as envoyé j'ai tenté d'ajouter une entrée :

    $ sudo efibootmgr -c -d /dev/sda -p 1 -L debian '\EFI\debian\grubx64.efi'
    Could not prepare Boot variable: Interrupted system call
    

    À noter que ça met en vrac la gestion EFI :

    [ 139.022883] ------------[ cut here ]------------
    [ 139.022889] [Firmware Bug]: Page fault caused by firmware at PA: 0x6605a210
    [ 139.022901] WARNING: CPU: 1 PID: 310 at arch/x86/platform/efi/quirks.c:713 efi_recover_from_page_fault+0x2e/0xc0
    [ 139.022902] Modules linked in: ctr ccm cmac algif_hash algif_skcipher af_alg bnep btusb btrtl btbcm btintel bluetooth jitterentropy_rng drbg x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass snd_sof_pci snd_sof_intel_byt aes_generic snd_sof_intel_ipc ghash_clmulni_intel snd_sof_intel_hda_common snd_sof_xtensa_dsp snd_hda_codec_hdmi snd_sof snd_sof_intel_hda snd_soc_skl snd_hda_codec_conexant iwlmvm snd_hda_codec_generic ledtrig_audio snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi mac80211 snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation mei_hdcp libarc4 snd_soc_core snd_compress intel_rapl_msr soundwire_cadence nls_ascii nls_cp437 snd_hda_codec uvcvideo snd_hda_core videobuf2_vmalloc snd_hwdep videobuf2_memops aesni_intel soundwire_bus vfat iwlwifi fat videobuf2_v4l2 crypto_simd snd_pcm wdat_wdt cryptd glue_helper videobuf2_common rapl intel_cstate watchdog hid_sensor_accel_3d
    [ 139.022983] hid_sensor_rotation hid_sensor_gyro_3d joydev hid_sensor_magn_3d ansi_cprng hid_sensor_incl_3d videodev snd_timer pcspkr efi_pstore ecdh_generic wmi_bmof serio_raw mei_me ecc tpm_crb hp_wmi cfg80211 hid_multitouch hid_sensor_trigger mc hid_sensor_iio_common industrialio_triggered_buffer kfifo_buf libaes snd industrialio mei processor_thermal_device soundcore intel_rapl_common rfkill sg intel_xhci_usb_role_switch roles intel_soc_dts_iosf tpm_tis ac tpm_tis_core int3403_thermal intel_vbtn evdev int340x_thermal_zone soc_button_array sparse_keymap int3400_thermal tpm acpi_thermal_rel rng_core intel_pmc_core hp_wireless parport_pc ppdev lp parport fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic hid_sensor_custom hid_sensor_hub intel_ishtp_hid sd_mod t10_pi crc_t10dif crct10dif_generic xhci_pci i915 xhci_hcd i2c_algo_bit ahci rtsx_pci_sdmmc hid_generic mmc_core drm_kms_helper libahci usbcore crct10dif_pclmul crct10dif_common libata r8169
    [ 139.023076] i2c_i801 intel_ish_ipc i2c_hid cec realtek intel_lpss_pci crc32_pclmul mdio_devres psmouse crc32c_intel drm libphy rtsx_pci scsi_mod intel_lpss idma64 usb_common lpc_ich i2c_smbus intel_ishtp wmi hid battery button video
    [ 139.023104] CPU: 1 PID: 310 Comm: kworker/u8:4 Not tainted 5.10.0-21-amd64 #1 Debian 5.10.162-1
    [ 139.023106] Hardware name: HP HP ProBook x360 11 G1 EE/82EE, BIOS 01.27 04/19/2019
    [ 139.023111] Workqueue: efi_rts_wq efi_call_rts
    [ 139.023115] RIP: 0010:efi_recover_from_page_fault+0x2e/0xc0
    [ 139.023118] Code: 00 8b 15 25 72 fb 01 85 d2 74 09 48 81 ff ff 0f 00 00 77 05 c3 cc cc cc cc 53 48 89 fe 48 c7 c7 d0 e9 8c 9a 50 e8 9c 5d 83 00 <0f> 0b 83 3d f9 71 fb 01 0a 0f 84 c5 58 83 00 48 8b 3d 74 b1 e9 01
    [ 139.023120] RSP: 0018:ffffaef00068bb50 EFLAGS: 00010082
    [ 139.023122] RAX: 0000000000000000 RBX: ffff959d52be45c0 RCX: ffff959dbbca0908
    [ 139.023123] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff959dbbca0900
    [ 139.023125] RBP: ffffaef00068bbf8 R08: 0000000000000000 R09: ffffaef00068b970
    [ 139.023126] R10: ffffaef00068b968 R11: ffffffff9aecb6a8 R12: 000000006605a210
    [ 139.023127] R13: 0000000000000000 R14: 000000000000000b R15: 0000000000000001
    [ 139.023130] FS: 0000000000000000(0000) GS:ffff959dbbc80000(0000) knlGS:0000000000000000
    [ 139.023131] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [ 139.023133] CR2: 000000006605a210 CR3: 000000010019e000 CR4: 00000000003506e0
    [ 139.023134] Call Trace:
    [ 139.023143] no_context+0x16e/0x3c0
    [ 139.023147] exc_page_fault+0x78/0x160
    [ 139.023151] asm_exc_page_fault+0x1e/0x30
    [ 139.023154] RIP: 0010:0xfffffffefb033d44
    [ 139.023156] Code: d1 b9 04 00 00 00 e9 b7 ff ff ff cc cc cc 48 8b 05 f9 4a 00 00 48 ff 60 30 cc 48 83 ec 28 48 8b 05 e9 4a 00 00 4c 8d 44 24 40 <ff> 50 40 48 8b 4c 24 40 33 d2 48 85 c0 48 0f 48 ca 48 8b c1 48 83
    [ 139.023158] RSP: 0018:ffffaef00068bca0 EFLAGS: 00010086
    [ 139.023160] RAX: 000000006605a1d0 RBX: 0000000000000002 RCX: 0000000000000004
    [ 139.023161] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000002
    [ 139.023162] RBP: ffffaef00068bd70 R08: ffffaef00068bce0 R09: ffffaef00068bdd0
    [ 139.023163] R10: 0000000000000000 R11: 0000000000000018 R12: 0000000000000000
    [ 139.023165] R13: 0000000000083fb0 R14: ffffaef00068bdd0 R15: ffffaef00068bdd8
    [ 139.023171] ? wake_up_q+0xa0/0xa0
    [ 139.023174] ? __wake_up_common+0x80/0x190
    [ 139.023177] ? __wake_up_common_lock+0x8a/0xc0
    [ 139.023180] ? psi_group_change+0x41/0x220
    [ 139.023183] ? __efi_call+0x28/0x30
    [ 139.023185] ? efi_call_rts+0x483/0x800
    [ 139.023188] ? process_one_work+0x1b6/0x350
    [ 139.023190] ? worker_thread+0x53/0x3e0
    [ 139.023192] ? process_one_work+0x350/0x350
    [ 139.023194] ? kthread+0x11b/0x140
    [ 139.023196] ? __kthread_bind_mask+0x60/0x60
    [ 139.023199] ? ret_from_fork+0x22/0x30
    [ 139.023202] ---[ end trace 955a20e47c5a2167 ]---
    [ 139.023225] efi: Froze efi_rts_wq and disabled EFI Runtime Services
    [ 139.023349] efi: EFI Runtime Services are disabled!
    

    et qu'après je ne peux même plus relire les variables :

    $ sudo efibootmgr -v
    Skipping unreadable variable "Boot0000": Interrupted system call
    Skipping unreadable variable "Boot0001": Interrupted system call
    Skipping unreadable variable "Boot0002": Interrupted system call
    Skipping unreadable variable "Boot2001": Interrupted system call
    Skipping unreadable variable "Boot2002": Interrupted system call
    Skipping unreadable variable "Boot2003": Interrupted system call
    show_order(): Interrupted system call
    

    En théorie, la théorie et la pratique c'est pareil. En pratique c'est pas vrai.