From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99147] New: xorg hangs at initial startup on linux-4.9.0 Date: Mon, 19 Dec 2016 19:48:55 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0598888248==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0598888248== Content-Type: multipart/alternative; boundary="14821769351.82cAF85.31872"; charset="UTF-8" --14821769351.82cAF85.31872 Date: Mon, 19 Dec 2016 19:48:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99147 Bug ID: 99147 Summary: xorg hangs at initial startup on linux-4.9.0 Product: xorg Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Reporter: gleb-97jfqw80gc5Wk0Htik3J/w@public.gmane.org QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org Created attachment 128563 --> https://bugs.freedesktop.org/attachment.cgi?id=3D128563&action=3Dedit nouveau The issue start to appear after upgrading to Kernel 4.9.0. Before that, on 4.8.14 everything seems to be fine. I have Lenovo B560 laptop with Intel Core i5 560M and Iron Lake GPU, Nvidia 310M, so it's an Optimus laptop. I have external monitor connected to HDMI port. Components when the probelm could be reproduced: - gentoo almost stable - mesa 12.0.1 or 13.0.2; - libdrm 2.4.68 or 2.4.73 - xorg 1.18.4 or 1.19.0 - intel xf86 driver snapshot or modesetting driver - nouveau 1.0.12 or 1.0.13 - libinput 1.5.3, libevdev 1.5.2 - xfce, polkit, consolekit, dbus, etc. So just after all services started and lightdm expected to appear with login screen, instead I can only see console login screen and nothing appears on = tty7 also. Xorg.log.0 shows no errors, dmesg is also empy (even with debug level 4). I can't reboot system after that as Xorg has red D symbol and cannot be kille= d, so SysRq is used. I blacklisted nouveau driver and it helped, so I can boot to the system normally and after that I can load the nouveau module manually and even res= tart Xorg. Xorg.log.0 hangs on the following item: [ 14.361] (II) xfree86: Adding drm device (/dev/dri/card1) syslog kernel with nouveau filtered (only one time I enabled debug level wh= en the I had the problem). --=20 You are receiving this mail because: You are the assignee for the bug.= --14821769351.82cAF85.31872 Date: Mon, 19 Dec 2016 19:48:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 99147
Summary xorg hangs at initial startup on linux-4.9.0
Product xorg
Version unspecified
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Driver/nouveau
Assignee nouveau@lists.freedesktop.org
Reporter gleb@fastmail.com
QA Contact xorg-team@lists.x.org

Created attachment 128563 [details]<=
/a>
nouveau

The issue start to appear after upgrading to Kernel 4.9.0. Before that, on
4.8.14 everything seems to be fine.

I have Lenovo B560 laptop with Intel Core i5 560M and Iron Lake GPU, Nvidia
310M, so it's an Optimus laptop. I have external monitor connected to HDMI
port.

Components when the probelm could be reproduced:
- gentoo almost stable
- mesa 12.0.1 or 13.0.2;
- libdrm 2.4.68 or 2.4.73
- xorg 1.18.4 or 1.19.0
- intel xf86 driver snapshot or modesetting driver
- nouveau 1.0.12 or 1.0.13
- libinput 1.5.3, libevdev 1.5.2
- xfce, polkit, consolekit, dbus, etc.


So just after all services started and lightdm expected to appear with login
screen, instead I can only see console login screen and nothing appears on =
tty7
also.

Xorg.log.0 shows no errors, dmesg is also empy (even with debug level 4). I
can't reboot system after that as Xorg has red D symbol and cannot be kille=
d,
so SysRq is used.

I blacklisted nouveau driver and it helped, so I can boot to the system
normally and after that I can load the nouveau module manually and even res=
tart
Xorg.

Xorg.log.0 hangs on the following item:
[    14.361] (II) xfree86: Adding drm device (/dev/dri/card1)

syslog kernel with nouveau filtered (only one time I enabled debug level wh=
en
the I had the problem).


You are receiving this mail because:
  • You are the assignee for the bug.
= --14821769351.82cAF85.31872-- --===============0598888248== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0598888248==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99147] xorg hangs at initial startup on linux-4.9.0 Date: Mon, 19 Dec 2016 19:49:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1621888488==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1621888488== Content-Type: multipart/alternative; boundary="14821769821.dF052E6.31958"; charset="UTF-8" --14821769821.dF052E6.31958 Date: Mon, 19 Dec 2016 19:49:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99147 --- Comment #1 from Gleb --- Created attachment 128564 --> https://bugs.freedesktop.org/attachment.cgi?id=3D128564&action=3Dedit kernel syslog --=20 You are receiving this mail because: You are the assignee for the bug.= --14821769821.dF052E6.31958 Date: Mon, 19 Dec 2016 19:49:42 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 1 on bug 99147<= /a> from Gleb
Created attachment 128564 
References: 
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1517887905=="
Return-path: 
In-Reply-To: 
List-Unsubscribe: ,
 
List-Archive: 
List-Post: 
List-Help: 
List-Subscribe: ,
 
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Sender: "Nouveau" 
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org


--===============1517887905==
Content-Type: multipart/alternative; boundary="14821777181.caed.32500";
 charset="UTF-8"


--14821777181.caed.32500
Date: Mon, 19 Dec 2016 20:01:58 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated

https://bugs.freedesktop.org/show_bug.cgi?id=3D99147

--- Comment #2 from Karol Herbst  ---
does booting with nouveau not blacklisted and with "nouveau.runpm=3D0" help?

--=20
You are receiving this mail because:
You are the assignee for the bug.=

--14821777181.caed.32500
Date: Mon, 19 Dec 2016 20:01:58 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated


    
      
    
    
      

Comment= # 2 on bug 99147<= /a> from Karol Herbst
does booting with nouveau not blacklisted and with "nouve=
au.runpm=3D0" help?


You are receiving this mail because:
  • You are the assignee for the bug.
= --14821777181.caed.32500-- --===============1517887905== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1517887905==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99147] xorg hangs at initial startup on linux-4.9.0 Date: Mon, 19 Dec 2016 20:12:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1077143912==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1077143912== Content-Type: multipart/alternative; boundary="14821783741.FffEE.842"; charset="UTF-8" --14821783741.FffEE.842 Date: Mon, 19 Dec 2016 20:12:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99147 --- Comment #3 from Gleb --- Yes, kernel boots with this option. The only disadvantage is that in this c= ase nvidia GPU will always stay powered on, probably could be solved with bbswi= tch. --=20 You are receiving this mail because: You are the assignee for the bug.= --14821783741.FffEE.842 Date: Mon, 19 Dec 2016 20:12:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 3 on bug 99147<= /a> from Gleb
Yes, kernel boots with this option. The only disadvantage is t=
hat in this case
nvidia GPU will always stay powered on, probably could be solved with bbswi=
tch.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14821783741.FffEE.842-- --===============1077143912== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1077143912==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99147] xorg hangs at initial startup on linux-4.9.0 Date: Mon, 19 Dec 2016 21:34:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1546895797==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1546895797== Content-Type: multipart/alternative; boundary="14821832801.40941228f.7204"; charset="UTF-8" --14821832801.40941228f.7204 Date: Mon, 19 Dec 2016 21:34:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99147 --- Comment #4 from Karol Herbst --- (In reply to Gleb from comment #3) > Yes, kernel boots with this option. The only disadvantage is that in this > case nvidia GPU will always stay powered on, probably could be solved with > bbswitch. bbswitch won't help if nouveau is loaded. If this is indeed a regression in 4.9, could you try and bisect this? --=20 You are receiving this mail because: You are the assignee for the bug.= --14821832801.40941228f.7204 Date: Mon, 19 Dec 2016 21:34:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 4 on bug 99147<= /a> from Karol Herbst
(In reply to Gleb from =
comment #3)
> Yes, kernel boots with this option. The only dis=
advantage is that in this
> case nvidia GPU will always stay powered on, probably could be solved =
with
> bbswitch.

bbswitch won't help if nouveau is loaded.

If this is indeed a regression in 4.9, could you try and bisect this?


You are receiving this mail because:
  • You are the assignee for the bug.
= --14821832801.40941228f.7204-- --===============1546895797== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1546895797==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99147] xorg hangs at initial startup on linux-4.9.0 Date: Mon, 19 Dec 2016 21:58:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0392913402==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0392913402== Content-Type: multipart/alternative; boundary="14821846961.FdF36C51.8531"; charset="UTF-8" --14821846961.FdF36C51.8531 Date: Mon, 19 Dec 2016 21:58:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99147 --- Comment #5 from Gleb --- Well, I may need some guide or a at least some sort of explanation (probably short) what to do as this is completely new for me. Will this guide work for this task? https://wiki.gentoo.org/wiki/Kernel_git-bisect --=20 You are receiving this mail because: You are the assignee for the bug.= --14821846961.FdF36C51.8531 Date: Mon, 19 Dec 2016 21:58:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 5 on bug 99147<= /a> from Gleb
Well, I may need some guide or a at least some sort of explana=
tion (probably
short) what to do as this is completely new for me. Will this guide work for
this task?
https://wiki.gen=
too.org/wiki/Kernel_git-bisect


You are receiving this mail because:
  • You are the assignee for the bug.
= --14821846961.FdF36C51.8531-- --===============0392913402== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0392913402==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99147] xorg hangs at initial startup on linux-4.9.0 Date: Mon, 19 Dec 2016 22:02:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0177079140==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0177079140== Content-Type: multipart/alternative; boundary="14821849761.bc5e1a.9186"; charset="UTF-8" --14821849761.bc5e1a.9186 Date: Mon, 19 Dec 2016 22:02:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99147 --- Comment #6 from Peter Wu --- Nothing unusual in logs. Can you reproduce the lockup issue if you boot to a console (disable sddm), then invoke "lspci", wait for at least 5 seconds, t= hen repeat "lspci" again? (Have a look at dmesg for unusual messages.) If lspci hangs, then there is a problem (and hopefully dmesg is more helpfu= l). Can you also confirm that downgrading just the kernel (while keeping the re= st of userspace the same) makes the problem disappear? --=20 You are receiving this mail because: You are the assignee for the bug.= --14821849761.bc5e1a.9186 Date: Mon, 19 Dec 2016 22:02:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 6 on bug 99147<= /a> from Peter Wu
Nothing unusual in logs. Can you reproduce the lockup issue if=
 you boot to a
console (disable sddm), then invoke "lspci", wait for at least 5 =
seconds, then
repeat "lspci" again? (Have a look at dmesg for unusual messages.)

If lspci hangs, then there is a problem (and hopefully dmesg is more helpfu=
l).
Can you also confirm that downgrading just the kernel (while keeping the re=
st
of userspace the same) makes the problem disappear?


You are receiving this mail because:
  • You are the assignee for the bug.
= --14821849761.bc5e1a.9186-- --===============0177079140== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0177079140==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99147] xorg hangs at initial startup on linux-4.9.0 Date: Mon, 19 Dec 2016 22:33:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1402776270==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1402776270== Content-Type: multipart/alternative; boundary="14821867790.2F8eC6d0f.10800"; charset="UTF-8" --14821867790.2F8eC6d0f.10800 Date: Mon, 19 Dec 2016 22:32:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99147 --- Comment #7 from Gleb --- lspci doesn't hang when I invoke it from console. I also tried startx and startxfce4 from console and it worked, so it probably some other thing? I can confirm that the issue occured on 4.9.0 and did not occur on 4.8.14 on the same userspace stuff. I only started upgrading it after multiple unseccessfull reboots into 4.9.0. So I had stable stuff, tested 4.8.14 (no problem) and 4.9.0 (problem persist). Then upgraded stuff, tested on 4.8.14= (no problem) and 4.9.0 (problem persist). I also recompiled 4.9.0 at some point before testing lspci (but not specifically for that, I will try to revert the changes) so that it includes nouveau into kernel and not as a module, though it still have the same issu= e. Does it matter in what form nouveau is presented? I want to clarify that the only process that hangs is Xorg (and probably another which I noticed right now -- libvirtd, it also has red D symbol). T= he system continue to work, I have access to console and can run stuff from th= ere. --=20 You are receiving this mail because: You are the assignee for the bug.= --14821867790.2F8eC6d0f.10800 Date: Mon, 19 Dec 2016 22:32:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 7 on bug 99147<= /a> from Gleb
lspci doesn't hang when I invoke it from console. I also tried=
 startx and
startxfce4 from console and it worked, so it probably some other thing?


I can confirm that the issue occured on 4.9.0 and did not occur on 4.8.14 on
the same userspace stuff. I only started upgrading it after multiple
unseccessfull reboots into 4.9.0. So I had stable stuff, tested 4.8.14 (no
problem) and 4.9.0 (problem persist). Then upgraded stuff, tested on 4.8.14=
 (no
problem) and 4.9.0 (problem persist).


I also recompiled 4.9.0 at some point before testing lspci (but not
specifically for that, I will try to revert the changes) so that it includes
nouveau into kernel and not as a module, though it still have the same issu=
e.
Does it matter in what form nouveau is presented?


I want to clarify that the only process that hangs is Xorg (and probably
another which I noticed right now -- libvirtd, it also has red D symbol). T=
he
system continue to work, I have access to console and can run stuff from th=
ere.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14821867790.2F8eC6d0f.10800-- --===============1402776270== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1402776270==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99147] xorg hangs at initial startup on linux-4.9.0 Date: Tue, 20 Dec 2016 14:17:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0448549503==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0448549503== Content-Type: multipart/alternative; boundary="14822434741.fcAe8c.3818"; charset="UTF-8" --14822434741.fcAe8c.3818 Date: Tue, 20 Dec 2016 14:17:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99147 --- Comment #8 from Gleb --- Created attachment 128590 --> https://bugs.freedesktop.org/attachment.cgi?id=3D128590&action=3Dedit 1st attempt: before lscpi TL;DR `lspci` hangs on first invocation I tried few more things, step by step: 1) removed kernel 4.9.0, modules, config, etc 2) tried 4.8.15 -- everything is fine, no hanging 3) installed 4.9.0 from scratch: - redownloaded sources (gentoo-sources) - copied old config from 4.8.{14,15}, so nouveau built as external module - make silentoldconfig, for everything new I just press - built, installed the kernel as did it before with the same steps Conclusion: - 4.8.14 -- OK - 4.8.15 -- OK - 4.9.0 -- fail (xorg hangs) Then I tired suggested steps: - disabled xdm, system boots to text console - in 2nd attempt additionally disabled libvirtd In both cases `lspci` just hangs without any output with red D status. At f= irst attempt libvirtd also was with red D status, at second there wasn't libvirtd started. Userspace stuff with for all actions was the same: - mesa-13.0.2 - libdrm-2.4.74 - xorg-1.19.0 - xf86-video-intel (snapshot from 12 December 2016) - xf86-video-nouveau-1.0.13 - libinput-1.5.3 - libevdev 1.5.2 dmesg attached, with "drm.debug=3D0x1e log_buf_len=3D1M", two attemps with = 2 log files (before invoking lspci and after). --=20 You are receiving this mail because: You are the assignee for the bug.= --14822434741.fcAe8c.3818 Date: Tue, 20 Dec 2016 14:17:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 8 on bug 99147<= /a> from Gleb
Created attachment 128=
590 [details]
1st attempt: before lscpi

TL;DR `lspci` hangs on first invocation

I tried few more things, step by step:
1) removed kernel 4.9.0, modules, config, etc
2) tried 4.8.15 -- everything is fine, no hanging
3) installed 4.9.0 from scratch:
- redownloaded sources (gentoo-sources)
- copied old config from 4.8.{14,15}, so nouveau built as external module
- make silentoldconfig, for everything new I just press <enter>
- built, installed the kernel as did it before with the same steps

Conclusion:
- 4.8.14 -- OK
- 4.8.15 -- OK
- 4.9.0 -- fail (xorg hangs)

Then I tired suggested steps:
- disabled xdm, system boots to text console
- in 2nd attempt additionally disabled libvirtd

In both cases `lspci` just hangs without any output with red D status. At f=
irst
attempt libvirtd also was with red D status, at second there wasn't libvirtd
started.

Userspace stuff with for all actions was the same:
- mesa-13.0.2
- libdrm-2.4.74
- xorg-1.19.0
- xf86-video-intel (snapshot from 12 December 2016)
- xf86-video-nouveau-1.0.13
- libinput-1.5.3
- libevdev 1.5.2

dmesg attached, with "drm.debug=3D0x1e log_buf_len=3D1M", two att=
emps with 2 log
files (before invoking lspci and after).


You are receiving this mail because:
  • You are the assignee for the bug.
= --14822434741.fcAe8c.3818-- --===============0448549503== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0448549503==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99147] xorg hangs at initial startup on linux-4.9.0 Date: Tue, 20 Dec 2016 14:18:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0877604559==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0877604559== Content-Type: multipart/alternative; boundary="14822435321.Bce6.3785"; charset="UTF-8" --14822435321.Bce6.3785 Date: Tue, 20 Dec 2016 14:18:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99147 --- Comment #9 from Gleb --- Created attachment 128591 --> https://bugs.freedesktop.org/attachment.cgi?id=3D128591&action=3Dedit 1st attempt: after lscpi I think those logs will be enough. If necessary I can attach more, but I th= ink that 2nd attempt looks the same. --=20 You are receiving this mail because: You are the assignee for the bug.= --14822435321.Bce6.3785 Date: Tue, 20 Dec 2016 14:18:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 9 on bug 99147<= /a> from Gleb
Created attachment 1285=
91 [details]
1st attempt: after lscpi

I think those logs will be enough. If necessary I can attach more, but I th=
ink
that 2nd attempt looks the same.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14822435321.Bce6.3785-- --===============0877604559== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0877604559==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99147] xorg hangs at initial startup on linux-4.9.0 Date: Wed, 21 Dec 2016 14:57:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0538283604==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0538283604== Content-Type: multipart/alternative; boundary="14823322401.9B2FB3.11613"; charset="UTF-8" --14823322401.9B2FB3.11613 Date: Wed, 21 Dec 2016 14:57:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99147 Gleb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gleb-97jfqw80gc5Wk0Htik3J/w@public.gmane.org --- Comment #10 from Gleb --- Created attachment 128607 --> https://bugs.freedesktop.org/attachment.cgi?id=3D128607&action=3Dedit bisect.log So I bisected a kernel and come to the same conclusin as in this bug https://bugs.freedesktop.org/show_bug.cgi?id=3D98690 bisect.log attached. I assume that this bug probably can be closed as dupli= cate and I can move to the previous one? --=20 You are receiving this mail because: You are the assignee for the bug.= --14823322401.9B2FB3.11613 Date: Wed, 21 Dec 2016 14:57:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Gleb changed bug 99147<= /a>
What Removed Added
CC   gleb@fastmail.com

Commen= t # 10 on bug 99147<= /a> from Gleb
Created attachment 128607 [det=
ails]
bisect.log

So I bisected a kernel and come to the same conclusin as in this bug
https://bugs.freedesktop.org/show_bug.c=
gi?id=3D98690

bisect.log attached. I assume that this bug probably can be closed as dupli=
cate
and I can move to the previous one?


You are receiving this mail because:
  • You are the assignee for the bug.
= --14823322401.9B2FB3.11613-- --===============0538283604== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0538283604==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 99147] xorg hangs at initial startup on linux-4.9.0 Date: Mon, 30 Jan 2017 14:17:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0166808366==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0166808366== Content-Type: multipart/alternative; boundary="14857858550.378EeDD1A.16634"; charset="UTF-8" --14857858550.378EeDD1A.16634 Date: Mon, 30 Jan 2017 14:17:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99147 Peter Wu changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE CC| |peter-VTkQYDcBqhK7DlmcbJSQ7g@public.gmane.org Status|NEW |RESOLVED --- Comment #11 from Peter Wu --- Seems related indeed, marking as dup. *** This bug has been marked as a duplicate of bug 98690 *** --=20 You are receiving this mail because: You are the assignee for the bug.= --14857858550.378EeDD1A.16634 Date: Mon, 30 Jan 2017 14:17:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Peter Wu changed bug 99147<= /a>
What Removed Added
Resolution --- DUPLICATE
CC   peter@lekensteyn.nl
Status NEW RESOLVED

Commen= t # 11 on bug 99147<= /a> from Peter Wu
Seems related indeed, marking as dup.

*** This bug has been marked as a duplicate of bug 98690 ***


You are receiving this mail because:
  • You are the assignee for the bug.
= --14857858550.378EeDD1A.16634-- --===============0166808366== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0166808366==--