[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2016-12-30 Thread Josir Cardoso Gomes
I too have experienced this error. SDD is working fine but I'm worried
with this odd message.

Dmesg:

ata5: drained 512 bytes to clear DRQ
[7.955932] ata5.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[7.955998] ata5.01: failed command: SMART
[7.956059] ata5.01: cmd b0/d5:01:06:4f:c2/00:00:00:00:00/10 tag 0 pio 512 in
res 58/00:ff:08:4f:c2/00:00:00:00:00/10 Emask 0x2 (HSM 
violation)
[7.956162] ata5.01: status: { DRDY DRQ }
[7.956240] ata5: soft resetting link

Kernel: 4.4.0-58-generic #79-Ubuntu SMP Tue Dec 20 12:12:35 UTC 2016
x86_64

$ dpkg -l | grep libatasmart
ii  libatasmart4:amd64 0.19-3 

If you need other info, I will be glad to help.

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

To manage notifications about this bug go to:
https://bugs.launchpad.net/easypeasy-project/+bug/445852/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2016-08-10 Thread Matt
I too have experienced this revival on Ubuntu 16.04.1 LTS

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

To manage notifications about this bug go to:
https://bugs.launchpad.net/easypeasy-project/+bug/445852/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2014-08-25 Thread Stephan Müller
Hi,

since the update to 14.04.01 I encounter this error on my Thinkpad with
a SSD. The systems freezes, and after aprox. 30 sec - 1 min the
following messages can be found by using dmesg:


ata1.00: exception Emask 0x0 SAct 0x7fff SErr 0x5 action 0x6 frozen
ata1: SError: { PHYRdyChg CommWake }
ata1.00: failed command: WRITE FPDMA QUEUED
ata1.00: cmd 61/08:00:b0:06:53/00:00:04:00:00/40 tag 0 ncq 4096 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }

So, the bug seems to have a revival. Any ideas?

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

To manage notifications about this bug go to:
https://bugs.launchpad.net/easypeasy-project/+bug/445852/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2013-11-06 Thread Bug Watch Updater
** Changed in: libatasmart
   Importance: Critical = Low

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

To manage notifications about this bug go to:
https://bugs.launchpad.net/easypeasy-project/+bug/445852/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2011-02-06 Thread Neil Hooey
I just installed Fedora Core 14 which uses kernel 2.6.35.6-45.fc14.i686,
and the failed command: IDENTIFY DEVICE and failed command: FLUSH
CACHE problems went away.

Here's the Fedora Bug:
https://bugzilla.redhat.com/show_bug.cgi?id=549981

More details at my StackExchange question:
http://askubuntu.com/questions/16608/how-do-you-fix-failed-command-identify-device-showing-up-in-dmesg

** Bug watch added: Red Hat Bugzilla #549981
   https://bugzilla.redhat.com/show_bug.cgi?id=549981

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2011-02-06 Thread Jon Ramvi
** Changed in: easypeasy-project
 Assignee: Jon Ramvi (ramvi) = (unassigned)

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2011-02-05 Thread Bug Watch Updater
** Changed in: libatasmart
   Importance: Unknown = Critical

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2011-02-03 Thread Bug Watch Updater
** Changed in: linux
   Importance: Unknown = Medium

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2011-02-02 Thread Thomas wagn...@thowabu.de

I get the same Problem with a NVIDIA MCP61 Chipset, OCZ Vertex2 60GB and ext4 
Filesystem.
It´s real Pain -- sometimes the whole system is freezing.
The SSD had dataLoss.

The Problem occurs less frequently with ext2...

And not even once with Windows XP, 7 ...

SATA hdd and optical works fine.

To jail hdparm and smart doesn´t work for me running the latest rc kernels.
I think it´s between the SSD firmware and the libata kernel stack.
(see differenc to Windows, but other drives work fine with libata)

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2011-01-31 Thread Neil Hooey
Is anyone going to fix this?

I've disabled s.m.a.r.t. on all of my drives in
/lib/udev/rules.d/80-udisks.rules, and I've disabled hdparm for them in
/lib/udev/rules.d/85-hdparm.rules, but I still get IDENTIFY DEVICE
errors on boot, shutdown and reboot.

Does anyone even know what software package is actually responsible for
the bug?

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2011-01-25 Thread Bug Watch Updater
** Changed in: libatasmart
   Importance: Critical = Unknown

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2011-01-23 Thread Bug Watch Updater
** Changed in: linux
   Status: Invalid = Won't Fix

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

Title:
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and
  potential hardware death

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-10-04 Thread Andrew Simpson
@rogmorri
I don't think this is the same bug.  You are getting HSM Violations with WRITE 
DMA, whereas this bug occurred with READ DMA.

(This is being written on an AA1 with 10.10 also!)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-10-04 Thread rogmorri
Thank, Andrew.  Maybe then I just have bad hardware.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-10-04 Thread Trey
just to throw it out there - this bug was never fixed. I had to sell a
bricked EEE 900 for scrap because it killed both SSD's.

On Mon, Oct 4, 2010 at 2:08 PM, rogmorri 445...@bugs.launchpad.net
wrote:

 Thank, Andrew.  Maybe then I just have bad hardware.

 --
 devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential
 hardware death
 https://bugs.launchpad.net/bugs/445852
 You received this bug notification because you are a direct subscriber
 of a duplicate bug (387272).

 Status in EasyPeasy Overview: Fix Released
 Status in ATA S.M.A.R.T. Disk Health Monitoring Library: Confirmed
 Status in The Linux Kernel: Invalid
 Status in “devicekit-disks” package in Ubuntu: Invalid
 Status in “libatasmart” package in Ubuntu: Fix Released
 Status in “devicekit-disks” source package in Lucid: Invalid
 Status in “libatasmart” source package in Lucid: Fix Released
 Status in “devicekit-disks” source package in Karmic: Fix Released
 Status in “libatasmart” source package in Karmic: Won't Fix
 Status in “devicekit-disks” package in Fedora: New

 Bug description:
 TEMPORARY WORK AROUND FOR THIS PROBLEM IN KARMIC: (This is now also in
 karmic-proposed and needs testing feedback):

 1. sudo gedit /lib/udev/rules.d/95-devkit-disks.rules

 2. locate the following lines (about 1/3 the way into the file; search for
 smart)

 # ATA disks driven by libata
 KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata,
 ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart
 $tempnode

 3. comment out the second line by adding a # in front, so you should have

 # ATA disks driven by libata
 #KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata,
 ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart
 $tempnode

 4. save the file and reboot

 TECHNICAL ANALYSIS:
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/202
 LUCID STATUS:
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/203
 KARMIC SOLUTION:
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/204

 BUG DESCRIPTION FOLLOWS:

 In the Karmic beta I experience ssd stalls during the boot process.  It
 happens almost everytime before xsplash loads and happens again frequently
 between logging into gdm and the desktop loading.  When it happens during
 login I think it is making gnome time out on loading panel items as I get
 errors related to lots of panel items failing to load.  If I log out and
 back in again when the ssd isn't stalled the panel items load fine.

 When it happens the following messages appear before xplash (or in dmesg
 when it happens after gdm):

 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

 I did not have this issue in jaunty with this hardware and I don't think it
 has happened once the system is fully loaded.  I am running karmic unr on an
 Acer Aspire One netbook.

 ProblemType: Bug
 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:
  USERPID ACCESS COMMAND
  /dev/snd/controlC0:  luke   1990 F pulseaudio
 CRDA: Error: [Errno 2] No such file or directory
 Card0.Amixer.info:
  Card hw:0 'Intel'/'HDA Intel at 0x5854 irq 16'
Mixer name   : 'Realtek ALC268'
Components   : 'HDA:10ec0268,1025015b,00100101'
Controls  : 9
Simple ctrls  : 6
 CheckboxSubmission: 12ef539f3788bfbc46bc56b5c28128a6
 CheckboxSystem: c69722ecac764861be52925fa50b4dcc
 Date: Wed Oct  7 17:54:56 2009
 DistroRelease: Ubuntu 9.10
 HibernationDevice: RESUME=UUID=8d44b89b-2edb-4c02-a4be-94bd25b65081
 MachineType: Acer AOA110
 Package: linux-image-2.6.31-12-generic 2.6.31-12.40
 ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-12-generic
 root=UUID=039a096e-3486-4898-9eeb-44a705f8b7fd ro quiet splash elevator=noop
 usbcore.autosuspend=1
 ProcEnviron:
  LANG=en_CA.UTF-8
  SHELL=/bin/bash
 ProcVersionSignature: Ubuntu 2.6.31-12.40-generic
 RelatedPackageVersions: linux-firmware 1.21
 RfKill:
  0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no
 SourcePackage: linux
 Tags:  ubuntu-unr
 Uname: Linux 2.6.31-12-generic i686
 XsessionErrors:
  (gnome-settings-daemon:2006): GLib-CRITICAL **: g_propagate_error:
 assertion `src != NULL' failed
  (gnome-settings-daemon:2006): GLib-CRITICAL **: g_propagate_error:
 assertion 

Re: [Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-10-04 Thread lotus49
Trey's right, it never was fixed.

Although I have fortunately not suffered from any permanent hardware
problems, the bug resurfaces every now and then.  I have worked around it by
editing /lib/udev/rules.d/80-udisks.rules and commenting out this line:

# ATA disks driven by libata
#KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata,
ENV{DEVTYPE}==disk, IMPORT{program}=udisks-probe-ata-smart $tempnode

This workaround has done the trick but unfortunately, this is overwritten
every now and then (as it warns it will be at the beginning of the file).
At least it is easy to spot when this has happened as my boot times go from
about 15 secs to a couple of minutes.

Simon

On 4 October 2010 07:41, Trey trey...@gmail.com wrote:

 just to throw it out there - this bug was never fixed. I had to sell a
 bricked EEE 900 for scrap because it killed both SSD's.

 On Mon, Oct 4, 2010 at 2:08 PM, rogmorri 445...@bugs.launchpad.net
 wrote:

  Thank, Andrew.  Maybe then I just have bad hardware.
 
  --
  devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential
  hardware death
  https://bugs.launchpad.net/bugs/445852
  You received this bug notification because you are a direct subscriber
  of a duplicate bug (387272).
 
  Status in EasyPeasy Overview: Fix Released
  Status in ATA S.M.A.R.T. Disk Health Monitoring Library: Confirmed
  Status in The Linux Kernel: Invalid
  Status in “devicekit-disks” package in Ubuntu: Invalid
  Status in “libatasmart” package in Ubuntu: Fix Released
  Status in “devicekit-disks” source package in Lucid: Invalid
  Status in “libatasmart” source package in Lucid: Fix Released
  Status in “devicekit-disks” source package in Karmic: Fix Released
  Status in “libatasmart” source package in Karmic: Won't Fix
  Status in “devicekit-disks” package in Fedora: New
 
  Bug description:
  TEMPORARY WORK AROUND FOR THIS PROBLEM IN KARMIC: (This is now also in
  karmic-proposed and needs testing feedback):
 
  1. sudo gedit /lib/udev/rules.d/95-devkit-disks.rules
 
  2. locate the following lines (about 1/3 the way into the file; search
 for
  smart)
 
  # ATA disks driven by libata
  KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata,
  ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart
  $tempnode
 
  3. comment out the second line by adding a # in front, so you should have
 
  # ATA disks driven by libata
  #KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata,
  ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart
  $tempnode
 
  4. save the file and reboot
 
  TECHNICAL ANALYSIS:
 
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/202
  LUCID STATUS:
 
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/203
  KARMIC SOLUTION:
 
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/204
 
  BUG DESCRIPTION FOLLOWS:
 
  In the Karmic beta I experience ssd stalls during the boot process.  It
  happens almost everytime before xsplash loads and happens again
 frequently
  between logging into gdm and the desktop loading.  When it happens during
  login I think it is making gnome time out on loading panel items as I get
  errors related to lots of panel items failing to load.  If I log out and
  back in again when the ssd isn't stalled the panel items load fine.
 
  When it happens the following messages appear before xplash (or in dmesg
  when it happens after gdm):
 
  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
 
  I did not have this issue in jaunty with this hardware and I don't think
 it
  has happened once the system is fully loaded.  I am running karmic unr on
 an
  Acer Aspire One netbook.
 
  ProblemType: Bug
  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  luke   1990 F pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0x5854 irq 16'
 Mixer name   : 'Realtek ALC268'
 Components   : 'HDA:10ec0268,1025015b,00100101'
 Controls  : 9
 Simple ctrls  : 6
  CheckboxSubmission: 12ef539f3788bfbc46bc56b5c28128a6
  CheckboxSystem: c69722ecac764861be52925fa50b4dcc
  Date: Wed 

[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-10-03 Thread rogmorri
On the same acer aspire one laptop where I saw this issue last year, I
am perhaps seeing it again with ubuntu-10.10-rc-desktop-i386...


Oct  4 00:59:43 ubuntu kernel: [  602.639266]  res 
00/00:00:00:00:00/00:00:00:00:00/00 Emask 0x2 (HSM violation)
Oct  4 00:59:44 ubuntu kernel: [  604.149075] ata2: soft resetting link
Oct  4 00:59:45 ubuntu kernel: [  604.321486] ata2.00: configured for UDMA/100
Oct  4 00:59:45 ubuntu kernel: [  604.321529] ata2: EH complete
Oct  4 00:59:49 ubuntu kernel: [  609.173903] ata2.00: exception Emask 0x0 SAct 
0x0 SErr 0x0 action 0x6
Oct  4 00:59:49 ubuntu kernel: [  609.173915] ata2.00: BMDMA stat 0x5
Oct  4 00:59:49 ubuntu kernel: [  609.173926] ata2.00: failed command: WRITE DMA
Oct  4 00:59:49 ubuntu kernel: [  609.173945] ata2.00: cmd 
ca/00:00:40:69:c9/00:00:00:00:00/e0 tag 0 dma 131072 out
Oct  4 00:59:49 ubuntu kernel: [  609.173949]  res 
00/00:00:00:00:00/00:00:00:00:00/00 Emask 0x2 (HSM violation)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-09-13 Thread loewe_78
I've got a hp 510 notebook pc. Back when it was new, it was shipped with 
open-dos. So, it was running with Linux since Gutsy Gibbon and, up to now, had 
only some difficulties to be solved with the southbridge that were working out 
of the box in Hardy or Jackalope.
It has got an Intel Celeron M 360 1.4 Mhz Processor with 400 Mhz frontside-bus 
and Intel 910 GML Chipset with Intel-ICH-6m SB.
The HD is a IBM/Hitachi 40GB 4200RPM 2MB Cache Travelstar HTS421240H9AT00. 

When I upgraded to Karmic about a year ago, I had the problem described above. 
So, I reinstalled Jackalope where the hardware worked without problems.
Now I want to pass on my laptop as I bought a new one. A test with the 
desktop-CD made no obvious problems (it's a HD-failure that might occur more 
often when the program is installed on the HD and not on CD, ha-ha). This and 
the fact that it's easier to do so is why I tried to install Lucid.

Despite I implemented the workaround for Lucid given above, the device
produces the following output when running dmesg:


[0.271537] ata_piix :00:1f.1: version 2.13
[0.271555]   alloc irq_desc for 16 on node -1
[0.271559]   alloc kstat_irqs on node -1
[0.271567] ata_piix :00:1f.1: PCI INT A - GSI 16 (level, low) - IRQ 16
[0.271628] ata_piix :00:1f.1: setting latency timer to 64
[0.277201] isapnp: Scanning for PnP cards...
[0.282766] scsi0 : ata_piix
[0.282911] scsi1 : ata_piix
[0.283654] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x3580 irq 14
[0.283659] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x3588 irq 15
[0.284177] Fixed MDIO Bus: probed


-
.
.
.
-

[0.489196] ata1.00: ATA-7: HTS421240H9AT00, HACOA70S, max UDMA/100
[0.489204] ata1.00: 78140160 sectors, multi 16: LBA48 
[0.489256] ata1.01: ATAPI: TSSTcorpCDW/DVD TS-L462D, HS02, max MWDMA2
[0.548617] ata1.00: configured for UDMA/100
[0.556926] ACPI: Battery Slot [C15E] (battery present)
[0.580432] ata1.01: configured for MWDMA2

-
.
.
.
-
[ 158.816041] ata1: lost interrupt (Status 0x58)
[  158.820017] ata1: drained 32768 bytes to clear DRQ.
[  158.909721] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  158.909728] sr 0:0:1:0: CDB: Test Unit Ready: 00 00 00 00 00 00
[  158.909744] ata1.01: cmd a0/00:00:00:00:00/00:00:00:00:00/b0 tag 0
[  158.909746]  res 58/00:01:00:00:00/00:00:00:00:00/b0 Emask 0x2 (HSM 
violation)
[  158.909750] ata1.01: status: { DRDY DRQ }
[  158.909787] ata1: soft resetting link
[  159.128657] ata1.00: configured for UDMA/100
[  159.160312] ata1.01: configured for MWDMA2
[  159.179141] ata1: EH complete
[ 1113.785054] atkbd.c: Unknown key released (translated set 2, code 0xe0 on 
isa0060/serio0).
[ 1113.785060] atkbd.c: Use 'setkeycodes e060 keycode' to make it known.
[ 2920.000474] ata1: lost interrupt (Status 0x58)
[ 2920.004015] ata1: drained 32768 bytes to clear DRQ.
[ 2920.093417] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 2920.093423] ata1.01: ATAPI check failed (ireason=0x1 bytes=8)
[ 2920.093429] sr 0:0:1:0: CDB: Get event status notification: 4a 01 00 00 10 
00 00 00 08 00
[ 2920.093448] ata1.01: cmd a0/00:00:00:08:00/00:00:00:00:00/b0 tag 0 pio 16392 
in
[ 2920.093450]  res 58/00:01:00:08:00/00:00:00:00:00/b0 Emask 0x2 (HSM 
violation)
[ 2920.093455] ata1.01: status: { DRDY DRQ }

aso...


This on and on freezing is a little bit annoying. I'd be thankful for any 
advice how to get rid of that issue; installing Hardy or Jacky would be lots of 
more work than trying to fiddle around with some sophisticated approach to 
solve this issue by hand...

Thanks in advance for any hint :-)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-09-13 Thread loewe_78

** Attachment added: dmesg.txt
   
https://bugs.launchpad.net/ubuntu/+source/libatasmart/+bug/445852/+attachment/1581142/+files/dmesg.txt

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-05-27 Thread bornagainpenguin
** Also affects: devicekit-disks (Fedora)
   Importance: Undecided
   Status: New

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-05-03 Thread Martin Pitt
I debugged this issue on Jarige's machine, and it has a pretty different
root cause. Due to that, and because this bug has become way too long,
and because it fixes the issue for most people here, we opened a new
report in bug 574462. If you still have the problem, please subscribe to
that one instead.

Thank you!

** Changed in: libatasmart (Ubuntu Lucid)
   Status: Incomplete = Fix Released

** Changed in: libatasmart (Ubuntu)
   Status: Incomplete = Fix Released

** Changed in: libatasmart (Ubuntu Karmic)
   Status: Triaged = Won't Fix

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-05-03 Thread Martin Pitt
These are the steps for allowing me SSH access:

 * Install openssh-server
 * Create a new user for me (e. g. pitti), with admin privileges
 * Log in as that user, write the password in a file password.txt in the home 
directory (so that you do not need to pass it around by mail, but I can get 
access to it once I'm logged in and need sudo)
 * mkdir ~/.ssh
 * wget -O ~/.ssh/authorized_keys https://launchpad.net/~pitti/+sshkeys
 * Configure your router to allow access to your machine's Port 22 (for ssh 
from outside)
 * Tell me (via private mail, IRC, or bug followup) your IP address (visible in 
the router configuration web page usually).

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-05-03 Thread Martin Pitt
Oh, for the record: I will track my changes and revert them, but I'll
need to install a few additional packages (thus I need a few MB of
download quota), build some test code, and run it as root. Thus I _will_
access your hard drive with those SMART probing commands to reproduce
the problem a few times.

I will not need to see anything in other home directories, and the like.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-30 Thread Jarige
@Martin Pitt
I'm willing to give you SSH access to my netbook, but you have got to tell me 
how to do so. I do not have any experience with that. I must tell you that I 
did apply the workaround yesterday. I can uncomment the lines if necessarily. 
I'm probably going to be online 5 hours from now, and maybe even longer. I'll 
receive an e-mail notification if you reply here.

And, of course, if you've got SSH access (which I guess is some kind of
terminal access) don't screw it :P This is a production machine, not a
test machine. I work on this netbook every day. My important files are
backed up with Dropbox though, so no need to worry about that.

So just tell me what to do :)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-29 Thread Jon Ramvi
** Changed in: easypeasy-project
   Status: Confirmed = Triaged

** Changed in: easypeasy-project
   Status: Triaged = Fix Released

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-29 Thread ipig
When i boot up a live (nightly) build from Tuesday/27th i get an error
saying a hard disk has health problems (ATA ASUS-PHISON SSD/TST2.0L4)
(Port 2 of PATA Host Adapter) (8.1GB) (/dev/sdb)

SMART Status: Disk Failure is Imminent

ID: 235 / Good Block Rate (Number of available reserved blocks as a
percentage of the total number of reserved blocks) Assessment: Failing /
Normalized: 1 / Worst: 1 / Threshold: 3 / Value: N/A

I don't really know what the deal is. Maybe the disk really is failing.
It's been failing for a while+ then.

Maybe libatasmart just brings out the worst of it. I'm a little split
still.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-29 Thread theluketaylor
I am the original reporter of this issue.  I installed Lucid today and I
can confirm this issue has NOT been corrected.  I had to comment out the
SMART portions of /lib/udev/rules.d/80-udisks.rules to avoid 5-10 second
I/O stalls and numerous HSM errors (exactly the same symptoms as
originally reported)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-29 Thread Jim Connor
6 months, 22 days ago?

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-29 Thread theluketaylor
@Jim Connor

Yes, I reported this 6 months ago.  I'm more than a little frustrated it
hasn't been fixed yet, especially since in comment 203 I read this:

So in summary, the problem is fixed in the lucid version of
libatasmart. While the code could be a little more robust for future
extensions (which I'll discuss in the upstream bug), there are currently
no code paths which can lead to the situation that triggers HSM
violations.

I assumed based on that when I upgraded from 9.10 to 10.04 I would have
no issues.  I did a fresh install and it went fine until I rebooted into
the new system.  Then I got the same errors I reported oh so long ago.
The work around from 9.10 worked, though the SMART udev rules are now
located in a different file (80-udisks.rules)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-29 Thread Martin Pitt
theluketaylor [2010-04-29 21:24 -]:
 Yes, I reported this 6 months ago.  I'm more than a little frustrated it
 hasn't been fixed yet, especially since in comment 203 I read this:
 
 So in summary, the problem is fixed in the lucid version of
 libatasmart. While the code could be a little more robust for future
 extensions (which I'll discuss in the upstream bug), there are currently
 no code paths which can lead to the situation that triggers HSM
 violations.

So far I just got access to one machine where this happened. I could
reproduce the bug and found the cause (see upstream report). As of
today, nobody offered me SSH access to a machine which is still
affected, so I'm afraid there's nothing else I can do..

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-28 Thread ipig
My (Post #198) install had a lockup  then would only boot to a grub
read error - not sure what happened.

I decided to give 10.04 Beta2/RC a whirl - repeating the steps in #198 -
i couldn't dd the drive w/out it resulting in a loop of HSM violations.

I then tried dd'ing the drive in (live) 9.04, 8.10  then 8.04.

In 8.04 was i able to dd the drive w/out a loop of HSM violations.

Side Note: I've noticed when dd'ing the drive under normal circumstances
the HD light stays on solid, when it starts pulsing in a timed manor
that = an hsm loop going on in the bg

Side Note: seems to effect 8.10/9.04/9.10/10.04 beta1  beta2/rc) - (but
not 8.04)

The bug surely seems to be in effect earlier then i thought in re:
versions  installation(s)

Anyways, i know the full release is tomorrow so hopefully everything is
g2g (re: #250)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-28 Thread Martin Pitt
ipig [2010-04-28 19:53 -]:
 Side Note: seems to effect 8.10/9.04/9.10/10.04 beta1  beta2/rc) - (but
 not 8.04)

This is definitively unrelated then, since libatasmart was only
introduced in 9.10. Perhaps your problem is more like bug 515023 or
bug 548513?

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-26 Thread Jon Ramvi
** Also affects: easypeasy-project
   Importance: Undecided
   Status: New

** Changed in: easypeasy-project
   Status: New = Confirmed

** Changed in: easypeasy-project
 Assignee: (unassigned) = Jon Ramvi (ramvi)

** Changed in: easypeasy-project
   Importance: Undecided = High

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-20 Thread Andrew Simpson
I'm not convinced this recent problem is related to devkit-disks-probe-
ata-smart (the original bug).  I have experienced the recent problem
once - during an 'apt-get update'.

From what I see it's typified by the kernel giving a READ DMA or WRITE
DMA command, to which the drive responds in an unexpected manner (HSM
Violation).  After a suitable timeout the drive is reset and things
continue.

Also, the bug does not occur at boot, but randomly during use.  And
using the probing with 'Disk Utility' has no affect for me.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-20 Thread Martin Pitt
Given how much trouble this still causes on Lucid, I won't reenable the
SMART prober for karmic very soon.

** Changed in: libatasmart (Ubuntu Karmic)
 Assignee: Martin Pitt (pitti) = (unassigned)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-20 Thread Jarige
If there's anything I can do to produce more data for debugging, contact me.
I didn't apply any workaround, since I do not know how to do that.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-18 Thread Horácio
I confirm the bug in lucid beta2. I had this problem in a asus eee 900
originally, was apparently solved after patch, but after upgrade from
karmic to lucid beta2, I detected again HSM violations. The difference
is that it does not appear during boot but randomly during normal use of
computer (my case web browsing).

   82.816046] ata2: lost interrupt (Status 0x58)
[   82.816103] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   82.816111] ata2.00: BMDMA stat 0x64
[   82.816119] ata2.00: failed command: WRITE DMA
[   82.816133] ata2.00: cmd ca/00:10:1f:16:00/00:00:00:00:00/e0 tag 0 dma 8192 
out
[   82.816137]  res 58/00:10:1f:16:00/00:00:00:00:00/e0 Emask 0x2 (HSM 
violation)
[   82.816144] ata2.00: status: { DRDY DRQ }
[   82.816180] ata2: soft resetting link
[   83.014771] ata2.00: configured for UDMA/66
[   83.020331] ata2.01: configured for UDMA/66
[   83.044327] ata2.00: configured for UDMA/66
[   83.052277] ata2.01: configured for UDMA/66
[   83.052295] ata2: EH complete
[  113.816056] ata2: lost interrupt (Status 0x58)
[  113.816113] ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  113.816121] ata2.01: BMDMA stat 0x64
[  113.816129] ata2.01: failed command: WRITE DMA
[  113.816144] ata2.01: cmd ca/00:88:39:08:e2/00:00:00:00:00/f0 tag 0 dma 69632 
out
[  113.816147]  res 58/00:88:39:08:e2/00:00:00:00:00/f0 Emask 0x2 (HSM 
violation)
[  113.816154] ata2.01: status: { DRDY DRQ }
[  113.816191] ata2: soft resetting link
[  114.056305] ata2.00: configured for UDMA/66
[  114.064298] ata2.01: configured for UDMA/66
[  114.088283] ata2.00: configured for UDMA/66
[  114.096279] ata2.01: configured for UDMA/66
[  114.096296] ata2: EH complete
[  147.816044] ata2: lost interrupt (Status 0x58)
[  147.816102] ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  147.816109] ata2.01: BMDMA stat 0x64
[  147.816117] ata2.01: failed command: WRITE DMA
[  147.816131] ata2.01: cmd ca/00:08:d1:ed:61/00:00:00:00:00/f0 tag 0 dma 4096 
out
[  147.816135]  res 58/00:08:d1:ed:61/00:00:00:00:00/f0 Emask 0x2 (HSM 
violation)
[  147.816142] ata2.01: status: { DRDY DRQ }
[  147.816178] ata2: soft resetting link
[  148.056297] ata2.00: configured for UDMA/66
[  148.064307] ata2.01: configured for UDMA/66
[  148.088278] ata2.00: configured for UDMA/66
[  148.096288] ata2.01: configured for UDMA/66
[  148.096303] ata2: EH complete
[  180.816048] ata2: lost interrupt (Status 0x58)
[  180.816105] ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  180.816233] ata2.01: BMDMA stat 0x64
[  180.816297] ata2.01: failed command: WRITE DMA
[  180.816380] ata2.01: cmd ca/00:08:b9:01:6a/00:00:00:00:00/f0 tag 0 dma 4096 
out
[  180.816384]  res 58/00:08:b9:01:6a/00:00:00:00:00/f0 Emask 0x2 (HSM 
violation)
[  180.816624] ata2.01: status: { DRDY DRQ }
[  180.816727] ata2: soft resetting link
[  181.056279] ata2.00: configured for UDMA/66
[  181.064276] ata2.01: configured for UDMA/66
[  181.088275] ata2.00: configured for UDMA/66
[  181.096274] ata2.01: configured for UDMA/66
[  181.096289] ata2: EH complete
[  244.738599] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-18 Thread Jarige
I can confirm that I still have this bug having all updates installed in
Lucid.

I was told (by Martin Pitt) to execute the following command:
sudo strace -vvfs1024 -o /tmp/probe-smart.txt /lib/udev/udisks-probe-ata-smart 
/dev/sda

And add /tmp/probe-smart.txt as an attachment. So I did that, hoping it
would help... I did this without applying any workaround (except for the
one that was auto-released with Karmic, but the problems reappeared in
Lucid)

Basically, I don't understand anything of this bug. I don't know how to
apply the workaround on an already installed UNR, since the explanation
only states booting from a LiveCD, and I don't know whether the
workaround has any bad side effects.

How do I apply the workaround on my machine, on an already installed
UNR?

** Attachment added: probe-smart.txt
   http://launchpadlibrarian.net/44714155/probe-smart.txt

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-17 Thread sun2ecliptic
So, the problem has reappeared with Lucid.  Last night I did an upgrade
via upgrade-manager to Lucid, and after updating all packages and using
the system, I received this:

==
[   89.816125] ata2: lost interrupt (Status 0x58)
[   89.820090] ata2: drained 2048 bytes to clear DRQ.
[   89.823689] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   89.823708] ata2.00: BMDMA stat 0x4
[   89.823726] ata2.00: failed command: READ DMA
[   89.823765] ata2.00: cmd c8/00:08:00:55:e1/00:00:00:00:00/e0 tag 0 dma 4096 
in
[   89.823774]  res 58/00:08:00:55:e1/00:00:00:00:00/e0 Emask 0x2 (HSM 
violation)
[   89.823794] ata2.00: status: { DRDY DRQ }
[   89.823870] ata2: soft resetting link
[   89.992540] ata2.00: configured for UDMA/66
[   89.992580] ata2: EH complete
[  120.816124] ata2: lost interrupt (Status 0x58)
[  120.820091] ata2: drained 32768 bytes to clear DRQ.
[  120.934970] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  120.938005] ata2.00: BMDMA stat 0x4
[  120.940833] ata2.00: failed command: READ DMA
[  120.943786] ata2.00: cmd c8/00:f8:a8:da:15/00:00:00:00:00/e0 tag 0 dma 
126976 in
[  120.943795]  res 58/00:f8:a8:da:15/00:00:00:00:00/e0 Emask 0x2 (HSM 
violation)
[  120.950725] ata2.00: status: { DRDY DRQ }
[  120.954028] ata2: soft resetting link
[  121.124583] ata2.00: configured for UDMA/66
[  121.124625] ata2: EH complete
[  209.787794] __ratelimit: 9 callbacks suppressed
[  209.787814] apt-get[1574]: segfault at 0 ip 00327d10 sp bfa0e0ec error 4 in 
libc-2.11.1.so[247000+153000]
==

Kernel: 2.6.32-21-generic (i686)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-16 Thread Raf
I have not had anymore HSM violations. And nobody else has reported any
problems. It looks like this problem is fixed.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-16 Thread Trey
I still have two bricked SSD's on an EEE 900

On Apr 17, 2010 10:01 AM, Raf 4263...@noduck.org wrote:

I have not had anymore HSM violations. And nobody else has reported any
problems. It looks like this problem is fixed.

-- devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential
hardware death https:/...

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-15 Thread Martin Pitt
Gav Mack [2010-04-13 23:18 -]:
 Even though I have the divert set I've just had a HSM Violation shortly
 after Lucid has fully started - portion of the log attached from boot
 with the error logged at the end.
 
 ** Attachment added: dmesg
http://launchpadlibrarian.net/44091487/dmesg

This looks rather different, though (no HSM violation). If you have
the divert set, then it's not due to devkit-disks-probe-ata-smart.
Another potential culprit could be hdparm, please see bug 515023.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-13 Thread Martin Pitt
ubuntu-crypto [2010-04-12 21:52 -]:
 just to be sure it is safe to remove this patch if you *don't* use
 SDDs correct?

The SMART probing is not inherently tied to SSDs. It just seems that
many of today's SSDs use a kind of controller which acts up when its
asked for SMART status.

So, nobody can guarantee that this problem does not affect normal HDDs
as well, but it seems we haven't heard about those yet.

If you re-enable the SMART probing and it works for you (easy to
notice if your startup speed suddenly increases by 30 seconds or so),
then it's safe, yes.

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-13 Thread Gav Mack
Even though I have the divert set I've just had a HSM Violation shortly
after Lucid has fully started - portion of the log attached from boot
with the error logged at the end.

** Attachment added: dmesg
   http://launchpadlibrarian.net/44091487/dmesg

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-12 Thread MFV
I know this re #148. There are other OS's out  there ;)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-12 Thread Martin Pitt
Reopening for lucid then, since some machines still seem to be affected.
For those who get it on Lucid beta-2,  can you please confirm that
applying the workaround in /lib/udev/rules.d/80-udisks.rules works?
Also, please do

  sudo strace -vvfs1024 -o /tmp/probe-smart.txt /lib/udev/udisks-probe-
ata-smart /dev/sda

and attach /tmp/probe-smart.txt here. It'd be best if someone could give
me ssh access to an affected machine, since it works on those I can put
my hands on now.

** Changed in: libatasmart (Ubuntu Lucid)
   Importance: Critical = High

** Changed in: libatasmart (Ubuntu Lucid)
   Status: Fix Released = Confirmed

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-12 Thread Martin Pitt
** Changed in: libatasmart (Ubuntu Lucid)
   Status: Confirmed = Incomplete

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-12 Thread ubuntu-crypto
just to be sure it is safe to remove this patch if you *don't* use SDDs
correct?

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-12 Thread Raf
I have not been able to reproduce the HSM violations. I rebooted 20
times, cold booted, booted with battery, replaced battery and booted,
tried 2.6.32-19 and 2.6.32-20, all of these seem to work without
problem.

Previously (after the fix went in) I sometimes got the HSM violation,
but only on boot, I was not able to trigger it by manually running
udisks-probe-ata-smart.

I have replaced /lib/udev/udisks-probe-ata-smart with a script that
generates a trace, so if it should cause an HSM violation again, it
should generate a trace output.

My understanding of this bug is that it is only related to running of
udisks-probe-ata-smart, which should only run at boot (unless
repartitioning the drive). But some reports seem to indicate failures
after boot (e.g. #234).

The workaround did seem to work for me.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-11 Thread MFV
Spoke to soon, my system got hosed just now. see 561079 as i didn't have
this reference to hand. Managed to get dumps etc off.

udev rules was edited to not run the libata stuff and it still errored.

I really need to use this netbook for casual work on the move and can't
mess around any longer, so going to have to try installing something
else, Ubuntu is not working out on the EEEpc. Bye for now.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-11 Thread shadowblast101
MFV, I just thought I should point out that this bug is not just within
Ubuntu, but affects any Linux distribution that utilizes the Libatasmart
package.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-10 Thread Jarige
Still having the bug with a totally updated Lucid today, but it didn't
appear at boottime. It became less and less over time, but it is not
fully gone. I got it twice now during this session. Both of them quite
at the beginning (85 and 114 seconds in dmesg, if those are seconds)

udisk version: 1.0.1-1
libatasmart version: 0.17+git20100219-1git2

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-09 Thread MFV
It does *appear* its fixed in the latest Lucid.

Can anyone confirm how effective any Karmic/Jaunty fixes were, as Lucid
is a bag of i915 coredump at the moment?

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-09 Thread Gav Mack
I installed the Lucid daily build a fortnight ago, it seemed to work
fine for a week but last weekend I started getting the HSM violiations
which have finally trashed my partition - fsck was running for a whole
day stuck on 70%.  Stuck the daily boot usb back in and am currently
zeroing the ext4 partition.  This time I think I'll be setting Andrew
Simpsons dpdg-divert from the very start and leaving it in place until
I'm sure it's not going to come back!

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-09 Thread Raf
With the early versions of udisks/libatasmart4 on Lucid I would always
get HSM violations. Now with the newer versions (udisks
1.0.0+git20100319-0git1 and libatasmart4 0.17+git20100219-1git2) I only
sometimes get HSM violations.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-09 Thread Gav Mack
@Raf:

Despite months of HSM violations with Karmic I never had to zero the
drive whatsoever, I installed Lucid just by reformatting the partition.
This time I only had the occasional HSM, not during startup but was
noticeable during apt get update in terminal but it was enough to trash
the supertalent SSD this time only after 2 days tops.  I would rather
set the divert up and leave it set until I know this bug is gone
forever!

My reinstall of Lucid after the erase and divert set as per post 147 is
now running nicely - now I just have to load the apps/repositories back
in to get back to where I was!

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-09 Thread Raf
@Gav: how are we going to find a fix for this problem if none of us once
in a while is willing to try the new version?

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-07 Thread Raf
I am using current Lucid (udisks 1.0.0+git20100319-0git1 and
libatasmart4 0.17+git20100219-1git2) on my Acer Aspire One with Super
Talent replacement SSD (FEM32GF13M) and I am still getting HSM
violations. I previously tested and was able to confirm that it
(sometimes) works without error.

I am hesitant to test more since the corruption was quite bad: broken
grub config (easily fixed) and mount point /dev/shm does not exist
errors when booting (haven't found how to fix this yet).

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-07 Thread ipig
I have not had any problems with 10.04 b1 since post #198.

Call me a wimp but if it aint broke i lack the energy to fix it again.

Not sure if i'll do b2 yet but i'll definitely upgrade to the full
version when it comes out.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-06 Thread J-Pierre Rouits
Unfortunately, this morning, the random boot lock up reappeared. and
this can only be recovered by hitting the power button which erases any
log ! So my previous comment was too optimistic. May be this is not the
proper place for discussion about the random boot lock up. But the
random CDROM probing is still there with HSM violation.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-05 Thread Trey
Couldn't get the Daily Build downloaded (5kb/s in China), but I've got the
latest stable .32 kernel running in Karmic. Still doesn't work. HDPARM gives
me input/output errors doing anything, like setting a password. Gparted at
least sees one of the drives and its partitions, but ultimately does the
same when I tried to format.

Any suggestions?

  n Sun,

Apr 4, 2010 at 2:04 AM, Dan Halbert halb...@halwitz.org wrote:

 Lucid Lynx Beta1 does not include this fix, because it was assembled
 before the fix was released. I successfully installed a recent daily
 netbook build of Lucid (http://cdimage.ubuntu.com/ubuntu-netbook/daily-
 live/ http://cdimage.ubuntu.com/ubuntu-netbook/daily-live/) on a Dell
 Mini 9 with a stock 4GB STEC SSD. The build I used was
 created after the fix was released. Though I did not have the reported
 problem, I did have peculiar, similar symptoms with karmic and after.

 The final test for those of you with problem SSD's, it seems to me, is
 to install from of the daily-live builds (or wait for Beta2). That will
 require no patching during the install, and should just work.

 Before I installed, I booted from a USB stick and did a secure erase of
 the SSD (see #211 above), which only took a short time.

 --
 devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential
 hardware death
 https://bugs.launchpad.net/bugs/445852
 You received this bug notification because you are a direct subscriber
 of a duplicate bug.

 Status in ATA S.M.A.R.T. Disk Health Monitoring Library: Confirmed
 Status in The Linux Kernel: Invalid
 Status in “devicekit-disks” package in Ubuntu: Invalid
 Status in “libatasmart” package in Ubuntu: Fix Released
 Status in “devicekit-disks” source package in Lucid: Invalid
 Status in “libatasmart” source package in Lucid: Fix Released
 Status in “devicekit-disks” source package in Karmic: Fix Released
 Status in “libatasmart” source package in Karmic: Triaged

 Bug description:
 TEMPORARY WORK AROUND FOR THIS PROBLEM IN KARMIC: (This is now also in
 karmic-proposed and needs testing feedback):

 1. sudo gedit /lib/udev/rules.d/95-devkit-disks.rules

 2. locate the following lines (about 1/3 the way into the file; search for
 smart)

 # ATA disks driven by libata
 KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata,
 ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart
 $tempnode

 3. comment out the second line by adding a # in front, so you should have

 # ATA disks driven by libata
 #KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata,
 ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart
 $tempnode

 4. save the file and reboot

 TECHNICAL ANALYSIS:
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/202
 LUCID STATUS:
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/203
 KARMIC SOLUTION:
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/204

 BUG DESCRIPTION FOLLOWS:

 In the Karmic beta I experience ssd stalls during the boot process.  It
 happens almost everytime before xsplash loads and happens again frequently
 between logging into gdm and the desktop loading.  When it happens during
 login I think it is making gnome time out on loading panel items as I get
 errors related to lots of panel items failing to load.  If I log out and
 back in again when the ssd isn't stalled the panel items load fine.

 When it happens the following messages appear before xplash (or in dmesg
 when it happens after gdm):

 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

 I did not have this issue in jaunty with this hardware and I don't think it
 has happened once the system is fully loaded.  I am running karmic unr on an
 Acer Aspire One netbook.

 ProblemType: Bug
 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:
  USERPID ACCESS COMMAND
  /dev/snd/controlC0:  luke   1990 F pulseaudio
 CRDA: Error: [Errno 2] No such file or directory
 Card0.Amixer.info:
  Card hw:0 'Intel'/'HDA Intel at 0x5854 irq 16'
Mixer name   : 'Realtek ALC268'
Components   : 'HDA:10ec0268,1025015b,00100101'
Controls  : 9
Simple ctrls  : 6
 CheckboxSubmission: 12ef539f3788bfbc46bc56b5c28128a6
 CheckboxSystem: 

[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-05 Thread J-Pierre Rouits
Surprisingly, the fix from a few days ago also fixed the random freezing at 
boot time that I experienced from the time I installed Karmic. I have no SSD 
but an ATA disk. However, the CDROM drive continues to be probed randomly 
giving an HSM violation. See the following kernel log:
===
Apr  5 11:31:03 jpport kernel: [ 1940.181158] ata2.00: exception Emask 0x0 SAct 
0x0 SErr 0x0 action 0x6
Apr  5 11:31:03 jpport kernel: [ 1940.181187] ata2.00: cmd 
a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr  5 11:31:03 jpport kernel: [ 1940.181191]  cdb 00 00 00 00 00 00 00 
00  00 00 00 00 00 00 00 00
Apr  5 11:31:03 jpport kernel: [ 1940.181194]  res 
00/01:01:01:14:eb/00:00:00:00:00/00 Emask 0x2 (HSM violation)
Apr  5 11:31:03 jpport kernel: [ 1940.181243] ata2: soft resetting link
Apr  5 11:31:03 jpport kernel: [ 1940.360647] ata2.00: configured for MWDMA2
Apr  5 11:31:03 jpport kernel: [ 1940.473234] ata2: EH complete
Apr  5 11:37:48 jpport kernel: [ 2345.180532] ata2.00: exception Emask 0x0 SAct 
0x0 SErr 0x0 action 0x6
Apr  5 11:37:48 jpport kernel: [ 2345.180563] ata2.00: cmd 
a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr  5 11:37:48 jpport kernel: [ 2345.180567]  cdb 00 00 00 00 00 00 00 
00  00 00 00 00 00 00 00 00
Apr  5 11:37:48 jpport kernel: [ 2345.180571]  res 
00/01:01:01:14:eb/00:00:00:00:00/00 Emask 0x2 (HSM violation)
Apr  5 11:37:48 jpport kernel: [ 2345.180646] ata2: soft resetting link
Apr  5 11:37:48 jpport kernel: [ 2345.360649] ata2.00: configured for MWDMA2
Apr  5 11:37:48 jpport kernel: [ 2345.366253] ata2: EH complete
Apr  5 11:39:31 jpport kernel: [ 2447.968101] ata2.00: exception Emask 0x0 SAct 
0x0 SErr 0x0 action 0x6 frozen
Apr  5 11:39:31 jpport kernel: [ 2447.968112] ata2.00: ST_FIRST: !(DRQ|ERR|DF)
Apr  5 11:39:31 jpport kernel: [ 2447.968139] ata2.00: cmd 
a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr  5 11:39:31 jpport kernel: [ 2447.968142]  cdb 00 00 00 00 00 00 00 
00  00 00 00 00 00 00 00 00
Apr  5 11:39:31 jpport kernel: [ 2447.968146]  res 
00/01:01:01:14:eb/00:00:00:00:00/00 Emask 0x2 (HSM violation)
Apr  5 11:39:31 jpport kernel: [ 2447.968191] ata2: soft resetting link
Apr  5 11:39:31 jpport kernel: [ 2448.148629] ata2.00: configured for MWDMA2
Apr  5 11:39:31 jpport kernel: [ 2448.262396] ata2: EH complete



Configuration : HP Compaq nx6125, Ubuntu 9.10, last updated on April 3

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-03 Thread Trey
I've got my old bricked Asus EEE 900 at my house for the weekend. Both
SSD's are ostensibly dead. I've loaded Ubuntu 10.04 Beta1 on a USB and
can't install it without an Input/Output Error during the format. So
much for the new kernel fixing the problem. Zeroing out and
unlocking is the same. I've even taken the 16GB out and tried to
have it read in a Windows machine. I've tried everything. You guys
keep saying it's not really dead. I assure you that it behaves like it
is every time I poke it with a digital stick. It came from trying to
install the early Karmic release on both SSD's after the first one
failed. It's not physically damaged, it came directly from my
persistence trying to make this damn thing work installing and
reinstalling.

I've got the 900 for another day or two. I sold it to a friend with a
Ubuntu running off an SD card. I'd like to get it working for him
before I give it back to him tomorrow.

My original post:
http://georgia.ubuntuforums.org/showthread.php?p=8262777


On Sat, Apr 3, 2010 at 12:35 PM, sun2ecliptic sun2eclip...@gmail.com wrote:
 Applied fix (via Update-Manager), confirmed - no errors. (Intel 4GB SSD,
 UNR 9.10).  All is well in the land of milk and hardware.

 --
 devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
 hardware death
 https://bugs.launchpad.net/bugs/445852
 You received this bug notification because you are a direct subscriber
 of a duplicate bug.

 Status in ATA S.M.A.R.T. Disk Health Monitoring Library: Confirmed
 Status in The Linux Kernel: Invalid
 Status in “devicekit-disks” package in Ubuntu: Invalid
 Status in “libatasmart” package in Ubuntu: Fix Released
 Status in “devicekit-disks” source package in Lucid: Invalid
 Status in “libatasmart” source package in Lucid: Fix Released
 Status in “devicekit-disks” source package in Karmic: Fix Released
 Status in “libatasmart” source package in Karmic: Triaged

 Bug description:
 TEMPORARY WORK AROUND FOR THIS PROBLEM IN KARMIC: (This is now also in 
 karmic-proposed and needs testing feedback):

 1. sudo gedit /lib/udev/rules.d/95-devkit-disks.rules

 2. locate the following lines (about 1/3 the way into the file; search for 
 smart)

 # ATA disks driven by libata
 KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata, 
 ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart $tempnode

 3. comment out the second line by adding a # in front, so you should have

 # ATA disks driven by libata
 #KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata, 
 ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart $tempnode

 4. save the file and reboot

 TECHNICAL ANALYSIS: 
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/202
 LUCID STATUS: 
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/203
 KARMIC SOLUTION: 
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/204

 BUG DESCRIPTION FOLLOWS:

 In the Karmic beta I experience ssd stalls during the boot process.  It 
 happens almost everytime before xsplash loads and happens again frequently 
 between logging into gdm and the desktop loading.  When it happens during 
 login I think it is making gnome time out on loading panel items as I get 
 errors related to lots of panel items failing to load.  If I log out and back 
 in again when the ssd isn't stalled the panel items load fine.

 When it happens the following messages appear before xplash (or in dmesg when 
 it happens after gdm):

 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

 I did not have this issue in jaunty with this hardware and I don't think it 
 has happened once the system is fully loaded.  I am running karmic unr on an 
 Acer Aspire One netbook.

 ProblemType: Bug
 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:  luke       1990 F pulseaudio
 CRDA: Error: [Errno 2] No such file or directory
 Card0.Amixer.info:
  Card hw:0 'Intel'/'HDA Intel at 0x5854 irq 16'
    Mixer name   : 'Realtek ALC268'
    Components   : 'HDA:10ec0268,1025015b,00100101'
    Controls      : 9
    Simple ctrls  : 6
 CheckboxSubmission: 12ef539f3788bfbc46bc56b5c28128a6
 CheckboxSystem: c69722ecac764861be52925fa50b4dcc

[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-03 Thread Dan Halbert
Lucid Lynx Beta1 does not include this fix, because it was assembled
before the fix was released. I successfully installed a recent daily
netbook build of Lucid (http://cdimage.ubuntu.com/ubuntu-netbook/daily-
live/) on a Dell Mini 9 with a stock 4GB STEC SSD. The build I used was
created after the fix was released. Though I did not have the reported
problem, I did have peculiar, similar symptoms with karmic and after.

The final test for those of you with problem SSD's, it seems to me, is
to install from of the daily-live builds (or wait for Beta2). That will
require no patching during the install, and should just work.

Before I installed, I booted from a USB stick and did a secure erase of
the SSD (see #211 above), which only took a short time.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-02 Thread sun2ecliptic
Applied fix (via Update-Manager), confirmed - no errors. (Intel 4GB SSD,
UNR 9.10).  All is well in the land of milk and hardware.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-01 Thread Tommy Trussell
Also confirming the software update to 9.10 Karmic NBR that came through
today. No trouble; no foolin! ;-)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-04-01 Thread Tommy Trussell
OH and to be clear -- I DID undo the workaround as described in the
last two lines of comment 147
https://bugs.launchpad.net/ubuntu/+bug/445852/comments/147

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-31 Thread ideathproof
Comfirming UNR 10.04 (lucid) after running update manager work around is
sill in place (no need to edit 80-udisks.rules) on Asus EEE 900 xp 12g
version. was this work around released for lucid?

And boot time are the fastest i've seen cold boot from power led coming
on to desktop 35 seconds, shutdown in 11 seconds. How can it shut down
so fast?

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-31 Thread Andrew Simpson
Confirming the fix in Karmic.

New file arrived through update-manager today.

I removed my existing dpkg-divert, rebooted and tested.  No sign of
error messages in dmesg.  Previously with this machine I would have had
error messages.  That's good :-)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-31 Thread Samizdata
Confirming fix in Karmic UNR.  Received via Update Manager. No errors
seen and performance seems good. Manually confirmed presence of the
workaround.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-31 Thread Samizdata
Oh, Acer Aspire One with the SSDPAM device.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-30 Thread Martin Pitt
** Tags added: verification-done
** Tags removed: verification-needed

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-30 Thread Launchpad Bug Tracker
This bug was fixed in the package devicekit-disks - 007-2ubuntu6

---
devicekit-disks (007-2ubuntu6) karmic-proposed; urgency=low

  * Add 11-disable-smart-probing.patch: Disable ATA SMART probing on ATA
disks. It causes hardware damage to a lot of SSD disks. This is a
workaround, until a real fix in libatasmart is found. (LP: #445852)
 -- Martin Pitt martin.p...@ubuntu.com   Thu, 25 Mar 2010 18:47:35 +0100

** Changed in: devicekit-disks (Ubuntu Karmic)
   Status: Fix Committed = Fix Released

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-30 Thread Jarige
I received a workaround (not a fix!) for this bug today through update-
manager, although I wasn't experiencing this bug that badly. It
definitely improved boottime :D

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-29 Thread Steve Beattie
Martin, I can confirm that the version of devicekit-disks in karmic-
proposed, 007-2ubuntu6, has the commented out line in
/lib/udev/rules.d/95-devkit-disks.rules. After installing the package
from proposed, my system continues to boot, mount disks properly, and
usb sticks continue to automount onto the desktop. I don't have an SSD
drive so I can't confirm that the HSM violations no longer occur (though
if someone wants to send me one, I'll happily test :-) ).

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-26 Thread Martin Pitt
Alan Pope kindly provided ssh access to his affected machine, and I
analyzed this in detail.

I put my raw notes here for having a permanent record. I'll follow up
with a more human-readable status in the next comment, so unless you are
interested in the technical details, you can safely ignore this long
post.


Jean-Louis' theory: check PACKET Command feature


 * Both of my computers can do SMART just fine, but both also succeed with 
IDENTIFY_PACKET_DEVICE and deliver real data
 * An affected machine responds to SMART commands just fine with current Ubuntu 
10.04 beta-1 (and deliver sensible results), so they can do SMART

libatasmart 0.17+git20100219-1git2, udisks 1.0.0 (Ubuntu 10.04)


WORKS: # strace -e ioctl /lib/udev/udisks-probe-ata-smart /dev/sda
ioctl(3, BLKGETSIZE64, 0x9525014)   = 0
ioctl(3, SG_IO, {'S', SG_DXFER_FROM_DEV, cmd[16]=[85, 08, 2e, 00, 00, 00, 01, 
00, 00, 00, 00, 00, 00, 00, ec, 00], mx_sb_len=32, iovec_count=0, 
dxfer_len=512, timeout=2000, flags=0, 
data[512]=[J\4\212\36\0\0\20\0\0~\0\2?\0x\0`?\0\0...], status=02, 
masked_status=01, sb[22]=[72, 00, 00, 00, 00, 00, 00, 0e, 09, 0c, 00, 00, 00, 
ff, 00, 00, 00, 00, 00, 00, 00, 50], host_status=0, driver_status=0x8, resid=0, 
duration=0, info=0x1}) = 0
UDISKS_ATA_SMART_IS_AVAILABLE=1

WORKS: # skdump /dev/sda

WORKS: # udisks --ata-smart-wakeup --ata-smart-refresh /dev/sda

libatasmart 0.17+git20100219-1git2, dk-disks 007


WORKS: strace -e ioctl ./devkit-disks-probe-ata-smart /dev/sda
ioctl(3, BLKGETSIZE64, 0x9686014)   = 0
ioctl(3, SG_IO, {'S', SG_DXFER_FROM_DEV, cmd[16]=[85, 08, 2e, 00, 00, 00, 01, 
00, 00, 00, 00, 00, 00, 00, ec, 00], mx_sb_len=32, iovec_count=0, 
dxfer_len=512, timeout=2000, flags=0, 
data[512]=[J\4\212\36\0\0\20\0\0~\0\2?\0x\0`?\0\0...], status=02, 
masked_status=01, sb[22]=[72, 00, 00, 00, 00, 00, 00, 0e, 09, 0c, 00, 00, 00, 
ff, 00, 00, 00, 00, 00, 00, 00, 50], host_status=0, driver_status=0x8, resid=0, 
duration=4, info=0x1}) = 0
DKD_ATA_SMART_IS_AVAILABLE=1

libatasmart 0.16, udisks 1.0.0
--

FAILS: LD_LIBRARY_PATH=/home/pitti/libatasmart-karmic/lib/ strace -e ioctl 
/lib/udev/udisks-probe-ata-smart /dev/sda
ioctl(3, BLKGETSIZE64, 0x9fef014)   = 0
ioctl(3, SG_IO, {'S', SG_DXFER_FROM_DEV, cmd[16]=[85, 08, 2e, 00, 00, 00, 01, 
00, 00, 00, 00, 00, 00, 00, ec, 00], mx_sb_len=32, iovec_count=0, 
dxfer_len=512, timeout=2000, flags=0, 
data[512]=[J\4\212\36\0\0\20\0\0~\0\2?\0x\0`?\0\0...], status=02, 
masked_status=01, sb[22]=[72, 00, 00, 00, 00, 00, 00, 0e, 09, 0c, 00, 00, 00, 
ff, 00, 00, 00, 00, 00, 00, 00, 50], host_status=0, driver_status=0x8, resid=0, 
duration=25768, info=0x1}) = 0
ioctl(3, SG_IO, {'S', SG_DXFER_FROM_DEV, cmd[16]=[85, 08, 2e, 00, d1, 00, 01, 
00, 00, 00, 4f, 00, c2, 00, b0, 00], mx_sb_len=32, iovec_count=0, 
dxfer_len=512, timeout=2000, flags=0, 
data[512]=[\20\0\350\2\0\0\0\0\0\0\0\0\0\0\351\0\0\0\0\0\0\0\0\0\0\0\352\0\0\0\0\0...],
 status=02, masked_status=01, sb[22]=[72, 00, 00, 00, 00, 00, 00, 0e, 09, 0c, 
00, 00, 00, 00, 00, 00, 00, 4f, 00, c2, 00, 50], host_status=0, 
driver_status=0x8, resid=0, duration=24, info=0x1}) = 0
UDISKS_ATA_SMART_IS_AVAILABLE=1

libatasmart 0.16


FAILS: # strace -e ioctl ./skdump --can-smart /dev/sda /dev/null
ioctl(3, BLKGETSIZE64, 0x8afa014)   = 0
ioctl(3, SG_IO, {'S', SG_DXFER_FROM_DEV, cmd[16]=[85, 08, 2e, 00, 00, 00, 01, 
00, 00, 00, 00, 00, 00, 00, ec, 00], mx_sb_len=32, iovec_count=0, 
dxfer_len=512, timeout=2000, flags=0, 
data[512]=[J\4\212\36\0\0\20\0\0~\0\2?\0x\0`?\0\0...], status=02, 
masked_status=01, sb[22]=[72, 00, 00, 00, 00, 00, 00, 0e, 09, 0c, 00, 00, 00, 
ff, 00, 00, 00, 00, 00, 00, 00, 50], host_status=0, driver_status=0x8, resid=0, 
duration=0, info=0x1}) = 0
ioctl(3, SG_IO, {'S', SG_DXFER_FROM_DEV, cmd[16]=[85, 08, 2e, 00, d1, 00, 01, 
00, 00, 00, 4f, 00, c2, 00, b0, 00], mx_sb_len=32, iovec_count=0, 
dxfer_len=512, timeout=2000, flags=0, 
data[512]=[\20\0\350\2\0\0\0\0\0\0\0\0\0\0\351\0\0\0\0\0\0\0\0\0\0\0\352\0\0\0\0\0...],
 status=02, masked_status=01, sb[22]=[72, 00, 00, 00, 00, 00, 00, 0e, 09, 0c, 
00, 00, 00, 00, 00, 00, 00, 4f, 00, c2, 00, 50], host_status=0, 
driver_status=0x8, resid=0, duration=4, info=0x1}) = 0


WORKS: strace -e ioctl ./skdump /dev/sda /dev/null
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbff6ed88) = -1 ENOTTY (Inappropriate 
ioctl for device)
ioctl(3, BLKGETSIZE64, 0x91ba014)   = 0
ioctl(3, SG_IO, {'S', SG_DXFER_FROM_DEV, cmd[16]=[85, 08, 2e, 00, 00, 00, 01, 
00, 00, 00, 00, 00, 00, 00, ec, 00], mx_sb_len=32, iovec_count=0, 
dxfer_len=512, timeout=2000, flags=0, 
data[512]=[J\4\212\36\0\0\20\0\0~\0\2?\0x\0`?\0\0...], status=02, 
masked_status=01, sb[22]=[72, 00, 00, 00, 00, 00, 00, 0e, 09, 0c, 00, 00, 00, 
ff, 00, 00, 00, 00, 00, 00, 00, 50], 

[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-26 Thread Martin Pitt
So in summary, the problem is fixed in the lucid version of libatasmart.
While the code could be a little more robust for future extensions
(which I'll discuss in the upstream bug), there are currently no code
paths which can lead to the situation that triggers HSM violations.

** Changed in: libatasmart (Ubuntu Lucid)
   Status: In Progress = Fix Released

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-26 Thread Martin Pitt
For Karmic we can backport
http://git.0pointer.de/?p=libatasmart.git;a=commitdiff;h=a223a4f6277a9f006b722b13671d5292dc6339bb
to fix this properly. If we do this, we should also apply
http://git.0pointer.de/?p=libatasmart.git;a=commitdiff;h=54f846c2115e7addf5468a9c10ecf9ba844b946e
on top, to avoid exporting this as a new symbol.

It just moves some initialization code into a new function and calls
this lazily. It does not change any API/ABI. It has been tested a long
time in lucid and should be fairly safe.

However, I'd like to keep the current workaround in devicekit-disks in
karmic-proposed for now (please test that this properly disables SMART
probing). I'd like to hear some more confirmations from affected people
here that things indeed work fine with Lucid beta-1 on a variety of
hardware platforms before re-enabling smart probing and this patch in
karmic again.

Thank you, and sorry for the trouble that this caused!

** Changed in: libatasmart (Ubuntu Karmic)
   Importance: Undecided = Medium

** Changed in: libatasmart (Ubuntu Karmic)
 Assignee: (unassigned) = Martin Pitt (pitti)

** Description changed:

- TEMPORARY WORK AROUND FOR THIS PROBLEM:
+ TEMPORARY WORK AROUND FOR THIS PROBLEM IN KARMIC: (This is now also in
+ karmic-proposed and needs testing feedback):
  
  1. sudo gedit /lib/udev/rules.d/95-devkit-disks.rules
  
  2. locate the following lines (about 1/3 the way into the file; search
  for smart)
  
  # ATA disks driven by libata
  KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata, 
ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart $tempnode
  
  3. comment out the second line by adding a # in front, so you should
  have
  
  # ATA disks driven by libata
  #KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata, 
ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart $tempnode
  
  4. save the file and reboot
  
+ TECHNICAL ANALYSIS: 
https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/202
+ LUCID STATUS: 
https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/203
+ KARMIC SOLUTION: 
https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/204
  
  BUG DESCRIPTION FOLLOWS:
  
  In the Karmic beta I experience ssd stalls during the boot process.  It
  happens almost everytime before xsplash loads and happens again
  frequently between logging into gdm and the desktop loading.  When it
  happens during login I think it is making gnome time out on loading
  panel items as I get errors related to lots of panel items failing to
  load.  If I log out and back in again when the ssd isn't stalled the
  panel items load fine.
  
  When it happens the following messages appear before xplash (or in dmesg
  when it happens after gdm):
  
  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
  
  I did not have this issue in jaunty with this hardware and I don't think
  it has happened once the system is fully loaded.  I am running karmic
  unr on an Acer Aspire One netbook.
  
  ProblemType: Bug
  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  luke   1990 F pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0x5854 irq 16'
     Mixer name : 'Realtek ALC268'
     Components : 'HDA:10ec0268,1025015b,00100101'
     Controls  : 9
     Simple ctrls  : 6
  CheckboxSubmission: 12ef539f3788bfbc46bc56b5c28128a6
  CheckboxSystem: c69722ecac764861be52925fa50b4dcc
  Date: Wed Oct  7 17:54:56 2009
  DistroRelease: Ubuntu 9.10
  HibernationDevice: RESUME=UUID=8d44b89b-2edb-4c02-a4be-94bd25b65081
  MachineType: Acer AOA110
  Package: linux-image-2.6.31-12-generic 2.6.31-12.40
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-12-generic 
root=UUID=039a096e-3486-4898-9eeb-44a705f8b7fd ro quiet splash elevator=noop 
usbcore.autosuspend=1
  ProcEnviron:
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-12.40-generic
  RelatedPackageVersions: linux-firmware 1.21
  RfKill:
   0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
  SourcePackage: linux
  Tags:  ubuntu-unr
  Uname: Linux 2.6.31-12-generic i686
  

Re: [Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-26 Thread Trey
I have two bricked EEE 900 chips with this problem. I've been booting
her off an SD card. Can the onboard SSD's rise from the dead now?

On 3/26/10, Martin Pitt martin.p...@ubuntu.com wrote:
 For Karmic we can backport
 http://git.0pointer.de/?p=libatasmart.git;a=commitdiff;h=a223a4f6277a9f006b722b13671d5292dc6339bb
 to fix this properly. If we do this, we should also apply
 http://git.0pointer.de/?p=libatasmart.git;a=commitdiff;h=54f846c2115e7addf5468a9c10ecf9ba844b946e
 on top, to avoid exporting this as a new symbol.

 It just moves some initialization code into a new function and calls
 this lazily. It does not change any API/ABI. It has been tested a long
 time in lucid and should be fairly safe.

 However, I'd like to keep the current workaround in devicekit-disks in
 karmic-proposed for now (please test that this properly disables SMART
 probing). I'd like to hear some more confirmations from affected people
 here that things indeed work fine with Lucid beta-1 on a variety of
 hardware platforms before re-enabling smart probing and this patch in
 karmic again.

 Thank you, and sorry for the trouble that this caused!

 ** Changed in: libatasmart (Ubuntu Karmic)
Importance: Undecided = Medium

 ** Changed in: libatasmart (Ubuntu Karmic)
  Assignee: (unassigned) = Martin Pitt (pitti)

 ** Description changed:

 - TEMPORARY WORK AROUND FOR THIS PROBLEM:
 + TEMPORARY WORK AROUND FOR THIS PROBLEM IN KARMIC: (This is now also in
 + karmic-proposed and needs testing feedback):

   1. sudo gedit /lib/udev/rules.d/95-devkit-disks.rules

   2. locate the following lines (about 1/3 the way into the file; search
   for smart)

   # ATA disks driven by libata
   KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata,
 ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart
 $tempnode

   3. comment out the second line by adding a # in front, so you should
   have

   # ATA disks driven by libata
   #KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==ata,
 ENV{DEVTYPE}==disk, IMPORT{program}=devkit-disks-probe-ata-smart
 $tempnode

   4. save the file and reboot

 + TECHNICAL ANALYSIS:
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/202
 + LUCID STATUS:
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/203
 + KARMIC SOLUTION:
 https://bugs.launchpad.net/ubuntu/karmic/+source/libatasmart/+bug/445852/comments/204

   BUG DESCRIPTION FOLLOWS:

   In the Karmic beta I experience ssd stalls during the boot process.  It
   happens almost everytime before xsplash loads and happens again
   frequently between logging into gdm and the desktop loading.  When it
   happens during login I think it is making gnome time out on loading
   panel items as I get errors related to lots of panel items failing to
   load.  If I log out and back in again when the ssd isn't stalled the
   panel items load fine.

   When it happens the following messages appear before xplash (or in dmesg
   when it happens after gdm):

   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

   I did not have this issue in jaunty with this hardware and I don't think
   it has happened once the system is fully loaded.  I am running karmic
   unr on an Acer Aspire One netbook.

   ProblemType: Bug
   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:
    USERPID ACCESS COMMAND
    /dev/snd/controlC0:  luke   1990 F pulseaudio
   CRDA: Error: [Errno 2] No such file or directory
   Card0.Amixer.info:
    Card hw:0 'Intel'/'HDA Intel at 0x5854 irq 16'
      Mixer name   : 'Realtek ALC268'
      Components   : 'HDA:10ec0268,1025015b,00100101'
      Controls  : 9
      Simple ctrls  : 6
   CheckboxSubmission: 12ef539f3788bfbc46bc56b5c28128a6
   CheckboxSystem: c69722ecac764861be52925fa50b4dcc
   Date: Wed Oct  7 17:54:56 2009
   DistroRelease: Ubuntu 9.10
   HibernationDevice: RESUME=UUID=8d44b89b-2edb-4c02-a4be-94bd25b65081
   MachineType: Acer AOA110
   Package: linux-image-2.6.31-12-generic 2.6.31-12.40
   ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-12-generic
 root=UUID=039a096e-3486-4898-9eeb-44a705f8b7fd ro quiet splash elevator=noop
 usbcore.autosuspend=1
   ProcEnviron:
    LANG=en_CA.UTF-8
    

[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-26 Thread Alan Pope
@Trey, technically they're not 'bricked'. You can revive them fairly
easily. I revived two (including the one Martin logged into) by using dd
to copy zeroes over the entire SSD. Once done I did a Jaunty install
(this was a few months ago) and upgraded to karmic, but before rebooting
to the new upgraded karmic install I did what's recommended in the
description (as per comment #145).

It's been running karmic fine for ages. According to Martin Lucid does
not suffer from this problem so you could dd zeroes then install the
Lucid beta and be safe.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-26 Thread adamski
Alan: My Eee 900 is bricked. I have dd'ed zeroes over the SSD several
times, and while I am no longer getting HSM-violations (since I am using
a 8.04 rescue image), I now get Buffer I/O errors galore on the device.
A full dd takes roughly 12 hours (that's the 16 gig drive) due to all
these errors, and have no effect on them. I have dd'ed it probably three
or four times now, and there's no apparent improvement.

I have given up and purchased a 1008HA with a regular disk on it
instead. That works like a charm, though.

In other news: Eee 900 with 2G RAM for sale. :)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-26 Thread Alan Pope
@adamski - What did you boot from to do the dd?

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-26 Thread adamski
@Alan: both 8.04 (which was what was on the thing until I foolishly
reinstalled it) and 9.04. Also tried a mini-recue-dist of some sort,
although I don' remember which one.

Also tried a Solaris-thing, as someone mentioned above, but I didn't
have the patience at that time (was late, and I'd been at it for a
couple hours) to make the USB boot, which took non-trivial effort (i.e.
it didn't just work).

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-26 Thread Martin Pitt
Alan Pope [2010-03-26 10:17 -]:
 to copy zeroes over the entire SSD

For those less accustomed with the command line:

 * Boot a Jaunty or Lucid Beta-1 desktop CD.
 * Start gparted to find the right drive. It should usually be
   /dev/sda, but it could also be /dev/sdb if you have more than one
   hard disk
 * Open a Terminal, and do

sudo dd if=/dev/zero of=/dev/sda

   (Replace sda with the actual drive, if you have several).

Please note that this IRREVOCABLY ERASES ALL DATA. So please make
double and triple sure that you are not overwriting that other hard
disk, or the USB disk you just attached. To be on the safe side,
disconnect all USB storage before you do this.

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-26 Thread Guy Taylor
@Trey
Have you tried using the ATA 'Secure Erase' command (see: 
https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase). This tells the disk 
drive's controller to do the resetting, allowing data that dd cannot reach to 
be reset. Also as a by product it will reset the SSD's speed back to the 
performance you had on day one (see the link above for more info).
hope this works.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-25 Thread Martin Pitt
** Changed in: devicekit-disks (Ubuntu Karmic)
   Status: New = Invalid

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-25 Thread Martin Pitt
I'll disable the probing in karmic for now; it's not really critical for
the system to work, it will just disable the warnings that you'll get
for potential disk failures from SMART. But that's much better than the
current situation.

I will check the smartmontools code what they do differently. The
problem does not happen on my two computers (one HDD, one SSD), so I'd
really appreciate if someone affected could give me ssh access to such a
system? (second key on https://launchpad.net/~pitti/+sshkeys).

With that we at least have some more time to figure out a proper fix in
libatasmart. I'll start with pursuing the IDENTIFY PACKET DEVICE path as
suggested by Jean-Louis, thanks for that!

** Changed in: devicekit-disks (Ubuntu Karmic)
   Importance: Undecided = Critical

** Changed in: devicekit-disks (Ubuntu Karmic)
   Status: Invalid = In Progress

** Changed in: devicekit-disks (Ubuntu Karmic)
 Assignee: (unassigned) = Martin Pitt (pitti)

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-25 Thread Martin Pitt
** Changed in: libatasmart (Ubuntu Karmic)
   Status: New = Triaged

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-25 Thread Steve Langasek
** Changed in: devicekit-disks (Ubuntu Karmic)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-25 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/karmic-proposed/devicekit-disks

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-25 Thread Martin Pitt
Accepted devicekit-disks into karmic-proposed, the package will build
now and be available in a few hours.

Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-24 Thread ideathproof
I have just installed 10.4 and applied ipig's suggestion #198, working
fine so far.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-24 Thread Martin Pitt
** Changed in: libatasmart (Ubuntu Lucid)
 Assignee: (unassigned) = Martin Pitt (pitti)

** Changed in: libatasmart (Ubuntu Lucid)
   Status: Triaged = In Progress

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-23 Thread ipig
Here's a surprise. I installed beta 10.04 LTS yesterday  it seems this
problem doesn't exist. Things have generally been pretty good. Hopefully
the full release keeps it up!

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-23 Thread ipig
Spoke too soon. On a re-boot of the machine it got caught in a bunch of
HSM violations. Ugh i'd just started enjoying 10.04. Same issue :( - Not
sure how well it's going to start up at the moment.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-23 Thread ipig
Here's what i decided to do w/beta 10.04

- Deleted partitions via gparted/10.04 livecd / applied  did not re-
create, quit

- Ran: sudo dd if=/dev/zero of=/dev/sda bs=1M  (post #147)

- Started  finished 10.04 install within live cd / left re-boot prompt
open /

- Applied steps #5 - * (in post #147)

- Did NOT re-boot / Kept terminal open

- While still in /target - deleted smart section out of 80-udisks.rules
(re: #161) *

- Finished / will check in later

* While in 80-udisks.rules i don't think the line specified by 161 was
commented out.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-22 Thread ipig
(Ref Post #183)

This bug gave me hell this weekend.

I had 9.10 running fine all month with remix.

I decided to nuke my netbook  later put 9.10 back on.

Upon installing 9.10 I forgot the timing of post #147. I finished the
installation  was confronted with HSM Violations (again)

After the install i attempted the fix in post #188. That fix did not
work. Attempting to undo 188 i was confronted with the inability of
writing to the disk (save) - i could not undo the changes.

I decided to do another install this time not forgetting to apply 147
prior to re-boot. I was then unable to finish any installation normally.
(aka never got to that point)

Installations would hang @ 38% (copying files iirc)  i noticed the HD/LED light
would begin flashing in a timed (1/2 sec per) fashion. I'd tried 3 installs 
partitioning (even slightly diff sizes)  formatting - Nothing made a 
difference. 

I'd also tried the dd command (post 147) in between - but i don't think
i did it correctly as it only took about 7-10 minutes (on 8GB). - I
believe i'd ran it on a partition instead of disk.

Later on i noticed hitting the power button (@ the 38% hang) dropped me
to a screen that displayed **The machine was in an infinite loop of HSM
violation errors** (over  over  over)- In sync with the flashing HD
light.

It seemed regardless of post #147 - the bug effects the machine earlier
than that. That or the bug had still been dragging along all this time.

I'd tried using a separate gparted livecd to format  partition  it
made no difference on installations failing.

Literally a day later i ran the dd command again (post 147) this time
correctly  it took about 1.5 hours. (i ran it from 8.04 live/cd)

I had a feeling things would then go differently  they did. I managed
to get 9.10 installed - HOWEVER i did still receive a disk utility crash
(i believe during formatting - it's difficult to tell when it occurs
because all it does is put a small red icon in the task bar) - I believe
i put in #147 correctly (hell i'd done it before)

So i am thinking 'finally' this has been dealt with.

Wrong.

After installation i realized for some reason i'm unable to install any
packages or updates. Seemingly anything. It seemed i could write to the
disk OK but reading/installing packages/updates resulted in input/output
errors displayed in the terminal/details.

I battled with this for a while but then i just gave up. F'it.

I'm willing to put 4-6 hours in but once it starts pushing beyond that
people just can't be expected to deal with this. I was quite angry by
the time i gave up  i am still a bit disgusted with this. No doubt that
i've spent 8 or more hours in some way dealing with this problem.

I am not pleased upon hearing there's no fix in Lucid.

If the difference between getting a patch worked on  not is me packing
up my netbook and shipping it off then i might be willing. I am a fairly
loyal eee pc fan/user - when i think of netbook i think 'eee pc'.

What's bothersome is the apparent netbook remix edition. What part of
netbook didn't include EEE PCs?

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-19 Thread Paede
@Steve

I also have the same problem on a normal IDE disk. What type of Notebook
do you have? And also the same type of cdrom:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA  Model: WDC WD2500BEVE-0 Rev: 01.0
  Type:   Direct-AccessANSI  SCSI revision: 05
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: MATSHITA Model: UJ-822Da Rev: 1.02
  Type:   CD-ROM   ANSI  SCSI revision: 05

this error happend to me when i move my laptop. i don't know if it cause
by the HP Mobile Data Protection System

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-19 Thread Raf
The first beta of Lucid was released and we have not yet found a
solution for the HSM violations and corruption. I would really hope that
we can find a way to fix this before the final release.

A proper solution would be a patch for libatasmart, but I have not seen
any progress.

A first workaround would be to disable the use of udisks-probe-ata-smart
in 80-udisks.rules. I haven't found anything using the result of the
SMART test (ID_ATA_FEATURE_SET_SMART, ID_ATA_FEATURE_SET_SMART_ENABLED,
UDISKS_ATA_SMART_IS_AVAILABLE). And I don't think they are documented.

An alternative workaround would create a blacklist in 80-udisks.rules,
so that SMART test is not run on the devices identified above (and
possible others).

I would like to know if the developers are willing to accept either of
these workarounds.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 445852] Re: devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death

2010-03-19 Thread Raf
I should have written:

I would like to know if the *maintainers* are willing to accept either
of these workarounds.

-- 
devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential 
hardware death
https://bugs.launchpad.net/bugs/445852
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


  1   2   >