Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2025 05:37:13 +0000
From:      "Steven Harms (High-Security Mail)" <sgharms@stevengharms.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Error messages in 15.0-CURRENT (n275524-8dc0889..)
Message-ID:  <-lBMvD5Tiv4yF0hnXfnTe5uomckYynoVVg4eIHbmsGnvMpKO7X9SF8zP4BFgJFdcM2AQzHNxCcQ2dXe-IzYJMMzUyauPaBMnPktD9WNJRqI=@stevengharms.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Folks,

I built a GENERIC kernel "hot off the presses" as of the commits cited above. I am surprised that I'm still getting error messages in dmesg​ about:

- Firmware errors

- i915/skl_dmc_ver1_27.bin: could not load binary firmware /boot/firmware/i915/skl_dmc_ver1_27.bin either (repeats)
- drmn0: could not load firmware image 'i915/skl_dmc_ver1_27.bin'
- drmn0: [drm] Failed to load DMC firmware...Disabling runtime power management

- Wait, that sounds like...useful. Is that screen blanking and backlight shushing?
- Also, I don't lilke false negatives in dmesg​
- I built arm-515-kmod from port (which worked) and made appropriate file and group edits, but even after reboot it didn't affect these messages
- Stack trace in the VT: Replacement action. Shortly after "VT: Replacing driver "efifb" with new "fb"" I see a stack trace

- exclusive sleep mutex vtdev.... locked at /usr/src/sys/dev/vt/vt_core.c:3260
- Now this just happened to be the file I was hacking so I was worried I'd intro'd a regression ;) But this is a generic kernel, so don't look at me :)
- The trace ultimately shows frames involving i915_driver_(register|probe)​...which suggests that maybe these two things are related. Line 3260 is where a mutex is sought as part of the replace routine.

I think I've troubleshot this reasonably, is there some angle I've missed? I'd like to have a clean dmesg on my GENERIC before I start bolting in my Frankenstein ideas into a custom kernel.

Thanks!

Steven

---

Public Key: 22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE

Messages from this account are considered the best-secured and most reliable. Send information regarding health, wealth, or requiring higher standards of security to this address.

Sent with [Proton Mail](https://proton.me/mail/home) secure email.
[-- Attachment #2 --]
<div style="font-family: Arial, sans-serif; font-size: 14px;">Folks,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I built a GENERIC kernel "hot off the presses" as of the commits cited above. I am surprised that I'm still getting error messages in <code>dmesg</code>​ about:</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div><ol data-editing-info="{&quot;orderedStyleType&quot;:1,&quot;unorderedStyleType&quot;:1}" style="margin-top: 0px; margin-bottom: 0px;"><li style="font-family: Arial, sans-serif; font-size: 14px; list-style-type: &quot;1. &quot;;"><span>Firmware errors</span></li><ol style="margin-top: 0px; margin-bottom: 0px; list-style-type: lower-alpha;"><li style="font-family: Arial, sans-serif; font-size: 14px;"><span>i915/skl_dmc_ver1_27.bin: could not load binary firmware /boot/firmware/i915/skl_dmc_ver1_27.bin either (repeats)</span></li><li style="font-family: Arial, sans-serif; font-size: 14px;"><span>drmn0: could not load firmware image 'i915/skl_dmc_ver1_27.bin'</span></li><li><font face="Arial, sans-serif">drmn0: [drm] Failed to load DMC firmware...Disabling runtime power&nbsp;management</font></li><ol style="margin-top: 0px; margin-bottom: 0px; list-style-type: lower-roman;"><li><font face="Arial, sans-serif">Wait, that sounds like...useful. Is that screen blanking and backlight shushing?</font></li><li><font face="Arial, sans-serif">Also, I don't lilke false negatives in <code>dmesg</code>​</font></li><li><font face="Arial, sans-serif">I built&nbsp;arm-515-kmod from port (which worked) and made appropriate file and group edits, but even after reboot it didn't affect these messages</font></li></ol></ol><li style="font-family: Arial, sans-serif; font-size: 14px; list-style-type: &quot;2. &quot;;"><span>Stack trace in the VT: Replacement action. Shortly after "VT: Replacing driver "efifb" with new "fb"" I see a stack trace</span></li><ol style="margin-top: 0px; margin-bottom: 0px; list-style-type: lower-alpha;"><li style="font-family: Arial, sans-serif; font-size: 14px;">exclusive sleep mutex vtdev.... locked at /usr/src/sys/dev/vt/vt_core.c:3260</li><li style="font-family: Arial, sans-serif; font-size: 14px;">Now this just happened to be the file I was hacking so I was worried I'd intro'd a regression ;) But this is a generic kernel, so don't look at me :)</li><li style="font-family: Arial, sans-serif; font-size: 14px;">The trace ultimately shows frames involving <code>i915_driver_(register|probe)</code>​...which suggests that maybe these two things are related. Line 3260 is where a mutex is sought as part of the replace routine.</li></ol></ol><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><font face="Arial, sans-serif"><br></font></div></div><div style="background-color: rgb(255, 255, 255);"><font face="Arial, sans-serif">I think I've troubleshot this reasonably, is there some angle I've missed? I'd like to have a clean dmesg on my GENERIC before I start bolting in my Frankenstein ideas into a custom kernel.</font></div><div style="background-color: rgb(255, 255, 255);"><font face="Arial, sans-serif"><br></font></div><div style="background-color: rgb(255, 255, 255);"><font face="Arial, sans-serif">Thanks!</font></div><div style="background-color: rgb(255, 255, 255);"><font face="Arial, sans-serif"><br></font></div><div style="background-color: rgb(255, 255, 255);"><font face="Arial, sans-serif">Steven</font></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
    <div class="protonmail_signature_block-user">
        <div>---<br></div><div><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Public Key: <a title="22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE" href="https://22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE"><span>22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE</span></a><br></div><div style="font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-family: Arial, Helvetica, sans-serif; color: rgb(34, 34, 34);"><br></div><div>Messages from this account are considered the best-secured and most reliable. Send information regarding health, wealth, or requiring higher standards of security to this address.<br></div>
    </div>
    <div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
    <div class="protonmail_signature_block-proton">
        Sent with <a target="_blank" href="https://proton.me/mail/home">Proton Mail</a> secure email.
    </div>
</div>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?-lBMvD5Tiv4yF0hnXfnTe5uomckYynoVVg4eIHbmsGnvMpKO7X9SF8zP4BFgJFdcM2AQzHNxCcQ2dXe-IzYJMMzUyauPaBMnPktD9WNJRqI=>