Skip to contentSkip to conversation

New: Changing brightness of backlight freezes kernel with radeon kms enabled.

Bug 15166 [email protected] 1 participant 33 messages Jan 28, 2010 – Feb 25, 2010

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Summary: Changing brightness of backlight freezes kernel with
radeon kms enabled.
Product: Drivers
Version: 2.5
Kernel Version: 2.6.32.6
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Video(DRI - non Intel)
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

Created an attachment (id=24769)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24769)
Xorg-log from a normal X startup.

Overview:

Changing the brightness of the backlight freezes the kernel, when radeon kms (radeon.modeset=1) is enabled. Closing the LID for ca. 5 minutes does the same.

There are several ways to reproduce this:

1.

Step 1: Become root and enter the following:
echo 90 | dd of=/proc/acpi/video/*/LCD/brightness
The system should freeze.

2.

Step 1: If you have a laptop, you can close your LID and wait ca. 5 min. When you open it, you shouldn´t get your screen on.

3.

Step 1: If you have KDE 4 with powerdevil installed, simply type: startx I guess, the system freezes when powerdevil tries to get control about the backlight.

Actual Results:

The system freezes.

Expected Results:

Changing the brightness should work. Switching on the monitor should work.

Build Date and Platform:

Build 2010-01-25 on Gentoo Linux 10.0

Additional Builds and Platforms:

Occurs also with Gentoo-kernel 2.6.32-gentoo-r2

Additional Information:

Hardware:

HP Compaq 6735b (FU308EA)
(Radeon HD 3200)

See also:
http://h10010.www1.hp.com/wwpc/uk/en/sm/WF06b/321957-321957-64295-3955547-3955547-3687779-3840808.html

Userspace-drivers were compiled from Gentoo x11-overlay.

The symptoms of the freeze are very similar to those of a kernel panic:

- MAGIC_SYSRQ is not working.
- New USB-devices are not powered.
- Mouse freezes.
- In console the cursor is disappearing.

But:

- Num Lock and Caps Lock LED are not blinking
- Caps Lock LED does not glow.

I could not boot the 2.6.33-rc5-kernel, because amd-ucode was missing. I will fix it and test this version later.

I´ll attach Xorg-log.

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#1 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #1 from Manuel Ullmann <[email protected]> 2010-01-28 21:08:14 --- I forgot to mention, that the screen of course switches on, when the LID is opened before these 5 minutes. I guess the freeze is caused, because radeon tries to switch off the video signal.

If you need any debug outputs from specific kernel-drivers, just tell me the needed kernel options.

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#2 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #2 from Manuel Ullmann <[email protected]> 2010-01-28 21:12:29 --- Created an attachment (id=24770)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24770)
Output from dmesg

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#3 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #3 from Manuel Ullmann <[email protected]> 2010-01-28 21:28:27 --- Created an attachment (id=24771)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24771)
kernel configration file .config

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#4 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #4 from Manuel Ullmann <[email protected]> 2010-01-28 22:21:38 --- I tested this with kernel 2.6.33-rc5 now. This kernel-version is still affected by this bug.

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#5 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #5 from Manuel Ullmann <[email protected]> 2010-01-30 23:45:54 --- Created an attachment (id=24810)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24810)
kernel 2.6.33-rc5 configuration file .config

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#6 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Manuel Ullmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|2.6.32.6                    |2.6.33-rc5, 2.6.32.6
Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#7 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Manuel Ullmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|2.6.33-rc5, 2.6.32.6        |2.6.33-rc5, 2.6.32.7

--- Comment #6 from Manuel Ullmann <[email protected]> 2010-01-31 00:18:38 --- Ah, I forgot the fourth way of reproducing this bug:

If you have Laptop with BIOS-driven brightness-changing (they change the brightness, when the power cable is unplugged), you can unplug it to get your system frozen.

This bug affects also kernel-version 2.6.32.7.

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#8 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Alexey Diomin <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Alexey Diomin <[email protected]> 2010-02-01 19:20:55 --- HP Compaq 6735b (KU214EA)
(Radeon HD 3200)

bug reproduced

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#9 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #8 from Alexey Diomin <[email protected]> 2010-02-01 21:20:21 --- 2.6.33-rc6 also with bug

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#10 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Manuel Ullmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|2.6.33-rc5, 2.6.32.7        |2.6.33-rc6, 2.6.32.7

--- Comment #9 from Manuel Ullmann <[email protected]> 2010-02-03 22:16:02 --- Thank you for confirming this bug. I reproduced this also with 2.6.33-rc6.

To summarize the bug again:

This bug seems to occur, whenever any software (BIOS, powerdevil, echo using the /proc filesystem) tries to reach control over the backlight and when radeon itself tries to switch off the video signal.

It would be interesting, if it affects only RS780M (Radeon HD 3200 mobile version) or also other Mobility chips of R6xx-7xx or even all Mobility chips. (The desktop chips usually don´t need to change the backlight brightness.) Maybe I´ll ask on forums.gentoo.org, if some guys with this hardware could test this with radeon kms.

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#11 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Rafał Miłecki <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #10 from Rafał Miłecki <[email protected]> 2010-02-03 22:22:27 --- I have Sony VAIO notebook with ATI 34xx GPU and I use KMS since it's first day.

Brightness on my notebook is controlled by GPU (I can hack GPU registers to change brightness). I have /sys/class/backlight/acpi_video0 created by acpi/video.c driver. Changing brightness with /sys/class/backlight/acpi_video0, or with KDE doesn't cause problems.

I get lock up on resuming (bug #15096) but this should not be related.

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#12 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #11 from Alex Deucher <[email protected]> 2010-02-03 23:30:07 --- I have a rs780-based laptop and the backlight works just fine via acpi.

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#13 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #12 from Alexey Diomin <[email protected]> 2010-02-04 14:16:11 --- 2 Rafał Miłecki

cat /sys/class/backlight/acpi_video0/brightness
0

echo 10 > cat /sys/class/backlight/acpi_video0/brightness system freeze

with patch http://bugzilla.kernel.org/attachment.cgi?id=24711 from you bug

cat /sys/class/backlight/acpi_video0/brightness
24
correct.

echo 10 > cat /sys/class/backlight/acpi_video0/brightness system freeze

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#14 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #13 from Manuel Ullmann <[email protected]> 2010-02-05 20:07:19 --- @Rafał Miłecki:
Your bug should indeed not be related to this one, because, as you wrote in your report, you switched to init 3 and disabled radeon (and kms, in consequence) in your kernel configuration for testing purposes.

@Alex Deucher:
And you are using kms? Cause of course brightness-changing works fine, if appending radeon.modeset=0 to kernel command line. If you are using kms, the reasons for this bug are shrinking. The question is now: What has this notebook series, what others don´t have? The first thing, that comes into my mind, is UEFI with its BIOS. It changes the brightness, when the power cable is unplugged (but actually there are other BIOSes like that and I´m wondering, why this bug doesn´t occur without kms or with my old framebuffer driver uvesafb).

What you all could test, is the second way - I mentioned above - to reproduce a system freeze. Actually this should be another bug, but I didn´t realize that while writing the bug report.

Close the LID for ca. 5 minutes. Radeon should try to switch off the video signal then and freeze the system. Switching on and off the monitor is no problem.

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#15 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #14 from Alex Deucher <[email protected]> 2010-02-05 20:35:34 --- Yes, I'm using KMS. closing the lid or changing the brightness works fine. Likely, acpi is interacting badly with the hw. We probably need to set some additional scratch reg bits for newer systems.

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#16 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #15 from Manuel Ullmann <[email protected]> 2010-02-05 21:58:45 --- I guess you took in account, that waiting the 5 minutes is important. Cause I wrote in Comment #1 already, that LID closing and opening within this time amount is not the problem (radeon disables and enables the monitor fine). But I guess it is as you said a problem of new hardware.

I just reproduced it and found, that the system freeze differs slightly from that of the brightness-changing. While the sound-mute-LED changes her color as usual from yellow to blue and back, if pressed after a system freeze through brightness-changing, it does not, when the freeze is caused by closing LID (and waiting 5 min.). All other symptoms are the same (sysrq not working, USB-devices not powered etc.). Triggering the other LEDs seems to work; they are dimmed and brightened as usual, when pressed (on both freezes). The Wireless-LED of course does not work, because the (USB-)wireless-chip has to be initialized before.

Ah, and I asserted, that Knoppix 6.1 freezes on boot, when I booted it without acpi=off. But all other linux distributions didn´t have that problem (including an installed Gentoo and Ubuntu and Live CDs like grml and dsl) so I guess it is not relevant. (Knoppix 6.1 had kernel version 2.6.28.4)

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#17 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #16 from Alex Deucher <[email protected]> 2010-02-05 22:03:00 --- Does messing with the display switch hotkey also cause problems?

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#18 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #17 from Manuel Ullmann <[email protected]> 2010-02-08 13:32:53 --- Sorry, that this took so long. I was offline for 2 days.

I guess you mean the Ctrl+Alt+Fn key-combo, because laptops have usually also a key with the keycode 'SWITCHVIDEOMODE' on a Fn+Fx key-combo.

Well, display switching works fine. Switching from console to X takes ca. 2 seconds. The switchvideomode-key (for me Fn+F4) switches backwards through consoles from F12 to F1, while there is actually a 13th X interface (this would be F13) before switching to F12 (/var/log/messages). But maybe it is reserved for something else. Using Fn+F4 writes also 'p' out to console and X.

Since a comparison with the kernel behaviour of a desktop pc, I know now what the kernel is trying to do after this time amount of 5 min. in console. It tries to blank the screen. But with kms enabled, the monitor is instead switched off and the system freezes. So it´s not necessary to close the lid. You just have to wait 5 minutes doing nothing. But the LED of the sound-mute-button is still working then. (in contrast to a system freeze with lid closed)

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#19 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #18 from Manuel Ullmann <[email protected]> 2010-02-08 21:36:46 --- Created an attachment (id=24955)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24955)
relevant lines of dmesg, when the kernel boots up without firmware

I found accidentally the piece of code, which causes the system freeze. I was searching for a reason for the 20% CPU-load of X and thought this could be radeon-ucode (I didn´t know at this point, that this is built into all kernel-releases except for release candidates; well, i guess now that the experimental drivers alone are the reason). So I removed radeon-ucode from kernel configuration and rebooted. I was wondering, why the kernel took about 2 minutes to boot, but when it started, brightness control and blanking the screen worked.

A look into dmesg (see attachement) showed me unfortunately, that the kernel was missing firmware for radeon and had for this reason deactivated GPU acceleration. To be specific, the firmware is:

R600_rlc.bin for me in /lib/firmware/radeon/

The kernel waits ca. 1 min. before continuing the boot sequence without it. 2.6.33-rc5 hangs without it, so it "works" only with 2.6.33-rc6 and rc7. So I think, until the firmware is not updated, kms won´t be usable for me.

Any other suggestions? Do you need some more debug outputs?

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#20 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Manuel Ullmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #24771|0                           |1
        is obsolete|                            |
  Attachment #24810|0                           |1
        is obsolete|                            |

--- Comment #19 from Manuel Ullmann <[email protected]> 2010-02-08 21:40:41 --- Created an attachment (id=24956)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24956)
kernel configration file .config of 2.6.33-rc7

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#21 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Manuel Ullmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|2.6.33-rc6, 2.6.32.7        |2.6.33-rc7, 2.6.32.7

--- Comment #20 from Manuel Ullmann <[email protected]> 2010-02-08 21:42:10 --- As this bug affects also 2.6.33-rc7 (also it´s the firmware), I mark it as affected.

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#22 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #21 from Manuel Ullmann <[email protected]> 2010-02-08 21:44:29 --- Created an attachment (id=24957)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24957)
kernel configuration file of 2.6.32.7

@Comment 20: I meant although

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#23 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #22 from Manuel Ullmann <[email protected]> 2010-02-09 20:58:17 --- Created an attachment (id=24980)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24980)
syslog-ng output of an isuue caused by BIOS.

@Alex Deucher:

You mentioned earlier some 'scratch reg bits'. What are they doing? How could they fix issues specific to certain systems like the Compaq 6735b series? Your patch at
http://people.freedesktop.org/~agd5f/0001-drm-radeon-kms-add-additional-safe-regs-for-r4xx-rs.patch
seems to be related to those bits, but it is specific to some graphic chips.

I have experienced, that waking up from S3 or S4 can indeed change the brightness with kms. As mentioned in Comment 12, the brightness uninitialized until it is changed. /sys/class/backlight/acpi_video?/backlight has the value 0, although the backlight has full brightness, which should be 24. When hibernate-script reinitializes the backlight, it is switched to its lowest brightness. So I can choose now between the highest and lowest brightness. But nevertheless the main issue, that the system freezes after certain amount of inactivity, remains.

I understand, that the firmware is not likely to be updated and that instead the kernel framework around it maybe has to be fixed. Of course this could be also BIOS-related, as I had already an issue, which was caused by an error in BIOS with this notebook (see attachement). But as this Bug is not OS-independent, I doubt that it would be fixed ever.

Signature · 9 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#24 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #23 from Manuel Ullmann <[email protected]> 2010-02-10 11:28:03 --- Created an attachment (id=24987)
--> (http://bugzilla.kernel.org/attachment.cgi?id=24987)
kernel 2.6.32.8 configuration file

Signature · 9 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#25 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Manuel Ullmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|2.6.33-rc7, 2.6.32.7        |2.6.33-rc7, 2.6.32.8
Signature · 9 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
#26 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #24 from Manuel Ullmann <[email protected]> 2010-02-19 14:46:53 --- Created an attachment (id=25115)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25115)
kernel 2.6.33-rc8 configuration file

Bug persists in 2.6.33-rc8. However there is a new kms-driver. But according to help, support for R6xx-7xx is not finished yet. Additionally it´s based on a new driver stack, which is not specified. I´ve found the branch 'kms-support' in xf86-video-ati, but don´t know, if it was for initially kms-support in 2.6.32 or it is new. Do you know which branches are needed for the new driver stack?

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#27 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Manuel Ullmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #24956|0                           |1
        is obsolete|                            |
  Attachment #24957|0                           |1
        is obsolete|                            |
  Attachment #24956|0                           |1
        is obsolete|                            |
  Attachment #24957|0                           |1
        is obsolete|                            |

--- Comment #25 from Manuel Ullmann <[email protected]> 2010-02-19 14:56:08 --- Created an attachment (id=25116)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25116)
Dmesg output with drm in debug mode (grepped drm)

I´ve tested the kernel option drm.debug=15, but it does not give any hints on the cause of this problem. Is there any way to see the kernel-output on screen, although screen freezes? Syslog-ng saves no output, but it is of course not able to, because the kernel freezes. I´m quite sure, that the kernel should give some output, although I can not see that.

--- Comment #26 from Manuel Ullmann <[email protected]> 2010-02-19 14:56:16 --- Created an attachment (id=25117)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25117)
Dmesg output with drm in debug mode (grepped drm)

I´ve tested the kernel option drm.debug=15, but it does not give any hints on the cause of this problem. Is there any way to see the kernel-output on screen, although screen freezes? Syslog-ng saves no output, but it is of course not able to, because the kernel freezes. I´m quite sure, that the kernel should give some output, although I can not see that.

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#28 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Manuel Ullmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #24956|0                           |1
        is obsolete|                            |
  Attachment #24957|0                           |1
        is obsolete|                            |
  Attachment #24956|0                           |1
        is obsolete|                            |
  Attachment #24957|0                           |1
        is obsolete|                            |

--- Comment #25 from Manuel Ullmann <[email protected]> 2010-02-19 14:56:08 --- Created an attachment (id=25116)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25116)
Dmesg output with drm in debug mode (grepped drm)

I´ve tested the kernel option drm.debug=15, but it does not give any hints on the cause of this problem. Is there any way to see the kernel-output on screen, although screen freezes? Syslog-ng saves no output, but it is of course not able to, because the kernel freezes. I´m quite sure, that the kernel should give some output, although I can not see that.

--- Comment #26 from Manuel Ullmann <[email protected]> 2010-02-19 14:56:16 --- Created an attachment (id=25117)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25117)
Dmesg output with drm in debug mode (grepped drm)

I´ve tested the kernel option drm.debug=15, but it does not give any hints on the cause of this problem. Is there any way to see the kernel-output on screen, although screen freezes? Syslog-ng saves no output, but it is of course not able to, because the kernel freezes. I´m quite sure, that the kernel should give some output, although I can not see that.

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#29 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

--- Comment #27 from Alex Deucher <[email protected]> 2010-02-19 16:27:17 --- (In reply to comment #24)

Quoted 6 lines

Bug persists in 2.6.33-rc8. However there is a new kms-driver. But according to help, support for R6xx-7xx is not finished yet. Additionally it´s based on a new driver stack, which is not specified. I´ve found the branch 'kms-support' in xf86-video-ati, but don´t know, if it was for initially kms-support in 2.6.32 or it is new. Do you know which branches are needed for the new driver stack?

R6xx-R7xx is finished, the help is outdated. As to the driver stack, you need xf86-video-ati from git master, and mesa from git master or 7.7 branch both built against libdrm from git master or 2.4.18.

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#30 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Manuel Ullmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|2.6.33-rc7, 2.6.32.8        |2.6.33-rc8, 2.6.32.8

--- Comment #28 from Manuel Ullmann <[email protected]> 2010-02-19 22:15:11 --- Tried this with both the master and 7.7 mesa branch. Bug was not fixed. Would it be possible to see any output from kernel, if I would be on a remote ssh session?

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#31 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Manuel Ullmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

     Kernel Version|2.6.33-rc8, 2.6.32.8        |2.6.32.6 - 2.6.33

--- Comment #29 from Manuel Ullmann <[email protected]> 2010-02-25 18:06:36 --- Bug still in 2.6.33. As expected. I´ll attach the config.

Signature · 14 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#32 lore raw

[Bug 15166] Changing brightness of backlight freezes kernel with radeon kms enabled.

In reply to [email protected]

http://bugzilla.kernel.org/show_bug.cgi?id=15166

Manuel Ullmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #24987|0                           |1
        is obsolete|                            |
  Attachment #25115|0                           |1
        is obsolete|                            |
  Attachment #25116|0                           |1
        is obsolete|                            |

--- Comment #30 from Manuel Ullmann <[email protected]> 2010-02-25 18:09:23 --- Created an attachment (id=25223)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25223)
.config file of kernel 2.6.33

Signature · 11 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--