freeze hard-lock with 3.5-rc1 with dynpm for radeon GPU [was Re:Linux 3.4 released]
From: JÃrg-Volker Peetz
Date: Wed Jun 06 2012 - 07:12:08 EST
Takashi Iwai wrote, on 05/28/12 07:16:
> At Sun, 27 May 2012 15:03:41 +0200,
> JÃrg-Volker Peetz wrote:
>>
>> Hello,
>>
>> meanwhile I tried the support of vga-switcheroo for HD-audio from your git tree
>> without success.
>>
>> Since I'm not familiar with git I'll describe what I did:
>>
>> $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>> $ cd linux
>> $ git reset --keep v3.4
>> $ git pull git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
>> tags/hda-switcheroo
>
> Pulling sound git tree branch onto 3.4 (or a tree without a proper
> update of DRM tree) is known to be broken because it misses a few fix
> commits in the VGA switcheroo part.
>
> Linus already merged the HD-audio vga-switcheroo support in his tree.
> So, just pull Linus tree and use it as is.
>
> If it still causes the problem, get debugfs output of vga switcheroo
> and the kernel messages before switching off D-GPU.
>
>
> Takashi
Hello Takashi, hello David,
I have managed to test 3.5-rc1 on my HP Pavilion dv7 notebook with two AMD GPU.
The problem I had with the USB web-cam is fixed:
using vgaswitcheroo to switch off the discrete GPU and the discrete HDMI audio via
echo -n OFF > /sys/kernel/debug/vgaswitcheroo/switch
works and after starting X I'm able to activate the built-in USB web-cam with
guvcview. Thank you very much.
But now I have another regression: trying to use the power management method
"dynpm" via
echo -n dynpm > /sys/class/drm/card0/device/power_method
even before mounting debugfs, lets the machine freeze with at least two trace
calls on the console screen. On the console only the last two lines of one call
trace and the last one are visible (machine is frozen). It says (typed by hand,
therefore, not complete):
...
---[ end trace a926a4156be75305 ]---
BUG: unable to handle kernel paging request at fffffffffffffff8
IP: [<ffffffff81045097>] kthread_data+0x7/0x10
PGD 1585067 PUD 1586067 PMD 0
Oops: 0000 [#2] SMP
CPU 1
...
Call Trace:
[< ... >] ? wq_worker_sleeping+0x8/0x80
... ? __schedule+0x363/0x520
... ? do_exit+0x552/0x850
... ? oops_end+0x67/0x90
... ? no_context+0x24e/0x279
... ? do_page_fault+0x2bb/0x460
...
What to do next?
--
Best regards,
JÃrg-Volker.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/