← Back to team overview

kernel-packages team mailing list archive

[Bug 1504909] Re: blk_update_request: I/O error when accessing a disk that is spun down

 

Hi Christopher,

I found some interesting mailing list entries..

http://www.mail-archive.com/linux-scsi@xxxxxxxxxxxxxxx/msg14937.html

Apart from not outputting the "Device not ready" message this seems to
be exactly my bug.

Is commit d3ed1731ba6bca32ac0ac96377cae8fd735e16e6 by James Bottomley
included in the Ubuntu kernel sources?

It is included in the mainline kernel since release 3.4.11

Greetings,
Felix

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

Title:
  blk_update_request: I/O error when accessing a disk that is spun down

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,

  I have 6 3TB SATA disks that are attached via a IBM M1015 in IT mode
  and the mpt2sas driver. The filesystem is zfsonlinux.

  I can't name the exact 3.19 kernel version when this error began, but
  it was not the inital 3.19 Vivid LTS Kernel because after initally
  upgrading to 3.19 everything still worked.

  After a recent update I have the following problem:

  When disks are spun down and then accessed an error occurs which corrupts data.
  When the disks are finally spun up everything works as expected, also preventing them from spinning down works as a workaround.

  Could this be a NCQ bug?

  Drives are 5x Seagate ST3000DM001 and 1x HGST HDN724030ALE640.

  [59526.359997] sd 0:0:1:0: [sdc] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK
  [59526.360003] sd 0:0:1:0: [sdc] CDB:
  [59526.360006] Read(16): 88 00 00 00 00 00 31 28 fd 58 00 00 00 08 00 00
  [59526.360022] blk_update_request: I/O error, dev sdc, sector 824769880
  [59544.111090] sd 0:0:0:0: [sdb] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK
  [59544.111097] sd 0:0:0:0: [sdb] CDB:
  [59544.111100] Read(16): 88 00 00 00 00 00 31 28 fd 50 00 00 00 08 00 00
  [59544.111115] blk_update_request: I/O error, dev sdb, sector 824769872
  [59544.114465] sd 0:0:4:0: [sdf] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK
  [59544.114468] sd 0:0:4:0: [sdf] CDB:
  [59544.114469] Read(16): 88 00 00 00 00 00 31 28 fd 58 00 00 00 08 00 00
  [59544.114483] blk_update_request: I/O error, dev sdf, sector 824769880
  [59552.117436] sd 0:0:3:0: [sde] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK
  [59552.117443] sd 0:0:3:0: [sde] CDB:
  [59552.117446] Read(16): 88 00 00 00 00 00 31 28 fd b0 00 00 00 08 00 00
  [59552.117462] blk_update_request: I/O error, dev sde, sector 824769968
  [59572.951158] sd 0:0:2:0: [sdd] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK
  [59572.951167] sd 0:0:2:0: [sdd] CDB:
  [59572.951170] Read(16): 88 00 00 00 00 00 31 28 fd b0 00 00 00 08 00 00
  [59572.951192] blk_update_request: I/O error, dev sdd, sector 824769968
  [59572.955679] sd 0:0:5:0: [sdg] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK
  [59572.955695] sd 0:0:5:0: [sdg] CDB:
  [59572.955701] Read(16): 88 00 00 00 00 00 31 28 fd b0 00 00 00 08 00 00
  [59572.955720] blk_update_request: I/O error, dev sdg, sector 824769968
  [70357.782677] sd 0:0:4:0: [sdf] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK
  [70357.782686] sd 0:0:4:0: [sdf] CDB:
  [70357.782690] Read(16): 88 00 00 00 00 00 85 c1 c9 08 00 00 00 08 00 00
  [70357.782712] blk_update_request: I/O error, dev sdf, sector 2244069640
  [70368.087947] sd 0:0:0:0: [sdb] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK
  [70368.087953] sd 0:0:0:0: [sdb] CDB:
  [70368.087955] Read(16): 88 00 00 00 00 00 85 c1 c9 00 00 00 00 08 00 00
  [70368.087969] blk_update_request: I/O error, dev sdb, sector 2244069632

  lsb_release -rd:
  Description:    Ubuntu 14.04.3 LTS
  Release:        14.04

  Kernel Version: 3.19.0-30-generic
  --- 
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Okt  8 18:46 seq
   crw-rw---- 1 root audio 116, 33 Okt  8 18:46 timer
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.14.1-0ubuntu3.15
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  DistroRelease: Ubuntu 14.04
  HibernationDevice: RESUME=/dev/mapper/eternity--vg-swap_1
  InstallationDate: Installed on 2014-09-25 (380 days ago)
  InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3)
  IwConfig:
   lo        no wireless extensions.
   
   em1       no wireless extensions.
  MachineType: Dell Inc. PowerEdge T20
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  Package: linux (not installed)
  PciMultimedia:
   
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.19.0-30-generic root=/dev/mapper/hostname--vg-root ro console=tty0 console=ttyS4,115200 intel_pstate=enable cgroup_enable=memory swapaccount=1 intel_iommu=on enable_mtrr_cleanup mtrr_spare_reg_nr=1 mtrr_gran_size=16M mtrr_chunk_size=64M i915.enable_rc6=0 nmi_watchdog=0
  ProcVersionSignature: Ubuntu 3.19.0-30.34~14.04.1-generic 3.19.8-ckt6
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-30-generic N/A
   linux-backports-modules-3.19.0-30-generic  N/A
   linux-firmware                             1.127.15
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  trusty
  Uname: Linux 3.19.0-30-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  _MarkForUpload: True
  dmi.bios.date: 09/18/2014
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A05
  dmi.board.name: 0VD5HY
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 6
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA05:bd09/18/2014:svnDellInc.:pnPowerEdgeT20:pvr01:rvnDellInc.:rn0VD5HY:rvrA01:cvnDellInc.:ct6:cvr:
  dmi.product.name: PowerEdge T20
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504909/+subscriptions


References