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 stable version. While trying to test the current 4.12 version, I encountered problems in Debian 10.
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
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"
Thank you. Best regards,
Loic
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-37... [2]: https://packages.debian.org/search?suite=buster-backports&keywords=linux...
Le 2020-06-04 12:49, Paul Menzel a écrit :
Thank you for the report.
Thank you for your answer.
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*?
Motherboard. Sorry for English ;)
stable version. While trying to test the current 4.12 version, I encountered problems in Debian 10.
What coreboot version did you use before?
Before, coreboot-4.2-20160128 with SeaBIOS-1.9.0
But because of the problem, I've been testing coreboot-4.5-20170204 (commit 8a06cc7ec8 util/ifdtool: Fix ICH Gbe unlock) with SeaBIOS-1.13.0-20200603 which works well (it's the commit before the one I had to reverse).
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.
All right.
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
In linux : drivers/gpu/drm/radeon/sumo_dpm.c: DRM_INFO("Found smc ucode version: 0x%08x\n", pi->fw_version);
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.
I just change the coreboot version without changing my OS. As soon as I overrun a version with this commit, I get a display problem.
Do you have the AMD graphics firmware files installed under `/lib/firmware/radeon`?
Yes. We can even see the loading the dmesg: [ 4.816786] [drm] Loading PALM Microcode [ 4.816872] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/PALM_pfp.bin [ 4.816909] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/PALM_me.bin [ 4.816941] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/SUMO_rlc.bin [ 4.816957] [drm] Found smc ucode version: 0x00010601 [ 4.817038] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
md5sum /lib/firmware/radeon/* 59375dccb37f974c045575cd9428009a /lib/firmware/radeon/ARUBA_me.bin b3072fac01a6eab4711c18148c8bc305 /lib/firmware/radeon/ARUBA_pfp.bin 246d1c75a5946829f6864dbd5f71d850 /lib/firmware/radeon/ARUBA_rlc.bin c46650c28080fe43f674a92d6445c24c /lib/firmware/radeon/banks_k_2_smc.bin 158f8e21ccf228ef063888c4f637fbf0 /lib/firmware/radeon/BARTS_mc.bin 8012e24b187c6b1ba17fa48691c3b048 /lib/firmware/radeon/BARTS_me.bin b08d560e8f57d700fd67957584e0567c /lib/firmware/radeon/BARTS_pfp.bin 24a4c72d0bc120ffd2283e428faf432b /lib/firmware/radeon/BARTS_smc.bin eafb0d4d92a7e3f43997529598bbf885 /lib/firmware/radeon/bonaire_ce.bin 44ec9d529b6fb44d4dd0a219e3218a1e /lib/firmware/radeon/BONAIRE_ce.bin 53fcd7884233b08265e25a9774c551a8 /lib/firmware/radeon/bonaire_k_smc.bin a5c850b985edffb7cae097f207f0611e /lib/firmware/radeon/BONAIRE_mc2.bin 5e7f277ceff8dc0c4bb1f6f5146881db /lib/firmware/radeon/bonaire_mc.bin ef4e1c28226020f29718c1b4a71e4936 /lib/firmware/radeon/BONAIRE_mc.bin d45537a488327b32836d8202b6960574 /lib/firmware/radeon/bonaire_me.bin 16a295b3cfe280ea070727713049a2d9 /lib/firmware/radeon/BONAIRE_me.bin f695b8ac5384a9ca8935b41d651becc6 /lib/firmware/radeon/bonaire_mec.bin e2a1fb791002c7ce24f770d234700104 /lib/firmware/radeon/BONAIRE_mec.bin 5d1f1f3da044bcb1b7aa8b1bf4ad5ec4 /lib/firmware/radeon/bonaire_pfp.bin 48db59feaf30154dc5183301781ee7c5 /lib/firmware/radeon/BONAIRE_pfp.bin 9c251bba137e876563eb63cd83e03dc4 /lib/firmware/radeon/bonaire_rlc.bin 85eabd2f0f48679eeade573c471814ad /lib/firmware/radeon/BONAIRE_rlc.bin 084389ee7523fd04003779ee4d4a4335 /lib/firmware/radeon/bonaire_sdma1.bin 7be93381e34d1d4cf9b16740a7c69c78 /lib/firmware/radeon/bonaire_sdma.bin 0f6501d69df393af36f8f3bcb59d3835 /lib/firmware/radeon/BONAIRE_sdma.bin 35f34655261c8a4623c871c1811993b6 /lib/firmware/radeon/bonaire_smc.bin a3525ea5cf34e8e30bf6ca1b23a43876 /lib/firmware/radeon/BONAIRE_smc.bin 3106157934a8feb55145c4f5de3128e2 /lib/firmware/radeon/bonaire_uvd.bin ebdff39e40da745e770fd07ef0f943b4 /lib/firmware/radeon/BONAIRE_uvd.bin d8188b0ca84749c029f7012d7aea17ae /lib/firmware/radeon/bonaire_vce.bin 597dc206f6d1ca820283de6ab5f771fb /lib/firmware/radeon/BONAIRE_vce.bin 25d61fad839b30b263f52328c1f678fb /lib/firmware/radeon/BTC_rlc.bin 158f8e21ccf228ef063888c4f637fbf0 /lib/firmware/radeon/CAICOS_mc.bin 8012e24b187c6b1ba17fa48691c3b048 /lib/firmware/radeon/CAICOS_me.bin 87b95689bb03323faf917bda6aa1cd11 /lib/firmware/radeon/CAICOS_pfp.bin 03d4c15eeda157c96819088253acb46a /lib/firmware/radeon/CAICOS_smc.bin b8f97a70b25104e3ca24b8b8ade19997 /lib/firmware/radeon/CAYMAN_mc.bin 5b4feb3f418fa1725ae7ea2633071118 /lib/firmware/radeon/CAYMAN_me.bin 53671bbdd823e4b14dbaab63bd5f248f /lib/firmware/radeon/CAYMAN_pfp.bin 0c8ca68a18efff6e890cd5ea176c052a /lib/firmware/radeon/CAYMAN_rlc.bin 1884c8c5e6e6af4f088c38ae25721f42 /lib/firmware/radeon/CAYMAN_smc.bin 2b244d41832f46382bfbb8994522dcdd /lib/firmware/radeon/CEDAR_me.bin 23915e382ea0d2f2491a19146ca3001c /lib/firmware/radeon/CEDAR_pfp.bin e8770d3d588f24dc6f1a8609c9db3467 /lib/firmware/radeon/CEDAR_rlc.bin e8618d8a65add54200e73f5580fc48d0 /lib/firmware/radeon/CEDAR_smc.bin fa937b6596298b4bbc9edb6df4adca2a /lib/firmware/radeon/CYPRESS_me.bin 2dca2882a14e1d6a43792f786471ec51 /lib/firmware/radeon/CYPRESS_pfp.bin e8770d3d588f24dc6f1a8609c9db3467 /lib/firmware/radeon/CYPRESS_rlc.bin aeb83918c9fb268b0a4cbb03f2dfab3f /lib/firmware/radeon/CYPRESS_smc.bin fb23b281dcc94a035d374e709c9842bd /lib/firmware/radeon/CYPRESS_uvd.bin be79aea072cb7cb9b17496fb48c104ce /lib/firmware/radeon/hainan_ce.bin a5f07f65a9ef260c0077021ecae43dc7 /lib/firmware/radeon/HAINAN_ce.bin cea716885bc33c2f9a33f101848de73b /lib/firmware/radeon/hainan_k_smc.bin 3bbdb66a8d049cf2b7f85ebfe4d8df94 /lib/firmware/radeon/HAINAN_mc2.bin 3514600ac9b7bba9cc333ff621427b54 /lib/firmware/radeon/hainan_mc.bin 3bbdb66a8d049cf2b7f85ebfe4d8df94 /lib/firmware/radeon/HAINAN_mc.bin d8c0004dba65d877af5658a0af02ddde /lib/firmware/radeon/hainan_me.bin 9545cef078ac83b037e1727c06ee6af2 /lib/firmware/radeon/HAINAN_me.bin 7924437fc064cb08e3d9bec1ce1dec68 /lib/firmware/radeon/hainan_pfp.bin ba3d0e27b8cbcdb24181040595255d3e /lib/firmware/radeon/HAINAN_pfp.bin fb3c0ee0c077dd5f76d51c07d5a50732 /lib/firmware/radeon/hainan_rlc.bin 3519612cd874d840a510d575559d6b9b /lib/firmware/radeon/HAINAN_rlc.bin d5cb8a99639b71536f7010bcfeb2df82 /lib/firmware/radeon/hainan_smc.bin 9a39456f0001671d1d6d9dc30a581fe0 /lib/firmware/radeon/HAINAN_smc.bin ebe2b661d762826ff16f5f9c05470cb4 /lib/firmware/radeon/hawaii_ce.bin 7fa992d86295f741e8cdea76c5b6c632 /lib/firmware/radeon/HAWAII_ce.bin aec3914eebbaeac8e7b332d36517dc2c /lib/firmware/radeon/hawaii_k_smc.bin 2c48ff06ad6fc9648c460d187b418a85 /lib/firmware/radeon/HAWAII_mc2.bin 161105a73f7dfb2fca513327491c32d6 /lib/firmware/radeon/hawaii_mc.bin d5181e3a9400f0d86dee26700af0fe21 /lib/firmware/radeon/HAWAII_mc.bin 4a856b9f24d93c13a316939e96838f13 /lib/firmware/radeon/hawaii_me.bin 0666e636c68a1e05d3c0d35d1a5bf88a /lib/firmware/radeon/HAWAII_me.bin 5310524117200cbf918ed649bacb4469 /lib/firmware/radeon/hawaii_mec.bin c67faaae0b5133ebf669bb9c0d7f02c6 /lib/firmware/radeon/HAWAII_mec.bin fa65813daa3b671aefbbd7308b22b849 /lib/firmware/radeon/hawaii_pfp.bin 84b729ecbfbc4c9246b1cc9b3fdf134e /lib/firmware/radeon/HAWAII_pfp.bin 5b72c73acf0cbd0cbb639302f65bc7dc /lib/firmware/radeon/hawaii_rlc.bin b2e9a3c5421110d8148bcd56c69dbd5f /lib/firmware/radeon/HAWAII_rlc.bin 084389ee7523fd04003779ee4d4a4335 /lib/firmware/radeon/hawaii_sdma1.bin 7be93381e34d1d4cf9b16740a7c69c78 /lib/firmware/radeon/hawaii_sdma.bin 0f6501d69df393af36f8f3bcb59d3835 /lib/firmware/radeon/HAWAII_sdma.bin 6dbb735b9ebea42ab940e18fb7b9018d /lib/firmware/radeon/hawaii_smc.bin 86bb80dd692e87a1292c9cd45df376de /lib/firmware/radeon/HAWAII_smc.bin 3106157934a8feb55145c4f5de3128e2 /lib/firmware/radeon/hawaii_uvd.bin d8188b0ca84749c029f7012d7aea17ae /lib/firmware/radeon/hawaii_vce.bin fa937b6596298b4bbc9edb6df4adca2a /lib/firmware/radeon/JUNIPER_me.bin 2dca2882a14e1d6a43792f786471ec51 /lib/firmware/radeon/JUNIPER_pfp.bin e8770d3d588f24dc6f1a8609c9db3467 /lib/firmware/radeon/JUNIPER_rlc.bin 2dbce2e58ef5b9c79a1fd2e671d78f35 /lib/firmware/radeon/JUNIPER_smc.bin 0154fad3c4b7afe3eeb0ad7259c17767 /lib/firmware/radeon/kabini_ce.bin 44ec9d529b6fb44d4dd0a219e3218a1e /lib/firmware/radeon/KABINI_ce.bin cc82dce46da1da77add46f8b9c549169 /lib/firmware/radeon/kabini_me.bin b1469ac001eaf8d5a04d91395c5257f8 /lib/firmware/radeon/KABINI_me.bin 5852c6411ad80c5742ff047b2d9f1532 /lib/firmware/radeon/kabini_mec.bin c6f8cda051fea873ce8e306afb9f20c5 /lib/firmware/radeon/KABINI_mec.bin bc35a9965c4f8af4835f237b57f4496a /lib/firmware/radeon/kabini_pfp.bin 92bbe966f67d6998cc96f150e3db2df5 /lib/firmware/radeon/KABINI_pfp.bin 7ce38ac95ca33974121971e8ca8986e3 /lib/firmware/radeon/kabini_rlc.bin 24c0f737db80a07d784a226036aac9da /lib/firmware/radeon/KABINI_rlc.bin 084389ee7523fd04003779ee4d4a4335 /lib/firmware/radeon/kabini_sdma1.bin 7be93381e34d1d4cf9b16740a7c69c78 /lib/firmware/radeon/kabini_sdma.bin 0f6501d69df393af36f8f3bcb59d3835 /lib/firmware/radeon/KABINI_sdma.bin 3106157934a8feb55145c4f5de3128e2 /lib/firmware/radeon/kabini_uvd.bin d8188b0ca84749c029f7012d7aea17ae /lib/firmware/radeon/kabini_vce.bin 0154fad3c4b7afe3eeb0ad7259c17767 /lib/firmware/radeon/kaveri_ce.bin 631b133b5a0a16d46531e47dd7f0c5f4 /lib/firmware/radeon/KAVERI_ce.bin cc82dce46da1da77add46f8b9c549169 /lib/firmware/radeon/kaveri_me.bin 335a6de5a2f8408e3fd595f6c457a958 /lib/firmware/radeon/KAVERI_me.bin 0be34c61ce8d5c077d607fff205e6a13 /lib/firmware/radeon/kaveri_mec2.bin 0a356c942b6f73ac2f1cd4cd4d826a9f /lib/firmware/radeon/kaveri_mec.bin e24f5adf6ac1078eb5772f7028b512d4 /lib/firmware/radeon/KAVERI_mec.bin fd657ae18c924d78581ea913d3b5f93d /lib/firmware/radeon/kaveri_pfp.bin df12fd96e42730f427ab36a79a9e4500 /lib/firmware/radeon/KAVERI_pfp.bin 1d1da1f40f0a269abb9cddddbb8ef00a /lib/firmware/radeon/kaveri_rlc.bin 478c0d8a684064266968908c926e143b /lib/firmware/radeon/KAVERI_rlc.bin 084389ee7523fd04003779ee4d4a4335 /lib/firmware/radeon/kaveri_sdma1.bin 7be93381e34d1d4cf9b16740a7c69c78 /lib/firmware/radeon/kaveri_sdma.bin 0f6501d69df393af36f8f3bcb59d3835 /lib/firmware/radeon/KAVERI_sdma.bin 3106157934a8feb55145c4f5de3128e2 /lib/firmware/radeon/kaveri_uvd.bin d8188b0ca84749c029f7012d7aea17ae /lib/firmware/radeon/kaveri_vce.bin 0154fad3c4b7afe3eeb0ad7259c17767 /lib/firmware/radeon/mullins_ce.bin 631b133b5a0a16d46531e47dd7f0c5f4 /lib/firmware/radeon/MULLINS_ce.bin cc82dce46da1da77add46f8b9c549169 /lib/firmware/radeon/mullins_me.bin 335a6de5a2f8408e3fd595f6c457a958 /lib/firmware/radeon/MULLINS_me.bin 5852c6411ad80c5742ff047b2d9f1532 /lib/firmware/radeon/mullins_mec.bin 9256f4f099c3554586198fb007d68e6c /lib/firmware/radeon/MULLINS_mec.bin bc35a9965c4f8af4835f237b57f4496a /lib/firmware/radeon/mullins_pfp.bin b57a2f8358cef12b36e7021e4b951e1b /lib/firmware/radeon/MULLINS_pfp.bin 4d16fe764b732140b8d84ac9d1ed0d0b /lib/firmware/radeon/mullins_rlc.bin 3a34f0264609312aa5ee0eb8e1dc5c4c /lib/firmware/radeon/MULLINS_rlc.bin 084389ee7523fd04003779ee4d4a4335 /lib/firmware/radeon/mullins_sdma1.bin 7be93381e34d1d4cf9b16740a7c69c78 /lib/firmware/radeon/mullins_sdma.bin 0f6501d69df393af36f8f3bcb59d3835 /lib/firmware/radeon/MULLINS_sdma.bin 3106157934a8feb55145c4f5de3128e2 /lib/firmware/radeon/mullins_uvd.bin d8188b0ca84749c029f7012d7aea17ae /lib/firmware/radeon/mullins_vce.bin be79aea072cb7cb9b17496fb48c104ce /lib/firmware/radeon/oland_ce.bin a5f07f65a9ef260c0077021ecae43dc7 /lib/firmware/radeon/OLAND_ce.bin f92f99f98cb155ddb6b1ec67334ada64 /lib/firmware/radeon/oland_k_smc.bin 3bbdb66a8d049cf2b7f85ebfe4d8df94 /lib/firmware/radeon/OLAND_mc2.bin a0b8dfd0955f40e392f35036cdde84c3 /lib/firmware/radeon/oland_mc.bin 3bbdb66a8d049cf2b7f85ebfe4d8df94 /lib/firmware/radeon/OLAND_mc.bin d8c0004dba65d877af5658a0af02ddde /lib/firmware/radeon/oland_me.bin 9545cef078ac83b037e1727c06ee6af2 /lib/firmware/radeon/OLAND_me.bin 06430b0012d1aec748680bf9d1f616ae /lib/firmware/radeon/oland_pfp.bin 417f193fd055a6842d5a4cad2ef624e1 /lib/firmware/radeon/OLAND_pfp.bin 497d9541b1b7c5b0caf180e05b2ddcf5 /lib/firmware/radeon/oland_rlc.bin 466d29f573fefcb60bae26b8c867d6e5 /lib/firmware/radeon/OLAND_rlc.bin 7dee6cce250eb401c663f7f5f9ff8b08 /lib/firmware/radeon/oland_smc.bin 42069d2e8978b87a0b9319a2caa32d41 /lib/firmware/radeon/OLAND_smc.bin 7d9ff6962e7bcc10b6eecd811d029dc8 /lib/firmware/radeon/PALM_me.bin 3f9d2af72e73d44aec16a496e7fc7fef /lib/firmware/radeon/PALM_pfp.bin be79aea072cb7cb9b17496fb48c104ce /lib/firmware/radeon/pitcairn_ce.bin a5f07f65a9ef260c0077021ecae43dc7 /lib/firmware/radeon/PITCAIRN_ce.bin b2d87c67ad800fedf5ede620b093b456 /lib/firmware/radeon/pitcairn_k_smc.bin 64d0ca52d074afc1740fc7238dc4a798 /lib/firmware/radeon/PITCAIRN_mc2.bin 4d6eec4a89a3a15cd1f22618f3e8a0b7 /lib/firmware/radeon/pitcairn_mc.bin 96b18c6f7c74ad4cecb04fca967ca433 /lib/firmware/radeon/PITCAIRN_mc.bin d8c0004dba65d877af5658a0af02ddde /lib/firmware/radeon/pitcairn_me.bin 5e899b3ff3e128453784b8fdacb947bb /lib/firmware/radeon/PITCAIRN_me.bin c263945f893ada1a85135486aa0f732a /lib/firmware/radeon/pitcairn_pfp.bin 6a1f860df54aa4d462339322ba363092 /lib/firmware/radeon/PITCAIRN_pfp.bin a8e38d17776e6a032446d971d9a96445 /lib/firmware/radeon/pitcairn_rlc.bin 3d2c150b3626419131bbc9a5864c7f1d /lib/firmware/radeon/PITCAIRN_rlc.bin f76f2dd610fd919b793f9e05affb9da3 /lib/firmware/radeon/pitcairn_smc.bin b4b17dd30f14ceab88446c20796767d5 /lib/firmware/radeon/PITCAIRN_smc.bin f4f27d17dc204e11632cf98a8294650d /lib/firmware/radeon/R100_cp.bin 52a30faef239f286f497d95be7d2194c /lib/firmware/radeon/R200_cp.bin a05f4d9e10f0cdbfa3f96300048d300f /lib/firmware/radeon/R300_cp.bin c33ab57e1cc74b4c63bb09bc4d7bc1a2 /lib/firmware/radeon/R420_cp.bin 5a097d5e86c991f54806e88ad6882585 /lib/firmware/radeon/R520_cp.bin f2432caf487c4b586a2c391435f3749c /lib/firmware/radeon/R600_me.bin 448dbf1df580c31a0e55de22bb076be3 /lib/firmware/radeon/R600_pfp.bin f74a5163948bde215be6b689ca24afde /lib/firmware/radeon/R600_rlc.bin 9bc76ae83f9326debf728f98803a7e11 /lib/firmware/radeon/R600_uvd.bin 5d186be14cc2cc328d02698ae4317a1b /lib/firmware/radeon/R700_rlc.bin 9334c37ae709f8faa6120c3ad7a5adb7 /lib/firmware/radeon/REDWOOD_me.bin 23915e382ea0d2f2491a19146ca3001c /lib/firmware/radeon/REDWOOD_pfp.bin e8770d3d588f24dc6f1a8609c9db3467 /lib/firmware/radeon/REDWOOD_rlc.bin 33480e5daef82d4039cabcc111917478 /lib/firmware/radeon/REDWOOD_smc.bin 801f81f19823e42e83f932d7ab73ab25 /lib/firmware/radeon/RS600_cp.bin 16ed338f3be50b60fd163ce91cd36915 /lib/firmware/radeon/RS690_cp.bin cafce27d4a77066d3980b1751cd7fd24 /lib/firmware/radeon/RS780_me.bin 0f7efc627708e22928dc1ef8da1646d8 /lib/firmware/radeon/RS780_pfp.bin 747278cc0f951a15e6ebb9a84bd6243b /lib/firmware/radeon/RS780_uvd.bin 05ac3fb7f6dd64f3d99f59d2c6ab5d66 /lib/firmware/radeon/RV610_me.bin d9b7b8c30048a060b6d27fbf566108bd /lib/firmware/radeon/RV610_pfp.bin 05ac3fb7f6dd64f3d99f59d2c6ab5d66 /lib/firmware/radeon/RV620_me.bin d9b7b8c30048a060b6d27fbf566108bd /lib/firmware/radeon/RV620_pfp.bin 3f2a89200db525a69d79c84458111a7d /lib/firmware/radeon/RV630_me.bin d9b7b8c30048a060b6d27fbf566108bd /lib/firmware/radeon/RV630_pfp.bin 3f2a89200db525a69d79c84458111a7d /lib/firmware/radeon/RV635_me.bin d9b7b8c30048a060b6d27fbf566108bd /lib/firmware/radeon/RV635_pfp.bin 6491f874139f311383e7d2e9ac0411f2 /lib/firmware/radeon/RV670_me.bin d9b7b8c30048a060b6d27fbf566108bd /lib/firmware/radeon/RV670_pfp.bin a3e162705012e104727b2487bd690837 /lib/firmware/radeon/RV710_me.bin 89d2d6c1d169d0c2019f2388def7df56 /lib/firmware/radeon/RV710_pfp.bin 3e08d61531b186e66abbe8ca4b7aac90 /lib/firmware/radeon/RV710_smc.bin 7aa399a248c0d42fba9439ae0fbc5d90 /lib/firmware/radeon/RV710_uvd.bin 9fa1130a453e2a95a0a2de836cd96260 /lib/firmware/radeon/RV730_me.bin 89d2d6c1d169d0c2019f2388def7df56 /lib/firmware/radeon/RV730_pfp.bin 9fb755c1d51474635887122169ce77cc /lib/firmware/radeon/RV730_smc.bin 855a930fa529f9b945413165b825c617 /lib/firmware/radeon/RV740_smc.bin eaf386f2ae6d70779e9cb44da7bcad3f /lib/firmware/radeon/RV770_me.bin 0d6cf0e479dcaf69f48322a74ddf90ea /lib/firmware/radeon/RV770_pfp.bin 5e6e079252159d1960080e170eb96e4c /lib/firmware/radeon/RV770_smc.bin 8ec68ddf1701d05f9030c40a1576ebf5 /lib/firmware/radeon/RV770_uvd.bin 0152dfd89db87b7a9a30a45fa0db4b8b /lib/firmware/radeon/si58_mc.bin 5844be40ff36dcc30d161765e1a46e31 /lib/firmware/radeon/SUMO2_me.bin 3804aabfa24cc8a45b2a579b3398b96b /lib/firmware/radeon/SUMO2_pfp.bin 5844be40ff36dcc30d161765e1a46e31 /lib/firmware/radeon/SUMO_me.bin 1d569f6fe2e5bd262739789ebe089996 /lib/firmware/radeon/SUMO_pfp.bin 687e72d53413710b0a3e9330333b2dbe /lib/firmware/radeon/SUMO_rlc.bin 51d9e0e2247c313c5bfc8fa7bb5b213d /lib/firmware/radeon/SUMO_uvd.bin be79aea072cb7cb9b17496fb48c104ce /lib/firmware/radeon/tahiti_ce.bin a5f07f65a9ef260c0077021ecae43dc7 /lib/firmware/radeon/TAHITI_ce.bin 5577027b0893cd8325002e0604b99c0c /lib/firmware/radeon/tahiti_k_smc.bin 5925c82f0fb8460fa1801ca16b25a316 /lib/firmware/radeon/TAHITI_mc2.bin 30eaa855d5120ca35f6922ee09ac6056 /lib/firmware/radeon/tahiti_mc.bin 96b18c6f7c74ad4cecb04fca967ca433 /lib/firmware/radeon/TAHITI_mc.bin d8c0004dba65d877af5658a0af02ddde /lib/firmware/radeon/tahiti_me.bin 5e899b3ff3e128453784b8fdacb947bb /lib/firmware/radeon/TAHITI_me.bin c263945f893ada1a85135486aa0f732a /lib/firmware/radeon/tahiti_pfp.bin 6a1f860df54aa4d462339322ba363092 /lib/firmware/radeon/TAHITI_pfp.bin 137319b9041b5023488ee12eb6ba3f9e /lib/firmware/radeon/tahiti_rlc.bin 8e3f8b42b798737b6888e89050e37c0e /lib/firmware/radeon/TAHITI_rlc.bin 2bcdcb4b2e4b27cfbb898aecc733de89 /lib/firmware/radeon/tahiti_smc.bin 69d0115a4a07ba98b5ee56e41aac1c8f /lib/firmware/radeon/TAHITI_smc.bin 201877fa59f2fe4d896d5e6b6c1d2e1c /lib/firmware/radeon/TAHITI_uvd.bin 622766351d3dc201737370f5267e8b86 /lib/firmware/radeon/TAHITI_vce.bin 158f8e21ccf228ef063888c4f637fbf0 /lib/firmware/radeon/TURKS_mc.bin 8012e24b187c6b1ba17fa48691c3b048 /lib/firmware/radeon/TURKS_me.bin 25f26ba407a9bb13528b903c617209c8 /lib/firmware/radeon/TURKS_pfp.bin 4fe0f4dafe21f0efa6301a888eed4470 /lib/firmware/radeon/TURKS_smc.bin be79aea072cb7cb9b17496fb48c104ce /lib/firmware/radeon/verde_ce.bin a5f07f65a9ef260c0077021ecae43dc7 /lib/firmware/radeon/VERDE_ce.bin 4b733847473b7ff9a8bf93d20510b9e8 /lib/firmware/radeon/verde_k_smc.bin eb438c8e418427754f69148f5d79a98d /lib/firmware/radeon/VERDE_mc2.bin 6b4a172cdaf957720d1cafe5e873734c /lib/firmware/radeon/verde_mc.bin 96b18c6f7c74ad4cecb04fca967ca433 /lib/firmware/radeon/VERDE_mc.bin 75172c1744d46c3e45afb2ec7539067d /lib/firmware/radeon/verde_me.bin a291d177203e882872ba809f82010077 /lib/firmware/radeon/VERDE_me.bin 0fd71615c3e95e4bead07f5d7cd34ed7 /lib/firmware/radeon/verde_pfp.bin 8929a87c20f87426578518e3fafa12f2 /lib/firmware/radeon/VERDE_pfp.bin 63c1f793fbb7ba25f82b4f464bdaacb5 /lib/firmware/radeon/verde_rlc.bin f8ee65f13adc45fe229a48128b7cd8f2 /lib/firmware/radeon/VERDE_rlc.bin e4a98cba319fe3826a14d4fdba3fdb63 /lib/firmware/radeon/verde_smc.bin 2443ed77790c7ba390db43903b8eebd5 /lib/firmware/radeon/VERDE_smc.bin
Please attach your coreboot configuration (`defconfig` generated by `make savedefconfig`), and the output of `build/cbfstool build/coreboot.rom print`.
$ cat defconfig CONFIG_VENDOR_ASROCK=y CONFIG_VGA_BIOS=y CONFIG_BOARD_ASROCK_E350M1=y CONFIG_DRIVERS_PS2_KEYBOARD=y CONFIG_SEABIOS_MASTER=y CONFIG_COREINFO_SECONDARY_PAYLOAD=y
$ build/cbfstool build/coreboot.rom FMAP REGION: COREBOOT Name Offset Type Size Comp cbfs master header 0x0 cbfs header 32 none fallback/romstage 0x80 stage 185300 none fallback/ramstage 0x2d4c0 stage 117630 none config 0x4a080 raw 219 none revision 0x4a1c0 raw 674 none fallback/dsdt.aml 0x4a4c0 raw 9607 none cmos_layout.bin 0x4cac0 cmos_layout 1228 none pci1002,9802.rom 0x4d000 optionrom 57856 none fallback/postcar 0x5b280 stage 16372 none img/coreinfo 0x5f2c0 simple elf 52655 none fallback/payload 0x6c0c0 simple elf 69955 none payload_config 0x7d240 raw 1621 none payload_revision 0x7d900 raw 238 none (empty) 0x7da40 null 3613528 none s3nv 0x3efdc0 raw 8192 none (empty) 0x3f1e00 null 24472 none bootblock 0x3f7dc0 bootblock 32768 none
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.
I'm willing to redo a test with a newer kernel, but I had the same problem with Ubuntu 20.04 LTS (Linux 5.4.0-29-generic).
Thanks.
Best regards,
Loic
Le jeu. 4 juin 2020 à 21:36, HacKurx hackurx@gmail.com a écrit :
Le 2020-06-04 12:49, Paul Menzel a écrit :
Thank you for the report.
Thank you for your answer.
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*?
Motherboard. Sorry for English ;)
stable version. While trying to test the current 4.12 version, I encountered problems in Debian 10.
What coreboot version did you use before?
Before, coreboot-4.2-20160128 with SeaBIOS-1.9.0
But because of the problem, I've been testing coreboot-4.5-20170204 (commit 8a06cc7ec8 util/ifdtool: Fix ICH Gbe unlock) with SeaBIOS-1.13.0-20200603 which works well (it's the commit before the one I had to reverse).
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.
All right.
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
In linux : drivers/gpu/drm/radeon/sumo_dpm.c: DRM_INFO("Found smc ucode version: 0x%08x\n", pi->fw_version);
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.
I just change the coreboot version without changing my OS. As soon as I overrun a version with this commit, I get a display problem.
Do you have the AMD graphics firmware files installed under `/lib/firmware/radeon`?
Yes. We can even see the loading the dmesg: [ 4.816786] [drm] Loading PALM Microcode [ 4.816872] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/PALM_pfp.bin [ 4.816909] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/PALM_me.bin [ 4.816941] radeon 0000:00:01.0: firmware: direct-loading firmware radeon/SUMO_rlc.bin [ 4.816957] [drm] Found smc ucode version: 0x00010601 [ 4.817038] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
md5sum /lib/firmware/radeon/* ...
Please attach your coreboot configuration (`defconfig` generated by `make savedefconfig`), and the output of `build/cbfstool build/coreboot.rom print`.
$ cat defconfig CONFIG_VENDOR_ASROCK=y CONFIG_VGA_BIOS=y CONFIG_BOARD_ASROCK_E350M1=y CONFIG_DRIVERS_PS2_KEYBOARD=y CONFIG_SEABIOS_MASTER=y CONFIG_COREINFO_SECONDARY_PAYLOAD=y
$ build/cbfstool build/coreboot.rom FMAP REGION: COREBOOT Name Offset Type Size Comp cbfs master header 0x0 cbfs header 32 none fallback/romstage 0x80 stage 185300 none fallback/ramstage 0x2d4c0 stage 117630 none config 0x4a080 raw 219 none revision 0x4a1c0 raw 674 none fallback/dsdt.aml 0x4a4c0 raw 9607 none cmos_layout.bin 0x4cac0 cmos_layout 1228 none pci1002,9802.rom 0x4d000 optionrom 57856 none fallback/postcar 0x5b280 stage 16372 none img/coreinfo 0x5f2c0 simple elf 52655 none fallback/payload 0x6c0c0 simple elf 69955 none payload_config 0x7d240 raw 1621 none payload_revision 0x7d900 raw 238 none (empty) 0x7da40 null 3613528 none s3nv 0x3efdc0 raw 8192 none (empty) 0x3f1e00 null 24472 none bootblock 0x3f7dc0 bootblock 32768 none
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.
I'm willing to redo a test with a newer kernel, but I had the same problem with Ubuntu 20.04 LTS (Linux 5.4.0-29-generic).
Thanks.
Best regards,
Loic
Nothing to do, debian can't boot properly with kernels 5.4 and 5.7 [1]. I can only reach lightdm using nomodeset (but i have a bad graphic resolution). I tried with your kernel parameters and VGA but it doesn't change anything.
I compared with the original bios, there was no VFCT table:
--- /home/loic/Bureau/ASROCK +++ /home/loic/Bureau/coreboot @@ -1,18 +1,17 @@ -DMI: To Be Filled By O.E.M. To Be Filled By O.E.M./E350M1, BIOS P2.10 03/06/2014 +DMI: ASROCK E350M1/E350M1, BIOS 4.12-503-gdedbf63522 06/04/2020 ... ACPI: Early table checksum verification disabled -ACPI: RSDP 0x00000000000F0490 000024 (v02 ALASKA) -ACPI: XSDT 0x00000000AF467078 00006C (v01 ALASKA A M I 01072009 AMI 00010013) -ACPI: FACP 0x00000000AF46C878 0000F4 (v04 ALASKA A M I 01072009 AMI 00010013) -ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20180810/tbfadt-624) -ACPI: DSDT 0x00000000AF467178 0056FE (v02 ALASKA A M I 00000000 INTL 20051117) -ACPI: FACS 0x00000000AF474F80 000040 -ACPI: APIC 0x00000000AF46C970 000062 (v03 ALASKA A M I 01072009 AMI 00010013) -ACPI: FPDT 0x00000000AF46C9D8 000044 (v01 ALASKA A M I 01072009 AMI 00010013) -ACPI: MCFG 0x00000000AF46CA20 00003C (v01 ALASKA A M I 01072009 MSFT 00010013) -ACPI: AAFT 0x00000000AF46CA60 000042 (v01 ALASKA OEMAAFT 01072009 MSFT 00000097) -ACPI: HPET 0x00000000AF46CAA8 000038 (v01 ALASKA A M I 01072009 AMI 00000005) -ACPI: SSDT 0x00000000AF46CAE0 0003DE (v01 AMD POWERNOW 00000001 AMD 00000001) -ACPI: SSDT 0x00000000AF46CEC0 00168E (v02 AMD ALIB 00000001 MSFT 04000000) -ACPI: BGRT 0x00000000AF46E550 000038 (v00 ALASKA A M I 01072009 AMI 00010013) +ACPI: RSDP 0x00000000000F6250 000024 (v02 COREv4) +ACPI: XSDT 0x0000000067E560E0 000064 (v01 COREv4 COREBOOT 00000000 CORE 20200110) +ACPI: FACP 0x0000000067E58810 000114 (v06 COREv4 COREBOOT 00000000 CORE 20200110) +ACPI: DSDT 0x0000000067E56280 002587 (v02 COREv4 COREBOOT 00010001 INTL 20200110) +ACPI: FACS 0x0000000067E56240 000040 +ACPI: FACS 0x0000000067E56240 000040 +ACPI: SSDT 0x0000000067E58930 00008A (v02 COREv4 COREBOOT 0000002A CORE 20200110) +ACPI: APIC 0x0000000067E589C0 00005C (v03 COREv4 COREBOOT 00000000 CORE 20200110) +ACPI: HEST 0x0000000067E58A20 000028 (v01 COREv4 COREBOOT 00000000 CORE 20200110) +ACPI: SSDT 0x0000000067E58A50 00168E (v02 AMD ALIB 00000001 MSFT 04000000) +ACPI: SSDT 0x0000000067E5A0E0 0003DE (v01 AMD POWERNOW 00000001 AMD 00000001) +ACPI: VFCT 0x0000000067E5A4C0 00E269 (v01 COREv4 COREBOOT 00000000 CORE 20200110) +ACPI: HPET 0x0000000067E68730 000038 (v01 COREv4 COREBOOT 00000000 CORE 20200110) ACPI: Local APIC address 0xfee00000
There must therefore be an incompatibility.
1] https://framapic.org/gallery#ML9XNF3UG1oW/w55DEPZ9MtMi.JPG,fArYZK0PuHU0/JjYN...
Dear HacKurx,
Am 04.06.20 um 12:49 schrieb Paul Menzel:
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
Let’s try to find the error in the Linux driver code.
Please install the the debug symbols with
apt install linux-image-<our version>-dbg
and run the script from the Linux tree.
scripts/faddr2line vmlinux sumo_dpm_enable+0x2ed/0x510
I believe, you can also use `scripts/decodecode` feed it the Linux messages. It will parse the `Code:` line.
[…]
Kind regards,
Paul
Le lun. 8 juin 2020 à 19:10, Paul Menzel pmenzel@molgen.mpg.de a écrit :
Dear HacKurx,
Am 04.06.20 um 12:49 schrieb Paul Menzel:
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
Let’s try to find the error in the Linux driver code.
Please install the the debug symbols with
apt install linux-image-<our version>-dbg
and run the script from the Linux tree.
scripts/faddr2line vmlinux sumo_dpm_enable+0x2ed/0x510
I believe, you can also use `scripts/decodecode` feed it the Linux messages. It will parse the `Code:` line.
[…]
Kind regards,
Paul
Hi Paul,
I'm not a gdb professional, so I hope this is okay for you.
loic@E350M1:/usr/src/linux-source-4.19$ ./scripts/faddr2line /usr/lib/debug/boot/vmlinux-4.19.0-9-amd64 sumo_dpm_enable+0x2ed/0x510 no match for sumo_dpm_enable+0x2ed/0x510
$ gdb /usr/lib/debug/boot/vmlinux-4.19.0-9-amd64 Reading symbols from /usr/lib/debug/boot/vmlinux-4.19.0-9-amd64...done. (gdb) list *(sumo_dpm_enable+0x2ed/0x510) No symbol "sumo_dpm_enable" in current context. (gdb) add-symbol-file '/lib/debug/lib/modules/4.19.0-9-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko' add symbol table from file "/lib/debug/lib/modules/4.19.0-9-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko" (y or n) y Reading symbols from /lib/debug/lib/modules/4.19.0-9-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko...done. (gdb) list *(sumo_dpm_enable+0x2ed/0x510) 0xa8830 is in sumo_dpm_enable (./drivers/gpu/drm/radeon/sumo_dpm.c:1204). 1199 pi->requested_ps = *new_ps; 1200 pi->requested_rps.ps_priv = &pi->requested_ps; 1201 } 1202 1203 int sumo_dpm_enable(struct radeon_device *rdev) 1204 { 1205 struct sumo_power_info *pi = sumo_get_pi(rdev); 1206 1207 if (sumo_dpm_enabled(rdev)) 1208 return -EINVAL;
(gdb) disassemble /m sumo_dpm_enable [...] 1192 static void sumo_update_requested_ps(struct radeon_device *rdev, 1193 struct radeon_ps *rps) 1194 { 1195 struct sumo_ps *new_ps = sumo_get_ps(rps); 1196 struct sumo_power_info *pi = sumo_get_pi(rdev); 1197 1198 pi->requested_rps = *rps; 1199 pi->requested_ps = *new_ps; 1200 pi->requested_rps.ps_priv = &pi->requested_ps; 1201 } 1202 1203 int sumo_dpm_enable(struct radeon_device *rdev) 1204 { 0x00000000000a8830 <+0>: callq 0xa8835 <sumo_dpm_enable+5> 0x00000000000a8835 <+5>: push %r15 0x00000000000a8837 <+7>: push %r14 0x00000000000a8839 <+9>: push %r13 0x00000000000a883b <+11>: push %r12 0x00000000000a883d <+13>: push %rbp 0x00000000000a883e <+14>: push %rbx 0x00000000000a883f <+15>: sub $0x10,%rsp 0x00000000000a8843 <+19>: mov 0x1e40(%rdi),%rbp 0x00000000000a884a <+26>: mov %gs:0x28,%rax 0x00000000000a8853 <+35>: mov %rax,0x8(%rsp) 0x00000000000a8858 <+40>: xor %eax,%eax
1205 struct sumo_power_info *pi = sumo_get_pi(rdev); [...]
Thank you very much.
Best regards,
Loic
Le ven. 12 juin 2020 à 15:16, HacKurx hackurx@gmail.com a écrit :
Le lun. 8 juin 2020 à 19:10, Paul Menzel pmenzel@molgen.mpg.de a écrit :
Dear HacKurx,
Am 04.06.20 um 12:49 schrieb Paul Menzel:
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
Let’s try to find the error in the Linux driver code.
Please install the the debug symbols with
apt install linux-image-<our version>-dbg
and run the script from the Linux tree.
scripts/faddr2line vmlinux sumo_dpm_enable+0x2ed/0x510
I believe, you can also use `scripts/decodecode` feed it the Linux messages. It will parse the `Code:` line.
[…]
Kind regards,
Paul
Hi Paul,
I'm not a gdb professional, so I hope this is okay for you.
loic@E350M1:/usr/src/linux-source-4.19$ ./scripts/faddr2line /usr/lib/debug/boot/vmlinux-4.19.0-9-amd64 sumo_dpm_enable+0x2ed/0x510 no match for sumo_dpm_enable+0x2ed/0x510
$ gdb /usr/lib/debug/boot/vmlinux-4.19.0-9-amd64 Reading symbols from /usr/lib/debug/boot/vmlinux-4.19.0-9-amd64...done. (gdb) list *(sumo_dpm_enable+0x2ed/0x510) No symbol "sumo_dpm_enable" in current context. (gdb) add-symbol-file '/lib/debug/lib/modules/4.19.0-9-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko' add symbol table from file "/lib/debug/lib/modules/4.19.0-9-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko" (y or n) y Reading symbols from /lib/debug/lib/modules/4.19.0-9-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko...done. (gdb) list *(sumo_dpm_enable+0x2ed/0x510) 0xa8830 is in sumo_dpm_enable (./drivers/gpu/drm/radeon/sumo_dpm.c:1204). 1199 pi->requested_ps = *new_ps; 1200 pi->requested_rps.ps_priv = &pi->requested_ps; 1201 } 1202 1203 int sumo_dpm_enable(struct radeon_device *rdev) 1204 { 1205 struct sumo_power_info *pi = sumo_get_pi(rdev); 1206 1207 if (sumo_dpm_enabled(rdev)) 1208 return -EINVAL;
(gdb) disassemble /m sumo_dpm_enable [...] 1192 static void sumo_update_requested_ps(struct radeon_device *rdev, 1193 struct radeon_ps *rps) 1194 { 1195 struct sumo_ps *new_ps = sumo_get_ps(rps); 1196 struct sumo_power_info *pi = sumo_get_pi(rdev); 1197 1198 pi->requested_rps = *rps; 1199 pi->requested_ps = *new_ps; 1200 pi->requested_rps.ps_priv = &pi->requested_ps; 1201 } 1202 1203 int sumo_dpm_enable(struct radeon_device *rdev) 1204 { 0x00000000000a8830 <+0>: callq 0xa8835 <sumo_dpm_enable+5> 0x00000000000a8835 <+5>: push %r15 0x00000000000a8837 <+7>: push %r14 0x00000000000a8839 <+9>: push %r13 0x00000000000a883b <+11>: push %r12 0x00000000000a883d <+13>: push %rbp 0x00000000000a883e <+14>: push %rbx 0x00000000000a883f <+15>: sub $0x10,%rsp 0x00000000000a8843 <+19>: mov 0x1e40(%rdi),%rbp 0x00000000000a884a <+26>: mov %gs:0x28,%rax 0x00000000000a8853 <+35>: mov %rax,0x8(%rsp) 0x00000000000a8858 <+40>: xor %eax,%eax
1205 struct sumo_power_info *pi = sumo_get_pi(rdev); [...]
Thank you very much.
Best regards,
Loic
Hello again, Paul,
Indeed the problem comes indeed VGA Option ROM. We use different versions.
ASRock had modified several times the detection function of the VGA cards and an intermediate version is not compatible with the 2 commits that I had designated. When comparing printable strings from different versions of vgabios, I found the following differences.
pci1002,9802.rom from the Wiki use: IBMM intermediate version incompatible with VFCT use: IBM latest vgabios (version ASRock 2.10) use: IBM0
Problem solved. Thank you for your time.
Best Regards,
Loic