Anyone with two AMDs?

poma pomidorabelisima at gmail.com
Thu May 7 09:53:44 UTC 2015


On 06.05.2015 20:56, poma wrote:
> On 06.05.2015 19:48, Chris Murphy wrote:
>> On Wed, May 6, 2015 at 11:33 AM, Giulio 'juliuxpigface'
>> <juliuxpigface at fedoraproject.org> wrote:
>>>>> On Mon, 2015-05-04 at 21:56 +0200, Giulio (juliuxpigface) wrote:
>>>>>> Hi folks.
>>>>>>
>>>>>> Does anyone with a laptop equipped with two Amd experience this?
>>>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1218364
>>>>>>
>>>>>> I'm sorry but this is currently affecting my activity for QA as
>>>>>> I
>>>>>> can't use
>>>>>> Fedora at all. I promise I'll be back as soon as I figure out
>>>>>> what's
>>>>>> happening with that laptop (*).
>>>>>>
>>>>>> Cheers guys. Feel free to contact me if you have got suggestions!
>>>>>
>>>>> There's a couple of other radeon parameters you might try
>>>>> twiddling:
>>>>>
>>>>> radeon.aspm=0
>>>>> radeon.bapm=0
>>>>>
>>>>> dunno if they'll help, but it can't hurt to try...
>>>
>>>
>>> Hi guys. Even though I found a workaround, yesterday I filled an
>>> upstream bug for the issue.
>>>
>>> The link is this: https://bugs.freedesktop.org/show_bug.cgi?id=90321
>>>
>>> As shown there, Alex Deucher proposed a patch. I'm wondering what I'm
>>> supposed to do now. In order to test it, I believe that recompiling
>>> the kernel is mandatory, but I'm not sure (this is one of my first
>>> upstream tickets, sorry).
>>>
>>> Should I try to get my hands on it (I don't really know how to,
>>> anyway, but I might learn...), or shall I ping Fedora's maintainer?
>>
>> It's a good question I've never asked. If it's essentially certain
>> this fix would go in the mainline kernel, I'd guess there's a good
>> likelihood the kernel team would add the patch in rawhide/f23 kernel,
>> which you can use on Fedora 22. So it's worth asking them if you can't
>> or don't want to build it. That would be a 4.1.0 git kernel however.
>>
>> If you want to build it against something else like 3.19 or 4.0 then
>> you'd need to build it yourself. I personally find it easier to build
>> kernels from kernel.org source for this purpose, Fedora's custom
>> kernel instructions work for Fedora 21 and it's handy in that it'll
>> build rpms so you can build on one system and install on others
>> (there's a way to tar it up when building from kernel.org source but
>> I've never done that).
>>
>>
>>
> 
> 
> $ rpm -ivh https://kojipkgs.fedoraproject.org/packages/kernel/4.0.1/300.fc22/src/kernel-4.0.1-300.fc22.src.rpm
> 
> $ rpmbuild -bp ~/rpmbuild/SPECS/kernel.spec
> 
> $ cd ~/rpmbuild/BUILD/kernel-4.0.fc21/linux-4.0.1-300.fc21.x86_64/
> 
> $ curl -s https://bugs.freedesktop.org/attachment.cgi?id=115559 | patch -p1
> 
> $ make -j drivers/gpu/drm/radeon/radeon.ko
> 
> $ su
> 
> # cp drivers/gpu/drm/radeon/radeon.ko /lib/modules/4.0.1-300.fc22.x86_64/updates/
> 
> # depmod
> 
> # systemctl reboot
> 
> 

The above mentioned is made on Fedora 21, so translate the actual paths to 22 where necessary.

In the case the radeon.ko is in the initramfs image also,
# lsinitrd | grep radeon.ko
ask "Dr. Acut" for help,
$ man dracut

e.g.
# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img-bkp
# dracut -v
# reboot




More information about the test mailing list