ls command hangs after I pause the destination folder

I have two instances of RHEL 7 Linux, machine 1 and machine 2. Machine 2 has a folder that is mounted to a remote folder from machine 1. It is done with command: mount -t cifs -o user=aaa,pass=password //machine 1's ip/SrcFolder/. This works fine but however when I pause machine 1 then if I issue a command such as ls it would hang in machine 2. If I unpause machine 1 then everything is back to normal. I am suspecting that whatever the daemon running mount is hold on to the file system resource which prevent other i/o operation to complete? Is there a way so the client can detect right away?

Can’t apt-get upgrade or install, dkpg –configure -a hangs at “Setting up open-iscsi”

I’ve been unable to upgrade or install packages for a few months. Whenever I use an apt-get command, it tells me dpkg was interrupted. When I run the command it suggests, it hangs at “Setting up open-iscsi”

{ 15:29 ☀ } ~ ➭ sudo apt-get install aria2 E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. { 15:29 ☀ } ~ ➭ sudo dpkg --configure -a Processing triggers for ufw (0.35-5) ... Setting up python3-apt (1.6.3) ... Setting up curl (7.58.0-2ubuntu3.5) ... Setting up grub-pc (2.02-2ubuntu8.9) ... Installing for i386-pc platform. Installation finished. No error reported. Installing for i386-pc platform. Installation finished. No error reported. Installing for i386-pc platform. Installation finished. No error reported. Installing for i386-pc platform. Installation finished. No error reported. Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.15.0-36-generic Found initrd image: /boot/initrd.img-4.15.0-36-generic Found linux image: /boot/vmlinuz-4.15.0-34-generic Found initrd image: /boot/initrd.img-4.15.0-34-generic done Processing triggers for initramfs-tools (0.130ubuntu3.5) ... update-initramfs: Not updating initramfs. Setting up open-iscsi (2.0.874-5ubuntu2.4) ... 

If you hit ctrl+C at this point, the process continues with an error at the end:

^Cdpkg: error processing package open-iscsi (--configure):  installed open-iscsi package post-installation script subprocess was interrupted Setting up qemu-utils (1:2.11+dfsg-1ubuntu7.9) ... Setting up perl (5.26.1-6ubuntu0.3) ... Setting up python3-problem-report (2.20.9-0ubuntu7.5) ... Setting up libisccfg160:amd64 (1:9.11.3+dfsg-1ubuntu1.3) ... Setting up libcupsimage2:amd64 (2.2.7-1ubuntu2.2) ... Setting up libvirt-daemon (4.0.0-1ubuntu8.6) ... Setting up openssh-sftp-server (1:7.6p1-4ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up sosreport (3.6-1ubuntu0.18.04.2) ... Setting up libpython2.7:amd64 (2.7.15~rc1-1ubuntu0.1) ... Setting up unattended-upgrades (1.1ubuntu1.18.04.7) ... Setting up nginx-core (1.14.0-0ubuntu1.2) ... Setting up python3-gdbm:amd64 (3.6.7-1~18.04) ... Setting up python3-software-properties (0.96.24.32.6) ... Setting up libpython2.7-dev:amd64 (2.7.15~rc1-1ubuntu0.1) ... Setting up libvirt-clients (4.0.0-1ubuntu8.6) ... Setting up python3-lib2to3 (3.6.7-1~18.04) ... Setting up libgs9:amd64 (9.26~dfsg+0-0ubuntu0.18.04.3) ... Setting up python2.7-dev (2.7.15~rc1-1ubuntu0.1) ... Setting up python3-distutils (3.6.7-1~18.04) ... Setting up git (1:2.17.1-1ubuntu0.4) ... Setting up networkd-dispatcher (1.7-0ubuntu3.3) ... Setting up qemu-system-common (1:2.11+dfsg-1ubuntu7.9) ... Setting up software-properties-common (0.96.24.32.6) ... Setting up samba-libs:amd64 (2:4.7.6+dfsg~ubuntu-0ubuntu2.5) ... Setting up libvirt-daemon-system (4.0.0-1ubuntu8.6) ... virtlockd.service is a disabled or a static unit, not starting it. Setting up libvirt-daemon dnsmasq configuration. Setting up libvirt-daemon-driver-storage-rbd (4.0.0-1ubuntu8.6) ... Setting up libirs160:amd64 (1:9.11.3+dfsg-1ubuntu1.3) ... Setting up python-samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.5) ... Setting up libbind9-160:amd64 (1:9.11.3+dfsg-1ubuntu1.3) ... Setting up libdpkg-perl (1.19.0.5ubuntu2.1) ... Setting up ghostscript (9.26~dfsg+0-0ubuntu0.18.04.3) ... Setting up python3-apport (2.20.9-0ubuntu7.5) ... Setting up nginx (1.14.0-0ubuntu1.2) ... Setting up qemu-system-x86 (1:2.11+dfsg-1ubuntu7.9) ... Setting up dpkg-dev (1.19.0.5ubuntu2.1) ... Setting up openssh-server (1:7.6p1-4ubuntu0.1) ... Setting up apport (2.20.9-0ubuntu7.5) ... apport-autoreport.service is a disabled or a static unit, not starting it. Setting up samba-common-bin (2:4.7.6+dfsg~ubuntu-0ubuntu2.5) ... Setting up libvirt-bin (4.0.0-1ubuntu8.6) ... Setting up bind9-host (1:9.11.3+dfsg-1ubuntu1.3) ... Setting up qemu-kvm (1:2.11+dfsg-1ubuntu7.9) ... Setting up dnsutils (1:9.11.3+dfsg-1ubuntu1.3) ... Setting up python3-distupgrade (1:18.04.29) ... Setting up python3-update-manager (1:18.04.11.8) ... Setting up ubuntu-release-upgrader-core (1:18.04.29) ... Setting up update-manager-core (1:18.04.11.8) ... Setting up update-notifier-common (3.192.1.4) ... Processing triggers for initramfs-tools (0.130ubuntu3.5) ... update-initramfs: Not updating initramfs. Processing triggers for libc-bin (2.27-3ubuntu1) ... Errors were encountered while processing:  open-iscsi 

I’m running 18.04.1 with a RAID setup. The system is operating normally otherwise.

MacOS Say Command Hangs Writing to a File

For many years I’ve been using the say command to read back essays I’ve written. My workflow is

  1. Use say to write out an aiff or WAVE file
  2. Use an audio player like iTunes to playback the file, pausing and rewinding as needed

However, recently the say command started to hang when I used it with an input and output file.

$   ls -lh /tmp/md_to_sayfbfhyf.txt -rw-r--r--@ 1 alanstorm  wheel   5.8K Jan  5 08:59 /tmp/md_to_sayfbfhyf.txt  $   say -f /tmp/md_to_sayfbfhyf.txt -o output.aiff 

This command will hang after writing a little over a MB to the aiff file.

$   ls -lh output.aiff -rw-r--r--  1 alanstorm  staff   1.1M Jan  5 09:13 output.aiff 

After that say will always hang unless I kill speechsynthesisd.

Also, this appears to be a problem with writing the output file — running just

$   say -f /tmp/md_to_sayfbfhyf.txt 

works without issue.

I’m on MacOS: 10.13.4 (High Sierra)

The command works with very small text files that contain a sentence or two — but files with more than a few paragraphs of text hang. I have not zeroed in on a specific file size or word count.

gdm3 display manager hangs after booting with Ubuntu 18.10

I want to use gdm3 but unfortunately, it does not work. After booting it just completely hangs. enter image description here

It just does not do anything. Installing lightdm and activating it via sudo dpkg-reconfigure lightdm does work but then again that’s not what I want.

I’ve tried several things already:

  • Including reinstalling NVIDIA drivers
  • Changing my run level to multi-user.target
  • Using update-rc.d -f gdm3 remove && update-rc.d gdm3 defaults to reconfigure gdm3
  • Installing the packages that I need sudo apt-get install ubuntu-gnome-desktop gnome-shell gnome
  • Reinstalling gdm3

Anyone else knows how I can get gdm3 to work?

Ubuntu server 16.04 hangs at random for no reason

I am running a Bitbucket server in a Virtual machine over Ubuntu 16.04 server edition.

After the server starts, it runs for a while and suddenly stops responding. Doesn’t let me in through SSH or directly through console (vmware console). I look into the CPU/Memory/Disk/Network utilizations to see if there is any abnormality leading up to the issue, but find nothing (CPU util is less than 35%, Memory util is less than 25%, disk and nw also seem pretty normal. I looked into kernel log, syslog and don’t find anything suspicious or any errors/warnings (except a couple of ntp unreachable errors that occur when the server was running).

I also go into the application (bitbucket) logs, but find nothing alarming there either.

At the moment, I am clueless on how to even debug the issue. Any pointers that you can think of?

Ubuntu 18.04LTS hangs on wake from hibernate. Time seems to jump to extremely high value. Swap seems large enough. Help!

I’ve always had issues with my Precision 5530 (16 GB ram, Quadro P2000, Intel 8850H)when hibernating. It runs Ubuntu 18.04 + NVidia 410 drivers (via apt). Never had issues with the graphics drivers. I just reinstalled the system, so it has minimal modifications, but still nothing has changed.

At first, before I modified the swap configuration, there was a swap file of 2 GB. When waking from hibernate only a black screen with a blinking cursor (underscore) would be shown. No response when trying to open TTY terminals.

I realized that the swap file might be too small to hibernate, and from the previous installation there was still a 34 GB swap partition I hadn’t bothered to refuse, so after setting resume= to the UUID in the grub configuration and initramfs-tools, updating grub and ramfs and mounting the partition on startup, I tried again. Now, on wake-up I was displayed by some rather crptic message, and system time seems to jump to extremely high numbers. Still, TTY is unresponsive and I have to force shutdown my system.

I’m a little a wit’s end here. I included one syslog, where the hang occurs before the shutdown at Dec 23 23:00:08. If anyone can shed some light on this I would be very grateful.

Here’s the full log.

Minute or so up to freeze:

Dec 23 22:59:30 lars-Precision-5530 wpa_supplicant[942]: wlp59s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-57 noise=9999 txrate=115600 Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867529] CPU3: Core temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867530] CPU6: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867531] CPU0: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867532] CPU11: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867557] CPU9: Core temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867559] CPU5: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867561] CPU9: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867563] CPU1: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867563] CPU7: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867564] CPU8: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867566] CPU10: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867567] CPU2: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867568] CPU4: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.867573] CPU3: Package temperature above threshold, cpu clock throttled (total events = 1) Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868523] CPU3: Core temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868524] CPU6: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868524] CPU0: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868524] CPU9: Core temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868525] CPU11: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868525] CPU3: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868526] CPU5: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868526] CPU9: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868556] CPU1: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868557] CPU7: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868558] CPU2: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868559] CPU8: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868560] CPU10: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 kernel: [   57.868560] CPU4: Package temperature/speed normal Dec 23 22:59:30 lars-Precision-5530 systemd[1]: Starting Stop ureadahead data collection... Dec 23 22:59:30 lars-Precision-5530 systemd[1]: Started Stop ureadahead data collection. Dec 23 22:59:30 lars-Precision-5530 dhclient[2401]: DHCPACK of 192.168.178.13 from 192.168.178.1 Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9756] dhcp4 (wlp59s0):   address 192.168.178.13 Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9756] dhcp4 (wlp59s0):   plen 24 (255.255.255.0) Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9756] dhcp4 (wlp59s0):   gateway 192.168.178.1 Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9756] dhcp4 (wlp59s0):   lease time 3600 Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9756] dhcp4 (wlp59s0):   nameserver '84.116.46.23' Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9757] dhcp4 (wlp59s0):   nameserver '84.116.46.22' Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9757] dhcp4 (wlp59s0):   domain name 'dynamic.ziggo.nl' Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9757] dhcp4 (wlp59s0): state changed unknown -> bound Dec 23 22:59:30 lars-Precision-5530 avahi-daemon[866]: Joining mDNS multicast group on interface wlp59s0.IPv4 with address 192.168.178.13. Dec 23 22:59:30 lars-Precision-5530 avahi-daemon[866]: New relevant interface wlp59s0.IPv4 for mDNS. Dec 23 22:59:30 lars-Precision-5530 avahi-daemon[866]: Registering new address record for 192.168.178.13 on wlp59s0.IPv4. Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9772] device (wlp59s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed') Dec 23 22:59:30 lars-Precision-5530 whoopsie[1344]: [22:59:30] Cannot reach: https://daisy.ubuntu.com Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9776] device (wlp59s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed') Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9778] device (wlp59s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed') Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9779] manager: NetworkManager state is now CONNECTED_LOCAL Dec 23 22:59:30 lars-Precision-5530 dhclient[2401]: bound to 192.168.178.13 -- renewal in 1585 seconds. Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9808] manager: NetworkManager state is now CONNECTED_SITE Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9809] policy: set 'Ziggo25AD4' (wlp59s0) as default for IPv4 routing and DNS Dec 23 22:59:30 lars-Precision-5530 NetworkManager[930]: <info>  [1545602370.9811] device (wlp59s0): Activation: successful, device activated. Dec 23 22:59:30 lars-Precision-5530 nm-dispatcher: req:3 'up' [wlp59s0]: new request (1 scripts) Dec 23 22:59:30 lars-Precision-5530 nm-dispatcher: req:3 'up' [wlp59s0]: start running ordered scripts... Dec 23 22:59:30 lars-Precision-5530 gsd-sharing[1735]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-user-share-webdav.service not loaded. Dec 23 22:59:30 lars-Precision-5530 gsd-sharing[1735]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit rygel.service not loaded. Dec 23 22:59:30 lars-Precision-5530 gsd-sharing[1735]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-remote-desktop.service not loaded. Dec 23 22:59:31 lars-Precision-5530 PackageKit: resolve transaction /147_ccbdcaca from uid 1000 finished with success after 242ms Dec 23 22:59:31 lars-Precision-5530 avahi-daemon[866]: Joining mDNS multicast group on interface wlp59s0.IPv6 with address fe80::e15e:1377:7f0c:b0b1. Dec 23 22:59:31 lars-Precision-5530 avahi-daemon[866]: New relevant interface wlp59s0.IPv6 for mDNS. Dec 23 22:59:31 lars-Precision-5530 avahi-daemon[866]: Registering new address record for fe80::e15e:1377:7f0c:b0b1 on wlp59s0.*. Dec 23 22:59:33 lars-Precision-5530 NetworkManager[930]: <info>  [1545602373.3018] manager: NetworkManager state is now CONNECTED_GLOBAL Dec 23 22:59:33 lars-Precision-5530 nm-dispatcher: req:4 'connectivity-change': new request (1 scripts) Dec 23 22:59:33 lars-Precision-5530 nm-dispatcher: req:4 'connectivity-change': start running ordered scripts... Dec 23 22:59:33 lars-Precision-5530 whoopsie[1344]: [22:59:33] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/2 Dec 23 22:59:33 lars-Precision-5530 whoopsie[1344]: [22:59:33] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/2 Dec 23 22:59:33 lars-Precision-5530 whoopsie[1344]: [22:59:33] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/2 Dec 23 22:59:33 lars-Precision-5530 whoopsie[1344]: [22:59:33] online Dec 23 22:59:34 lars-Precision-5530 PackageKit: resolve transaction /148_badccdcc from uid 1000 finished with success after 259ms Dec 23 22:59:45 lars-Precision-5530 boltd[1197]: power: got event for guard '2' (10) Dec 23 22:59:45 lars-Precision-5530 boltd[1197]: power: guard '2' for 'fwupd' deactivated Dec 23 22:59:45 lars-Precision-5530 boltd[1197]: power: shutdown scheduled (T-20.00s) Dec 23 22:59:53 lars-Precision-5530 gnome-software-service.desktop[2492]: Unable to acquire bus name 'org.gnome.Software' Dec 23 22:59:57 lars-Precision-5530 systemd-timesyncd[757]: Synchronized to time server 91.189.91.157:123 (ntp.ubuntu.com). Dec 23 23:00:05 lars-Precision-5530 boltd[1197]: power: setting force_power to OFF Dec 23 23:00:07 lars-Precision-5530 kernel: [   95.748031] xhci_hcd 0000:3a:00.0: remove, state 4 Dec 23 23:00:07 lars-Precision-5530 kernel: [   95.748036] usb usb4: USB disconnect, device number 1 Dec 23 23:00:07 lars-Precision-5530 kernel: [   95.748253] xhci_hcd 0000:3a:00.0: USB bus 4 deregistered Dec 23 23:00:07 lars-Precision-5530 kernel: [   95.748294] xhci_hcd 0000:3a:00.0: xHCI host controller not responding, assume dead Dec 23 23:00:07 lars-Precision-5530 kernel: [   95.748298] xhci_hcd 0000:3a:00.0: remove, state 4 Dec 23 23:00:07 lars-Precision-5530 upowerd[1112]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:02.0/0000:3a:00.0/usb4/4-0:1.0 Dec 23 23:00:07 lars-Precision-5530 upowerd[1112]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:02.0/0000:3a:00.0/usb3/3-0:1.0 Dec 23 23:00:07 lars-Precision-5530 upowerd[1112]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:02.0/0000:3a:00.0/usb4 Dec 23 23:00:07 lars-Precision-5530 upowerd[1112]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:02.0/0000:3a:00.0/usb3 Dec 23 23:00:07 lars-Precision-5530 boltd[1197]: [c9030000-0070-Precision 15 M5530         ] removed (/sys/devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:00.0/0000:04:00.0/domain0/0-0) Dec 23 23:00:07 lars-Precision-5530 boltd[1197]: [c9030000-0070-Precision 15 M5530         ] dbus: unexported Dec 23 23:00:07 lars-Precision-5530 kernel: [   95.748303] usb usb3: USB disconnect, device number 1 Dec 23 23:00:07 lars-Precision-5530 kernel: [   95.748489] xhci_hcd 0000:3a:00.0: Host halt failed, -19 Dec 23 23:00:07 lars-Precision-5530 kernel: [   95.748496] xhci_hcd 0000:3a:00.0: Host not accessible, reset failed. Dec 23 23:00:07 lars-Precision-5530 kernel: [   95.748617] xhci_hcd 0000:3a:00.0: USB bus 3 deregistered Dec 23 23:00:08 lars-Precision-5530 boltd[1197]: domain: 'domain0' removed Dec 23 23:00:08 lars-Precision-5530 boltd[1197]: dbus: domain0 unexported: ok Dec 23 23:00:08 lars-Precision-5530 boltd[1197]: domain: 'domain0' removed Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.251302] thunderbolt 0000:04:00.0: stopping RX ring 0 Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.251314] thunderbolt 0000:04:00.0: disabling interrupt at register 0x38200 bit 12 (0xffffffff -> 0xffffefff) Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.251317] thunderbolt 0000:04:00.0: stopping TX ring 0 Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.251324] thunderbolt 0000:04:00.0: disabling interrupt at register 0x38200 bit 0 (0xffffffff -> 0xfffffffe) Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.251326] thunderbolt 0000:04:00.0: control channel stopped Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.251358] thunderbolt 0000:04:00.0: freeing RX ring 0 Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.251363] thunderbolt 0000:04:00.0: freeing TX ring 0 Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.251367] thunderbolt 0000:04:00.0: shutdown Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291016] pci_bus 0000:03: Allocating resources Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291061] pcieport 0000:03:01.0: bridge window [io  0x1000-0x0fff] to [bus 05-39] add_size 1000 Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291075] pcieport 0000:03:02.0: bridge window [io  0x1000-0x0fff] to [bus 3a] add_size 1000 Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291077] pcieport 0000:03:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3a] add_size 200000 add_align 100000 Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291091] pcieport 0000:02:00.0: bridge window [io  0x1000-0x0fff] to [bus 03-3a] add_size 2000 Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291094] pcieport 0000:02:00.0: BAR 13: no space for [io  size 0x2000] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291094] pcieport 0000:02:00.0: BAR 13: failed to assign [io  size 0x2000] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291095] pcieport 0000:02:00.0: BAR 13: no space for [io  size 0x2000] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291096] pcieport 0000:02:00.0: BAR 13: failed to assign [io  size 0x2000] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291099] pcieport 0000:03:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291100] pcieport 0000:03:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291100] pcieport 0000:03:01.0: BAR 13: no space for [io  size 0x1000] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291101] pcieport 0000:03:01.0: BAR 13: failed to assign [io  size 0x1000] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291102] pcieport 0000:03:02.0: BAR 13: no space for [io  size 0x1000] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291102] pcieport 0000:03:02.0: BAR 13: failed to assign [io  size 0x1000] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291104] pcieport 0000:03:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291105] pcieport 0000:03:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291105] pcieport 0000:03:02.0: BAR 13: no space for [io  size 0x1000] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291106] pcieport 0000:03:02.0: BAR 13: failed to assign [io  size 0x1000] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291107] pcieport 0000:03:01.0: BAR 13: no space for [io  size 0x1000] Dec 23 23:00:08 lars-Precision-5530 kernel: [   96.291108] pcieport 0000:03:01.0: BAR 13: failed to assign [io  size 0x1000] 

GPU hangs and can’t decode DVDs on Intel Core i3 HD 2500

I have an Intel i3-3240T (HD 2500 graphics) running Ubuntu 18.04.1 LTS. I have two (presumably related?) graphics issues:

  • Every so often when using Chrome and e.g. Google Maps or another graphics-heavy webpage the GPU crashes: half the screen diagonally goes black or shows the desktop under the browser, then the whole system freezes for about 30s, then slowly redraws everything and comes back. Logs show: [drm] GPU HANG: ecode 7:0:0x85ffdff8, in gnome-shell [2203], reason: Hang on rcs0, action: reset then i915 0000:00:02.0: Resetting chip after gpu hang
  • Neither the default video player nor VLC will play DVDs: both crash either immediately after starting the disc, or will play the menu but crash when playing any of the chapters. I can get VLC to play DVDs by turning hardware acceleration off and the Output Module to X11 or XVideo (XCB). Using OpenGL gives: traps: vlc[27081] trap divide error ip:7f279491f103 sp:7f27b4108740 error:0 in libgl_plugin.so[7f2794914000+11000] using Wayland shared memory gives: vlc crashed with SIGFPE

One course of action that suggests itself is trying UXA rather than SNA acceleration but I can’t work out where to put the xorg.conf file (searched all the folders in the man page but there are no xorg.conf files there; different people suggest creating it in different folders)

Windows man, new to Linux…