Files
chipsec-chipsec/chipsec
Nicolas Iooss a9204f48e0 Fix error message when the Linux kernel module fails to load
On Arch Linux, `chipsec_main` fails:

    ################################################################
    ##                                                            ##
    ##  CHIPSEC: Platform Hardware Security Assessment Framework  ##
    ##                                                            ##
    ################################################################
    [CHIPSEC] Version 1.5.10
    [CHIPSEC] Arguments:

    insmod: ERROR: could not insert module /var/lib/dkms/chipsec/1.5.10/
    5.11.6-arch1-1/x86_64/module/chipsec.ko.xz: Operation not permitted
    ERROR: Message: "Could not start Linux Helper, are you running as Admin/root?
            {}.format(err)"

Showing `{}.format(err)` is a bug caused by a misplaced quote. With the
quote in the right position, the error is clearer:

    ERROR: Message: "Could not start Linux Helper, are you running as Admin/root?
        Command '['insmod', '/var/lib/dkms/chipsec/1.5.10/5.11.6-arch1-1/
        x86_64/module/chipsec.ko.xz', '', '']' returned non-zero exit
        status 1."
2021-03-31 11:50:32 -07:00
..
2020-07-31 13:46:13 -07:00
2020-07-31 13:46:13 -07:00
2021-03-31 10:38:08 -07:00
2020-07-01 15:44:21 -07:00
2019-06-13 13:16:57 -07:00
2020-07-31 13:46:13 -07:00
2020-07-31 13:46:13 -07:00
2020-07-31 13:46:13 -07:00
2020-04-20 08:39:02 -07:00
2020-07-31 13:46:13 -07:00
2020-07-31 13:46:13 -07:00
2020-07-31 13:46:13 -07:00
2021-02-24 16:17:42 -08:00