← Back to team overview

kernel-packages team mailing list archive

[Bug 1266737] Re: error sda: WRITE SAME failed when installing package

 

I tested by upgrading my kernel using "apt-get dist-upgrade " command. I
tried the same scenario that is mentioned in the bug after upgrade.

This is the state on my guest

root@ubuntu:~# dpkg --list | grep linux
ii  libselinux1:ppc64el              2.2.1-1ubuntu2                   ppc64el      SELinux runtime shared libraries
ii  linux-headers-3.13.0-0           3.13.0-0.15                      all          Header files related to Linux kernel version 3.13.0
ii  linux-headers-3.13.0-0-generic   3.13.0-0.15                      ppc64el      Linux kernel headers for version 3.13.0 on PowerPC 64el SMP
ii  linux-headers-3.13.0-1           3.13.0-1.16                      all          Header files related to Linux kernel version 3.13.0
ii  linux-headers-3.13.0-1-generic   3.13.0-1.16                      ppc64el      Linux kernel headers for version 3.13.0 on PowerPC 64el SMP
ii  linux-headers-generic            3.13.0.1.3                       ppc64el      Generic Linux kernel headers
ii  linux-headers-virtual            3.13.0.1.3                       ppc64el      Transitional package.
ii  linux-image-3.13.0-0-generic     3.13.0-0.15                      ppc64el      Linux kernel image for version 3.13.0 on PowerPC 64el SMP
ii  linux-image-3.13.0-1-generic     3.13.0-1.16                      ppc64el      Linux kernel image for version 3.13.0 on PowerPC 64el SMP
ii  linux-image-virtual              3.13.0.1.3                       ppc64el      This package will always depend on the latest minimal generic kernel image.
ii  linux-virtual                    3.13.0.1.3                       ppc64el      Minimal Generic Linux kernel and headers
ii  util-linux                       2.20.1-5.1ubuntu11               ppc64el      Miscellaneous system utilities
root@ubuntu:~#

But still I am seeing the same issue again on my guest.

Setting up perlbrew (0.66-1) ...
Setting up perlindex (1.606-1) ...
Generating index (this may take a while)...[ 1468.347473] sda: WRITE SAME failed. Manually zeroing.
 done.
Setting up perlmagick (8:6.7.7.10-6ubuntu2) ...
Setting up perlprimer-doc (1.1.21-1) ...
Setting up perltidy (20120701-1) ...

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

Title:
  error sda: WRITE SAME failed when installing package

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Description:
  ==========
  Was installing perl packages using apt-get install command. I saw WRITE SAME failed displayed during the process.

  Command used : apt-get install perl* 
  on my Ubuntu guest to install all perl packages.

  I saw the message as below
  .
  .
  .
  .
  Setting up perlindex (1.606-1) ...
  Generating index (this may take a while)...sda: WRITE SAME failed. Manually zeroing.
   done.

  it took few seconds to complete  and later on the process continued.

  
  Environment:
  ============

  Host: Power8
  Guest : ubuntu hosted on Power8

  used below qemu command :

  [root@localhost ubuntu_alpha1]# cat kvmg.p8.h
  KERNEL=trusty-server-cloudimg-ppc64el-vmlinuz-generic
  #FSIMAGE=trusty-server-cloudimg-ppc64el.img
  FSIMAGE=trusty-server-cloudimg-ppc64el.img.qcow2
  MEM=8G
  qemu-system-ppc64 \
          -enable-kvm -M pseries -cpu POWER8 -smp cores=4,threads=1 -m $MEM \
          -net nic -net user \
          -device spapr-vscsi -drive file=$FSIMAGE \
          -kernel $KERNEL \
          -append "earlyprintk root=/dev/sda console=hvc0 --no-sessions" \
          -nographic

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


References