[Bug 574462] Re: udisks-probe-ata-smart causes HSM violations

Christopher M. Penalver christopher.penalver at gmx.com
Tue Jul 24 18:08:03 UTC 2012


Jarige, this bug was reported a while ago and there hasn't been any
activity in it recently. We were wondering if this is still an issue?
Can you try with the latest development release of Ubuntu? ISO CD images
are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in the
development release from a Terminal
(Applications->Accessories->Terminal). It will automatically gather and
attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would
be great. It will allow additional upstream developers to examine the
issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please do
not test the kernel in the daily folder, but the one all the way at the
bottom. Once you've tested the upstream kernel, please remove the
'needs-upstream-testing' tag. This can be done by clicking on the yellow
pencil icon next to the tag located at the bottom of the bug description
and deleting the 'needs-upstream-testing' text. As well, please comment
on which kernel version specifically you tested.

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not
boot, please add the tag: 'kernel-unable-to-test-upstream', and comment
as to why specifically you were unable to test it.

Please let us know your results. Thanks in advance.

** Attachment removed: "dmesg fresh lucid netbook install"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1372005/+files/dmesg.out

** Attachment removed: "Error message"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1385927/+files/syslog.txt

** Attachment removed: "dmesg.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1384182/+files/dmesg.txt

** Attachment removed: "dmesg_ch.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1384987/+files/dmesg_ch.txt

** Attachment removed: "AlsaDevices.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436812/+files/AlsaDevices.txt

** Attachment removed: "BootDmesg.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436813/+files/BootDmesg.txt

** Attachment removed: "Card0.Amixer.values.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436814/+files/Card0.Amixer.values.txt

** Attachment removed: "Card0.Codecs.codec.0.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436815/+files/Card0.Codecs.codec.0.txt

** Attachment removed: "CurrentDmesg.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436816/+files/CurrentDmesg.txt

** Attachment removed: "Dependencies.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436817/+files/Dependencies.txt

** Attachment removed: "IwConfig.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436818/+files/IwConfig.txt

** Attachment removed: "Lspci.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436819/+files/Lspci.txt

** Attachment removed: "Lsusb.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436820/+files/Lsusb.txt

** Attachment removed: "ProcCpuinfo.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436822/+files/ProcCpuinfo.txt

** Attachment removed: "PciMultimedia.txt"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436821/+files/PciMultimedia.txt

** Attachment removed: "kern.log"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/574462/+attachment/1436823/+files/kern.log

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hdparm in Ubuntu.
https://bugs.launchpad.net/bugs/574462

Title:
  udisks-probe-ata-smart causes HSM violations

Status in The Linux Kernel:
  New
Status in “hdparm” package in Ubuntu:
  Confirmed
Status in “linux” package in Ubuntu:
  Incomplete
Status in “hdparm” source package in Lucid:
  Confirmed
Status in “linux” source package in Lucid:
  In Progress

Bug description:
  This is related to bug 445852, it causes the same effects, but under
  different circumstances.

  During boot on an SSD system and when logging in and starting
  something rather IO intense, like firefox, the system freezes for 30
  seconds, and afterwards dmesg shows an error like

    ata2: lost interrupt (Status 0x58)
    ata2: drained 16384 bytes to clear DRQ.
    ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
    ata2.00: BMDMA stat 0x4
    ata2.00: cmd c8/00:40:cb:60:32/00:00:00:00:00/e0 tag 0 dma 32768 in
    res 58/00:40:cb:60:32/00:00:00:00:00/e0 Emask 0x2 (HSM violation)
    ata2.00: status: { DRDY DRQ }
    ata2: soft resetting link
    ata2.00: configured for UDMA/66
    ata2: EH complete

  The main cause of bug 445828 was fixed now, but there are still some
  users who get those HSM violations/30 second hangs during boot.

  Martin Pitt got ssh access to Jarige's machine which is still affected
  (he's willing to provide access to other people for debugging).

  A lot of different commands were tried to reproduce this at runtime,
  like

    # for i in `seq 50`; do skdump --can-smart  /dev/sda; hdparm -B254 /dev/sda; sleep 0.2; done
    # udevadm trigger --action=change --sysname-match=sda # (also in a loop)
    # (/lib/udev/udisks-probe-ata-smart /dev/sda &); /lib/udev/udisks-probe-ata-smart /dev/sda

  and so on, but it seems impossible to reproduce at runtime
  unfortunately. I also tried those commands while a "grep -r . /usr"
  was running in the background to induce I/O and disk reading activity.

  The interesting thing is that the bug goes away if you either disable
  /lib/udev/rules.d/85-hdparm.rules, or udisks-probe-ata-smart in
  /lib/udev/rules.d/80-udisks.rules. So this seems to happen in
  situations where there is something reading a lot of files from the
  disk, and hdparm or libatasmart send their ioctls to the drive.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: linux-image-2.6.32-21-generic 2.6.32-21.32
  Regression: No
  Reproducible: Yes
  ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-generic i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
  AplayDevices:
   **** List of PLAYBACK Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  jarik      1395 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0x78540000 irq 16'
     Mixer name	: 'Realtek ALC268'
     Components	: 'HDA:10ec0268,1025015b,00100101'
     Controls      : 8
     Simple ctrls  : 5
  Date: Mon May  3 15:21:38 2010
  InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
  MachineType: Acer AOA110
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=994b1074-44a7-4871-9553-fe61b94182cf ro quiet splash pciehp.pciehp_force=1 elevator=noop
  ProcEnviron:
   LANG=en_US.utf8
   SHELL=/bin/bash
  RelatedPackageVersions: linux-firmware 1.34
  RfKill:
   0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
  SourcePackage: linux
  dmi.bios.date: 05/09/2008
  dmi.bios.vendor: INSYDE
  dmi.bios.version: v0.3109
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: Base Board Product Name
  dmi.board.vendor: Intel Corp.
  dmi.board.version: Base Board Version
  dmi.chassis.type: 1
  dmi.chassis.vendor: Chassis Manufacturer
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnINSYDE:bvrv0.3109:bd05/09/2008:svnAcer:pnAOA110:pvr1:rvnIntelCorp.:rnBaseBoardProductName:rvrBaseBoardVersion:cvnChassisManufacturer:ct1:cvrChassisVersion:
  dmi.product.name: AOA110
  dmi.product.version: 1
  dmi.sys.vendor: Acer

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




More information about the foundations-bugs mailing list