I met same panic too, and enabled lockdep in kernel 4.19.67, the log is:

[17672.449102] RIP: 0033:0x7ff5680c4437
[17672.449643] Code: 00 00 90 48 8b 05 59 aa 0c 00 64 c7 00 26 00 00 00 48 c7 
c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 29 aa 0c 00 f7 d8 64 89 01 48
[17672.452380] RSP: 002b:00007ffcf6fa8a38 EFLAGS: 00003246 ORIG_RAX: 
0000000000000010
[17672.453502] RAX: 0000000000000000 RBX: 00007ffcf6fa8da0 RCX: 00007ff5680c4437
[17672.454558] RDX: 00007ffcf6fa8ab0 RSI: 0000000040106442 RDI: 000000000000000e
[17672.455613] RBP: 00007ffcf6fa8ab0 R08: 000000000000000e R09: 0000000100311000
[17672.456667] R10: 0000000000000001 R11: 0000000000003246 R12: 0000000040106442
[17672.457731] R13: 000000000000000e R14: 0000000000000000 R15: 0000000000000000

[17672.459051] ================================================
[17672.459901] WARNING: lock held when returning to user space!
[17672.460762] 4.19.67 #6 Tainted: G            E
[17672.461630] ------------------------------------------------
[17672.462475] Xorg/2857 is leaving the kernel with locks still held!
[17672.463394] 2 locks held by Xorg/2857:
[17672.463960]  #0: 0000000092bc956a (reservation_ww_class_acquire){+.+.}, at: 
qxl_release_reserve_list+0x63/0x150 [qxl]
[17672.465532]  #1: 0000000014261f9b (reservation_ww_class_mutex){+.+.}, at: 
ttm_eu_reserve_buffers+0x3c1/0x5c0 [ttm]


So it should be not release ww lock when exit, after parse, it's corresponding 
to ww_mutex_lock_slow_interruptible in ttm_eu_reserve_buffers. I review 
ttm_eu_reserve_buffers and qxl_release_reserve_list in the matser kernel 5.10, 
the function logic is still same, so I beleive this issue should still exist in 
kernel tip code.

-- 
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/1813620

Title:
  Xorg indefinitely hangs in kernelspace at least 2-3 times a day

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The graphical environment seems to hang when scrolling web pages in
  Firefox. Can't reliably reproduce during every scrolling, but it has
  happened at least 5 times in the past 7 days. Happens in Kubuntu VM-s
  running under KVM and QEMU (3.1.0) on multiple host machines.

  This issue only started to happen sometime this month. First these
  VM-s were running 18.04 so I was hoping that updating them to 18.10
  would help, but it didn't. I'm guessing that some kernel update for
  both bionic and cosmic causes this.

  Since this bug causes the graphical environment to become totally
  unresponsive, this has already already cost me some lost data, but
  very fortunately not much.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-13-generic 4.18.0-13.14
  ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17
  Uname: Linux 4.18.0-13-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  jotik      1962 F.... pulseaudio
  Date: Mon Jan 28 18:09:57 2019
  HibernationDevice: RESUME=UUID=9dfc65ab-a122-4254-8806-a580fea3c953
  InstallationDate: Installed on 2015-10-18 (1197 days ago)
  InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
  Lsusb:
   Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
  ProcFB: 0 qxldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-13-generic 
root=UUID=78ee528a-a065-4522-b2ca-a1959850a740 ro console=ttyS0 verbose
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-13-generic N/A
   linux-backports-modules-4.18.0-13-generic  N/A
   linux-firmware                             1.175.1
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: Upgraded to cosmic on 2019-01-20 (7 days ago)
  dmi.bios.date: 04/01/2014
  dmi.bios.vendor: SeaBIOS
  dmi.bios.version: 1.11.0-20180624_124920-prayer
  dmi.chassis.type: 1
  dmi.chassis.vendor: QEMU
  dmi.chassis.version: pc-i440fx-2.3
  dmi.modalias: 
dmi:bvnSeaBIOS:bvr1.11.0-20180624_124920-prayer:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-2.3:cvnQEMU:ct1:cvrpc-i440fx-2.3:
  dmi.product.name: Standard PC (i440FX + PIIX, 1996)
  dmi.product.version: pc-i440fx-2.3
  dmi.sys.vendor: QEMU
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu27.1
  Architecture: amd64
  DistroRelease: Ubuntu 19.04
  InstallationDate: Installed on 2015-10-18 (1387 days ago)
  InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  Package: linux (not installed)
  Tags:  disco
  Uname: Linux 5.2.0-050200rc1-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to disco on 2019-04-16 (112 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1813620/+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

Reply via email to