This is to inform you of a possible problem. I've solved it to my own
satisfaction, so if I'm the only one, feel free to ignore this report.
Just installed a wheezy setup using debootstrap, adding grub-pc and
linux-image-amd64 after the chroot was created. The kernel boots, the
initrd seems all right. When the main system boots up, udev gets launced
pretty early. Soon after it is started, the screen turns into a pretty
random-looking pattern of pixels, making the console pretty unusable.
This also happens in "recovery" i.e. single-user mode.
Passing "init=/bin/bash" on the kernel command line, I could get a
working text console. Manually executing the udev init script from there
has the same effect.
Possible workarounds seem to include:
- removing the kernel/drivers/gpu/drm/radeon/radeon.ko kernel module
from the kernel module tree
- Adding a line "blacklist radeon" to /etc/modprobe.d/blacklist.conf,
followed by running "depmod -a". Seems I forgot that on my first
attempt, causing me hours of unnecessary work.
Adding "video=vga16fb" to the kernel command line didn't help.
It seems that the radeon.ko module itself is to blame, neither one of
its dependencies nor some other module depending on it. After moving the
file back in place, a "modprobe -v radeon" prints the following commands
(over ssh):
> insmod /lib/modules/3.0.0-1-amd64/kernel/drivers/power/power_supply.ko
> insmod /lib/modules/3.0.0-1-amd64/kernel/drivers/i2c/algos/i2c-algo-bit.ko
> insmod /lib/modules/3.0.0-1-amd64/kernel/drivers/gpu/drm/drm.ko
> insmod /lib/modules/3.0.0-1-amd64/kernel/drivers/gpu/drm/drm_kms_helper.ko
> insmod /lib/modules/3.0.0-1-amd64/kernel/drivers/gpu/drm/ttm/ttm.ko
> insmod /lib/modules/3.0.0-1-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko
Running those commands manually gives me this (over netconsole):
> [ 150.125768] r600_cp: Failed to load firmware "radeon/SUMO2_pfp.bin"
> [ 150.125818] [drm:evergreen_startup] *ERROR* Failed to load firmware!
> [ 150.125859] radeon 0000:00:01.0: disabling GPU acceleration
The middle line doesn't seem to occur every time.
Not having GPU accelleration due to lack of free firmware is acceptable.
Not having a usable text console can be a real problem. Particularly as
that makes fixing the problem a real challenge.
If there is any additional information I can provide, please let me know.
Greetings,
Martin von Gagern
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4EC98C5E.3050006@gmx.net">http://lists.debian.org/4EC98C5E.3050006@gmx.net
reassign 649448 src:linux-2.6 linux-2.6/3.0.0-3
severity 649448 important
retitle 649448 radeon (evergreen): random-looking pattern of pixels when firmware not installed
tags 649448 + upstream
quit
Hi Martin,
Martin von Gagern wrote:
> Version: 3.0.0-3
[...]
> Just installed a wheezy setup using debootstrap, adding grub-pc and
> linux-image-amd64 after the chroot was created. The kernel boots, the
> initrd seems all right. When the main system boots up, udev gets launced
> pretty early. Soon after it is started, the screen turns into a pretty
> random-looking pattern of pixels, making the console pretty unusable.
> This also happens in "recovery" i.e. single-user mode.
[...]
> Possible workarounds seem to include:
[...]
> - Adding a line "blacklist radeon" to /etc/modprobe.d/blacklist.conf,
> followed by running "depmod -a".
[...]
>> [ 150.125768] r600_cp: Failed to load firmware "radeon/SUMO2_pfp.bin"
>> [ 150.125818] [drm:evergreen_startup] *ERROR* Failed to load firmware!
>> [ 150.125859] radeon 0000:00:01.0: disabling GPU acceleration
Yes, the radeon driver currently copes poorly when firmware is missing.
Compare [1], [2], [3].
[...]
> Not having GPU accelleration due to lack of free firmware is acceptable.
> Not having a usable text console can be a real problem.
Agreed. The radeon driver should be bailing out when firmware is
missing for cards that need it, but that is not working for some
reason.
Thanks for reporting it. If you can (for example by ssh-ing in),
please attach full output from "dmesg" and from
"/usr/share/bug/xserver-xorg-video-radeon/script 3>&1" after
reproducing the problem.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111121010240.GA11611@elie.hsd1.il.comcast.net">h ttp://lists.debian.org/20111121010240.GA11611@elie.hsd1.il.comcast.net
On Sun, 2011-11-20 at 19:02 -0600, Jonathan Nieder wrote:
> reassign 649448 src:linux-2.6 linux-2.6/3.0.0-3
> severity 649448 important
> retitle 649448 radeon (evergreen): random-looking pattern of pixels when firmware not installed
> tags 649448 + upstream
> quit
>
> Hi Martin,
>
> Martin von Gagern wrote:
>
> > Version: 3.0.0-3
> [...]
> > Just installed a wheezy setup using debootstrap, adding grub-pc and
> > linux-image-amd64 after the chroot was created. The kernel boots, the
> > initrd seems all right. When the main system boots up, udev gets launced
> > pretty early. Soon after it is started, the screen turns into a pretty
> > random-looking pattern of pixels, making the console pretty unusable.
> > This also happens in "recovery" i.e. single-user mode.
> [...]
> > Possible workarounds seem to include:
> [...]
> > - Adding a line "blacklist radeon" to /etc/modprobe.d/blacklist.conf,
> > followed by running "depmod -a".
> [...]
> >> [ 150.125768] r600_cp: Failed to load firmware "radeon/SUMO2_pfp.bin"
> >> [ 150.125818] [drm:evergreen_startup] *ERROR* Failed to load firmware!
> >> [ 150.125859] radeon 0000:00:01.0: disabling GPU acceleration
>
> Yes, the radeon driver currently copes poorly when firmware is missing.
> Compare [1], [2], [3].
>
> [...]
> > Not having GPU accelleration due to lack of free firmware is acceptable.
> > Not having a usable text console can be a real problem.
>
> Agreed. The radeon driver should be bailing out when firmware is
> missing for cards that need it, but that is not working for some
> reason.
[...]
At the time I converted the radeon driver to load external firmware, it
was apparently only required for 3D acceleration and both KMS and 2D
acceleration of X worked without it, at least on those systems I tested
(which were quite old, R100-R300 families). Therefore failure to load
firmware would only result in DRM (3D acceleration support) being
disabled.
However, it looks like driver support for the R600 family onward now
absolutely requires the 'RLC' firmware blobs:
commit d8f60cfc93452d0554f6a701aa8e3236cbee4636
Author: Alex Deucher <alexdeucher@gmail.com>
Date: Tue Dec 1 13:43:46 2009 -0500
drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3)
And the 'Northern Islands' GPUs and 'Fusion' APUs appear to require the
'MC' firmware blobs:
commit 0af62b0168043896a042b005ff88caa77dd94d04
Author: Alex Deucher <alexdeucher@gmail.com>
Date: Thu Jan 6 21:19:31 2011 -0500
drm/radeon/kms: add ucode loader for NI
Therefore I think that at least r600_init(), rv770_init(),
evergreen_init() and cayman_init() should be treating failure to load
firmware as a fatal error.
Ben.
--
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.
[...]
> On 21.11.2011 02:02, Jonathan Nieder wrote:
>> and from
>> "/usr/share/bug/xserver-xorg-video-radeon/script 3>&1" after
>> reproducing the problem.
>
> No xorg installed on that machine, and I'd like to keep it that way.
Makes sense. No problem.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111121074252.GB16521@elie.hsd1.il.comcast.net">h ttp://lists.debian.org/20111121074252.GB16521@elie.hsd1.il.comcast.net
On Sun, Nov 20, 2011 at 10:12 PM, Ben Hutchings <ben@decadent.org.uk> wrote:
> On Sun, 2011-11-20 at 19:02 -0600, Jonathan Nieder wrote:
>> reassign 649448 src:linux-2.6 linux-2.6/3.0.0-3
>> severity 649448 important
>> retitle 649448 radeon (evergreen): random-looking pattern of pixels when firmware not installed
>> tags 649448 + upstream
>> quit
>>
>> Hi Martin,
>>
>> Martin von Gagern wrote:
>>
>> > Version: 3.0.0-3
>> [...]
>> > Just installed a wheezy setup using debootstrap, adding grub-pc and
>> > linux-image-amd64 after the chroot was created. The kernel boots, the
>> > initrd seems all right. When the main system boots up, udev gets launced
>> > pretty early. Soon after it is started, the screen turns into a pretty
>> > random-looking pattern of pixels, making the console pretty unusable.
>> > This also happens in "recovery" i.e. single-user mode.
>> [...]
>> > Possible workarounds seem to include:
>> [...]
>> > - Adding a line "blacklist radeon" to /etc/modprobe.d/blacklist.conf,
>> > * followed by running "depmod -a".
>> [...]
>> >> [ *150.125768] r600_cp: Failed to load firmware "radeon/SUMO2_pfp.bin"
>> >> [ *150.125818] [drm:evergreen_startup] *ERROR* Failed to load firmware!
>> >> [ *150.125859] radeon 0000:00:01.0: disabling GPU acceleration
>>
>> Yes, the radeon driver currently copes poorly when firmware is missing.
>> Compare [1], [2], [3].
>>
>> [...]
>> > Not having GPU accelleration due to lack of free firmware is acceptable.
>> > Not having a usable text console can be a real problem.
>>
>> Agreed. *The radeon driver should be bailing out when firmware is
>> missing for cards that need it, but that is not working for some
>> reason.
> [...]
>
> At the time I converted the radeon driver to load external firmware, it
> was apparently only required for 3D acceleration and both KMS and 2D
> acceleration of X worked without it, at least on those systems I tested
> (which were quite old, R100-R300 families). *Therefore failure to load
> firmware would only result in DRM (3D acceleration support) being
> disabled.
>
> However, it looks like driver support for the R600 family onward now
> absolutely requires the 'RLC' firmware blobs:
>
> commit d8f60cfc93452d0554f6a701aa8e3236cbee4636
> Author: Alex Deucher <alexdeucher@gmail.com>
> Date: * Tue Dec 1 13:43:46 2009 -0500
>
> * *drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3)
>
> And the 'Northern Islands' GPUs and 'Fusion' APUs appear to require the
> 'MC' firmware blobs:
>
> commit 0af62b0168043896a042b005ff88caa77dd94d04
> Author: Alex Deucher <alexdeucher@gmail.com>
> Date: * Thu Jan 6 21:19:31 2011 -0500
>
> * *drm/radeon/kms: add ucode loader for NI
>
> Therefore I think that at least r600_init(), rv770_init(),
> evergreen_init() and cayman_init() should be treating failure to load
> firmware as a fatal error.
>
R6xx, r7xx should work ok without the RLC ucode, you just won't get
acceleration. With chips that require the MC ucode, the driver will
bail if the MC ucode is not available.
Alex
> Ben.
>
> --
> Ben Hutchings
> Teamwork is essential - it allows you to blame someone else.
>
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CADnq5_OG9A6_duGBhUgkK67EuO=eT6QiN7w5ETxp6=pG=Tshs w@mail.gmail.com">http://lists.debian.org/CADnq5_OG9A6_duGBhUgkK67EuO=eT6QiN7w5ETxp6=pG=Tshs w@mail.gmail.com
On Mon, Nov 21, 2011 at 09:33:28AM -0500, Alex Deucher wrote:
> On Sun, Nov 20, 2011 at 10:12 PM, Ben Hutchings <ben@decadent.org.uk> wrote:
> > On Sun, 2011-11-20 at 19:02 -0600, Jonathan Nieder wrote:
> >> reassign 649448 src:linux-2.6 linux-2.6/3.0.0-3
> >> severity 649448 important
> >> retitle 649448 radeon (evergreen): random-looking pattern of pixels when firmware not installed
> >> tags 649448 + upstream
> >> quit
> >>
> >> Hi Martin,
> >>
> >> Martin von Gagern wrote:
> >>
> >> > Version: 3.0.0-3
> >> [...]
> >> > Just installed a wheezy setup using debootstrap, adding grub-pc and
> >> > linux-image-amd64 after the chroot was created. The kernel boots, the
> >> > initrd seems all right. When the main system boots up, udev gets launced
> >> > pretty early. Soon after it is started, the screen turns into a pretty
> >> > random-looking pattern of pixels, making the console pretty unusable.
> >> > This also happens in "recovery" i.e. single-user mode.
> >> [...]
> >> > Possible workarounds seem to include:
> >> [...]
> >> > - Adding a line "blacklist radeon" to /etc/modprobe.d/blacklist.conf,
> >> > * followed by running "depmod -a".
> >> [...]
> >> >> [ *150.125768] r600_cp: Failed to load firmware "radeon/SUMO2_pfp.bin"
> >> >> [ *150.125818] [drm:evergreen_startup] *ERROR* Failed to load firmware!
> >> >> [ *150.125859] radeon 0000:00:01.0: disabling GPU acceleration
> >>
> >> Yes, the radeon driver currently copes poorly when firmware is missing.
> >> Compare [1], [2], [3].
> >>
> >> [...]
> >> > Not having GPU accelleration due to lack of free firmware is acceptable.
> >> > Not having a usable text console can be a real problem.
> >>
> >> Agreed. *The radeon driver should be bailing out when firmware is
> >> missing for cards that need it, but that is not working for some
> >> reason.
> > [...]
> >
> > At the time I converted the radeon driver to load external firmware, it
> > was apparently only required for 3D acceleration and both KMS and 2D
> > acceleration of X worked without it, at least on those systems I tested
> > (which were quite old, R100-R300 families). *Therefore failure to load
> > firmware would only result in DRM (3D acceleration support) being
> > disabled.
> >
> > However, it looks like driver support for the R600 family onward now
> > absolutely requires the 'RLC' firmware blobs:
> >
> > commit d8f60cfc93452d0554f6a701aa8e3236cbee4636
> > Author: Alex Deucher <alexdeucher@gmail.com>
> > Date: * Tue Dec 1 13:43:46 2009 -0500
> >
> > * *drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3)
> >
> > And the 'Northern Islands' GPUs and 'Fusion' APUs appear to require the
> > 'MC' firmware blobs:
> >
> > commit 0af62b0168043896a042b005ff88caa77dd94d04
> > Author: Alex Deucher <alexdeucher@gmail.com>
> > Date: * Thu Jan 6 21:19:31 2011 -0500
> >
> > * *drm/radeon/kms: add ucode loader for NI
> >
> > Therefore I think that at least r600_init(), rv770_init(),
> > evergreen_init() and cayman_init() should be treating failure to load
> > firmware as a fatal error.
> >
>
> R6xx, r7xx should work ok without the RLC ucode, you just won't get
> acceleration. With chips that require the MC ucode, the driver will
> bail if the MC ucode is not available.
In what kernel versions should that be true?
These bugs are reported that question it (some are reported against older
kernels).
http://bugs.debian.org/607194
http://bugs.debian.org/637943
http://bugs.debian.org/627497
and also my report:
http://bugs.debian.org/646306
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111122120853.GA17965@tiikeri.vuoristo.local">htt p://lists.debian.org/20111122120853.GA17965@tiikeri.vuoristo.local
On Tue, Nov 22, 2011 at 7:08 AM, Touko Korpela <touko.korpela@iki.fi> wrote:
> On Mon, Nov 21, 2011 at 09:33:28AM -0500, Alex Deucher wrote:
>> On Sun, Nov 20, 2011 at 10:12 PM, Ben Hutchings <ben@decadent.org.uk> wrote:
>> > On Sun, 2011-11-20 at 19:02 -0600, Jonathan Nieder wrote:
>> >> reassign 649448 src:linux-2.6 linux-2.6/3.0.0-3
>> >> severity 649448 important
>> >> retitle 649448 radeon (evergreen): random-looking pattern of pixels when firmware not installed
>> >> tags 649448 + upstream
>> >> quit
>> >>
>> >> Hi Martin,
>> >>
>> >> Martin von Gagern wrote:
>> >>
>> >> > Version: 3.0.0-3
>> >> [...]
>> >> > Just installed a wheezy setup using debootstrap, adding grub-pc and
>> >> > linux-image-amd64 after the chroot was created. The kernel boots, the
>> >> > initrd seems all right. When the main system boots up, udev gets launced
>> >> > pretty early. Soon after it is started, the screen turns into a pretty
>> >> > random-looking pattern of pixels, making the console pretty unusable.
>> >> > This also happens in "recovery" i.e. single-user mode.
>> >> [...]
>> >> > Possible workarounds seem to include:
>> >> [...]
>> >> > - Adding a line "blacklist radeon" to /etc/modprobe.d/blacklist.conf,
>> >> > * followed by running "depmod -a".
>> >> [...]
>> >> >> [ *150.125768] r600_cp: Failed to load firmware "radeon/SUMO2_pfp.bin"
>> >> >> [ *150.125818] [drm:evergreen_startup] *ERROR* Failed to load firmware!
>> >> >> [ *150.125859] radeon 0000:00:01.0: disabling GPU acceleration
>> >>
>> >> Yes, the radeon driver currently copes poorly when firmware is missing.
>> >> Compare [1], [2], [3].
>> >>
>> >> [...]
>> >> > Not having GPU accelleration due to lack of free firmware is acceptable.
>> >> > Not having a usable text console can be a real problem.
>> >>
>> >> Agreed. *The radeon driver should be bailing out when firmware is
>> >> missing for cards that need it, but that is not working for some
>> >> reason.
>> > [...]
>> >
>> > At the time I converted the radeon driver to load external firmware, it
>> > was apparently only required for 3D acceleration and both KMS and 2D
>> > acceleration of X worked without it, at least on those systems I tested
>> > (which were quite old, R100-R300 families). *Therefore failure to load
>> > firmware would only result in DRM (3D acceleration support) being
>> > disabled.
>> >
>> > However, it looks like driver support for the R600 family onward now
>> > absolutely requires the 'RLC' firmware blobs:
>> >
>> > commit d8f60cfc93452d0554f6a701aa8e3236cbee4636
>> > Author: Alex Deucher <alexdeucher@gmail.com>
>> > Date: * Tue Dec 1 13:43:46 2009 -0500
>> >
>> > * *drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3)
>> >
>> > And the 'Northern Islands' GPUs and 'Fusion' APUs appear to require the
>> > 'MC' firmware blobs:
>> >
>> > commit 0af62b0168043896a042b005ff88caa77dd94d04
>> > Author: Alex Deucher <alexdeucher@gmail.com>
>> > Date: * Thu Jan 6 21:19:31 2011 -0500
>> >
>> > * *drm/radeon/kms: add ucode loader for NI
>> >
>> > Therefore I think that at least r600_init(), rv770_init(),
>> > evergreen_init() and cayman_init() should be treating failure to load
>> > firmware as a fatal error.
>> >
>>
>> R6xx, r7xx should work ok without the RLC ucode, you just won't get
>> acceleration. *With chips that require the MC ucode, the driver will
>> bail if the MC ucode is not available.
>
> In what kernel versions should that be true?
> These bugs are reported that question it (some are reported against older
> kernels).
> http://bugs.debian.org/607194
> http://bugs.debian.org/637943
> http://bugs.debian.org/627497
> and also my report:
> http://bugs.debian.org/646306
>
Should work and well tested are different things.
Alex
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CADnq5_McwnZfBuyKuDWa7MEQxKdGnankcmb8gpumS8MMT3Pw9 A@mail.gmail.com">http://lists.debian.org/CADnq5_McwnZfBuyKuDWa7MEQxKdGnankcmb8gpumS8MMT3Pw9 A@mail.gmail.com