Dear HacKurx,

Thank you for the report.

Am 04.06.20 um 11:26 schrieb HacKurx:
Good morning, everyone,

I hadn't updated my coreboot version for a long time on my Asrock
E350M1 card because of lack of time and because this one was on a very

I guess you mean *board* and not *card*?

stable version. While trying to test the current 4.12 version, I
encountered problems in Debian 10.

What coreboot version did you use before?

Indeed, there is a bad graphical detection, the resolution of my hdmi
output went from 1360x768 to 720x400 pixels.
Xorg indicates that the drm device cannot be opened :
(EE) open /dev/dri/card0: No such file or directory

I once had a Oops kernel message:
https://pastebin.com/uZLZyYrq

For the future, please attach the logs to the message, so people can read it offline.

I paste the error below.

[    4.816957] [drm] Found smc ucode version: 0x00010601
[    4.817038] BUG: unable to handle kernel NULL pointer dereference at 
0000000000000000
[    4.817171] PGD 0 P4D 0
[    4.817225] Oops: 0000 [#1] SMP NOPTI
[    4.817280] CPU: 1 PID: 111 Comm: systemd-udevd Not tainted 4.19.0-9-amd64 
#1 Debian 4.19.118-2
[    4.817338] Hardware name: ASROCK E350M1/E350M1, BIOS 4.12-371-g3b8284f37a 
05/28/2020
[    4.817478] RIP: 0010:sumo_dpm_enable+0x2ed/0x510 [radeon]
[    4.817603] Code: ff ff 80 bd 77 01 00 00 00 0f 85 ed 01 00 00 80 bd 7b 01 00 00 
00 0f 85 d3 01 00 00 48 8b 8b a0 1d 00 00 48 8b 83 40 1e 00 00 <48> 8b 31 48 8b 
51 28 48 89 b0 80 01 00 00 48 8b 71 08 48 89 b0 88
[    4.817672] RSP: 0018:ffffad9980fab9c0 EFLAGS: 00010246
[    4.817727] RAX: ffff9ad1eb9d8c00 RBX: ffff9ad1eb0a0000 RCX: 0000000000000000
[    4.817782] RDX: ffffad9981180000 RSI: ffff9ad1eb0a01e8 RDI: ffff9ad1eb0a0178
[    4.817837] RBP: ffff9ad1eb9d8c00 R08: ffffad9980fab9a4 R09: ffffad9980fab9a0
[    4.817893] R10: 0000000000000010 R11: 0000000000000000 R12: ffff9ad1eb0a01e8
[    4.817948] R13: 0000000000000000 R14: ffffad9980fab9c0 R15: ffffad9980fab9c4
[    4.818004] FS:  00007f94e95d7d40(0000) GS:ffff9ad1f7100000(0000) 
knlGS:0000000000000000
[    4.818061] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.818115] CR2: 0000000000000000 CR3: 000000026ba34000 CR4: 00000000000006e0
[    4.818171] Call Trace:
[    4.818295]  radeon_pm_init+0x5a5/0x720 [radeon]
[    4.818493]  evergreen_init+0x149/0x370 [radeon]
[    4.818680]  radeon_device_init+0x681/0xcd0 [radeon]
[    4.818868]  radeon_driver_load_kms+0x77/0x260 [radeon]
[    4.819037]  drm_dev_register+0x109/0x140 [drm]
[    4.819195]  drm_get_pci_dev+0x8f/0x170 [drm]
[    4.819316]  radeon_pci_probe+0xf9/0x1b0 [radeon]
[    4.819450]  local_pci_probe+0x41/0x90
[    4.819512]  pci_device_probe+0xff/0x1b0
[    4.819574]  really_probe+0x24b/0x3b0
[    4.819635]  driver_probe_device+0xb3/0xf0
[    4.819696]  __driver_attach+0xea/0x110
[    4.819757]  ? driver_probe_device+0xf0/0xf0
[    4.819818]  bus_for_each_dev+0x77/0xc0
[    4.819879]  ? klist_add_tail+0x3b/0x70
[    4.819939]  bus_add_driver+0x152/0x230
[    4.820000]  ? 0xffffffffc04d8000
[    4.820058]  driver_register+0x6b/0xb0
[    4.820118]  ? 0xffffffffc04d8000
[    4.820178]  do_one_initcall+0x46/0x1c3
[    4.820240]  ? _cond_resched+0x15/0x30
[    4.820300]  ? kmem_cache_alloc_trace+0x172/0x1e0
[    4.820363]  do_init_module+0x5a/0x210
[    4.820423]  load_module+0x2167/0x23d0
[    4.820487]  ? __do_sys_finit_module+0xad/0x110
[    4.820547]  __do_sys_finit_module+0xad/0x110
[    4.820608]  do_syscall_64+0x53/0x110
[    4.820666]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    4.820726] RIP: 0033:0x7f94e9dc1f59
[    4.820783] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 
89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff 
ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
[    4.820945] RSP: 002b:00007ffea54a8a88 EFLAGS: 00000246 ORIG_RAX: 
0000000000000139
[    4.821017] RAX: ffffffffffffffda RBX: 000055e86f8caa50 RCX: 00007f94e9dc1f59
[    4.821076] RDX: 0000000000000000 RSI: 00007f94e9cc6cad RDI: 000000000000000f
[    4.821136] RBP: 00007f94e9cc6cad R08: 0000000000000000 R09: 0000000000000000
[    4.821196] R10: 000000000000000f R11: 0000000000000246 R12: 0000000000000000
[    4.821256] R13: 000055e86f8ec990 R14: 0000000000020000 R15: 000055e86f8caa50
[    4.821317] Modules linked in: radeon(+) i2c_algo_bit ttm ahci 
drm_kms_helper libahci ohci_pci(+) libata ehci_pci ohci_hcd ehci_hcd drm r8169 
usbcore psmouse realtek scsi_mod libphy i2c_piix4 usb_common thermal button
[    4.821501] CR2: 0000000000000000
[    4.821598] ---[ end trace 4ecc1988915ecede ]---
[    4.821795] RIP: 0010:sumo_dpm_enable+0x2ed/0x510 [radeon]
[    4.821924] Code: ff ff 80 bd 77 01 00 00 00 0f 85 ed 01 00 00 80 bd 7b 01 00 00 
00 0f 85 d3 01 00 00 48 8b 8b a0 1d 00 00 48 8b 83 40 1e 00 00 <48> 8b 31 48 8b 
51 28 48 89 b0 80 01 00 00 48 8b 71 08 48 89 b0 88
[    4.822091] RSP: 0018:ffffad9980fab9c0 EFLAGS: 00010246
[    4.822151] RAX: ffff9ad1eb9d8c00 RBX: ffff9ad1eb0a0000 RCX: 0000000000000000
[    4.822211] RDX: ffffad9981180000 RSI: ffff9ad1eb0a01e8 RDI: ffff9ad1eb0a0178
[    4.822270] RBP: ffff9ad1eb9d8c00 R08: ffffad9980fab9a4 R09: ffffad9980fab9a0
[    4.822330] R10: 0000000000000010 R11: 0000000000000000 R12: ffff9ad1eb0a01e8
[    4.822390] R13: 0000000000000000 R14: ffffad9980fab9c0 R15: ffffad9980fab9c4
[    4.822451] FS:  00007f94e95d7d40(0000) GS:ffff9ad1f7100000(0000) 
knlGS:0000000000000000
[    4.822522] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.822580] CR2: 0000000000000000 CR3: 000000026ba34000 CR4: 00000000000006e0


My coreboot graphical configuration is as follows:
CONFIG_VGA_BIOS_ID="1002,9802"
CONFIG_ONBOARD_VGA_IS_PRIMARY=y
CONFIG_VGA_BIOS=y
CONFIG_VGA_BIOS_FILE="vgabios.bin"

I manage to restore normal working in coreboot 4.12-git by removing the commits:
a5c2ac6256d0dae112b24c422d1270919acb6321 "x86/acpi: Add VFCT table"
6f978cfd1ab6a57e5729e19bed3df7702c4f09cb "x86/acpi: Use initialized
VBIOS in VFCT table"

I cannot remember seeing this on my board [1], but I am only using the VGA adapter (shouldn’t matter).

    [    1.552912] [drm] Found smc ucode version: 0x00010601

These commits have been present since coreboot 4.6, and I have not seen this. It just provides the VGA Optiom ROM/Video BIOS to the graphics driver via ACPI.

Do you have the AMD graphics firmware files installed under `/lib/firmware/radeon`?

Please attach your coreboot configuration (`defconfig` generated by `make savedefconfig`), and the output of `build/cbfstool build/coreboot.rom print`.

Anyway, I guess it could be a problem in Linux 4.19.118. Could you please try a recent Linux kernel from the Debian backports repository, or another way? If that problem is fixed in newer versions, the Linux stable folks and Debian Linux kernel folks should backport that commit.


Kind regards,

Paul


[1]: https://review.coreboot.org/cgit/board-status.git/tree/asrock/e350m1/4.12-374-g0013623b7c/2020-05-28T19_38_33Z/kernel_log.txt [2]: https://packages.debian.org/search?suite=buster-backports&keywords=linux-image-5.4
_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to