View previous topic :: View next topic |
Author |
Message |
MarcoMarin Apprentice
Joined: 12 Mar 2014 Posts: 151
|
Posted: Wed Apr 18, 2018 3:22 pm Post subject: [Solved] Recent removal of Firmware tree from Kernel |
|
|
Hi, I'm having a problem compiling the Kernel (4.15.13) and research suggests it's related to the following:
https://bugs.gentoo.org/637698
https://forums.gentoo.org/viewtopic-p-8158204.html?sid=92260392d92ef1718e20b97bad7e960c
However, I do not get that error about "* ERROR: Failed to compile the "firmware_install" target..."
I don't use GenKernel, but I do get the previous one:
Quote: | ld: arch/x86/boot/compressed/head_64.o: warning: relocation in readonly section `.head.text'
ld: warning: creating a DT_TEXTREL in a shared object. |
I was following the AMDGPU installation (and I've done it successfully before it was AMDGPU, flgx I think).
According to [1], it is removed from the tree. But I assume this is just to get the firmware (now through the linux-firmware package).
On the other hand, if this means menuconfig won't have the option anymore, how is the procedure now since the card requires the firmware?
Would a simple make mrproper solve it?
Regards.
[1] http://rglinuxtech.com/?p=2049
Last edited by MarcoMarin on Thu Apr 19, 2018 10:18 am; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
MarcoMarin Apprentice
Joined: 12 Mar 2014 Posts: 151
|
Posted: Wed Apr 18, 2018 4:17 pm Post subject: |
|
|
I am. I configure manually and compile it in. (like I did in the past)
Another possible solution is to fallback to the "stable" Gentoo Sources 4.9.76-r1 (it is before that 4.14 when they seem to have removed it)
But before I tried it, the kernel booted normally.
Edit: Also, I cannot check dmesg cause the kernel Panics on boot. Trying to access the logs from this installation seem to suggest it's not being logged (which file should I check? They all seem old, from the time the kernel booted normally.. that is, before I inserted the firmware) |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Thu Apr 19, 2018 1:39 am Post subject: |
|
|
If the kernel panics, nothing will be written to local logs. You will need to record the message off the screen (pencil&paper, cellphone camera, serial console, netconsole, etc.) if you want to keep it past when you manually hard reset the system.
While I cannot be sure without more context, the cited warning seems unrelated to the firmware removal and unrelated to the panic. |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2008
|
Posted: Thu Apr 19, 2018 9:31 am Post subject: Re: Recent removal of Firmware tree from Kernel |
|
|
MarcoMarin wrote: | ...
According to [1], it is removed from the tree. But I assume this is just to get the firmware (now through the linux-firmware package).
On the other hand, if this means menuconfig won't have the option anymore, how is the procedure now since the card requires the firmware?
...
[1] http://rglinuxtech.com/?p=2049 |
The wiki entry contains details on how to deal with the amdgpu firmware. _________________ Greybeard |
|
Back to top |
|
|
MarcoMarin Apprentice
Joined: 12 Mar 2014 Posts: 151
|
Posted: Thu Apr 19, 2018 10:15 am Post subject: |
|
|
Thanks all. The issue is solved, details FYI follow:
Quote: | I do not believe the panic is firmware related. Generally all cards should work without as VGA devices, adding firmware enables advanced features. |
Indeed, it seems I went too far when disabling support for old P/ATA disks. Although, adding firmware (or conflicting fb drivers) can, at least, make everything blank. (as per the following thread)
The problem was pretty much the same as described here:
https://forums.gentoo.org/viewtopic-t-941030-view-next.html
My mistake was the same as the 2nd to last post there, except I thought the fbdev legacy emulation was needed only for X.
Once again, thanks for the prompt assistance.
Edit: The Kernel compilation warning does persist however:
Quote: | ld: arch/x86/boot/compressed/head_64.o: warning: relocation in readonly section `.head.text'
ld: warning: creating a DT_TEXTREL in a shared object. |
|
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3627
|
Posted: Wed Sep 02, 2020 10:00 pm Post subject: |
|
|
MarcoMarin wrote: | Edit: The Kernel compilation warning does persist however:
Quote: | ld: arch/x86/boot/compressed/head_64.o: warning: relocation in readonly section `.head.text'
ld: warning: creating a DT_TEXTREL in a shared object. |
|
Plz cf: Gentoo forum
Thks 4 ur attention, interest & support. |
|
Back to top |
|
|
|