2014-06-07 18:46:19

by Howard Chu

[permalink] [raw]
Subject: 3.12.9 kern.log spam from vgaswitcheroo

On Asus NP56D, if you use vgaswitcheroo to turn off the discrete GPU, the
kernel starts spewing these messages endlessly, until /var/log partition fills up:

Jun 7 17:40:27 gamba kernel: [470008.702322] [drm:radeon_cs_parser_init]
*ERROR* VM not ac
tive on asic!
Jun 7 17:40:27 gamba kernel: [470008.702325] [drm:radeon_cs_ioctl] *ERROR*
Failed to initi
alize parser !
Jun 7 17:40:27 gamba kernel: [470008.702385] [drm:radeon_cs_parser_init]
*ERROR* VM not ac
tive on asic!
Jun 7 17:40:27 gamba kernel: [470008.702389] [drm:radeon_cs_ioctl] *ERROR*
Failed to initi
alize parser !

Turning the discrete GPU back on stops the stream of messages.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/


2014-06-07 20:18:55

by Dave Airlie

[permalink] [raw]
Subject: Re: 3.12.9 kern.log spam from vgaswitcheroo

cc'ing list

On 8 June 2014 04:08, Howard Chu <[email protected]> wrote:
> On Asus NP56D, if you use vgaswitcheroo to turn off the discrete GPU, the
> kernel starts spewing these messages endlessly, until /var/log partition
> fills up:
>
> Jun 7 17:40:27 gamba kernel: [470008.702322] [drm:radeon_cs_parser_init]
> *ERROR* VM not ac
> tive on asic!
> Jun 7 17:40:27 gamba kernel: [470008.702325] [drm:radeon_cs_ioctl] *ERROR*
> Failed to initi
> alize parser !
> Jun 7 17:40:27 gamba kernel: [470008.702385] [drm:radeon_cs_parser_init]
> *ERROR* VM not ac
> tive on asic!
> Jun 7 17:40:27 gamba kernel: [470008.702389] [drm:radeon_cs_ioctl] *ERROR*
> Failed to initi
> alize parser !
>
> Turning the discrete GPU back on stops the stream of messages.
> --
> -- Howard Chu
> CTO, Symas Corp. http://www.symas.com
> Director, Highland Sun http://highlandsun.com/hyc/
> Chief Architect, OpenLDAP http://www.openldap.org/project/
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2014-06-09 01:15:07

by Alex Deucher

[permalink] [raw]
Subject: Re: 3.12.9 kern.log spam from vgaswitcheroo

On Sat, Jun 7, 2014 at 4:18 PM, Dave Airlie <[email protected]> wrote:
> cc'ing list
>
> On 8 June 2014 04:08, Howard Chu <[email protected]> wrote:
>> On Asus NP56D, if you use vgaswitcheroo to turn off the discrete GPU, the
>> kernel starts spewing these messages endlessly, until /var/log partition
>> fills up:
>>
>> Jun 7 17:40:27 gamba kernel: [470008.702322] [drm:radeon_cs_parser_init]
>> *ERROR* VM not ac
>> tive on asic!
>> Jun 7 17:40:27 gamba kernel: [470008.702325] [drm:radeon_cs_ioctl] *ERROR*
>> Failed to initi
>> alize parser !
>> Jun 7 17:40:27 gamba kernel: [470008.702385] [drm:radeon_cs_parser_init]
>> *ERROR* VM not ac
>> tive on asic!
>> Jun 7 17:40:27 gamba kernel: [470008.702389] [drm:radeon_cs_ioctl] *ERROR*
>> Failed to initi
>> alize parser !
>>
>> Turning the discrete GPU back on stops the stream of messages.

Something is trying to access the GPU while it's off. Make sure your
version of mesa has this patch:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf0172d46ab940a691da6516057c81f28961482f

Alex


>> --
>> -- Howard Chu
>> CTO, Symas Corp. http://www.symas.com
>> Director, Highland Sun http://highlandsun.com/hyc/
>> Chief Architect, OpenLDAP http://www.openldap.org/project/
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at http://www.tux.org/lkml/