• Bug#1103397: linux-image-amd64: Kernel Panic: copy_fpstate_to_sigframe

    From Salvatore Bonaccorso@21:1/5 to Larry Wei on Thu May 8 22:20:01 2025
    XPost: linux.kernel, linux.debian.kernel

    Hi Larry Wei, hi Ben,

    For context this is about https://bugs.debian.org/1103397, and which
    Ben did forward in https://lore.kernel.org/regressions/dddb6b8d56e3f28b914e1e243f948457d53149ce.camel@decadent.org.uk/T/

    On Thu, May 08, 2025 at 03:12:31AM +0800, Larry Wei wrote:
    Thank you all,

    I have pulled the newest `linux-next` changes and compiled it, my laptop boots well now! https://linux-hardware.org/?probe=271fabb7a4 , but it still prints some `WARNING` information at startup: https://linux-hardware.org/?probe=271fabb7a4&log=dmesg . May this output is useful for you maintainers.

    And, thank you all again.

    Going thorough the bugs I notice there was a related upstream
    discussion/patch relating to ae6012d72fa6 ("x86/pkeys: Ensure updated
    PKRU value is XRSTOR'd") in the following:

    https://lore.kernel.org/all/20250102075419.2559-1-TonyWWang-oc@zhaoxin.com/

    There were some followups, but discussion ended on 18.01.2025.

    Did this felt through the cracks?

    Regards,
    Salvatore

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Larry Wei@21:1/5 to Salvatore Bonaccorso on Fri May 9 06:00:02 2025
    XPost: linux.kernel, linux.debian.kernel

    Salvatore Bonaccorso,

    Yes, let's just consider it as good. But in fact, there are still many problems, such as the one mentioned above ( linux-hardware.org/?probe=271fabb7a4&log=dmesg ), and almost all laptops
    using Zhaoxin CPUs cannot adjust the backlight brightness, which is
    **VERY HARMFUL** to the eyes!

    Regards,

    larryw3i

    On 5/9/25 04:15, Salvatore Bonaccorso wrote:
    Did this felt through the cracks?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Larry Wei@21:1/5 to All on Fri May 9 06:10:01 2025
    XPost: linux.debian.kernel

    Salvatore Bonaccorso,

    Yes, let's just consider it as good. But in fact, there are still many problems, such as the one mentioned above ( linux-hardware.org/?probe=271fabb7a4&log=dmesg ), and almost all laptops
    using Zhaoxin CPUs cannot adjust the backlight brightness, which is
    **VERY HARMFUL** to the eyes!

    Regards,

    larryw3i

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tony W Wang-oc@21:1/5 to Larry Wei on Fri May 9 11:10:01 2025
    XPost: linux.kernel, linux.debian.kernel

    On 2025/5/9 11:49, Larry Wei wrote:


    [这封邮件来自外部发件人 谨防风险]

    Salvatore Bonaccorso,

    Yes, let's just consider it as good. But in fact, there are still many problems, such as the one mentioned above ( linux-hardware.org/?probe=271fabb7a4&log=dmesg ), and almost all laptops using Zhaoxin CPUs cannot adjust the backlight brightness, which is
    **VERY HARMFUL** to the eyes!

    Dear Larry,

    We are currently investigating the causes of the WARNING messages you mentioned in this log:
    [ 4.141284] ------------[ cut here ]------------
    [ 4.141285] alg: self-tests for sha1 using sha1-padlock-nano failed (rc=-22)
    [ 4.141302] WARNING: CPU: 2 PID: 657 at crypto/testmgr.c:5865 alg_test.cold+0xb7/0xe0

    Regarding the inability to adjust the laptop backlight brightness, we
    believe this issue is unlikely related to the CPU itself. It is
    recommended to contact the laptop manufacturer to confirm whether the
    device supports backlight brightness adjustment and inquire about
    specific configuration methods, such as installing specific EC
    controller drivers or updating graphics card drivers.

    BRs!
    TonyWWang-oc

    Regards,

    larryw3i

    On 5/9/25 04:15, Salvatore Bonaccorso wrote:
    Did this felt through the cracks?


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Larry Wei@21:1/5 to Tony W Wang-oc on Fri May 9 11:20:02 2025
    XPost: linux.kernel, linux.debian.kernel

    Dear TonyWWang-oc,

    Yes, but actually, these graphics cards are your products, and neither
    C-960 nor C-1080 seem to be open source.The drivers provided on your
    official website do not seem to be used for Debian.I downloaded your
    drivers and extracted them, and I found that each file has the license content.Can I assume that these drivers are open source?

    Regards,

    larryw3i

    On 5/9/25 16:31, Tony W Wang-oc wrote:
    such as installing specific EC controller drivers or updating graphics
    card drivers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tony W Wang-oc@21:1/5 to Larry Wei on Fri May 9 12:00:01 2025
    XPost: linux.kernel, linux.debian.kernel

    On 2025/5/9 17:08, Larry Wei wrote:


    [这封邮件来自外部发件人 谨防风险]

    Dear TonyWWang-oc,

    Yes, but actually, these graphics cards are your products, and neither
    C-960 nor C-1080 seem to be open source.The drivers provided on your
    official website do not seem to be used for Debian.I downloaded your
    drivers and extracted them, and I found that each file has the license content.Can I assume that these drivers are open source?


    Dear Larry,

    The graphics driver package contains both kernel-mode and user-mode
    components, where the kernel-mode components are open source, while
    graphics rendering tasks predominantly rely on user-mode implementations.

    BRs!
    TonyWWang-oc


    Regards,

    larryw3i

    On 5/9/25 16:31, Tony W Wang-oc wrote:
    such as installing specific EC controller drivers or updating graphics
    card drivers.


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Larry Wei@21:1/5 to Tony W Wang-oc on Fri May 9 15:40:02 2025
    XPost: linux.kernel, linux.debian.kernel

    This is a multi-part message in MIME format.
    😮‍💨👌 .

    On 5/9/25 17:53, Tony W Wang-oc wrote:
    hile
    graphics rendering tasks predominantly rely on user-mode implementations.
    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p>😮‍💨<span class="efont" id="copy-emoji"> 👌 .<br>
    </span></p>
    <div class="moz-cite-prefix">On 5/9/25 17:53, Tony W Wang-oc wrote:<br>
    </div>
    <blockquote type="cite"
    cite="mid:f89ada42-0199-48a7-a01c-82eb66df53c3@zhaoxin.com">hile
    <br>
    graphics rendering tasks predominantly rely on user-mode
    implementations.</blockquote>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ben Hutchings@21:1/5 to Larry Wei on Wed May 14 00:30:01 2025
    XPost: linux.debian.kernel

    On Sun, 2025-05-11 at 00:28 +0800, Larry Wei wrote:
    P.S. And I suspect that this change has been affecting all non-Intel and non-AMD machines for a long time, as there is no "non-free-firmware" suitable for them.

    No, not quite.

    By default the ACPI video driver relies on the native graphics driver to
    detect which display(s) have a backlight, and to decide whether they
    should be controlled via ACPI or via the display controller.

    According to <https://linux-hardware.org/?probe=58facb533d> there is no
    native driver loaded on your system for the graphics device. Probably
    the EFI framebuffer driver is being used instead. This has no knowledge
    of what kind of display is being used and cannot configure the ACPI
    video driver properly.

    So the real fix for this would be for Zhaoxin to get their Linux
    graphics driver (zx) upstream. The immediate problem I see with that is
    that it's under GPL v3 which is not compatible with the kernel's GPL v2.
    But they as copyright holder should be able to relicense it.

    Ben.

    --
    Ben Hutchings
    Tomorrow will be cancelled due to lack of interest.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmgjxsYACgkQ57/I7JWG EQk1IQ//SsA84w1aHWQs9f5wfI7ZPLV9mf2IbJ/mu/4h8ihXbDGdQHa91Y38H7J/ mUi5sIypBtFrA3WQvYNDS2uOOHWjFPsqL+2NFkyY7UrrjZyzEBY7wAr62SSCoYx+ /OIo8KdHePipxBdKWFsla1JalT8uM1CDTuTxhB8m5DacWZDqQjh3uL7bHjzzYzS6 RugQAmRB9elMagibHlZsZJ4NHj9WnTgXinKAzSvDzVwIgg8cTOKMLHvRoynH9Uan LrI/IDSoi4yWSii1iF7i2K6284kUAZ61kRqFfAi8poS8Kq0t2nmonBHHhq2AeO7N NgY7sqsAAZcJW0R85siOTZsSnPPRuwb1b3TYwxK/xNPEgEBPGZ4IRExmGfDztkVd TF8i99XHppFd3f8xpLkx2he5sgQjp5bd1WVLdNK1eQBMlToD5RkVe9mq2pW1RM5/ r9rHgIeJYB2TrbojxvYWYr2e+eTtjbTDNFCJKEnxpnYxSbXF/pUVnv8/ZY+zDK5J 1byTTfq3DkhhDnewn8NSehz0WkPwlwLWLSGdu7z60kLGXYqHTbve2paMxwJUnxCP 0TiD53SMZmVb7oQwD/SxmALxALCY+wtuqrgkMy2gSjdpLuXplJUjZ7pSb0JbkXEs DneyTJ/CrkZfKmi1e1im7JOupQevy2VQBkd2voxt5KkkjZQKAak=
    =qBX0
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)