Log of udev event, when the bug happens.

# udevadm monitor | grep -v power_supply
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[259892.454355] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0
 (bsg)
KERNEL[259892.454422] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2
 (scsi_generic)
KERNEL[259892.454441] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0
 (scsi_device)
KERNEL[259892.454539] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0
 (scsi_disk)
UDEV  [259892.457118] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0
 (bsg)
UDEV  [259892.458521] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2
 (scsi_generic)
UDEV  [259892.458829] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0
 (scsi_disk)
UDEV  [259892.460499] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0
 (scsi_device)
KERNEL[259900.048051] remove   /devices/virtual/bdi/8:32 (bdi)
KERNEL[259900.048161] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)
UDEV  [259900.049035] remove   /devices/virtual/bdi/8:32 (bdi)
UDEV  [259900.050572] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0/block/sdc
 (block)
KERNEL[259900.304129] unbind   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0
 (scsi)
KERNEL[259900.304164] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0
 (scsi)
UDEV  [259900.307449] unbind   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0
 (scsi)
UDEV  [259900.308340] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0/4:0:0:0
 (scsi)
KERNEL[259900.328191] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0
 (scsi)
KERNEL[259900.328218] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/scsi_host/host4
 (scsi_host)
KERNEL[259900.328236] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4
 (scsi)
UDEV  [259900.329867] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/target4:0:0
 (scsi)
UDEV  [259900.330569] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4/scsi_host/host4
 (scsi_host)
UDEV  [259900.332031] remove   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host4
 (scsi)
KERNEL[259900.347337] unbind   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0
 (usb)
UDEV  [259900.349761] unbind   
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0
 (usb)
KERNEL[259900.468456] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5
 (scsi)
KERNEL[259900.468492] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/scsi_host/host5
 (scsi_host)
KERNEL[259900.468523] bind     
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0
 (usb)
KERNEL[259900.469340] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0
 (scsi)
KERNEL[259900.469396] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0
 (scsi)
KERNEL[259900.469435] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/scsi_disk/5:0:0:0
 (scsi_disk)
KERNEL[259900.469457] bind     
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0
 (scsi)
KERNEL[259900.469473] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/scsi_device/5:0:0:0
 (scsi_device)
KERNEL[259900.469585] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/scsi_generic/sg2
 (scsi_generic)
KERNEL[259900.469608] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/bsg/5:0:0:0
 (bsg)
KERNEL[259900.470410] add      /devices/virtual/bdi/8:48 (bdi)
UDEV  [259900.470903] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5
 (scsi)
UDEV  [259900.471780] add      /devices/virtual/bdi/8:48 (bdi)
KERNEL[259900.472647] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/block/sdd
 (block)
KERNEL[259900.472679] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/block/sdd/sdd1
 (block)
KERNEL[259900.472703] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/block/sdd/sdd2
 (block)
KERNEL[259900.472733] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/block/sdd/sdd3
 (block)
UDEV  [259900.472791] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/scsi_host/host5
 (scsi_host)
UDEV  [259900.475188] bind     
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0
 (usb)
UDEV  [259900.477597] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0
 (scsi)
UDEV  [259900.479619] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0
 (scsi)
UDEV  [259900.482015] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/scsi_disk/5:0:0:0
 (scsi_disk)
UDEV  [259900.484192] bind     
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0
 (scsi)
UDEV  [259900.486796] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/scsi_device/5:0:0:0
 (scsi_device)
UDEV  [259900.486929] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/bsg/5:0:0:0
 (bsg)
UDEV  [259900.487243] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/scsi_generic/sg2
 (scsi_generic)
UDEV  [259900.516822] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/block/sdd
 (block)
UDEV  [259900.541388] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/block/sdd/sdd1
 (block)
UDEV  [259900.541517] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/block/sdd/sdd3
 (block)
UDEV  [259900.546077] add      
/devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.4/2-4.4.4.4/2-4.4.4.4.2/2-4.4.4.4.2:1.0/host5/target5:0:0/5:0:0:0/block/sdd/sdd2
 (block)

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

Title:
  high speed data to usb disk makes the kernel think that is has been
  unmounted

Status in linux package in Ubuntu:
  Confirmed

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_signature
  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/controlC1:  user       6813 F.... pulseaudio
   /dev/snd/controlC0:  user       6813 F.... pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: MATE
  DistroRelease: Ubuntu 20.04
  MachineType: ASUSTeK COMPUTER INC. GL503VM
  NonfreeKernelModules: nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-40-generic 
root=UUID=74545cc2-bc7e-11ea-9c1b-6b408850adf5 ro fsck.repair=yes
  ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-40-generic N/A
   linux-backports-modules-5.4.0-40-generic  N/A
   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.asset.tag: ATN12345678901234567
  dmi.board.name: GL503VM
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No  Asset  Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrGL503VM.314:bd04/29/2019:svnASUSTeKCOMPUTERINC.:pnGL503VM:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnGL503VM:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.family: ROG
  dmi.product.name: GL503VM
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

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