vmware deve's comment for the issue "blk_update_request: I/O error, dev
sda, sector 3270728 op 0x9 VM ubuntu-20.04-live-server in ESXi 7.0GA" :

I noticed that when it's happening, abnormal kernel log:
[    0.000000]  ? lockdown_lsm_init+0x21/0x25
[    0.000000] Kernel is locked down from EFI Secure Boot mode; see man 
kernel_lockdown.7
.....
[   66.261508] Lockdown: fwupd: /dev/mem,kmem,port is restricted; see man 
kernel_lockdown.7
[  233.169823] ata3: SATA link down (SStatus 0 SControl 300)
[  238.577700] ata3: SATA link down (SStatus 0 SControl 300)
[  243.953448] ata3: SATA link down (SStatus 0 SControl 300)
[  243.953455] ata3.00: disabled
[  243.953481] sr 2:0:0:0: rejecting I/O to offline device
[  243.958034] ata3.00: detaching (SCSI 2:0:0:0)
[  304.517077] sd 3:0:0:0: [sda] tag#55 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE
[  304.517081] sd 3:0:0:0: [sda] tag#55 Sense Key : Vendor Specific(9) [current]
[  304.517086] sd 3:0:0:0: [sda] tag#55 <<vendor>>ASC=0x80 <<vendor>>ASCQ=0x85
[  304.517090] sd 3:0:0:0: [sda] tag#55 CDB: Write same(16) 93 08 00 00 00 00 
00 31 e7 e8 00 00 00 18 00 00
[  304.517100] blk_update_request: I/O error, dev sda, sector 3270632 op 
0x9:(WRITE_ZEROES) flags 0x800 phys_seg 0 prio class 0
[  314.319273] sd 3:0:0:0: [sda] tag#11 FAILED Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE
[  314.319275] sd 3:0:0:0: [sda] tag#11 Sense Key : Vendor Specific(9) [current]
[  314.319278] sd 3:0:0:0: [sda] tag#11 <<vendor>>ASC=0x80 <<vendor>>ASCQ=0x85
[  314.319295] sd 3:0:0:0: [sda] tag#11 CDB: Write same(16) 93 08 00 00 00 00 
00 31 e8 10 00 00 00 18 00 00
[  314.319299] blk_update_request: I/O error, dev sda, sector 3270672 op 
0x9:(WRITE_ZEROES) flags 0x800 phys_seg 0 prio class 0


And no error log in hostside.

Noticed you enabled secure boot in uefi and ubuntu are configured with
lockdown


vmware@ubuntu:~$ cat /boot/config-5.4.0-26-generic  | grep LOCK_DOWN
CONFIG_LOCK_DOWN_IN_SECURE_BOOT=y
CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y


So the error should caused by uefi lockdown feature.

Please refer to  https://mjg59.dreamwidth.org/50577.html for more
details.

To workaroud this, 
echo 1 > /proc/sys/kernel/sysrq
echo x > /proc/sysrq-trigger


or you can use sudo mokutil --disable-validation to disable it.

I tried "echo to /proc" way, the error msg disappered. You might try the
second way. Anyway, it's an upstream bug.

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

Title:
  blk_update_request: I/O error, dev sdb, sector 976772992 op 0x0:(READ)
  flags 0x80700 phys_seg 1 prio class 0

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  1) Ubuntu 19.10
  2) unknown
  3) no error
  4) error in log app.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu8.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  htpc       9157 F.... pulseaudio
   /dev/snd/controlC1:  htpc       9157 F.... pulseaudio
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 19.10
  InstallationDate: Installed on 2019-10-28 (48 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  IwConfig:
   lxcbr0    no wireless extensions.
   
   lo        no wireless extensions.
   
   enp3s0    no wireless extensions.
  MachineType: Gigabyte Technology Co., Ltd. GA-MA780G-UD3H
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-23-generic 
root=UUID=0fa008d8-2279-4e78-9043-161b7f514243 ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.3.0-23.25-generic 5.3.7
  RelatedPackageVersions:
   linux-restricted-modules-5.3.0-23-generic N/A
   linux-backports-modules-5.3.0-23-generic  N/A
   linux-firmware                            1.183.2
  RfKill:
   
  Tags:  wayland-session eoan
  Uname: Linux 5.3.0-23-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 07/13/2010
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F6b
  dmi.board.name: GA-MA780G-UD3H
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: 
dmi:bvnAwardSoftwareInternational,Inc.:bvrF6b:bd07/13/2010:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA780G-UD3H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA780G-UD3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: GA-MA780G-UD3H
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

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