[Bug 358943] Re: Harddisk stops working after wakeup

2010-05-24 Thread Jeremy Foshee
This bug report was marked as Incomplete and has not had any updated
comments for quite some time.  As a result this bug is being closed.
Please reopen if this is still an issue in the current Ubuntu release
http://www.ubuntu.com/getubuntu/download . Also, please be sure to
provide any requested information that may have been missing.  To reopen
the bug, click on the current status under the Status column and change
the status back to New.  Thanks.

[This is an automated message.  Apologies if it has reached you
inappropriately; please just reply to this message indicating so.]


** Tags added: kj-expired

** Changed in: linux (Ubuntu)
   Status: Incomplete = Expired

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2010-03-13 Thread Jeremy Foshee
Hi Michele,

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

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

apport-collect -p linux 358943

Also, if you could test the latest upstream kernel available that would
be great.  It will allow additional upstream developers to examine the
issue.  Refer to https://wiki.ubuntu.com/KernelMainlineBuilds .  Once
you've tested the upstream kernel, please remove the 'needs-upstream-
testing' tag.  This can be done by clicking on the yellow pencil icon
next to the tag located at the bottom of the bug description and
deleting the 'needs-upstream-testing' text.  Please let us know your
results.

Thanks in advance.

[This is an automated message.  Apologies if it has reached you
inappropriately; please just reply to this message indicating so.]


** Tags added: needs-kernel-logs

** Tags added: needs-upstream-testing

** Tags added: kj-triage

** Changed in: linux (Ubuntu)
   Status: New = Incomplete

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-09-27 Thread Tormod Volden
I have experienced similar issues (ATA exception at resume) and they
were triggered by the hdparm calls at resume. For those with these
errors, please try either editing /usr/lib/pm-utils/power.d/95hdparm-apm
to not call resume_hdparm_apm, or temporarily rename /sbin/hdparm to
/sbin/hdparm.orig. And also delete /etc/pm/sleep.d/99laptop-mode which
really should not be there any longer (bug #384875).

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-05-29 Thread Michele Mordenti
I changed the -B argument of hdparm to 254 but without success (in every 
90-hdparm.sh).
HD always stops working after some seconds and sometime doesn't restart.

Now I switched to Kubuntu Karmic Koala, the HD stops as before and
restarts fine, but I used Karmic on battery very few time.

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-05-29 Thread Ritesh Raj Sarraf
With your brief testing, it hasn't broken. Assuming that it doesn't
break, it would be clear that it is not a laptop-mode-tools bug because
the version of laptop-mode-tools in Karmic Koala and Jaunty Jackalope is
the same.

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-05-29 Thread Tormod Volden
If I read comment 7 correctly, the problem appeared originally with
laptop-mode-tools disabled, so it is most likely a kernel issue.

** Package changed: laptop-mode-tools (Ubuntu) = linux (Ubuntu)

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-05-16 Thread Ritesh Raj Sarraf
Any update guys ?
Do you still see it to be a problem with LMT or should this be re-assigned to 
the linux kernel package ?

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-17 Thread Ganesha Bhas kara
My bad. ata2 is the CD ROM. With the 80 GB drive, suspend resume seems
to be working fine. I had not encountered this error with earlier
versions of the ubuntu with ata1 or ata2. Will see if fresh install in
the 160 GB drive will  change anything.

Thanks.

-G

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-17 Thread Ritesh Raj Sarraf
From the dmesg output, it says that your ata2 device, for which you are seeing 
the HSM violation, is the CD-ROM drive.
Are you sure you are seeing your HDD having problems ?

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-16 Thread Ganesha Bhas kara
I replaced the new 160 GB hard drive with the older 80 GB pata hard
drive with Ubuntu 8.10. Suspend resume works like charm with 8.10. I
then did a fresh install of ubuntu 9.04 on the 80 GB hard drive and on
suspend and resume I am seeing this error again

[11182.452987] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[11182.453002] ata2.00: ST_FIRST: !(DRQ|ERR|DF)
[11182.453025] ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[11182.453029]  cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[11182.453033]  res 50/00:01:00:00:00/00:00:00:00:00/a0 Emask 0x2 (HSM 
violation)
[11182.453058] ata2.00: status: { DRDY }
[11182.453098] ata2: soft resetting link
[11182.728453] ata2.00: configured for UDMA/33
[11182.762941] ata2: EH complete

Since I am seeing this error on BOTH the 80 Gb and the 160 GB hard drive
only after upgrading to ubuntu 9.04. I am guessing there is a
configuration / bug in ubuntu 9.04.

-G

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-16 Thread Ganesha Bhas kara
The DRDY error is now occurring even without suspend and resume.
Attached is dmesg output.

** Attachment added: dmesg.txt
   http://launchpadlibrarian.net/25569388/dmesg.txt

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-14 Thread Ritesh Raj Sarraf
I just looked into the logs you had provided.

* You hdd support IDLE IMMEDIATE UNLOAD. So, are you using hdapsd ?
   If yes, you'll also see unloads when you physically move the laptop. I'm not 
sure if this increases the Load Cycle Count.
* You smartctl log doesn't show the Load Cycle Count value. So I'm not sure 
what the health of your HDD is.


If you are too power conscious, use LMT to do Power Management for your hdd.
If you are too hdd health conscious, disable Power Management in LMT for your 
hdd.

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-14 Thread Michele Mordenti
First of all I did a full backup of my HD :-)
Then I did a full smart check and no error was reported.

Now my laptop, when running on battery, spin down the HD every 8-10 seconds of 
inactivity;
this power management policy is too aggressive as I already said in a top post.
Am I the only one with this problem?

Manually set the hdparm -B 254 solve the problem, but i don't know
which software sets the default policy, if LMT or other acpi tool.

hdparm -I always displays:
Recommended acoustic management value: 254, current value: 128
Why?

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-14 Thread Ritesh Raj Sarraf
Michele,

Can you post the output of the following command ?
grep POWERMGMT /etc/laptop-mode/laptop-mode.conf


Is your kernel error message resolved ?

BTW, here's what hdparam says

   -B Set Advanced Power Management feature, if the drive supports  it. 
 A  low
  value  means  aggressive  power  management and a high value 
means better
  performance.  Possible settings range from values 1  through  127 
 (which
  permit  spin-down), and values 128 through 254 (which do not 
permit spin-
  down).  The highest degree of power management is attained with a 
setting
  of  1, and the highest I/O performance with a setting of 254.  A 
value of
  255 tells hdparm to disable Advanced Power Management altogether  
on  the
  drive (not all drives support disabling it, but most do).

By default, LMT, when ON_BATTERY, will set it to 1. If you don't like
the power saving behavior for your hard drive, you can disable it in
/etc/laptop-mode/laptop-mode.conf

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-11 Thread Ganesha Bhas kara
I have the exact same problem with dell 700m 160 GB samsung PATA drive.
After resume dmesg has the exact same pattern as reported earlier

snip
ata1: device not ready (errno=-16), forcing hardreset
post

I recompiled 2 versions of 2.6.28.9 vanilla kernel so that I get drives 
as /dev/hda* with one and /dev/sda* with another. I am getting the EXACT 
same behavior with ALL kernels. Also, I used libata.noacpi=1 when drives
are mounted as /dev/sda* but did not change the behavior. The drive was
fine till I upgraded to Jaunty.

-G

Ritesh Raj Sarraf wrote:
 I had suspected this. I'm not sure though whether it is a bad hardware
 of a suspend bug.
 
 LMT, by itself, doesn't do much. Usually if there's an LMT bug, a simple
 ON_AC = ON_BAT = ON_AC will be able to trigger it.
 
 I'd suggest you first do a full backup of your data. And then try with
 different kernels to be sure about whether it is a kernel (suspend) bug
 or a hardware bug.


-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-10 Thread Michele Mordenti

** Attachment added: sudo hdparm -I /dev/sda
   http://launchpadlibrarian.net/25187360/hdparm-I

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-10 Thread Michele Mordenti

** Attachment added: lspci --vvnn
   http://launchpadlibrarian.net/25187369/lspci

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-10 Thread Michele Mordenti

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

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-10 Thread Ritesh Raj Sarraf
Are you sure that this is a LMT bug ?

How about disabling LMT and then hibernate/resume the laptop?

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-10 Thread Michele Mordenti
2009/4/10 Ritesh Raj Sarraf r...@researchut.com:
 Are you sure that this is a LMT bug ?

Really I don't.
I suppose LTM because the problem starts after the last update of pkg
about the first days of this month.

 How about disabling LMT and then hibernate/resume the laptop?

Ok, I will do some test.

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-10 Thread Ritesh Raj Sarraf
Also, please post the dmesg and /var/log/messages output, *after* doing
the suspend/resume.

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-10 Thread Michele Mordenti
Well,
I did some mistake with this bug report.
First off all I didn't enable the LMT and smartd on my system.

Now I have ENABLE_LAPTOP_MODE=true on /etc/default/acpi-support
and start_smartd=yes on /etc/default/smartmontools.

In attachment some files:
*_pre : commands output after booting my laptop on battery.
*_post: commands output after a susped/resume session.

Now I am thinking that the bug is on my HD.
Should I do a full backup and change the disk?


** Attachment added: dmesg_pre
   http://launchpadlibrarian.net/25205400/dmesg_pre

** Attachment added: dmesg_post
   http://launchpadlibrarian.net/25205401/dmesg_post

** Attachment added: hdparm_I_pre
   http://launchpadlibrarian.net/25205402/hdparm_I_pre

** Attachment added: hdparm_I_post
   http://launchpadlibrarian.net/25205403/hdparm_I_post

** Attachment added: laptop-mode_pre
   http://launchpadlibrarian.net/25205404/laptop-mode_pre

** Attachment added: laptop-mode_post
   http://launchpadlibrarian.net/25205405/laptop-mode_post

** Attachment added: smartctl_pre
   http://launchpadlibrarian.net/25205406/smartctl_pre

** Attachment added: smartctl_post
   http://launchpadlibrarian.net/25205407/smartctl_post

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-10 Thread Michele Mordenti
With LMT active the situation is bad as before.
On battery after 8 seconds of HD inactivity it spins down.
This aggressive timing stress to much the HD, it is a non sense.


[  531.000134] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  531.000150] ata1.00: cmd c8/00:08:77:95:8b/00:00:00:00:00/e1 tag 0 dma 4096 
in
[  531.000153]  res 40/00:0c:00:00:00/00:00:00:00:00/40 Emask 0x4 
(timeout)
[  531.000159] ata1.00: status: { DRDY }
[  536.040195] ata1: link is slow to respond, please be patient (ready=0)
[  541.024195] ata1: device not ready (errno=-16), forcing hardreset
[  541.024213] ata1: soft resetting link
[  544.285191] ata1.00: configured for UDMA/100
[  544.285221] ata1: EH complete
[  544.300636] sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors: (80.0 
GB/74.5 GiB)
[  544.300682] sd 0:0:0:0: [sda] Write Protect is off
[  544.300688] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[  544.300767] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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 358943] Re: Harddisk stops working after wakeup

2009-04-10 Thread Ritesh Raj Sarraf
I had suspected this. I'm not sure though whether it is a bad hardware
of a suspend bug.

LMT, by itself, doesn't do much. Usually if there's an LMT bug, a simple
ON_AC = ON_BAT = ON_AC will be able to trigger it.

I'd suggest you first do a full backup of your data. And then try with
different kernels to be sure about whether it is a kernel (suspend) bug
or a hardware bug.

-- 
Harddisk stops working after wakeup
https://bugs.launchpad.net/bugs/358943
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