Running I/O heavy operation (cp) inside terminal in X server session will lock up entire system while running it in a TTY works fine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Running I/O heavy operation (cp) inside terminal in X server session will lock up entire system while running it in a TTY works fine.
I am filing this as a kernel bug because the following steps will still hang the system:
1. Open up gnome-terminal
2. Start copying a really large file between two different EXT4 partitions on my local SSD with a "cp" command
3. Switch to a TTY
4. Login to TTY and observe htop or iotop
Expected result: I can see the operation happen and after a while it completes
Actual result: Keyboard drops out some time during operation (TTY stops responding, caps lock light no longer responds to pressing caps lock, computer appears effectively dead with last screen image frozen)
When I run the "cp" operation on the TTY to start with, no matter if the X session is running in parallel or not, it works as expected with no trouble.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: linux-generic 4.10.0.19.21
ProcVersionSign
Uname: Linux 4.10.0-19-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/pcmC0D0p: jonas 2297 F...m pulseaudio
/dev/snd/
CurrentDesktop: GNOME
Date: Thu Apr 13 13:04:03 2017
InstallationDate: Installed on 2017-04-08 (4 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 138a:0090 Validity Sensors, Inc.
Bus 001 Device 003: ID 13d3:5248 IMC Networks
Bus 001 Device 005: ID 056a:5047 Wacom Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 20FDCTO1WW
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.164
SourcePackage: linux
UpgradeStatus: Upgraded to zesty on 2017-04-12 (1 days ago)
dmi.bios.date: 11/16/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: N1GET35W (1.12 )
dmi.board.
dmi.board.name: 20FDCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40700 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20FDCTO1WW
dmi.product.
dmi.sys.vendor: LENOVO
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Just to rule out hardware issues:
smartctl --all on the SSD shows no sector reallocations, barely any media wearout, no uncorrectable error count and barely any CRC errors (9). I am just running a long self-test and will report back whether it shows any errors.