linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black instead of native resolution
       [not found] ` <744357E9AAD1214791ACBA4B0B90926301379B97@SHSMSX101.ccr.corp.intel.com>
@ 2014-06-23 12:22   ` Martin Kepplinger
  2014-06-23 13:14     ` Zhang Rui
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Kepplinger @ 2014-06-23 12:22 UTC (permalink / raw)
  To: Zhang, Rui; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

Am 2014-06-23 03:10, schrieb Zhang, Rui:
> 
> 
>> -----Original Message-----
>> From: Martin Kepplinger [mailto:martink@posteo.de]
>> Sent: Sunday, June 22, 2014 10:25 PM
>> To: Zhang, Rui
>> Cc: rjw@rjwysocki.net; lenb@kernel.org; linux-acpi@vger.kernel.org;
>> linux-kernel@vger.kernel.org
>> Subject: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black
>> instead of native resolution
>> Importance: High
>>
>> Since 3.16-rc1 my laptop's just goes black while booting, instead of
>> switching to native screen resolution and showing me the starting
>> system there. It's an Acer TravelMate B113 with i915 driver and
>> acer_wmi. It stays black and is unusable.
>>
>> Do you have other people complain about that? Bisecting didn't lead to
>> a good result. I could be wrong but I somehow suspect the mistake to be
>> somewhere in commit 99678ed73a50d2df8b5f3c801e29e9b7a3e5aa85
>>
> In order to confirm if the problem is introduced by the above commit,
> why not checkout the kernel just before and after this commit and see if the problem exists?
> 
> Thanks,
> rui
> 
So maybe I was wrong. d27050641e9bc056446deb0814e7ba1aa7911f5a is still
good and aaeb2554337217dfa4eac2fcc90da7be540b9a73 is the fist bad one.
This is a big v4l merge. I added the linux-media list in cc now.

What could be the problem here?

> 
>> There is nothing unusual in the kernel log.
>>
>> This is quite unusual for an -rc2. Hence my question. I'm happy to test
>> changes.
>>
>>                                      martin
>> --
>> Martin Kepplinger
>> e-mail        martink AT posteo DOT at
>> chat (XMPP)   martink AT jabber DOT at


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black instead of native resolution
  2014-06-23 12:22   ` [BUG] rc1 and rc2: Laptop unusable: on boot,screen black instead of native resolution Martin Kepplinger
@ 2014-06-23 13:14     ` Zhang Rui
  2014-06-23 14:46       ` Martin Kepplinger
  0 siblings, 1 reply; 16+ messages in thread
From: Zhang Rui @ 2014-06-23 13:14 UTC (permalink / raw)
  To: Martin Kepplinger; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

On Mon, 2014-06-23 at 14:22 +0200, Martin Kepplinger wrote:
> Am 2014-06-23 03:10, schrieb Zhang, Rui:
> > 
> > 
> >> -----Original Message-----
> >> From: Martin Kepplinger [mailto:martink@posteo.de]
> >> Sent: Sunday, June 22, 2014 10:25 PM
> >> To: Zhang, Rui
> >> Cc: rjw@rjwysocki.net; lenb@kernel.org; linux-acpi@vger.kernel.org;
> >> linux-kernel@vger.kernel.org
> >> Subject: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black
> >> instead of native resolution
> >> Importance: High
> >>
> >> Since 3.16-rc1 my laptop's just goes black while booting, instead of
> >> switching to native screen resolution and showing me the starting
> >> system there. It's an Acer TravelMate B113 with i915 driver and
> >> acer_wmi. It stays black and is unusable.
> >>
This looks like a duplicate of
https://bugzilla.kernel.org/show_bug.cgi?id=78601

thanks,
rui
> >> Do you have other people complain about that? Bisecting didn't lead to
> >> a good result. I could be wrong but I somehow suspect the mistake to be
> >> somewhere in commit 99678ed73a50d2df8b5f3c801e29e9b7a3e5aa85
> >>
> > In order to confirm if the problem is introduced by the above commit,
> > why not checkout the kernel just before and after this commit and see if the problem exists?
> > 
> > Thanks,
> > rui
> > 
> So maybe I was wrong. d27050641e9bc056446deb0814e7ba1aa7911f5a is still
> good and aaeb2554337217dfa4eac2fcc90da7be540b9a73 is the fist bad one.
> This is a big v4l merge. I added the linux-media list in cc now.
> 
> What could be the problem here?
> 
> > 
> >> There is nothing unusual in the kernel log.
> >>
> >> This is quite unusual for an -rc2. Hence my question. I'm happy to test
> >> changes.
> >>
> >>                                      martin
> >> --
> >> Martin Kepplinger
> >> e-mail        martink AT posteo DOT at
> >> chat (XMPP)   martink AT jabber DOT at
> 



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black instead of native resolution
  2014-06-23 13:14     ` Zhang Rui
@ 2014-06-23 14:46       ` Martin Kepplinger
  2014-06-27 15:14         ` Zhang Rui
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Kepplinger @ 2014-06-23 14:46 UTC (permalink / raw)
  To: Zhang Rui; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

Am 2014-06-23 15:14, schrieb Zhang Rui:
> On Mon, 2014-06-23 at 14:22 +0200, Martin Kepplinger wrote:
>> Am 2014-06-23 03:10, schrieb Zhang, Rui:
>>>
>>>
>>>> -----Original Message-----
>>>> From: Martin Kepplinger [mailto:martink@posteo.de]
>>>> Sent: Sunday, June 22, 2014 10:25 PM
>>>> To: Zhang, Rui
>>>> Cc: rjw@rjwysocki.net; lenb@kernel.org; linux-acpi@vger.kernel.org;
>>>> linux-kernel@vger.kernel.org
>>>> Subject: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black
>>>> instead of native resolution
>>>> Importance: High
>>>>
>>>> Since 3.16-rc1 my laptop's just goes black while booting, instead of
>>>> switching to native screen resolution and showing me the starting
>>>> system there. It's an Acer TravelMate B113 with i915 driver and
>>>> acer_wmi. It stays black and is unusable.
>>>>
> This looks like a duplicate of
> https://bugzilla.kernel.org/show_bug.cgi?id=78601
> 
> thanks,
> rui
I'm not sure about that. I have no problem with v3.15 and the screen
goes black way before a display manager is started. It's right after the
kernel loaded and usually the screen is set to native resolution.

Bisect told me aaeb2554337217dfa4eac2fcc90da7be540b9a73 as the first bad
one. Although, checking that out and running it, works good. not sure if
that makes sense.

>>>> Do you have other people complain about that? Bisecting didn't lead to
>>>> a good result. I could be wrong but I somehow suspect the mistake to be
>>>> somewhere in commit 99678ed73a50d2df8b5f3c801e29e9b7a3e5aa85
>>>>
>>> In order to confirm if the problem is introduced by the above commit,
>>> why not checkout the kernel just before and after this commit and see if the problem exists?
>>>
>>> Thanks,
>>> rui
>>>
>> So maybe I was wrong. d27050641e9bc056446deb0814e7ba1aa7911f5a is still
>> good and aaeb2554337217dfa4eac2fcc90da7be540b9a73 is the fist bad one.
>> This is a big v4l merge. I added the linux-media list in cc now.
>>
>> What could be the problem here?
>>
>>>
>>>> There is nothing unusual in the kernel log.
>>>>
>>>> This is quite unusual for an -rc2. Hence my question. I'm happy to test
>>>> changes.
>>>>
>>>>                                      martin
>>>> --
>>>> Martin Kepplinger
>>>> e-mail        martink AT posteo DOT at
>>>> chat (XMPP)   martink AT jabber DOT at
>>
> 
> 


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black instead of native resolution
  2014-06-23 14:46       ` Martin Kepplinger
@ 2014-06-27 15:14         ` Zhang Rui
  2014-06-27 18:09           ` Martin Kepplinger
  0 siblings, 1 reply; 16+ messages in thread
From: Zhang Rui @ 2014-06-27 15:14 UTC (permalink / raw)
  To: Martin Kepplinger; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

On Mon, 2014-06-23 at 16:46 +0200, Martin Kepplinger wrote:
> Am 2014-06-23 15:14, schrieb Zhang Rui:
> > On Mon, 2014-06-23 at 14:22 +0200, Martin Kepplinger wrote:
> >> Am 2014-06-23 03:10, schrieb Zhang, Rui:
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: Martin Kepplinger [mailto:martink@posteo.de]
> >>>> Sent: Sunday, June 22, 2014 10:25 PM
> >>>> To: Zhang, Rui
> >>>> Cc: rjw@rjwysocki.net; lenb@kernel.org; linux-acpi@vger.kernel.org;
> >>>> linux-kernel@vger.kernel.org
> >>>> Subject: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black
> >>>> instead of native resolution
> >>>> Importance: High
> >>>>
> >>>> Since 3.16-rc1 my laptop's just goes black while booting, instead of
> >>>> switching to native screen resolution and showing me the starting
> >>>> system there. It's an Acer TravelMate B113 with i915 driver and
> >>>> acer_wmi. It stays black and is unusable.
> >>>>
> > This looks like a duplicate of
> > https://bugzilla.kernel.org/show_bug.cgi?id=78601
> > 
> > thanks,
> > rui
> I'm not sure about that. I have no problem with v3.15 and the screen
> goes black way before a display manager is started. It's right after the
> kernel loaded and usually the screen is set to native resolution.
> 
> Bisect told me aaeb2554337217dfa4eac2fcc90da7be540b9a73 as the first bad
> one. Although, checking that out and running it, works good. not sure if
> that makes sense.
> 
could you please check if the comment in
https://bugzilla.kernel.org/show_bug.cgi?id=78601#c5 solves your problem
or not?

thanks,
rui
> >>>> Do you have other people complain about that? Bisecting didn't lead to
> >>>> a good result. I could be wrong but I somehow suspect the mistake to be
> >>>> somewhere in commit 99678ed73a50d2df8b5f3c801e29e9b7a3e5aa85
> >>>>
> >>> In order to confirm if the problem is introduced by the above commit,
> >>> why not checkout the kernel just before and after this commit and see if the problem exists?
> >>>
> >>> Thanks,
> >>> rui
> >>>
> >> So maybe I was wrong. d27050641e9bc056446deb0814e7ba1aa7911f5a is still
> >> good and aaeb2554337217dfa4eac2fcc90da7be540b9a73 is the fist bad one.
> >> This is a big v4l merge. I added the linux-media list in cc now.
> >>
> >> What could be the problem here?
> >>
> >>>
> >>>> There is nothing unusual in the kernel log.
> >>>>
> >>>> This is quite unusual for an -rc2. Hence my question. I'm happy to test
> >>>> changes.
> >>>>
> >>>>                                      martin
> >>>> --
> >>>> Martin Kepplinger
> >>>> e-mail        martink AT posteo DOT at
> >>>> chat (XMPP)   martink AT jabber DOT at
> >>
> > 
> > 
> 



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black instead of native resolution
  2014-06-27 15:14         ` Zhang Rui
@ 2014-06-27 18:09           ` Martin Kepplinger
  2014-06-27 19:51             ` Martin Kepplinger
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Kepplinger @ 2014-06-27 18:09 UTC (permalink / raw)
  To: Zhang Rui; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

Am 2014-06-27 17:14, schrieb Zhang Rui:
> On Mon, 2014-06-23 at 16:46 +0200, Martin Kepplinger wrote:
>> Am 2014-06-23 15:14, schrieb Zhang Rui:
>>> On Mon, 2014-06-23 at 14:22 +0200, Martin Kepplinger wrote:
>>>> Am 2014-06-23 03:10, schrieb Zhang, Rui:
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Martin Kepplinger [mailto:martink@posteo.de]
>>>>>> Sent: Sunday, June 22, 2014 10:25 PM
>>>>>> To: Zhang, Rui
>>>>>> Cc: rjw@rjwysocki.net; lenb@kernel.org; linux-acpi@vger.kernel.org;
>>>>>> linux-kernel@vger.kernel.org
>>>>>> Subject: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black
>>>>>> instead of native resolution
>>>>>> Importance: High
>>>>>>
>>>>>> Since 3.16-rc1 my laptop's just goes black while booting, instead of
>>>>>> switching to native screen resolution and showing me the starting
>>>>>> system there. It's an Acer TravelMate B113 with i915 driver and
>>>>>> acer_wmi. It stays black and is unusable.
>>>>>>
>>> This looks like a duplicate of
>>> https://bugzilla.kernel.org/show_bug.cgi?id=78601
>>>
>>> thanks,
>>> rui
>> I'm not sure about that. I have no problem with v3.15 and the screen
>> goes black way before a display manager is started. It's right after the
>> kernel loaded and usually the screen is set to native resolution.
>>
>> Bisect told me aaeb2554337217dfa4eac2fcc90da7be540b9a73 as the first bad
>> one. Although, checking that out and running it, works good. not sure if
>> that makes sense.
>>
> could you please check if the comment in
> https://bugzilla.kernel.org/show_bug.cgi?id=78601#c5 solves your problem
> or not?
> 
> thanks,
> rui

thanks for checking. This does not change anything though. I tested the
following on top of v3.16-rc2 and linus's tree as of today, almost -rc3.

---
 drivers/gpu/drm/i915/intel_fbdev.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_fbdev.c
b/drivers/gpu/drm/i915/intel_fbdev.c
index 088fe93..1e2f9ae 100644
--- a/drivers/gpu/drm/i915/intel_fbdev.c
+++ b/drivers/gpu/drm/i915/intel_fbdev.c
@@ -453,7 +453,6 @@ out:
 }

 static struct drm_fb_helper_funcs intel_fb_helper_funcs = {
-       .initial_config = intel_fb_initial_config,
        .gamma_set = intel_crtc_fb_gamma_set,
        .gamma_get = intel_crtc_fb_gamma_get,
        .fb_probe = intelfb_create,
-- 
1.7.10.4



>>>>>> Do you have other people complain about that? Bisecting didn't lead to
>>>>>> a good result. I could be wrong but I somehow suspect the mistake to be
>>>>>> somewhere in commit 99678ed73a50d2df8b5f3c801e29e9b7a3e5aa85
>>>>>>
>>>>> In order to confirm if the problem is introduced by the above commit,
>>>>> why not checkout the kernel just before and after this commit and see if the problem exists?
>>>>>
>>>>> Thanks,
>>>>> rui
>>>>>
>>>> So maybe I was wrong. d27050641e9bc056446deb0814e7ba1aa7911f5a is still
>>>> good and aaeb2554337217dfa4eac2fcc90da7be540b9a73 is the fist bad one.
>>>> This is a big v4l merge. I added the linux-media list in cc now.
>>>>
>>>> What could be the problem here?
>>>>
>>>>>
>>>>>> There is nothing unusual in the kernel log.
>>>>>>
>>>>>> This is quite unusual for an -rc2. Hence my question. I'm happy to test
>>>>>> changes.
>>>>>>
>>>>>>                                      martin
>>>>>> --
>>>>>> Martin Kepplinger
>>>>>> e-mail        martink AT posteo DOT at
>>>>>> chat (XMPP)   martink AT jabber DOT at
>>>>
>>>
>>>
>>
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black instead of native resolution
  2014-06-27 18:09           ` Martin Kepplinger
@ 2014-06-27 19:51             ` Martin Kepplinger
  2014-06-27 22:14               ` Martin Kepplinger
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Kepplinger @ 2014-06-27 19:51 UTC (permalink / raw)
  To: Zhang Rui; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

Am 2014-06-27 20:09, schrieb Martin Kepplinger:
> Am 2014-06-27 17:14, schrieb Zhang Rui:
>> On Mon, 2014-06-23 at 16:46 +0200, Martin Kepplinger wrote:
>>> Am 2014-06-23 15:14, schrieb Zhang Rui:
>>>> On Mon, 2014-06-23 at 14:22 +0200, Martin Kepplinger wrote:
>>>>> Am 2014-06-23 03:10, schrieb Zhang, Rui:
>>>>>>
>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Martin Kepplinger [mailto:martink@posteo.de]
>>>>>>> Sent: Sunday, June 22, 2014 10:25 PM
>>>>>>> To: Zhang, Rui
>>>>>>> Cc: rjw@rjwysocki.net; lenb@kernel.org; linux-acpi@vger.kernel.org;
>>>>>>> linux-kernel@vger.kernel.org
>>>>>>> Subject: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black
>>>>>>> instead of native resolution
>>>>>>> Importance: High
>>>>>>>
>>>>>>> Since 3.16-rc1 my laptop's just goes black while booting, instead of
>>>>>>> switching to native screen resolution and showing me the starting
>>>>>>> system there. It's an Acer TravelMate B113 with i915 driver and
>>>>>>> acer_wmi. It stays black and is unusable.
>>>>>>>
>>>> This looks like a duplicate of
>>>> https://bugzilla.kernel.org/show_bug.cgi?id=78601
>>>>
>>>> thanks,
>>>> rui
>>> I'm not sure about that. I have no problem with v3.15 and the screen
>>> goes black way before a display manager is started. It's right after the
>>> kernel loaded and usually the screen is set to native resolution.
>>>
>>> Bisect told me aaeb2554337217dfa4eac2fcc90da7be540b9a73 as the first bad
>>> one. Although, checking that out and running it, works good. not sure if
>>> that makes sense.
>>>
>> could you please check if the comment in
>> https://bugzilla.kernel.org/show_bug.cgi?id=78601#c5 solves your problem
>> or not?
>>
>> thanks,
>> rui
> 
> thanks for checking. This does not change anything though. I tested the
> following on top of v3.16-rc2 and linus's tree as of today, almost -rc3.
> 
> ---
>  drivers/gpu/drm/i915/intel_fbdev.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_fbdev.c
> b/drivers/gpu/drm/i915/intel_fbdev.c
> index 088fe93..1e2f9ae 100644
> --- a/drivers/gpu/drm/i915/intel_fbdev.c
> +++ b/drivers/gpu/drm/i915/intel_fbdev.c
> @@ -453,7 +453,6 @@ out:
>  }
> 
>  static struct drm_fb_helper_funcs intel_fb_helper_funcs = {
> -       .initial_config = intel_fb_initial_config,
>         .gamma_set = intel_crtc_fb_gamma_set,
>         .gamma_get = intel_crtc_fb_gamma_get,
>         .fb_probe = intelfb_create,
> 

I also tested the following patch from
http://lists.freedesktop.org/archives/intel-gfx/2014-June/047981.html
now, with no results. No change in my case :(

diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index efd3cf5..5aee08e 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -11087,6 +11087,22 @@ const char *intel_output_name(int output)
        return names[output];
 }

+static bool intel_crt_present(struct drm_device *dev)
+{
+       struct drm_i915_private *dev_priv = dev->dev_private;
+
+       if (IS_ULT(dev))
+               return false;
+
+       if (IS_CHERRYVIEW(dev))
+               return false;
+
+       if (IS_VALLEYVIEW(dev) && !dev_priv->vbt.int_crt_support)
+               return false;
+
+       return true;
+}
+
 static void intel_setup_outputs(struct drm_device *dev)
 {
        struct drm_i915_private *dev_priv = dev->dev_private;
@@ -11095,7 +11111,7 @@ static void intel_setup_outputs(struct
drm_device *dev)

        intel_lvds_init(dev);

-       if (!IS_ULT(dev) && !IS_CHERRYVIEW(dev) &&
dev_priv->vbt.int_crt_support)
+       if (intel_crt_present(dev))
                intel_crt_init(dev);

        if (HAS_DDI(dev)) {
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black instead of native resolution
  2014-06-27 19:51             ` Martin Kepplinger
@ 2014-06-27 22:14               ` Martin Kepplinger
  2014-06-30  7:52                 ` [BUG] rc3 Oops: unable to handle kernel NULL pointer dereference at 0000074c Martin Kepplinger
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Kepplinger @ 2014-06-27 22:14 UTC (permalink / raw)
  To: Zhang Rui; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

Am 2014-06-27 21:51, schrieb Martin Kepplinger:
> Am 2014-06-27 20:09, schrieb Martin Kepplinger:
>> Am 2014-06-27 17:14, schrieb Zhang Rui:
>>> On Mon, 2014-06-23 at 16:46 +0200, Martin Kepplinger wrote:
>>>> Am 2014-06-23 15:14, schrieb Zhang Rui:
>>>>> On Mon, 2014-06-23 at 14:22 +0200, Martin Kepplinger wrote:
>>>>>> Am 2014-06-23 03:10, schrieb Zhang, Rui:
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Martin Kepplinger [mailto:martink@posteo.de]
>>>>>>>> Sent: Sunday, June 22, 2014 10:25 PM
>>>>>>>> To: Zhang, Rui
>>>>>>>> Cc: rjw@rjwysocki.net; lenb@kernel.org; linux-acpi@vger.kernel.org;
>>>>>>>> linux-kernel@vger.kernel.org
>>>>>>>> Subject: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black
>>>>>>>> instead of native resolution
>>>>>>>> Importance: High
>>>>>>>>
>>>>>>>> Since 3.16-rc1 my laptop's just goes black while booting, instead of
>>>>>>>> switching to native screen resolution and showing me the starting
>>>>>>>> system there. It's an Acer TravelMate B113 with i915 driver and
>>>>>>>> acer_wmi. It stays black and is unusable.
>>>>>>>>
>>>>> This looks like a duplicate of
>>>>> https://bugzilla.kernel.org/show_bug.cgi?id=78601
>>>>>
>>>>> thanks,
>>>>> rui
>>>> I'm not sure about that. I have no problem with v3.15 and the screen
>>>> goes black way before a display manager is started. It's right after the
>>>> kernel loaded and usually the screen is set to native resolution.
>>>>
>>>> Bisect told me aaeb2554337217dfa4eac2fcc90da7be540b9a73 as the first bad
>>>> one. Although, checking that out and running it, works good. not sure if
>>>> that makes sense.
>>>>
>>> could you please check if the comment in
>>> https://bugzilla.kernel.org/show_bug.cgi?id=78601#c5 solves your problem
>>> or not?
>>>
>>> thanks,
>>> rui
>>
>> thanks for checking. This does not change anything though. I tested the
>> following on top of v3.16-rc2 and linus's tree as of today, almost -rc3.
>>
>> ---
>>  drivers/gpu/drm/i915/intel_fbdev.c |    1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/i915/intel_fbdev.c
>> b/drivers/gpu/drm/i915/intel_fbdev.c
>> index 088fe93..1e2f9ae 100644
>> --- a/drivers/gpu/drm/i915/intel_fbdev.c
>> +++ b/drivers/gpu/drm/i915/intel_fbdev.c
>> @@ -453,7 +453,6 @@ out:
>>  }
>>
>>  static struct drm_fb_helper_funcs intel_fb_helper_funcs = {
>> -       .initial_config = intel_fb_initial_config,
>>         .gamma_set = intel_crtc_fb_gamma_set,
>>         .gamma_get = intel_crtc_fb_gamma_get,
>>         .fb_probe = intelfb_create,
>>
> 
> I also tested the following patch from
> http://lists.freedesktop.org/archives/intel-gfx/2014-June/047981.html
> now, with no results. No change in my case :(
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c
> b/drivers/gpu/drm/i915/intel_display.c
> index efd3cf5..5aee08e 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -11087,6 +11087,22 @@ const char *intel_output_name(int output)
>         return names[output];
>  }
> 
> +static bool intel_crt_present(struct drm_device *dev)
> +{
> +       struct drm_i915_private *dev_priv = dev->dev_private;
> +
> +       if (IS_ULT(dev))
> +               return false;
> +
> +       if (IS_CHERRYVIEW(dev))
> +               return false;
> +
> +       if (IS_VALLEYVIEW(dev) && !dev_priv->vbt.int_crt_support)
> +               return false;
> +
> +       return true;
> +}
> +
>  static void intel_setup_outputs(struct drm_device *dev)
>  {
>         struct drm_i915_private *dev_priv = dev->dev_private;
> @@ -11095,7 +11111,7 @@ static void intel_setup_outputs(struct
> drm_device *dev)
> 
>         intel_lvds_init(dev);
> 
> -       if (!IS_ULT(dev) && !IS_CHERRYVIEW(dev) &&
> dev_priv->vbt.int_crt_support)
> +       if (intel_crt_present(dev))
>                 intel_crt_init(dev);
> 
>         if (HAS_DDI(dev)) {
> 
I'm on i686 and also the following from
https://bugzilla.redhat.com/show_bug.cgi?id=1110968#c16 does not help :(
this is bad.

---
 arch/x86/kernel/signal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/x86/kernel/signal.c	
+++ a/arch/x86/kernel/signal.c	
@@ -363,7 +363,7 @@ static int __setup_rt_frame(int sig, struct ksignal
*ksig,

 		/* Set up to return from userspace.  */
 		restorer = current->mm->context.vdso +
-			selected_vdso32->sym___kernel_sigreturn;
+			selected_vdso32->sym___kernel_rt_sigreturn;
 		if (ksig->ka.sa.sa_flags & SA_RESTORER)
 			restorer = ksig->ka.sa.sa_restorer;
 		put_user_ex(restorer, &frame->pretcode);
-- 

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc3 Oops: unable to handle kernel NULL pointer dereference at 0000074c
  2014-06-27 22:14               ` Martin Kepplinger
@ 2014-06-30  7:52                 ` Martin Kepplinger
  2014-06-30  8:18                   ` Zhang Rui
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Kepplinger @ 2014-06-30  7:52 UTC (permalink / raw)
  To: Zhang Rui; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

I now booted 3.16-rc3 and suddenly see an oops during boot:

the oops during boot: http://tny.cz/2301e393
	also below

lshw if interesting: http://tny.cz/3c9a7609

the full boot log: http://tny.cz/88260b19

does anyone have an idea?
                           thanks

the oops:

Jun 30 08:35:08 laptop kernel: [    5.245811] bus: 'platform':
really_probe: probing driver coretemp with device coretemp.0
Jun 30 08:35:08 laptop kernel: [    5.246134] BUG: unable to handle
kernel NULL pointer dereference at 0000074c
Jun 30 08:35:08 laptop kernel: [    5.246145] IP: [<c10325d9>]
is_highmem+0x1/0x2b
Jun 30 08:35:08 laptop kernel: [    5.246158] *pdpt = 0000000033e49001
*pde = 0000000000000000
Jun 30 08:35:08 laptop kernel: [    5.246167] Oops: 0000 [#1] SMP
Jun 30 08:35:08 laptop kernel: [    5.246175] Modules linked in:
coretemp(+) kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_realtek
snd_hda_codec_generic microcode snd_hda_intel i915(+) snd_hda_controller
evdev psmouse snd_hda_codec serio_raw snd_hwdep snd_pcm iwlwifi i2c_i801
lpc_ich mfd_core snd_seq drm_kms_helper snd_timer battery ehci_pci
snd_seq_device drm cfg80211 ehci_hcd snd i2c_algo_bit ac video i2c_core
rfkill soundcore wmi acpi_cpufreq button processor thermal_sys ext4
crc16 jbd2 mbcache sg sd_mod crct10dif_generic crc_t10dif
crct10dif_common ahci libahci crc32c_intel tg3 ptp libata pps_core
sdhci_pci sdhci scsi_mod mmc_core libphy xhci_hcd usbcore usb_common
Jun 30 08:35:08 laptop kernel: [    5.246320] CPU: 1 PID: 491 Comm:
modprobe Not tainted 3.16.0-rc3 #83
Jun 30 08:35:08 laptop kernel: [    5.246330] Hardware name: Acer
TravelMate B113/BA10_HX           , BIOS V1.09 10/30/2012
Jun 30 08:35:08 laptop kernel: [    5.246344] task: f3828a90 ti:
f3e88000 task.ti: f3e88000
Jun 30 08:35:08 laptop kernel: [    5.246355] EIP: 0060:[<c10325d9>]
EFLAGS: 00010206 CPU: 1
Jun 30 08:35:08 laptop kernel: [    5.246367] EIP is at is_highmem+0x1/0x2b
Jun 30 08:35:08 laptop kernel: [    5.246376] EAX: 000003c0 EBX:
ffb76000 ECX: 00000001 EDX: 000003c0
Jun 30 08:35:08 laptop kernel: [    5.246386] ESI: f86cd279 EDI:
00000000 EBP: f3e89c10 ESP: f3e89c04
Jun 30 08:35:08 laptop kernel: [    5.246396]  DS: 007b ES: 007b FS:
00d8 GS: 00e0 SS: 0068
Jun 30 08:35:08 laptop kernel: [    5.246405] CR0: 80050033 CR2:
0000074c CR3: 2e3fc000 CR4: 000407f0
Jun 30 08:35:08 laptop kernel: [    5.246414] Stack:
Jun 30 08:35:08 laptop kernel: [    5.246421]  f3e89c10 c1032889
f3cbcc60 f3e89c4c f86b52bf 00000005 00000000 00000448
Jun 30 08:35:08 laptop kernel: [    5.246442]  f3e89c30 00000006
00165000 ffb76000 00000113 f870f010 ee881128 ee881128
Jun 30 08:35:08 laptop kernel: [    5.246465]  00000001 f418b980
f3e89c74 f86b4e5c 00000000 f3911e00 f3911e00 ee881128
Jun 30 08:35:08 laptop kernel: [    5.246487] Call Trace:
Jun 30 08:35:08 laptop kernel: [    5.246500]  [<c1032889>] ?
kunmap+0x3b/0x4e
Jun 30 08:35:08 laptop kernel: [    5.246578]  [<f86b52bf>] ?
i915_gem_render_state_init+0x24f/0x28c [i915]
Jun 30 08:35:08 laptop kernel: [    5.246634]  [<f86b4e5c>] ?
i915_switch_context+0x348/0x387 [i915]
Jun 30 08:35:08 laptop kernel: [    5.246684]  [<f86b4f0f>] ?
i915_gem_context_enable+0x74/0x7c [i915]
Jun 30 08:35:08 laptop kernel: [    5.246742]  [<f86bcd38>] ?
i915_gem_init_hw+0x23e/0x285 [i915]
Jun 30 08:35:08 laptop kernel: [    5.246818]  [<f86bce7e>] ?
i915_gem_init+0xff/0x179 [i915]
Jun 30 08:35:08 laptop kernel: [    5.246924]  [<f87047d9>] ?
i915_driver_load+0x989/0xc1d [i915]
Jun 30 08:35:08 laptop kernel: [    5.246940]  [<c1267429>] ?
get_device+0x14/0x1d
Jun 30 08:35:08 laptop kernel: [    5.246955]  [<c1268832>] ?
device_add+0x3b7/0x4a9
Jun 30 08:35:08 laptop kernel: [    5.246996]  [<f8619c80>] ?
drm_minor_register+0x104/0x15c [drm]
Jun 30 08:35:08 laptop kernel: [    5.247033]  [<f8619d44>] ?
drm_dev_register+0x6c/0xce [drm]
Jun 30 08:35:08 laptop kernel: [    5.247072]  [<f861bbb4>] ?
drm_get_pci_dev+0xde/0x174 [drm]
Jun 30 08:35:08 laptop kernel: [    5.247088]  [<c11dcc58>] ?
local_pci_probe+0x33/0x6c
Jun 30 08:35:08 laptop kernel: [    5.247101]  [<c11dcd39>] ?
pci_device_probe+0xa8/0xca
Jun 30 08:35:08 laptop kernel: [    5.247115]  [<c126a75a>] ?
driver_probe_device+0xd3/0x225
Jun 30 08:35:08 laptop kernel: [    5.247128]  [<c126a8f8>] ?
__driver_attach+0x4c/0x68
Jun 30 08:35:08 laptop kernel: [    5.247141]  [<c1269260>] ?
bus_for_each_dev+0x41/0x6b
Jun 30 08:35:08 laptop kernel: [    5.247155]  [<c126a26c>] ?
driver_attach+0x19/0x1b
Jun 30 08:35:08 laptop kernel: [    5.247166]  [<c126a8ac>] ?
driver_probe_device+0x225/0x225
Jun 30 08:35:08 laptop kernel: [    5.247176]  [<c126a027>] ?
bus_add_driver+0xcf/0x192
Jun 30 08:35:08 laptop kernel: [    5.247184]  [<c126ae69>] ?
driver_register+0x73/0xa5
Jun 30 08:35:08 laptop kernel: [    5.247193]  [<f85ee000>] ? 0xf85edfff
Jun 30 08:35:08 laptop kernel: [    5.247200]  [<c100045e>] ?
do_one_initcall+0xe0/0x17a
Jun 30 08:35:08 laptop kernel: [    5.247209]  [<c10fadf8>] ?
__cache_free+0x369/0x371
Jun 30 08:35:08 laptop kernel: [    5.247216]  [<c10fadf8>] ?
__cache_free+0x369/0x371
Jun 30 08:35:08 laptop kernel: [    5.247223]  [<c1088e4d>] ?
load_module+0x11a5/0x14b6
Jun 30 08:35:08 laptop kernel: [    5.247230]  [<c1088e4d>] ?
load_module+0x11a5/0x14b6
Jun 30 08:35:08 laptop kernel: [    5.247238]  [<c1088e90>] ?
load_module+0x11e8/0x14b6
Jun 30 08:35:08 laptop kernel: [    5.247248]  [<c10891e4>] ?
SyS_init_module+0x86/0x9e
Jun 30 08:35:08 laptop kernel: [    5.247263]  [<c135d64f>] ?
sysenter_do_call+0x12/0x16
Jun 30 08:35:08 laptop kernel: [    5.247269] Code: e4 00 00 00 00 e8 b8
f9 ff ff 83 c4 0c 8d 65 f4 5b 5e 5f 5d c3 55 89 e5 66 66 66 66 90 31 d2
e8 5e fe ff ff 31 c0 5d c3 90 90 55 <2b> 80 8c 03 00 00 89 e5 3d 80 07
00 00 74 14 3d 40 0b 00 00 74
Jun 30 08:35:08 laptop kernel: [    5.247337] EIP: [<c10325d9>]
is_highmem+0x1/0x2b SS:ESP 0068:f3e89c04
Jun 30 08:35:08 laptop kernel: [    5.247354] CR2: 000000000000074c
Jun 30 08:35:08 laptop kernel: [    5.247364] ---[ end trace
f6bf47010230a3ea ]---
Jun 30 08:35:08 laptop kernel: [    5.249053] device: 'hwmon0': device_add

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc3 Oops: unable to handle kernel NULL pointer dereference at 0000074c
  2014-06-30  7:52                 ` [BUG] rc3 Oops: unable to handle kernel NULL pointer dereference at 0000074c Martin Kepplinger
@ 2014-06-30  8:18                   ` Zhang Rui
  2014-06-30  8:20                     ` Zhang Rui
  0 siblings, 1 reply; 16+ messages in thread
From: Zhang Rui @ 2014-06-30  8:18 UTC (permalink / raw)
  To: Martin Kepplinger; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

On Mon, 2014-06-30 at 09:52 +0200, Martin Kepplinger wrote:
> I now booted 3.16-rc3 and suddenly see an oops during boot:
> 
> the oops during boot: http://tny.cz/2301e393
> 	also below
> 
> lshw if interesting: http://tny.cz/3c9a7609
> 
> the full boot log: http://tny.cz/88260b19
> 
> does anyone have an idea?

what if you rebuild the kernel with CONFIG_SENSORS_CORETEMP=n?

thanks,
rui
>                            thanks
> 
> the oops:
> 
> Jun 30 08:35:08 laptop kernel: [    5.245811] bus: 'platform':
> really_probe: probing driver coretemp with device coretemp.0
> Jun 30 08:35:08 laptop kernel: [    5.246134] BUG: unable to handle
> kernel NULL pointer dereference at 0000074c
> Jun 30 08:35:08 laptop kernel: [    5.246145] IP: [<c10325d9>]
> is_highmem+0x1/0x2b
> Jun 30 08:35:08 laptop kernel: [    5.246158] *pdpt = 0000000033e49001
> *pde = 0000000000000000
> Jun 30 08:35:08 laptop kernel: [    5.246167] Oops: 0000 [#1] SMP
> Jun 30 08:35:08 laptop kernel: [    5.246175] Modules linked in:
> coretemp(+) kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_realtek
> snd_hda_codec_generic microcode snd_hda_intel i915(+) snd_hda_controller
> evdev psmouse snd_hda_codec serio_raw snd_hwdep snd_pcm iwlwifi i2c_i801
> lpc_ich mfd_core snd_seq drm_kms_helper snd_timer battery ehci_pci
> snd_seq_device drm cfg80211 ehci_hcd snd i2c_algo_bit ac video i2c_core
> rfkill soundcore wmi acpi_cpufreq button processor thermal_sys ext4
> crc16 jbd2 mbcache sg sd_mod crct10dif_generic crc_t10dif
> crct10dif_common ahci libahci crc32c_intel tg3 ptp libata pps_core
> sdhci_pci sdhci scsi_mod mmc_core libphy xhci_hcd usbcore usb_common
> Jun 30 08:35:08 laptop kernel: [    5.246320] CPU: 1 PID: 491 Comm:
> modprobe Not tainted 3.16.0-rc3 #83
> Jun 30 08:35:08 laptop kernel: [    5.246330] Hardware name: Acer
> TravelMate B113/BA10_HX           , BIOS V1.09 10/30/2012
> Jun 30 08:35:08 laptop kernel: [    5.246344] task: f3828a90 ti:
> f3e88000 task.ti: f3e88000
> Jun 30 08:35:08 laptop kernel: [    5.246355] EIP: 0060:[<c10325d9>]
> EFLAGS: 00010206 CPU: 1
> Jun 30 08:35:08 laptop kernel: [    5.246367] EIP is at is_highmem+0x1/0x2b
> Jun 30 08:35:08 laptop kernel: [    5.246376] EAX: 000003c0 EBX:
> ffb76000 ECX: 00000001 EDX: 000003c0
> Jun 30 08:35:08 laptop kernel: [    5.246386] ESI: f86cd279 EDI:
> 00000000 EBP: f3e89c10 ESP: f3e89c04
> Jun 30 08:35:08 laptop kernel: [    5.246396]  DS: 007b ES: 007b FS:
> 00d8 GS: 00e0 SS: 0068
> Jun 30 08:35:08 laptop kernel: [    5.246405] CR0: 80050033 CR2:
> 0000074c CR3: 2e3fc000 CR4: 000407f0
> Jun 30 08:35:08 laptop kernel: [    5.246414] Stack:
> Jun 30 08:35:08 laptop kernel: [    5.246421]  f3e89c10 c1032889
> f3cbcc60 f3e89c4c f86b52bf 00000005 00000000 00000448
> Jun 30 08:35:08 laptop kernel: [    5.246442]  f3e89c30 00000006
> 00165000 ffb76000 00000113 f870f010 ee881128 ee881128
> Jun 30 08:35:08 laptop kernel: [    5.246465]  00000001 f418b980
> f3e89c74 f86b4e5c 00000000 f3911e00 f3911e00 ee881128
> Jun 30 08:35:08 laptop kernel: [    5.246487] Call Trace:
> Jun 30 08:35:08 laptop kernel: [    5.246500]  [<c1032889>] ?
> kunmap+0x3b/0x4e
> Jun 30 08:35:08 laptop kernel: [    5.246578]  [<f86b52bf>] ?
> i915_gem_render_state_init+0x24f/0x28c [i915]
> Jun 30 08:35:08 laptop kernel: [    5.246634]  [<f86b4e5c>] ?
> i915_switch_context+0x348/0x387 [i915]
> Jun 30 08:35:08 laptop kernel: [    5.246684]  [<f86b4f0f>] ?
> i915_gem_context_enable+0x74/0x7c [i915]
> Jun 30 08:35:08 laptop kernel: [    5.246742]  [<f86bcd38>] ?
> i915_gem_init_hw+0x23e/0x285 [i915]
> Jun 30 08:35:08 laptop kernel: [    5.246818]  [<f86bce7e>] ?
> i915_gem_init+0xff/0x179 [i915]
> Jun 30 08:35:08 laptop kernel: [    5.246924]  [<f87047d9>] ?
> i915_driver_load+0x989/0xc1d [i915]
> Jun 30 08:35:08 laptop kernel: [    5.246940]  [<c1267429>] ?
> get_device+0x14/0x1d
> Jun 30 08:35:08 laptop kernel: [    5.246955]  [<c1268832>] ?
> device_add+0x3b7/0x4a9
> Jun 30 08:35:08 laptop kernel: [    5.246996]  [<f8619c80>] ?
> drm_minor_register+0x104/0x15c [drm]
> Jun 30 08:35:08 laptop kernel: [    5.247033]  [<f8619d44>] ?
> drm_dev_register+0x6c/0xce [drm]
> Jun 30 08:35:08 laptop kernel: [    5.247072]  [<f861bbb4>] ?
> drm_get_pci_dev+0xde/0x174 [drm]
> Jun 30 08:35:08 laptop kernel: [    5.247088]  [<c11dcc58>] ?
> local_pci_probe+0x33/0x6c
> Jun 30 08:35:08 laptop kernel: [    5.247101]  [<c11dcd39>] ?
> pci_device_probe+0xa8/0xca
> Jun 30 08:35:08 laptop kernel: [    5.247115]  [<c126a75a>] ?
> driver_probe_device+0xd3/0x225
> Jun 30 08:35:08 laptop kernel: [    5.247128]  [<c126a8f8>] ?
> __driver_attach+0x4c/0x68
> Jun 30 08:35:08 laptop kernel: [    5.247141]  [<c1269260>] ?
> bus_for_each_dev+0x41/0x6b
> Jun 30 08:35:08 laptop kernel: [    5.247155]  [<c126a26c>] ?
> driver_attach+0x19/0x1b
> Jun 30 08:35:08 laptop kernel: [    5.247166]  [<c126a8ac>] ?
> driver_probe_device+0x225/0x225
> Jun 30 08:35:08 laptop kernel: [    5.247176]  [<c126a027>] ?
> bus_add_driver+0xcf/0x192
> Jun 30 08:35:08 laptop kernel: [    5.247184]  [<c126ae69>] ?
> driver_register+0x73/0xa5
> Jun 30 08:35:08 laptop kernel: [    5.247193]  [<f85ee000>] ? 0xf85edfff
> Jun 30 08:35:08 laptop kernel: [    5.247200]  [<c100045e>] ?
> do_one_initcall+0xe0/0x17a
> Jun 30 08:35:08 laptop kernel: [    5.247209]  [<c10fadf8>] ?
> __cache_free+0x369/0x371
> Jun 30 08:35:08 laptop kernel: [    5.247216]  [<c10fadf8>] ?
> __cache_free+0x369/0x371
> Jun 30 08:35:08 laptop kernel: [    5.247223]  [<c1088e4d>] ?
> load_module+0x11a5/0x14b6
> Jun 30 08:35:08 laptop kernel: [    5.247230]  [<c1088e4d>] ?
> load_module+0x11a5/0x14b6
> Jun 30 08:35:08 laptop kernel: [    5.247238]  [<c1088e90>] ?
> load_module+0x11e8/0x14b6
> Jun 30 08:35:08 laptop kernel: [    5.247248]  [<c10891e4>] ?
> SyS_init_module+0x86/0x9e
> Jun 30 08:35:08 laptop kernel: [    5.247263]  [<c135d64f>] ?
> sysenter_do_call+0x12/0x16
> Jun 30 08:35:08 laptop kernel: [    5.247269] Code: e4 00 00 00 00 e8 b8
> f9 ff ff 83 c4 0c 8d 65 f4 5b 5e 5f 5d c3 55 89 e5 66 66 66 66 90 31 d2
> e8 5e fe ff ff 31 c0 5d c3 90 90 55 <2b> 80 8c 03 00 00 89 e5 3d 80 07
> 00 00 74 14 3d 40 0b 00 00 74
> Jun 30 08:35:08 laptop kernel: [    5.247337] EIP: [<c10325d9>]
> is_highmem+0x1/0x2b SS:ESP 0068:f3e89c04
> Jun 30 08:35:08 laptop kernel: [    5.247354] CR2: 000000000000074c
> Jun 30 08:35:08 laptop kernel: [    5.247364] ---[ end trace
> f6bf47010230a3ea ]---
> Jun 30 08:35:08 laptop kernel: [    5.249053] device: 'hwmon0': device_add



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc3 Oops: unable to handle kernel NULL pointer dereference at 0000074c
  2014-06-30  8:18                   ` Zhang Rui
@ 2014-06-30  8:20                     ` Zhang Rui
  2014-06-30  9:00                       ` Martin Kepplinger
  0 siblings, 1 reply; 16+ messages in thread
From: Zhang Rui @ 2014-06-30  8:20 UTC (permalink / raw)
  To: Martin Kepplinger; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

On Mon, 2014-06-30 at 16:18 +0800, Zhang Rui wrote:
> On Mon, 2014-06-30 at 09:52 +0200, Martin Kepplinger wrote:
> > I now booted 3.16-rc3 and suddenly see an oops during boot:
> > 
> > the oops during boot: http://tny.cz/2301e393
> > 	also below
> > 
> > lshw if interesting: http://tny.cz/3c9a7609
> > 
> > the full boot log: http://tny.cz/88260b19
> > 
> > does anyone have an idea?
> 
> what if you rebuild the kernel with CONFIG_SENSORS_CORETEMP=n?
> 
BTW, can this be 100% reproduced on a rc3 kernel?

thanks,
rui
> thanks,
> rui
> >                            thanks
> > 
> > the oops:
> > 
> > Jun 30 08:35:08 laptop kernel: [    5.245811] bus: 'platform':
> > really_probe: probing driver coretemp with device coretemp.0
> > Jun 30 08:35:08 laptop kernel: [    5.246134] BUG: unable to handle
> > kernel NULL pointer dereference at 0000074c
> > Jun 30 08:35:08 laptop kernel: [    5.246145] IP: [<c10325d9>]
> > is_highmem+0x1/0x2b
> > Jun 30 08:35:08 laptop kernel: [    5.246158] *pdpt = 0000000033e49001
> > *pde = 0000000000000000
> > Jun 30 08:35:08 laptop kernel: [    5.246167] Oops: 0000 [#1] SMP
> > Jun 30 08:35:08 laptop kernel: [    5.246175] Modules linked in:
> > coretemp(+) kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_realtek
> > snd_hda_codec_generic microcode snd_hda_intel i915(+) snd_hda_controller
> > evdev psmouse snd_hda_codec serio_raw snd_hwdep snd_pcm iwlwifi i2c_i801
> > lpc_ich mfd_core snd_seq drm_kms_helper snd_timer battery ehci_pci
> > snd_seq_device drm cfg80211 ehci_hcd snd i2c_algo_bit ac video i2c_core
> > rfkill soundcore wmi acpi_cpufreq button processor thermal_sys ext4
> > crc16 jbd2 mbcache sg sd_mod crct10dif_generic crc_t10dif
> > crct10dif_common ahci libahci crc32c_intel tg3 ptp libata pps_core
> > sdhci_pci sdhci scsi_mod mmc_core libphy xhci_hcd usbcore usb_common
> > Jun 30 08:35:08 laptop kernel: [    5.246320] CPU: 1 PID: 491 Comm:
> > modprobe Not tainted 3.16.0-rc3 #83
> > Jun 30 08:35:08 laptop kernel: [    5.246330] Hardware name: Acer
> > TravelMate B113/BA10_HX           , BIOS V1.09 10/30/2012
> > Jun 30 08:35:08 laptop kernel: [    5.246344] task: f3828a90 ti:
> > f3e88000 task.ti: f3e88000
> > Jun 30 08:35:08 laptop kernel: [    5.246355] EIP: 0060:[<c10325d9>]
> > EFLAGS: 00010206 CPU: 1
> > Jun 30 08:35:08 laptop kernel: [    5.246367] EIP is at is_highmem+0x1/0x2b
> > Jun 30 08:35:08 laptop kernel: [    5.246376] EAX: 000003c0 EBX:
> > ffb76000 ECX: 00000001 EDX: 000003c0
> > Jun 30 08:35:08 laptop kernel: [    5.246386] ESI: f86cd279 EDI:
> > 00000000 EBP: f3e89c10 ESP: f3e89c04
> > Jun 30 08:35:08 laptop kernel: [    5.246396]  DS: 007b ES: 007b FS:
> > 00d8 GS: 00e0 SS: 0068
> > Jun 30 08:35:08 laptop kernel: [    5.246405] CR0: 80050033 CR2:
> > 0000074c CR3: 2e3fc000 CR4: 000407f0
> > Jun 30 08:35:08 laptop kernel: [    5.246414] Stack:
> > Jun 30 08:35:08 laptop kernel: [    5.246421]  f3e89c10 c1032889
> > f3cbcc60 f3e89c4c f86b52bf 00000005 00000000 00000448
> > Jun 30 08:35:08 laptop kernel: [    5.246442]  f3e89c30 00000006
> > 00165000 ffb76000 00000113 f870f010 ee881128 ee881128
> > Jun 30 08:35:08 laptop kernel: [    5.246465]  00000001 f418b980
> > f3e89c74 f86b4e5c 00000000 f3911e00 f3911e00 ee881128
> > Jun 30 08:35:08 laptop kernel: [    5.246487] Call Trace:
> > Jun 30 08:35:08 laptop kernel: [    5.246500]  [<c1032889>] ?
> > kunmap+0x3b/0x4e
> > Jun 30 08:35:08 laptop kernel: [    5.246578]  [<f86b52bf>] ?
> > i915_gem_render_state_init+0x24f/0x28c [i915]
> > Jun 30 08:35:08 laptop kernel: [    5.246634]  [<f86b4e5c>] ?
> > i915_switch_context+0x348/0x387 [i915]
> > Jun 30 08:35:08 laptop kernel: [    5.246684]  [<f86b4f0f>] ?
> > i915_gem_context_enable+0x74/0x7c [i915]
> > Jun 30 08:35:08 laptop kernel: [    5.246742]  [<f86bcd38>] ?
> > i915_gem_init_hw+0x23e/0x285 [i915]
> > Jun 30 08:35:08 laptop kernel: [    5.246818]  [<f86bce7e>] ?
> > i915_gem_init+0xff/0x179 [i915]
> > Jun 30 08:35:08 laptop kernel: [    5.246924]  [<f87047d9>] ?
> > i915_driver_load+0x989/0xc1d [i915]
> > Jun 30 08:35:08 laptop kernel: [    5.246940]  [<c1267429>] ?
> > get_device+0x14/0x1d
> > Jun 30 08:35:08 laptop kernel: [    5.246955]  [<c1268832>] ?
> > device_add+0x3b7/0x4a9
> > Jun 30 08:35:08 laptop kernel: [    5.246996]  [<f8619c80>] ?
> > drm_minor_register+0x104/0x15c [drm]
> > Jun 30 08:35:08 laptop kernel: [    5.247033]  [<f8619d44>] ?
> > drm_dev_register+0x6c/0xce [drm]
> > Jun 30 08:35:08 laptop kernel: [    5.247072]  [<f861bbb4>] ?
> > drm_get_pci_dev+0xde/0x174 [drm]
> > Jun 30 08:35:08 laptop kernel: [    5.247088]  [<c11dcc58>] ?
> > local_pci_probe+0x33/0x6c
> > Jun 30 08:35:08 laptop kernel: [    5.247101]  [<c11dcd39>] ?
> > pci_device_probe+0xa8/0xca
> > Jun 30 08:35:08 laptop kernel: [    5.247115]  [<c126a75a>] ?
> > driver_probe_device+0xd3/0x225
> > Jun 30 08:35:08 laptop kernel: [    5.247128]  [<c126a8f8>] ?
> > __driver_attach+0x4c/0x68
> > Jun 30 08:35:08 laptop kernel: [    5.247141]  [<c1269260>] ?
> > bus_for_each_dev+0x41/0x6b
> > Jun 30 08:35:08 laptop kernel: [    5.247155]  [<c126a26c>] ?
> > driver_attach+0x19/0x1b
> > Jun 30 08:35:08 laptop kernel: [    5.247166]  [<c126a8ac>] ?
> > driver_probe_device+0x225/0x225
> > Jun 30 08:35:08 laptop kernel: [    5.247176]  [<c126a027>] ?
> > bus_add_driver+0xcf/0x192
> > Jun 30 08:35:08 laptop kernel: [    5.247184]  [<c126ae69>] ?
> > driver_register+0x73/0xa5
> > Jun 30 08:35:08 laptop kernel: [    5.247193]  [<f85ee000>] ? 0xf85edfff
> > Jun 30 08:35:08 laptop kernel: [    5.247200]  [<c100045e>] ?
> > do_one_initcall+0xe0/0x17a
> > Jun 30 08:35:08 laptop kernel: [    5.247209]  [<c10fadf8>] ?
> > __cache_free+0x369/0x371
> > Jun 30 08:35:08 laptop kernel: [    5.247216]  [<c10fadf8>] ?
> > __cache_free+0x369/0x371
> > Jun 30 08:35:08 laptop kernel: [    5.247223]  [<c1088e4d>] ?
> > load_module+0x11a5/0x14b6
> > Jun 30 08:35:08 laptop kernel: [    5.247230]  [<c1088e4d>] ?
> > load_module+0x11a5/0x14b6
> > Jun 30 08:35:08 laptop kernel: [    5.247238]  [<c1088e90>] ?
> > load_module+0x11e8/0x14b6
> > Jun 30 08:35:08 laptop kernel: [    5.247248]  [<c10891e4>] ?
> > SyS_init_module+0x86/0x9e
> > Jun 30 08:35:08 laptop kernel: [    5.247263]  [<c135d64f>] ?
> > sysenter_do_call+0x12/0x16
> > Jun 30 08:35:08 laptop kernel: [    5.247269] Code: e4 00 00 00 00 e8 b8
> > f9 ff ff 83 c4 0c 8d 65 f4 5b 5e 5f 5d c3 55 89 e5 66 66 66 66 90 31 d2
> > e8 5e fe ff ff 31 c0 5d c3 90 90 55 <2b> 80 8c 03 00 00 89 e5 3d 80 07
> > 00 00 74 14 3d 40 0b 00 00 74
> > Jun 30 08:35:08 laptop kernel: [    5.247337] EIP: [<c10325d9>]
> > is_highmem+0x1/0x2b SS:ESP 0068:f3e89c04
> > Jun 30 08:35:08 laptop kernel: [    5.247354] CR2: 000000000000074c
> > Jun 30 08:35:08 laptop kernel: [    5.247364] ---[ end trace
> > f6bf47010230a3ea ]---
> > Jun 30 08:35:08 laptop kernel: [    5.249053] device: 'hwmon0': device_add
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc3 Oops: unable to handle kernel NULL pointer dereference at 0000074c
  2014-06-30  8:20                     ` Zhang Rui
@ 2014-06-30  9:00                       ` Martin Kepplinger
  2014-06-30 10:39                         ` [BUG] rc1 rc2 rc3 not bootable - black screen after kernel loading Martin Kepplinger
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Kepplinger @ 2014-06-30  9:00 UTC (permalink / raw)
  To: Zhang Rui; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

Am 2014-06-30 10:20, schrieb Zhang Rui:
> On Mon, 2014-06-30 at 16:18 +0800, Zhang Rui wrote:
>> On Mon, 2014-06-30 at 09:52 +0200, Martin Kepplinger wrote:
>>> I now booted 3.16-rc3 and suddenly see an oops during boot:
>>>
>>> the oops during boot: http://tny.cz/2301e393
>>> 	also below
>>>
>>> lshw if interesting: http://tny.cz/3c9a7609
>>>
>>> the full boot log: http://tny.cz/88260b19
>>>
>>> does anyone have an idea?
>>
>> what if you rebuild the kernel with CONFIG_SENSORS_CORETEMP=n?
>>
> BTW, can this be 100% reproduced on a rc3 kernel?

no I can't -.- Booted again a few times, no oops now. just the black
screen as 'usual' for 3.16.

> 
> thanks,
> rui
>> thanks,
>> rui
>>>                            thanks
>>>
>>> the oops:
>>>
>>> Jun 30 08:35:08 laptop kernel: [    5.245811] bus: 'platform':
>>> really_probe: probing driver coretemp with device coretemp.0
>>> Jun 30 08:35:08 laptop kernel: [    5.246134] BUG: unable to handle
>>> kernel NULL pointer dereference at 0000074c
>>> Jun 30 08:35:08 laptop kernel: [    5.246145] IP: [<c10325d9>]
>>> is_highmem+0x1/0x2b
>>> Jun 30 08:35:08 laptop kernel: [    5.246158] *pdpt = 0000000033e49001
>>> *pde = 0000000000000000
>>> Jun 30 08:35:08 laptop kernel: [    5.246167] Oops: 0000 [#1] SMP
>>> Jun 30 08:35:08 laptop kernel: [    5.246175] Modules linked in:
>>> coretemp(+) kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_realtek
>>> snd_hda_codec_generic microcode snd_hda_intel i915(+) snd_hda_controller
>>> evdev psmouse snd_hda_codec serio_raw snd_hwdep snd_pcm iwlwifi i2c_i801
>>> lpc_ich mfd_core snd_seq drm_kms_helper snd_timer battery ehci_pci
>>> snd_seq_device drm cfg80211 ehci_hcd snd i2c_algo_bit ac video i2c_core
>>> rfkill soundcore wmi acpi_cpufreq button processor thermal_sys ext4
>>> crc16 jbd2 mbcache sg sd_mod crct10dif_generic crc_t10dif
>>> crct10dif_common ahci libahci crc32c_intel tg3 ptp libata pps_core
>>> sdhci_pci sdhci scsi_mod mmc_core libphy xhci_hcd usbcore usb_common
>>> Jun 30 08:35:08 laptop kernel: [    5.246320] CPU: 1 PID: 491 Comm:
>>> modprobe Not tainted 3.16.0-rc3 #83
>>> Jun 30 08:35:08 laptop kernel: [    5.246330] Hardware name: Acer
>>> TravelMate B113/BA10_HX           , BIOS V1.09 10/30/2012
>>> Jun 30 08:35:08 laptop kernel: [    5.246344] task: f3828a90 ti:
>>> f3e88000 task.ti: f3e88000
>>> Jun 30 08:35:08 laptop kernel: [    5.246355] EIP: 0060:[<c10325d9>]
>>> EFLAGS: 00010206 CPU: 1
>>> Jun 30 08:35:08 laptop kernel: [    5.246367] EIP is at is_highmem+0x1/0x2b
>>> Jun 30 08:35:08 laptop kernel: [    5.246376] EAX: 000003c0 EBX:
>>> ffb76000 ECX: 00000001 EDX: 000003c0
>>> Jun 30 08:35:08 laptop kernel: [    5.246386] ESI: f86cd279 EDI:
>>> 00000000 EBP: f3e89c10 ESP: f3e89c04
>>> Jun 30 08:35:08 laptop kernel: [    5.246396]  DS: 007b ES: 007b FS:
>>> 00d8 GS: 00e0 SS: 0068
>>> Jun 30 08:35:08 laptop kernel: [    5.246405] CR0: 80050033 CR2:
>>> 0000074c CR3: 2e3fc000 CR4: 000407f0
>>> Jun 30 08:35:08 laptop kernel: [    5.246414] Stack:
>>> Jun 30 08:35:08 laptop kernel: [    5.246421]  f3e89c10 c1032889
>>> f3cbcc60 f3e89c4c f86b52bf 00000005 00000000 00000448
>>> Jun 30 08:35:08 laptop kernel: [    5.246442]  f3e89c30 00000006
>>> 00165000 ffb76000 00000113 f870f010 ee881128 ee881128
>>> Jun 30 08:35:08 laptop kernel: [    5.246465]  00000001 f418b980
>>> f3e89c74 f86b4e5c 00000000 f3911e00 f3911e00 ee881128
>>> Jun 30 08:35:08 laptop kernel: [    5.246487] Call Trace:
>>> Jun 30 08:35:08 laptop kernel: [    5.246500]  [<c1032889>] ?
>>> kunmap+0x3b/0x4e
>>> Jun 30 08:35:08 laptop kernel: [    5.246578]  [<f86b52bf>] ?
>>> i915_gem_render_state_init+0x24f/0x28c [i915]
>>> Jun 30 08:35:08 laptop kernel: [    5.246634]  [<f86b4e5c>] ?
>>> i915_switch_context+0x348/0x387 [i915]
>>> Jun 30 08:35:08 laptop kernel: [    5.246684]  [<f86b4f0f>] ?
>>> i915_gem_context_enable+0x74/0x7c [i915]
>>> Jun 30 08:35:08 laptop kernel: [    5.246742]  [<f86bcd38>] ?
>>> i915_gem_init_hw+0x23e/0x285 [i915]
>>> Jun 30 08:35:08 laptop kernel: [    5.246818]  [<f86bce7e>] ?
>>> i915_gem_init+0xff/0x179 [i915]
>>> Jun 30 08:35:08 laptop kernel: [    5.246924]  [<f87047d9>] ?
>>> i915_driver_load+0x989/0xc1d [i915]
>>> Jun 30 08:35:08 laptop kernel: [    5.246940]  [<c1267429>] ?
>>> get_device+0x14/0x1d
>>> Jun 30 08:35:08 laptop kernel: [    5.246955]  [<c1268832>] ?
>>> device_add+0x3b7/0x4a9
>>> Jun 30 08:35:08 laptop kernel: [    5.246996]  [<f8619c80>] ?
>>> drm_minor_register+0x104/0x15c [drm]
>>> Jun 30 08:35:08 laptop kernel: [    5.247033]  [<f8619d44>] ?
>>> drm_dev_register+0x6c/0xce [drm]
>>> Jun 30 08:35:08 laptop kernel: [    5.247072]  [<f861bbb4>] ?
>>> drm_get_pci_dev+0xde/0x174 [drm]
>>> Jun 30 08:35:08 laptop kernel: [    5.247088]  [<c11dcc58>] ?
>>> local_pci_probe+0x33/0x6c
>>> Jun 30 08:35:08 laptop kernel: [    5.247101]  [<c11dcd39>] ?
>>> pci_device_probe+0xa8/0xca
>>> Jun 30 08:35:08 laptop kernel: [    5.247115]  [<c126a75a>] ?
>>> driver_probe_device+0xd3/0x225
>>> Jun 30 08:35:08 laptop kernel: [    5.247128]  [<c126a8f8>] ?
>>> __driver_attach+0x4c/0x68
>>> Jun 30 08:35:08 laptop kernel: [    5.247141]  [<c1269260>] ?
>>> bus_for_each_dev+0x41/0x6b
>>> Jun 30 08:35:08 laptop kernel: [    5.247155]  [<c126a26c>] ?
>>> driver_attach+0x19/0x1b
>>> Jun 30 08:35:08 laptop kernel: [    5.247166]  [<c126a8ac>] ?
>>> driver_probe_device+0x225/0x225
>>> Jun 30 08:35:08 laptop kernel: [    5.247176]  [<c126a027>] ?
>>> bus_add_driver+0xcf/0x192
>>> Jun 30 08:35:08 laptop kernel: [    5.247184]  [<c126ae69>] ?
>>> driver_register+0x73/0xa5
>>> Jun 30 08:35:08 laptop kernel: [    5.247193]  [<f85ee000>] ? 0xf85edfff
>>> Jun 30 08:35:08 laptop kernel: [    5.247200]  [<c100045e>] ?
>>> do_one_initcall+0xe0/0x17a
>>> Jun 30 08:35:08 laptop kernel: [    5.247209]  [<c10fadf8>] ?
>>> __cache_free+0x369/0x371
>>> Jun 30 08:35:08 laptop kernel: [    5.247216]  [<c10fadf8>] ?
>>> __cache_free+0x369/0x371
>>> Jun 30 08:35:08 laptop kernel: [    5.247223]  [<c1088e4d>] ?
>>> load_module+0x11a5/0x14b6
>>> Jun 30 08:35:08 laptop kernel: [    5.247230]  [<c1088e4d>] ?
>>> load_module+0x11a5/0x14b6
>>> Jun 30 08:35:08 laptop kernel: [    5.247238]  [<c1088e90>] ?
>>> load_module+0x11e8/0x14b6
>>> Jun 30 08:35:08 laptop kernel: [    5.247248]  [<c10891e4>] ?
>>> SyS_init_module+0x86/0x9e
>>> Jun 30 08:35:08 laptop kernel: [    5.247263]  [<c135d64f>] ?
>>> sysenter_do_call+0x12/0x16
>>> Jun 30 08:35:08 laptop kernel: [    5.247269] Code: e4 00 00 00 00 e8 b8
>>> f9 ff ff 83 c4 0c 8d 65 f4 5b 5e 5f 5d c3 55 89 e5 66 66 66 66 90 31 d2
>>> e8 5e fe ff ff 31 c0 5d c3 90 90 55 <2b> 80 8c 03 00 00 89 e5 3d 80 07
>>> 00 00 74 14 3d 40 0b 00 00 74
>>> Jun 30 08:35:08 laptop kernel: [    5.247337] EIP: [<c10325d9>]
>>> is_highmem+0x1/0x2b SS:ESP 0068:f3e89c04
>>> Jun 30 08:35:08 laptop kernel: [    5.247354] CR2: 000000000000074c
>>> Jun 30 08:35:08 laptop kernel: [    5.247364] ---[ end trace
>>> f6bf47010230a3ea ]---
>>> Jun 30 08:35:08 laptop kernel: [    5.249053] device: 'hwmon0': device_add
>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc1 rc2 rc3 not bootable - black screen after kernel loading
  2014-06-30  9:00                       ` Martin Kepplinger
@ 2014-06-30 10:39                         ` Martin Kepplinger
  2014-07-24 16:18                           ` Martin Kepplinger
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Kepplinger @ 2014-06-30 10:39 UTC (permalink / raw)
  To: Zhang Rui; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

back to aaeb2554337217dfa4eac2fcc90da7be540b9a73 as the first bad
commit. why is this not revertable exactly? how can I show a complete
list of commits this merge introduces?

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc1 rc2 rc3 not bootable - black screen after kernel loading
  2014-06-30 10:39                         ` [BUG] rc1 rc2 rc3 not bootable - black screen after kernel loading Martin Kepplinger
@ 2014-07-24 16:18                           ` Martin Kepplinger
  2014-07-24 22:26                             ` Woody Suwalski
                                               ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Martin Kepplinger @ 2014-07-24 16:18 UTC (permalink / raw)
  To: Zhang Rui; +Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

Am 2014-06-30 12:39, schrieb Martin Kepplinger:
> back to aaeb2554337217dfa4eac2fcc90da7be540b9a73 as the first bad
> commit. why is this not revertable exactly? how can I show a complete
> list of commits this merge introduces?
> 

It seems that _nobody_ is running a simple 32 bit i915 (acer) laptop.
rc6 is still unusable. Black screen directly after kernel-loading. no
change since rc1.

Seems like I won't be able to use 3.16. I'm happy to test patches and am
happy for any advice what to do, when time permits.

                             martin

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc1 rc2 rc3 not bootable - black screen after kernel loading
  2014-07-24 16:18                           ` Martin Kepplinger
@ 2014-07-24 22:26                             ` Woody Suwalski
  2014-07-24 23:20                             ` Hugh Dickins
  2014-07-25  1:57                             ` Felix Miata
  2 siblings, 0 replies; 16+ messages in thread
From: Woody Suwalski @ 2014-07-24 22:26 UTC (permalink / raw)
  To: Martin Kepplinger, Zhang Rui
  Cc: rjw, lenb, linux-acpi, linux-kernel, linux-media

Martin Kepplinger wrote:
> Am 2014-06-30 12:39, schrieb Martin Kepplinger:
>> back to aaeb2554337217dfa4eac2fcc90da7be540b9a73 as the first bad
>> commit. why is this not revertable exactly? how can I show a complete
>> list of commits this merge introduces?
>>
> It seems that _nobody_ is running a simple 32 bit i915 (acer) laptop.
> rc6 is still unusable. Black screen directly after kernel-loading. no
> change since rc1.
>
> Seems like I won't be able to use 3.16. I'm happy to test patches and am
> happy for any advice what to do, when time permits.
>
>                               martin
>
Martin, I am running happily a 32-bit kernel 3.16-rc*all on i915 (Asus 
EeePC)
However: from your postings I still have no idea what Intel video 
chipset is in your Acer.
Try to add "nomodeset=y" to your kernel's cmdline to verify that it can 
boot. You have many kobject messages which are hiding what is 
happening... And please submit at least full dmesg output and "lspci 
-nn" ;-)

Woody

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc1 rc2 rc3 not bootable - black screen after kernel loading
  2014-07-24 16:18                           ` Martin Kepplinger
  2014-07-24 22:26                             ` Woody Suwalski
@ 2014-07-24 23:20                             ` Hugh Dickins
  2014-07-25  1:57                             ` Felix Miata
  2 siblings, 0 replies; 16+ messages in thread
From: Hugh Dickins @ 2014-07-24 23:20 UTC (permalink / raw)
  To: Martin Kepplinger
  Cc: Daniel Vetter, Zhang Rui, rjw, lenb, linux-acpi, linux-kernel,
	linux-media

On Thu, 24 Jul 2014, Martin Kepplinger wrote:
> Am 2014-06-30 12:39, schrieb Martin Kepplinger:
> > back to aaeb2554337217dfa4eac2fcc90da7be540b9a73 as the first bad
> > commit. why is this not revertable exactly? how can I show a complete
> > list of commits this merge introduces?
> > 
> 
> It seems that _nobody_ is running a simple 32 bit i915 (acer) laptop.
> rc6 is still unusable. Black screen directly after kernel-loading. no
> change since rc1.
> 
> Seems like I won't be able to use 3.16. I'm happy to test patches and am
> happy for any advice what to do, when time permits.

Martin, I know nothing about aaeb25543372 and why it should be relevant,
but if you're having rc1..rc6 32-bit i915 black screens, please try this
patch that Daniel Vetter put in his fixes queue on Monday, which I'm
hoping will reach Linus for -rc7.

Hugh

[PATCH] drm/i915: fix freeze with blank screen booting highmem

x86_64 boots and displays fine, but booting x86_32 with CONFIG_HIGHMEM
has frozen with a blank screen throughout 3.16-rc on this ThinkPad T420s,
with i915 generation 6 graphics.

Fix 9d0a6fa6c5e6 ("drm/i915: add render state initialization"): kunmap()
takes struct page * argument, not virtual address.  Which the compiler
kindly points out, if you use the appropriate u32 *batch, instead of
silencing it with a void *.

Why did bisection lead decisively to nearby 229b0489aa75 ("drm/i915:
add null render states for gen6, gen7 and gen8")?  Because the u32
deposited at that virtual address by the previous stub failed the
PageHighMem test, and so caused no harm.

Signed-off-by: Hugh Dickins <hughd@google.com>
---

 drivers/gpu/drm/i915/i915_gem_render_state.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- 3.16-rc/drivers/gpu/drm/i915/i915_gem_render_state.c	2014-06-16 00:28:52.384076465 -0700
+++ linux/drivers/gpu/drm/i915/i915_gem_render_state.c	2014-07-21 20:10:03.824481521 -0700
@@ -31,7 +31,7 @@
 struct i915_render_state {
 	struct drm_i915_gem_object *obj;
 	unsigned long ggtt_offset;
-	void *batch;
+	u32 *batch;
 	u32 size;
 	u32 len;
 };
@@ -80,7 +80,7 @@ free:
 
 static void render_state_free(struct i915_render_state *so)
 {
-	kunmap(so->batch);
+	kunmap(kmap_to_page(so->batch));
 	i915_gem_object_ggtt_unpin(so->obj);
 	drm_gem_object_unreference(&so->obj->base);
 	kfree(so);

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [BUG] rc1 rc2 rc3 not bootable - black screen after kernel loading
  2014-07-24 16:18                           ` Martin Kepplinger
  2014-07-24 22:26                             ` Woody Suwalski
  2014-07-24 23:20                             ` Hugh Dickins
@ 2014-07-25  1:57                             ` Felix Miata
  2 siblings, 0 replies; 16+ messages in thread
From: Felix Miata @ 2014-07-25  1:57 UTC (permalink / raw)
  To: Martin Kepplinger, intel-gfx-bounces, linux-media

On 2014-07-24 18:18 (GMT+0200) Martin Kepplinger composed:

> schrieb Martin Kepplinger:

>> back to aaeb2554337217dfa4eac2fcc90da7be540b9a73 as the first bad
>> commit. why is this not revertable exactly? how can I show a complete
>> list of commits this merge introduces?

> It seems that _nobody_ is running a simple 32 bit i915 (acer) laptop.
> rc6 is still unusable. Black screen directly after kernel-loading. no
> change since rc1.
 
> Seems like I won't be able to use 3.16. I'm happy to test patches and am
> happy for any advice what to do, when time permits.
 
I keep seeing this thread's post come to me via the linux-media@vger.kernel.org
list with a bucketload of CCs, but don't know why. Is this a problem exclusive
to laptops? I have 32 bit 3.16rc6 working on a i915G desktop just fine NAICT
with KDE3 booting multi-user and running startx:

gx280:~ $ grep 'using VT' /var/log/Xorg.0.log
[   354.196] (--) using VT number 7
gx280:~ $ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller (rev 04)
gx280:~ $ grep PRETTY /etc/os-release
PRETTY_NAME="openSUSE 20140721 (Harlequin) (i586)"
gx280:~ $ grep 'X.Org X Server' /var/log/Xorg.0.log
X.Org X Server 1.16.0
gx280:~ $ grep 'Current Operating System' /var/log/Xorg.0.log
[   354.177] Current Operating System: Linux gx280 3.16.0-rc6-1.ga0523f2-desktop #1 SMP PREEMPT Mon Jul 21 13:03:47 UTC 2014 (a0523f2) i686
gx280:~ $ grep 'Kernel Command Line' /var/log/Xorg.0.log
[   354.177] Kernel command line: root=LABEL=os132p20 ipv6.disable=1 noresume splash=verbose vga=791 video=1024x768@60 3
gx280:~ $ grep Output /var/log/Xorg.0.log | egrep -v 'disconnec|no monit' | grep -v 'nitor sect'
[   354.209] (--) intel(0): Output VGA1 using initial mode 1024x768 on pipe 0
gx280:~ $ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep DisplaySize
gx280:~ $ grep -v ^\# /etc/X11/xorg.conf | grep DisplaySize
grep: /etc/X11/xorg.conf: No such file or directory
gx280:~ $ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep PreferredMode
gx280:~ $ grep -v ^\# /etc/X11/xorg.conf | grep PreferredMode
grep: /etc/X11/xorg.conf: No such file or directory
gx280:~ $ grep -v ^\# /etc/X11/xinit/xinitrd.d/setup | grep xrandr
xrandr --dpi 120 --fb 1920x1200 --output VGA1 --mode 1600x1200 --panning 1920x1200 # intel analog
gx280:~ $ xrdb -query | grep dpi
gx280:~ $ xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
VGA1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 388mm x 291mm panning 1920x1200+0+0
Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 32767 x 32767
   1600x1200     85.00*   75.00    70.00    65.00    60.00
gx280:~ $ xdpyinfo | egrep 'dimen|ution'
  dimensions:    1920x1200 pixels (406x253 millimeters)
  resolution:    120x120 dots per inch

with KDE4 booting multi-user and running startx:
[   426.397] (++) using VT number 3
gx280:~ $ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller (rev 04)
gx280:~ $ grep PRETTY /etc/os-release
PRETTY_NAME="Fedora 22 (Rawhide)"
gx280:~ $ grep 'X.Org X Server' /var/log/Xorg.0.log
X.Org X Server 1.15.99.904 (1.16.0 RC 4)
gx280:~ $ grep 'Current Operating System' /var/log/Xorg.0.log
[   425.910] Current Operating System: Linux gx280 3.16.0-0.rc6.git1.1.fc22.i686+PAE #1 SMP Tue Jul 22 13:57:53 UTC 2014 i686
gx280:~ $ grep 'Kernel Command Line' /var/log/Xorg.0.log
[   425.910] Kernel command line: root=LABEL=f22p22 ipv6.disable=1 net.ifnames=0 selinux=0 noplymouth noresume splash=verbose vga=791 video=1024x768@60 3
gx280:~ $ grep Output /var/log/Xorg.0.log | egrep -v 'disconnec|no monit' | grep -v 'nitor sect'
[   426.428] (--) intel(0): Output VGA1 using initial mode 1024x768 on pipe 0
gx280:~ $ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep DisplaySize
 DisplaySize    380 238 # 096 DPI @ 1440x0900
gx280:~ $ grep -v ^\# /etc/X11/xorg.conf | grep DisplaySize
grep: /etc/X11/xorg.conf: No such file or directory
gx280:~ $ grep -v ^\# /etc/X11/xorg.conf.d/50-monitor.conf | grep PreferredMode
gx280:~ $ grep -v ^\# /etc/X11/xorg.conf | grep PreferredMode
grep: /etc/X11/xorg.conf: No such file or directory
gx280:~ $ grep -v ^\# /etc/X11/xinit/xinitrd.d/setup | grep xrandr
xrandr --dpi 120 --output VGA1 --mode 1600x1200 # intel analog
gx280:~ $ xrdb -query | grep dpi
gx280:~ $ xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
VGA1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 388mm x 291mm
Screen 0: minimum 8 x 8, current 1600 x 1200, maximum 32767 x 32767
   1600x1200     85.00*   75.00    70.00    65.00    60.00
gx280:~ $ xdpyinfo | egrep 'dimen|ution'
  dimensions:    1600x1200 pixels (338x253 millimeters)
  resolution:    120x120 dots per inch

No unexpected black screens here.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-07-25  2:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <53A6E72A.9090000@posteo.de>
     [not found] ` <744357E9AAD1214791ACBA4B0B90926301379B97@SHSMSX101.ccr.corp.intel.com>
2014-06-23 12:22   ` [BUG] rc1 and rc2: Laptop unusable: on boot,screen black instead of native resolution Martin Kepplinger
2014-06-23 13:14     ` Zhang Rui
2014-06-23 14:46       ` Martin Kepplinger
2014-06-27 15:14         ` Zhang Rui
2014-06-27 18:09           ` Martin Kepplinger
2014-06-27 19:51             ` Martin Kepplinger
2014-06-27 22:14               ` Martin Kepplinger
2014-06-30  7:52                 ` [BUG] rc3 Oops: unable to handle kernel NULL pointer dereference at 0000074c Martin Kepplinger
2014-06-30  8:18                   ` Zhang Rui
2014-06-30  8:20                     ` Zhang Rui
2014-06-30  9:00                       ` Martin Kepplinger
2014-06-30 10:39                         ` [BUG] rc1 rc2 rc3 not bootable - black screen after kernel loading Martin Kepplinger
2014-07-24 16:18                           ` Martin Kepplinger
2014-07-24 22:26                             ` Woody Suwalski
2014-07-24 23:20                             ` Hugh Dickins
2014-07-25  1:57                             ` Felix Miata

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).