[Kernel-packages] [Bug 2058179] Re: Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

2024-04-19 Thread antst
Yep, I agree that it would be important to push some number of backports
like this one to kernel module before release. Ideally, 2.2.3 would be
better for 6.8

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2058179

Title:
  Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

Status in Native ZFS for Linux:
  Fix Released
Status in systemd package in Ubuntu:
  Fix Committed
Status in zfs-linux package in Ubuntu:
  In Progress
Status in systemd source package in Noble:
  Fix Committed
Status in zfs-linux source package in Noble:
  In Progress

Bug description:
  As per https://github.com/openzfs/zfs/issues/15930

  ZFS and kernel 6.8 seem to throw EOPNOTSUPP on calling
  copy_file_range, breaking a multitude of applications.

  Upcoming noble (24.04) appears to currently include kernel 6.8 and ZFS
  2.2.2.

  One notable issue is when running Root on ZFS: systemd-sysusers will
  always fail to create users/groups with the error "Failed to backup
  /etc/{group,passwd}: Operation not supported" due to the call to
  copy_file_range.

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


[Kernel-packages] [Bug 2058179] Re: Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

2024-04-19 Thread antst
if fixed zfs packages are pushed to the release, then user will have an
option to use DKMS at least (as I do now)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2058179

Title:
  Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

Status in Native ZFS for Linux:
  Fix Released
Status in systemd package in Ubuntu:
  Triaged
Status in zfs-linux package in Ubuntu:
  Confirmed
Status in systemd source package in Noble:
  Triaged
Status in zfs-linux source package in Noble:
  Confirmed

Bug description:
  As per https://github.com/openzfs/zfs/issues/15930

  ZFS and kernel 6.8 seem to throw EOPNOTSUPP on calling
  copy_file_range, breaking a multitude of applications.

  Upcoming noble (24.04) appears to currently include kernel 6.8 and ZFS
  2.2.2.

  One notable issue is when running Root on ZFS: systemd-sysusers will
  always fail to create users/groups with the error "Failed to backup
  /etc/{group,passwd}: Operation not supported" due to the call to
  copy_file_range.

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


[Kernel-packages] [Bug 2058179] Re: Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

2024-04-18 Thread antst
Think it is easier to fix ZFS with simple patch, than to fix dozens of
packages  :)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2058179

Title:
  Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

Status in Native ZFS for Linux:
  Fix Released
Status in systemd package in Ubuntu:
  Triaged
Status in zfs-linux package in Ubuntu:
  Confirmed

Bug description:
  As per https://github.com/openzfs/zfs/issues/15930

  ZFS and kernel 6.8 seem to throw EOPNOTSUPP on calling
  copy_file_range, breaking a multitude of applications.

  Upcoming noble (24.04) appears to currently include kernel 6.8 and ZFS
  2.2.2.

  One notable issue is when running Root on ZFS: systemd-sysusers will
  always fail to create users/groups with the error "Failed to backup
  /etc/{group,passwd}: Operation not supported" due to the call to
  copy_file_range.

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


[Kernel-packages] [Bug 2058179] Re: Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

2024-04-10 Thread antst
Anybody who wants fix right now can do
git clone -b linux_6.8_compat_splice_copy_file_range_fallback 
https://git.launchpad.net/~antst/ubuntu/+source/zfs-linux
cd zfs-linux
dpkg-buildpackage -rfakeroot  --no-sign  -b

it will build all related packages, then install locally built zfs-dkms package 
as
apt install ./zfs-dkms_2.2.2-0ubuntu8_all.deb

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2058179

Title:
  Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

Status in Native ZFS for Linux:
  Fix Released
Status in zfs-linux package in Ubuntu:
  Confirmed

Bug description:
  As per https://github.com/openzfs/zfs/issues/15930

  ZFS and kernel 6.8 seem to throw EOPNOTSUPP on calling
  copy_file_range, breaking a multitude of applications.

  Upcoming noble (24.04) appears to currently include kernel 6.8 and ZFS
  2.2.2.

  One notable issue is when running Root on ZFS: systemd-sysusers will
  always fail to create users/groups with the error "Failed to backup
  /etc/{group,passwd}: Operation not supported" due to the call to
  copy_file_range.

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


[Kernel-packages] [Bug 2058179] Re: Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

2024-04-10 Thread antst
https://git.launchpad.net/~antst/ubuntu/+source/zfs-
linux/log/?h=linux_6.8_compat_splice_copy_file_range_fallback

this is branch with the backported patch (little change to avoid fuzz).
based on noble-devel branch.

Not sure if I need to open PR and how :)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2058179

Title:
  Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

Status in Native ZFS for Linux:
  Fix Released
Status in zfs-linux package in Ubuntu:
  Confirmed

Bug description:
  As per https://github.com/openzfs/zfs/issues/15930

  ZFS and kernel 6.8 seem to throw EOPNOTSUPP on calling
  copy_file_range, breaking a multitude of applications.

  Upcoming noble (24.04) appears to currently include kernel 6.8 and ZFS
  2.2.2.

  One notable issue is when running Root on ZFS: systemd-sysusers will
  always fail to create users/groups with the error "Failed to backup
  /etc/{group,passwd}: Operation not supported" due to the call to
  copy_file_range.

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


[Kernel-packages] [Bug 2058179] Re: Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

2024-04-09 Thread antst
I can confirm that patch (https://github.com/openzfs/zfs/issues/15930)
works as is with noble-level (just little fuzz in one hunk). I applied
it to the noble-level at the end of patching and built dkms package and
it works smoothly with that module.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2058179

Title:
  Kernel 6.8 + zfs-2.2.2: copy_file_range Operation Not Supported

Status in Native ZFS for Linux:
  Fix Released
Status in zfs-linux package in Ubuntu:
  Confirmed

Bug description:
  As per https://github.com/openzfs/zfs/issues/15930

  ZFS and kernel 6.8 seem to throw EOPNOTSUPP on calling
  copy_file_range, breaking a multitude of applications.

  Upcoming noble (24.04) appears to currently include kernel 6.8 and ZFS
  2.2.2.

  One notable issue is when running Root on ZFS: systemd-sysusers will
  always fail to create users/groups with the error "Failed to backup
  /etc/{group,passwd}: Operation not supported" due to the call to
  copy_file_range.

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


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

2020-05-14 Thread antst
While disks are working OK, sad side-effect of this is that ZFS starts
to show errors. And it is not clear from notifications is it this bug,
or it is actual problem with hardware, so require to waste time checking
it, and scrubbing pool.

-- 
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.00] Read(16): 88 00 00 00 00 00 31 28 fd 50 00 00 00 08 00 00
  [59544.15] 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:
   lono 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: 

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

2020-05-14 Thread antst
I observe the same on Ubuntu 20.04 (5.4.0-29-generic) issue appeared only after 
upgrade from 18.04, which was flawless with the same hardware for 2 years.
mpt3sas (LSI3008), HGST and WD drives.

-- 
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.00] Read(16): 88 00 00 00 00 00 31 28 fd 50 00 00 00 08 00 00
  [59544.15] 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:
   lono 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
 

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

2016-08-19 Thread antst
Actually, my fault. Nobody reverted commit which broke it, but commit
which solved it back in 2012 is present in current ubuntu kernel. Hm.

-- 
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.00] Read(16): 88 00 00 00 00 00 31 28 fd 50 00 00 00 08 00 00
  [59544.15] 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:
   lono 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:
   

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

2016-08-19 Thread antst
Felix,

it is indeed the same bug, as rollback of commit (which was proposed in
that mail thread from 2012) is never happened. I just checked kernel
sources.

-- 
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.00] Read(16): 88 00 00 00 00 00 31 28 fd 50 00 00 00 08 00 00
  [59544.15] 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:
   lono 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: