I had this problem occur recently and was able to work with one of my
System Administrators to narrow it down.  I saw the floppy text in the
output so I asked my Sys Admin to connect the Floppy Drive in VCenter to
the VMs that were having this issue (3 new 18.04 installs) and the issue
is now resolved on all of them.  blkid, mdadm, nor fdisk hang anymore;
they all work as they should.  Not sure where the issue exactly lies,
but connecting a floppy helped resolve it for now.  I have a lot of
other 16.04 servers that do not have this issue, for what it's worth.

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

Title:
  mdadm, mkfs, other io commands hang, stuck task, bad rip

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  
  1. disco
  2. # apt-cache policy linux-image-virtual
  linux-image-virtual:
    Installed: 5.0.0.13.14
    Candidate: 5.0.0.13.14
    Version table:
   *** 5.0.0.13.14 500
          500 http://archive.ubuntu.com/ubuntu disco/main amd64 Packages
          100 /var/lib/dpkg/status
  3. installation completes sucessfully
  4. Running an installation of Disco creating filesystems and probing things 
will hang (stuck task) every so often.  When it happens, the kernel throws an 
oops and bad rip value.

  [  967.810391] INFO: task mdadm:12213 blocked for more than 120 seconds.
  [  967.811787]       Tainted: P           O      5.0.0-13-generic #14-Ubuntu
  [  967.813330] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [  967.815500] mdadm           D    0 12213  12207 0x00000000
  [  967.815503] Call Trace:
  [  967.815509]  __schedule+0x2d0/0x840
  [  967.815511]  ? __switch_to_asm+0x40/0x70
  [  967.815512]  ? __switch_to_asm+0x34/0x70
  [  967.815514]  schedule+0x2c/0x70
  [  967.815516]  schedule_preempt_disabled+0xe/0x10
  [  967.815518]  __mutex_lock.isra.10+0x2e4/0x4c0
  [  967.815522]  ? exact_lock+0x11/0x20
  [  967.815524]  __mutex_lock_slowpath+0x13/0x20
  [  967.815528]  mutex_lock+0x2c/0x30
  [  967.815530]  __blkdev_get+0x7b/0x550
  [  967.815532]  ? bd_acquire+0xd0/0xd0
  [  967.815533]  blkdev_get+0x10c/0x330
  [  967.815535]  ? bd_acquire+0xd0/0xd0
  [  967.815537]  blkdev_open+0x92/0x100
  [  967.815539]  do_dentry_open+0x143/0x3a0
  [  967.815540]  vfs_open+0x2d/0x30
  [  967.815542]  path_openat+0x2d4/0x16d0
  [  967.815547]  ? put_device+0x17/0x20
  [  967.815552]  ? scsi_device_put+0x2b/0x30
  [  967.815553]  do_filp_open+0x93/0x100
  [  967.815555]  ? strncpy_from_user+0x56/0x1b0
  [  967.815558]  ? __alloc_fd+0x46/0x140
  [  967.815560]  do_sys_open+0x177/0x280
  [  967.815561]  ? _cond_resched+0x19/0x30
  [  967.815563]  __x64_sys_openat+0x20/0x30
  [  967.815566]  do_syscall_64+0x5a/0x110
  [  967.815567]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
  [  967.815568] RIP: 0033:0x7faa36406cce
  [  967.815572] Code: Bad RIP value.
  [  967.815573] RSP: 002b:00007ffedb663f80 EFLAGS: 00000246 ORIG_RAX: 
0000000000000101
  [  967.815574] RAX: ffffffffffffffda RBX: 0000000000004000 RCX: 
00007faa36406cce
  [  967.815575] RDX: 0000000000004000 RSI: 0000564df70257b0 RDI: 
00000000ffffff9c
  [  967.815576] RBP: 0000564df70257b0 R08: 0000564df70257b0 R09: 
0000000000000000
  [  967.815576] R10: 0000000000000000 R11: 0000000000000246 R12: 
00007ffedb664240
  [  967.815577] R13: 0000000000000000 R14: 0000000000000001 R15: 
0000564df7023e00

  [  967.799227] INFO: task mkfs.btrfs:3767 blocked for more than 120 seconds.
  [  967.803509]       Tainted: P           O      5.0.0-13-generic #14-Ubuntu
  [  967.807192] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [  967.810235] mkfs.btrfs      D    0  3767   1866 0x00000000
  [  967.810239] Call Trace:
  [  967.810251]  __schedule+0x2d0/0x840
  [  967.810254]  ? __switch_to_asm+0x34/0x70
  [  967.810256]  ? __switch_to_asm+0x40/0x70
  [  967.810258]  schedule+0x2c/0x70
  [  967.810260]  schedule_timeout+0x258/0x360
  [  967.810277]  wait_for_completion+0xb7/0x140
  [  967.810281]  ? wake_up_q+0x80/0x80
  [  967.810293]  __floppy_read_block_0+0x138/0x190 [floppy]
  [  967.810298]  ? floppy_cmos_show+0x30/0x30 [floppy]
  [  967.810302]  floppy_revalidate+0xf8/0x230 [floppy]
  [  967.810307]  check_disk_change+0x62/0x70
  [  967.810309]  floppy_open+0x2ae/0x380 [floppy]
  [  967.810311]  __blkdev_get+0xe5/0x550
  [  967.810313]  ? bd_acquire+0xd0/0xd0
  [  967.810315]  blkdev_get+0x10c/0x330
  [  967.810316]  ? bd_acquire+0xd0/0xd0
  [  967.810318]  blkdev_open+0x92/0x100
  [  967.810321]  do_dentry_open+0x143/0x3a0
  [  967.810323]  vfs_open+0x2d/0x30
  [  967.810326]  path_openat+0x2d4/0x16d0
  [  967.810328]  ? filename_lookup.part.60+0xe0/0x170
  [  967.810332]  ? strncpy_from_user+0x56/0x1b0
  [  967.810333]  do_filp_open+0x93/0x100
  [  967.810353]  ? strncpy_from_user+0x56/0x1b0
  [  967.810358]  ? __alloc_fd+0x46/0x140
  [  967.810360]  do_sys_open+0x177/0x280
  [  967.810362]  ? _cond_resched+0x19/0x30
  [  967.810364]  __x64_sys_openat+0x20/0x30
  [  967.810368]  do_syscall_64+0x5a/0x110
  [  967.810369]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
  [  967.810372] RIP: 0033:0x7f46b99374db
  [  967.810377] Code: Bad RIP value.
  [  967.810378] RSP: 002b:00007ffc9e849d70 EFLAGS: 00000246 ORIG_RAX: 
0000000000000101
  [  967.810380] RAX: ffffffffffffffda RBX: 0000556674552080 RCX: 
00007f46b99374db
  [  967.810381] RDX: 0000000000080000 RSI: 0000556674552100 RDI: 
00000000ffffff9c
  [  967.810382] RBP: 000055667454a270 R08: 0000556674552120 R09: 
0000000000004000
  [  967.810382] R10: 0000000000000000 R11: 0000000000000246 R12: 
000000005cb8c394
  [  967.810383] R13: 00007f46b99993c4 R14: 00000000dcb8c394 R15: 
00007f46b9988425

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: linux-image-virtual 5.0.0.13.14
  ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
  Uname: Linux 5.0.0-13-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116, 33 Apr 18 18:35 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.10-0ubuntu27
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/timer'] failed 
with exit code 1:
  CRDA: N/A
  Date: Thu Apr 18 18:45:52 2019
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
  PciMultimedia:
   
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=C.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 bochsdrmfb
  ProcKernelCmdLine: root=squash:http://10.245.168.20:34259/root/squashfs 
ds=nocloud-net;seedfrom=http://10.245.168.20:34259/ console=ttyS0  
overlayroot=tmpfs ro systemd.mask=snapd.seeded.service 
systemd.mask=snapd.service ip=:::::BOOTIF:dhcp BOOTIF=01-52-54-00-12-34-01
  RelatedPackageVersions:
   linux-restricted-modules-5.0.0-13-generic N/A
   linux-backports-modules-5.0.0-13-generic  N/A
   linux-firmware                            N/A
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/01/2014
  dmi.bios.vendor: SeaBIOS
  dmi.bios.version: 1.12.0-1
  dmi.chassis.type: 1
  dmi.chassis.vendor: QEMU
  dmi.chassis.version: pc-i440fx-disco
  dmi.modalias: 
dmi:bvnSeaBIOS:bvr1.12.0-1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-disco:cvnQEMU:ct1:cvrpc-i440fx-disco:
  dmi.product.name: Standard PC (i440FX + PIIX, 1996)
  dmi.product.version: pc-i440fx-disco
  dmi.sys.vendor: QEMU

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