high speed data to usb disk makes the kernel think that is has been unmounted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Description:
When the speed of data with a usb disk device is too high, the probes that check if the disk still exists is missed. This makes the disk to be unmounted and is remounted with an other drive letter (/dev/sdX). If this disk is the root ("/"), the computer hangs.
A usb SSD-disk (4 TB) connected to a USB port reproduce this bug easily. This has never happened with a mechanical USB-drive.
Symptoms and how to reproduce:
1) (Disk mounted as root) Computer hangs. Only way to get started again is a hard reset.
2) (Erasing disk, not mounted as root) If you erase a disk with dd ("dd if=/dev/zero of=/dev/sdX"), the disk disappears from the mounted list and reappears as an other drive letter. In my case the data is redirected to /dev/null and the fans speed up. The apparent data transfer speed is also increased. Usually this happens after about 45 to 60 minutes.
3) Fill RAM with programs and make sure the swap to this disk is used.
Bug found in:
$ uname -a
Linux pb-189b1884 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ cat /proc/version_
Ubuntu 5.4.0-40.44-generic 5.4.44
Hardware:
Tested with slower and faster computers. Tested directly connected to a computer and via a hub. They all reproduce this bug.
Workaround:
None found.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CasperMD5CheckR
CurrentDesktop: MATE
DistroRelease: Ubuntu 20.04
MachineType: ASUSTeK COMPUTER INC. GL503VM
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.187.1
Tags: focal
Uname: Linux 5.4.0-40-generic x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sudo vboxusers wireshark
WifiSyslog:
_MarkForUpload: False
dmi.bios.date: 04/29/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: GL503VM.314
dmi.board.
dmi.board.name: GL503VM
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: ROG
dmi.product.name: GL503VM
dmi.product.
dmi.sys.vendor: ASUSTeK COMPUTER INC.
description: | updated |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1886172
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.