Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTS 2.0.0-rc3 displays errors during update, hcl restore and in dmesg #958

Open
m-iwanicki opened this issue Jul 22, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working DasharoToolsSuite needs review novacustom_v54_mtl NovaCustom V54 Series

Comments

@m-iwanicki
Copy link

m-iwanicki commented Jul 22, 2024

Component

Dasharo Tools Suite

Device

NovaCustom V54 14th Gen

Dasharo version

0.9.0-rc10 & 0.9.0

Dasharo Tools Suite version

v2.0.0-rc3

Test case ID

No response

Brief summary

DTS displays errors that might be alarming for user or might mean something is wrong

How reproducible

No response

How to reproduce

  • Restore firmware from Dasharo HCL report:
    • Generate HCK report & restore fw from this report
  • dmesg/journalctl erors:
    • check dmesg output
    • check journalctl -b0 -p err output
  • Update errors:
    • Update firmware from 0.9.0-rc10 to 0.9.0

Expected behavior

  • Error output where it's expected shouldn't be printed to console
  • No errors in journalctl or dmesg
  • No alarming warnings/errors messages during update

Actual behavior

  • Restore firmware from Dasharo HCL report:

    • displays cat: /sys/class/net/: Is a directory
    • Most likely due to this line which will probably always error.
  • dmesg/journalctl erors:

    • critical:
    root@DasharoToolsSuite:~# journalctl -b0 -p crit
    Jul 18 15:14:06 DasharoToolsSuite kernel:   #2  #4  #5  #7  #9 #11
    Jul 18 15:14:06 DasharoToolsSuite kernel: hpet_acpi_add: no address or irqs in _CRS
    
    • errors:
    root@DasharoToolsSuite:~# journalctl -b0 -p err..err
    Jul 18 15:14:07 DasharoToolsSuite systemd-tmpfiles[409]: "/var/log" already exists and is not a directory.
    Jul 18 15:14:07 DasharoToolsSuite systemd-tmpfiles[409]: "/var/tmp" already exists and is not a directory.
    Jul 18 15:14:12 DasharoToolsSuite agetty[426]: /dev/ttyS0: not a tty
    Jul 18 15:14:23 DasharoToolsSuite agetty[521]: /dev/ttyS0: not a tty
    Jul 18 15:14:33 DasharoToolsSuite agetty[550]: /dev/ttyS0: not a tty
    Jul 18 15:14:43 DasharoToolsSuite agetty[566]: /dev/ttyS0: not a tty
    Jul 18 15:14:53 DasharoToolsSuite agetty[572]: /dev/ttyS0: not a tty
    Jul 18 15:15:04 DasharoToolsSuite agetty[580]: /dev/ttyS0: not a tty
    Jul 18 15:15:09 DasharoToolsSuite kernel: snd_hda_intel 0000:00:1f.3: Cannot probe codecs, giving up
    Jul 18 15:15:14 DasharoToolsSuite agetty[587]: /dev/ttyS0: not a tty
    Jul 18 15:15:24 DasharoToolsSuite agetty[590]: /dev/ttyS0: not a tty
    Jul 18 15:15:34 DasharoToolsSuite agetty[592]: /dev/ttyS0: not a tty
    Jul 18 15:15:45 DasharoToolsSuite agetty[594]: /dev/ttyS0: not a tty
    Jul 18 15:15:55 DasharoToolsSuite agetty[598]: /dev/ttyS0: not a tty
    Jul 18 15:16:05 DasharoToolsSuite agetty[600]: /dev/ttyS0: not a tty
    Jul 18 15:16:15 DasharoToolsSuite agetty[602]: /dev/ttyS0: not a tty
    Jul 18 15:16:26 DasharoToolsSuite agetty[604]: /dev/ttyS0: not a tty
    
  • Update errors, couple Error verifying firmware body.

    Checking for the latest Dasharo update available...
    Current Dasharo version: 0.9.0-rc10
    Latest available Dasharo version: 0.9.0
    
    Are you sure you want to proceed with update? (Y|n) y
    
    Downloading Dasharo firmware...Done
    
    Please verify detected hardware!
    
    Board vendor: Notebook
    System model: V54x_6x_TU
    Board model: V540TU
    
    Does it match your actual specification? (Y|n) y
    
    Following firmware will be used to install Dasharo
    Dasharo BIOS firmware:
      - link: <http://192.168.4.122:1234/novacustom_v54x_mtl/v0.9.0/novacustom_v54x_mtl_v0.9.0.rom>
      - hash: c11bfcaa15dba5f1c98f04a29a9b045f21b76174cec638d1ab6a72c4d5c71d13
    
    You can learn more about this release on: <https://docs.dasharo.com/>
    
    Do you want to update Dasharo firmware on your hardware? (Y|n) y
    
    Checking Dasharo firmware checksum... Verified.
    
    Backing up firmware configuration... Done.
    Backing up custom boot logo... Done.
    Found file config at 0x20b6c0, type raw, compressed 5787, size 21358
    Checking flash layout.
    Error verifying firmware body.
    Error verifying firmware body.
    Checking vboot keys.
    Error verifying firmware body.
    Error verifying firmware body.
    Updating Dasharo firmware...
    This may take several minutes. Please be patient and do not power off your computer or touch the keyboard!
    Updating second firmware partition...
    

Screenshots

No response

Additional context

While DTS shows errors it worked correctly and managed to update & restore firmware successfully.

/var/tmp and /var/log systemd errors might be similar/same to the problems meta-balena had/have: balena-os/meta-balena#1254 (comment)

Solutions you've tried

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DasharoToolsSuite needs review novacustom_v54_mtl NovaCustom V54 Series
Projects
None yet
Development

No branches or pull requests

1 participant