[Kernel-packages] [Bug 1583817] Re: WARNING: CPU: 1 PID: 865 at /home/kernel/COD/linux/drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x1b0/0x1c0 [drm]

2016-09-26 Thread Giorgio Vazzana
Hello, I am also affected by this bug (Ubuntu 16.04 x86_64, Thinkpad
T420). Is anybody working at bisecting the kernel as Christopher asked
in the previous comment? Thanks.

holden@lynx:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

holden@lynx:~$ uname -a
Linux lynx 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 
x86_64 x86_64 GNU/Linux

Sep 23 00:33:20 lynx kernel: [ 965.988645] [ cut here ]
Sep 23 00:33:20 lynx kernel: [ 965.988696] WARNING: CPU: 2 PID: 1328 at 
/build/linux-R0TiM8/linux-4.4.0/drivers/gpu/drm/drm_irq.c:1326 
drm_wait_one_vblank+0x1b5/0x1c0 [drm]()
Sep 23 00:33:20 lynx kernel: [ 965.988698] vblank wait timed out on crtc 0
Sep 23 00:33:20 lynx kernel: [ 965.988771] Modules linked in: nls_iso8859_1 
drbg ansi_cprng ctr ccm bnep intel_rapl x86_pkg_temp_thermal intel_powerclamp 
coretemp kvm_intel arc4 snd_hda_codec_hdmi kvm snd_hda_codec_conexant irqbypass 
iwldvm crct10dif_pclmul crc32_pclmul snd_hda_codec_generic mac80211 
snd_hda_intel snd_hda_codec uvcvideo aesni_intel videobuf2_vmalloc 
videobuf2_memops videobuf2_v4l2 videobuf2_core aes_x86_64 v4l2_common 
snd_hda_core lrw snd_hwdep gf128mul videodev glue_helper media ablk_helper 
thinkpad_acpi cryptd nvram snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi 
iwlwifi snd_seq btusb input_leds joydev btrtl btbcm btintel snd_seq_device 
cfg80211 bluetooth snd_timer snd soundcore mei_me mei lpc_ich serio_raw shpchp 
mac_hid parport_pc ppdev lp parport autofs4 mmc_block i915 i2c_algo_bit 
drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops e1000e drm 
firewire_ohci ahci psmouse sdhci_pci ptp sdhci pps_core libahci firewire_core 
crc_itu_t wmi fjes video
Sep 23 00:33:20 lynx kernel: [ 965.988793] CPU: 2 PID: 1328 Comm: Xorg Not 
tainted 4.4.0-38-generic #57-Ubuntu
Sep 23 00:33:20 lynx kernel: [ 965.988795] Hardware name: LENOVO 
4236BE3/4236BE3, BIOS 83ET78WW (1.48 ) 01/21/2016
Sep 23 00:33:20 lynx kernel: [ 965.988802] 0286 b106ac7e 
8802137af860 813f1b73
Sep 23 00:33:20 lynx kernel: [ 965.988805] 8802137af8a8 c010ab38 
8802137af898 810811c2
Sep 23 00:33:20 lynx kernel: [ 965.988809] 880035847000  
 e240
Sep 23 00:33:20 lynx kernel: [ 965.988810] Call Trace:
Sep 23 00:33:20 lynx kernel: [ 965.988824] [] 
dump_stack+0x63/0x90
Sep 23 00:33:20 lynx kernel: [ 965.988833] [] 
warn_slowpath_common+0x82/0xc0
Sep 23 00:33:20 lynx kernel: [ 965.988837] [] 
warn_slowpath_fmt+0x5c/0x80
Sep 23 00:33:20 lynx kernel: [ 965.988846] [] ? 
finish_wait+0x55/0x70
Sep 23 00:33:20 lynx kernel: [ 965.988877] [] 
drm_wait_one_vblank+0x1b5/0x1c0 [drm]
Sep 23 00:33:20 lynx kernel: [ 965.92] [] ? 
wake_atomic_t_function+0x60/0x60
Sep 23 00:33:20 lynx kernel: [ 965.988959] [] 
intel_atomic_commit+0x43a/0x6f0 [i915]
Sep 23 00:33:20 lynx kernel: [ 965.989001] [] ? 
drm_atomic_add_affected_connectors+0x27/0xf0 [drm]
Sep 23 00:33:20 lynx kernel: [ 965.989039] [] 
drm_atomic_commit+0x37/0x60 [drm]
Sep 23 00:33:20 lynx kernel: [ 965.989063] [] 
restore_fbdev_mode+0x22f/0x260 [drm_kms_helper]
Sep 23 00:33:20 lynx kernel: [ 965.989100] [] ? 
drm_modeset_lock_all_ctx+0x9a/0xb0 [drm]
Sep 23 00:33:20 lynx kernel: [ 965.989120] [] 
drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80 [drm_kms_helper]
Sep 23 00:33:20 lynx kernel: [ 965.989136] [] 
drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper]
Sep 23 00:33:20 lynx kernel: [ 965.989200] [] 
intel_fbdev_set_par+0x1a/0x60 [i915]
Sep 23 00:33:20 lynx kernel: [ 965.989208] [] 
fb_set_var+0x236/0x460
Sep 23 00:33:20 lynx kernel: [ 965.989216] [] ? 
__enqueue_entity+0x6c/0x70
Sep 23 00:33:20 lynx kernel: [ 965.989220] [] ? 
enqueue_entity+0x3a7/0xc70
Sep 23 00:33:20 lynx kernel: [ 965.989226] [] ? 
select_idle_sibling+0xef/0x120
Sep 23 00:33:20 lynx kernel: [ 965.989233] [] 
fbcon_blank+0x30f/0x350
Sep 23 00:33:20 lynx kernel: [ 965.989241] [] 
do_unblank_screen+0xd3/0x1a0
Sep 23 00:33:20 lynx kernel: [ 965.989247] [] 
vt_ioctl+0x50a/0x12f0
Sep 23 00:33:20 lynx kernel: [ 965.989253] [] ? 
ext4_free_inode+0x251/0x660
Sep 23 00:33:20 lynx kernel: [ 965.989260] [] 
tty_ioctl+0x35f/0xc40
Sep 23 00:33:20 lynx kernel: [ 965.989267] [] ? 
call_rcu_sched+0x17/0x20
Sep 23 00:33:20 lynx kernel: [ 965.989275] [] ? 
ext4_destroy_inode+0x3b/0xa0
Sep 23 00:33:20 lynx kernel: [ 965.989283] [] ? 
__fsnotify_inode_delete+0x1c/0x20
Sep 23 00:33:20 lynx kernel: [ 965.989291] [] ? 
destroy_inode+0x38/0x60
Sep 23 00:33:20 lynx kernel: [ 965.989295] [] ? 
evict+0x12d/0x190
Sep 23 00:33:20 lynx kernel: [ 965.989299] [] 
do_vfs_ioctl+0x29f/0x490
Sep 23 00:33:20 lynx kernel: [ 965.989305] [] ? 
do_unlinkat+0xe9/0x2d0
Sep 23 00:33:20 lynx kernel: [ 965.989308] [] 
SyS_ioctl+0x79/0x90
Sep 23 00:33:20 lynx kernel: [ 965.989316] [] 
entry_SYSCALL_64_fastpath+0x16/0x71
Sep 23 00:33:20 lynx kernel: [ 965.989320] ---[ 

[Kernel-packages] [Bug 1580697] Re: Kernel freezes after drm_wait_one_vblank timed out

2016-09-26 Thread Giorgio Vazzana
This may be a duplicate of
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583817

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1580697

Title:
  Kernel freezes after drm_wait_one_vblank timed out

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Using kernel 4.4.0 from Ubuntu GNOME 16.04 I get a lot of warnings
  'drm_wait_one_vblank timed out' while booting and every time when I
  switch user or session via Alt-Fn. Example logs will be attached, I
  used this for saving the log:

  journalctl -b --system --no-pager |tee bootlog-$(uname
  -r)-$(lsb_release -sr)

  I suspect this may be related to some of my problems (slow switch,
  freeze, wrong VT: Alt-Fn6 roots to tty3) when switching virtual
  terminal.

  I see these messages on 16.04 or 14.04 when using kernel 4.4.0-21-generic, 
4.4.0-22-generic or mainline kernel 4.4.0-040400-generic or 
4.5.2-040502-generic, but mainline kernel 4.3.6-040306-generic does not throw 
this message and there are no problems with 4.3.6 while switching VT.
  --- 
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  k2 1475 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=8e0701ee-0c76-4396-bdd9-f406da205c7b
  InstallationDate: Installed on 2016-03-31 (41 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Beta i386 
(20160323.1)
  MachineType: FUJITSU SIEMENS LIFEBOOK E8310
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic 
root=UUID=5811fae8-2bd0-46c0-a1b3-4bd8b9f2c821 ro
  ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-22-generic N/A
   linux-backports-modules-4.4.0-22-generic  N/A
   linux-firmware1.157
  RfKill:
   0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
  Tags:  xenial
  Uname: Linux 4.4.0-22-generic i686
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/27/2007
  dmi.bios.vendor: FUJITSU // Phoenix Technologies Ltd.
  dmi.bios.version: Version 1.10
  dmi.board.name: FJNB1CE
  dmi.board.vendor: FUJITSU
  dmi.board.version: 1PCP331350-03
  dmi.chassis.type: 10
  dmi.chassis.vendor: FUJITSU SIEMENS
  dmi.chassis.version: E8310
  dmi.modalias: 
dmi:bvnFUJITSU//PhoenixTechnologiesLtd.:bvrVersion1.10:bd12/27/2007:svnFUJITSUSIEMENS:pnLIFEBOOKE8310:pvr:rvnFUJITSU:rnFJNB1CE:rvr1PCP331350-03:cvnFUJITSUSIEMENS:ct10:cvrE8310:
  dmi.product.name: LIFEBOOK E8310
  dmi.sys.vendor: FUJITSU SIEMENS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1580697/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1542939] Re: system freeze after vt switching

2016-09-24 Thread Giorgio Vazzana
Hello, I see that the problem is still present on Ubuntu 16.04 x86_64 on
my Thinkpad T420. Can anybody confirm that? Also, what's the easiest
workaround at the moment? Thanks.

holden@lynx:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 16.04.1 LTS
Release:16.04
Codename:   xenial

holden@lynx:~$ uname -a
Linux lynx 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 
x86_64 x86_64 GNU/Linux

Sep 23 00:33:20 lynx kernel: [  965.988645] [ cut here ]
Sep 23 00:33:20 lynx kernel: [  965.988696] WARNING: CPU: 2 PID: 1328 at 
/build/linux-R0TiM8/linux-4.4.0/drivers/gpu/drm/drm_irq.c:1326 
drm_wait_one_vblank+0x1b5/0x1c0 [drm]()
Sep 23 00:33:20 lynx kernel: [  965.988698] vblank wait timed out on crtc 0
Sep 23 00:33:20 lynx kernel: [  965.988771] Modules linked in: nls_iso8859_1 
drbg ansi_cprng ctr ccm bnep intel_rapl x86_pkg_temp_thermal intel_powerclamp 
coretemp kvm_intel arc4 snd_hda_codec_hdmi kvm snd_hda_codec_conexant irqbypass 
iwldvm crct10dif_pclmul crc32_pclmul snd_hda_codec_generic mac80211 
snd_hda_intel snd_hda_codec uvcvideo aesni_intel videobuf2_vmalloc 
videobuf2_memops videobuf2_v4l2 videobuf2_core aes_x86_64 v4l2_common 
snd_hda_core lrw snd_hwdep gf128mul videodev glue_helper media ablk_helper 
thinkpad_acpi cryptd nvram snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi 
iwlwifi snd_seq btusb input_leds joydev btrtl btbcm btintel snd_seq_device 
cfg80211 bluetooth snd_timer snd soundcore mei_me mei lpc_ich serio_raw shpchp 
mac_hid parport_pc ppdev lp parport autofs4 mmc_block i915 i2c_algo_bit 
drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops e1000e drm 
firewire_ohci ahci psmouse sdhci_pci ptp sdhci pps_core libahci firewire_core 
crc_itu_t wmi fjes video
Sep 23 00:33:20 lynx kernel: [  965.988793] CPU: 2 PID: 1328 Comm: Xorg Not 
tainted 4.4.0-38-generic #57-Ubuntu
Sep 23 00:33:20 lynx kernel: [  965.988795] Hardware name: LENOVO 
4236BE3/4236BE3, BIOS 83ET78WW (1.48 ) 01/21/2016
Sep 23 00:33:20 lynx kernel: [  965.988802]  0286 b106ac7e 
8802137af860 813f1b73
Sep 23 00:33:20 lynx kernel: [  965.988805]  8802137af8a8 c010ab38 
8802137af898 810811c2
Sep 23 00:33:20 lynx kernel: [  965.988809]  880035847000  
 e240
Sep 23 00:33:20 lynx kernel: [  965.988810] Call Trace:
Sep 23 00:33:20 lynx kernel: [  965.988824]  [] 
dump_stack+0x63/0x90
Sep 23 00:33:20 lynx kernel: [  965.988833]  [] 
warn_slowpath_common+0x82/0xc0
Sep 23 00:33:20 lynx kernel: [  965.988837]  [] 
warn_slowpath_fmt+0x5c/0x80
Sep 23 00:33:20 lynx kernel: [  965.988846]  [] ? 
finish_wait+0x55/0x70
Sep 23 00:33:20 lynx kernel: [  965.988877]  [] 
drm_wait_one_vblank+0x1b5/0x1c0 [drm]
Sep 23 00:33:20 lynx kernel: [  965.92]  [] ? 
wake_atomic_t_function+0x60/0x60
Sep 23 00:33:20 lynx kernel: [  965.988959]  [] 
intel_atomic_commit+0x43a/0x6f0 [i915]
Sep 23 00:33:20 lynx kernel: [  965.989001]  [] ? 
drm_atomic_add_affected_connectors+0x27/0xf0 [drm]
Sep 23 00:33:20 lynx kernel: [  965.989039]  [] 
drm_atomic_commit+0x37/0x60 [drm]
Sep 23 00:33:20 lynx kernel: [  965.989063]  [] 
restore_fbdev_mode+0x22f/0x260 [drm_kms_helper]
Sep 23 00:33:20 lynx kernel: [  965.989100]  [] ? 
drm_modeset_lock_all_ctx+0x9a/0xb0 [drm]
Sep 23 00:33:20 lynx kernel: [  965.989120]  [] 
drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80 [drm_kms_helper]
Sep 23 00:33:20 lynx kernel: [  965.989136]  [] 
drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper]
Sep 23 00:33:20 lynx kernel: [  965.989200]  [] 
intel_fbdev_set_par+0x1a/0x60 [i915]
Sep 23 00:33:20 lynx kernel: [  965.989208]  [] 
fb_set_var+0x236/0x460
Sep 23 00:33:20 lynx kernel: [  965.989216]  [] ? 
__enqueue_entity+0x6c/0x70
Sep 23 00:33:20 lynx kernel: [  965.989220]  [] ? 
enqueue_entity+0x3a7/0xc70
Sep 23 00:33:20 lynx kernel: [  965.989226]  [] ? 
select_idle_sibling+0xef/0x120
Sep 23 00:33:20 lynx kernel: [  965.989233]  [] 
fbcon_blank+0x30f/0x350
Sep 23 00:33:20 lynx kernel: [  965.989241]  [] 
do_unblank_screen+0xd3/0x1a0
Sep 23 00:33:20 lynx kernel: [  965.989247]  [] 
vt_ioctl+0x50a/0x12f0
Sep 23 00:33:20 lynx kernel: [  965.989253]  [] ? 
ext4_free_inode+0x251/0x660
Sep 23 00:33:20 lynx kernel: [  965.989260]  [] 
tty_ioctl+0x35f/0xc40
Sep 23 00:33:20 lynx kernel: [  965.989267]  [] ? 
call_rcu_sched+0x17/0x20
Sep 23 00:33:20 lynx kernel: [  965.989275]  [] ? 
ext4_destroy_inode+0x3b/0xa0
Sep 23 00:33:20 lynx kernel: [  965.989283]  [] ? 
__fsnotify_inode_delete+0x1c/0x20
Sep 23 00:33:20 lynx kernel: [  965.989291]  [] ? 
destroy_inode+0x38/0x60
Sep 23 00:33:20 lynx kernel: [  965.989295]  [] ? 
evict+0x12d/0x190
Sep 23 00:33:20 lynx kernel: [  965.989299]  [] 
do_vfs_ioctl+0x29f/0x490
Sep 23 00:33:20 lynx kernel: [  965.989305]  [] ? 
do_unlinkat+0xe9/0x2d0
Sep 23 00:33:20 lynx kernel: [  965.989308]  [] 
SyS_ioctl+0x79/0x90
Sep 23 00:33:20 lynx kernel: [