[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2017-10-27 Thread Bug Watch Updater
Launchpad has imported 38 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=491552. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2013-12-04 Thread Davide Baldini
As of 2013, Martin's package is no more in the PPA cited in message #38. I tried to install libatasmart4 from packages.ubuntu.com/saucy/libatasmart4, but it doesn't fix the problem for me. I'm on Debian 6.0, which doesn't have the updated package in repos (not in unstable repo, apparently).

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2012-12-20 Thread Peter Petrakis
For those still affected by this issue please compile the attached test case and run against the suspected disk. If it produces [189046.60] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen [189046.75] ata1.00: cmd b0/d1:01:00:4f:c2/00:00:00:00:00/00 tag 0 pio 512 in

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2011-02-05 Thread Bug Watch Updater
** Changed in: libatasmart 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/435190 Title: Disk wakes up every 30 minutes and produces errors on dmesg -- ubuntu-bugs

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2011-01-25 Thread Bug Watch Updater
** Changed in: libatasmart Importance: Medium = Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/435190 Title: Disk wakes up every 30 minutes and produces errors on dmesg -- ubuntu-bugs

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2010-02-20 Thread wind
Running latest ubuntu 9.10 and this bug still happens. It caused 3000 load/unload counts on my a week old hard drive. A work around is to comment out # USB ATA enclosures with a SAT layer #KERNEL==sd*[!0-9], ATTR{removable}==0, ENV{ID_BUS}==usb, ENV{DEVTYPE}==disk,

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2010-02-20 Thread wind
By the way, I use smartd once comment out the lines -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2010-02-19 Thread boga
The PPA version fixed the main problem, however it seems that a smaller problem remains: if drive spin down timeout is 30minutes (or above I suppose) the drive never spins down. Drive is polled while being spinning and it resets the timeout and prevents it from spinning down. I guess this

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2010-02-07 Thread Ian! D. Allen
This bug is three months old, and the fix is two months old, but I can't find any mention of this bug (or the fix) in the Karmic release notes: http://www.ubuntu.com/getubuntu/releasenotes/910 Please folks - when you find and fix a problem, be proud of your work and update the release notes so

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-12-02 Thread Mossroy
It looks like the patch works for me too. My second hard disk (Western Digital WD2000JD of 200Gb) was constantly spinning up and down since the upgrade to karmic. I had modified /etc/hdparm.conf so that this disk spins down automatically after a few minutes. It worked great with jaunty, with the

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-12-02 Thread AmenophisIII
** Changed in: libatasmart (Ubuntu) Status: Fix Released = Confirmed ** Changed in: libatasmart (Ubuntu) Status: Confirmed = Fix Released -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-11-17 Thread Arlukin
Thanks for the PPM fix, it also worked for my Seagate disk. It also spins up fine when doing the devkit-disks --ata-smart-refresh /dev/sdb --ata-smart-wakeup -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-11-15 Thread Cr0n_J0b
I'm seeing the same issue here. with a new build of Karmic. I have drives, WD1000EADS, HDS, Maxtor, seagate. Drives are set to spindown every 20minutes. They are in RAID sets md0, md1 and md2. using mdadm software raid. I applied the updated package from the PPA above and so far (30 minutes)

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-11-03 Thread Antti Kaihola
Petru, Did you try with libatasmart from the PPA? See #24 above. See also #11 with a non-elegant work-around. -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-11-03 Thread Martin Pitt
0.17-1 synced into lucid, which fixes this. ** Changed in: libatasmart (Ubuntu) Status: Fix Committed = Fix Released -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-11-03 Thread AmenophisIII
thanks martin! is there anything i/we can do, to get this fix backported to karmic? imho its worth it and the regression potential is quite low, but it seems you think, its not important enough (i may be wrong in all points though :) without a fix (the ppa is good enough for me personally), i

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-11-03 Thread Rich Rauenzahn
On fedora, since they aren't backporting to 11, I've done this in root's cron until I move to 12: @hourly /usr/bin/killall devkit-disks-daemon /dev/null 21 Maybe it would work around it on ubuntu as well? -- Disk wakes up every 30 minutes and produces errors on dmesg

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-11-02 Thread petrum
I have the same issue: one of the hdd i use for backups (Hitachi Deskstar T7K250 series, model HDT722525DLA380) wakes up every 30 minutes. Please help, Petru -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-11-01 Thread AmenophisIII
i was affected too. after installing libatasmart from the ppa '/usr/lib/devicekit-disks/devkit-disks-helper-ata-smart-collect /dev/sdb 1' does not wake up my ST3250823AS (7200.8) drive anymore, thanks. pls add this to karmic updates. -- Disk wakes up every 30 minutes and produces errors on

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-30 Thread Bug Watch Updater
** Changed in: libatasmart (Fedora) Status: In Progress = Fix Released -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-30 Thread Bug Watch Updater
** Changed in: libatasmart Status: Confirmed = Fix Released -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-28 Thread Nico
Hello Martin, When ca we expect the fix to reach Karmic proper? -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-27 Thread Martin Pitt
Fixed in 0.17-1 in Debian. ** Changed in: libatasmart (Ubuntu) Status: In Progress = Fix Committed -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-27 Thread Nico
Martin, Thanks again. After a night of practical use, the fix is sticking to the correct behaviour. -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-26 Thread Nico
Martin, I have the same behaviour as Antti's. So I'm guessing that we are good to go! Many thanks! -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-26 Thread Martin Pitt
For easier testing, I prepared a package with Lennart's patch and uploaded it to https://launchpad.net/~ubuntu-desktop/+archive/ppa There's nothing else in this PPA, so it's safe for upgrading. Can folks affected by this please upgrade to this and verify that it fixes the problem? Thanks! **

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-26 Thread Nico
I'm soon leaving my home for a day at the office and I'd prefer not to have the 30mn wake ups for the whole day if it does not fix it. But be assured that the PPA will be in as soon as I am back this evening! I'll report back then. Thanks! -- Disk wakes up every 30 minutes and produces errors

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-26 Thread Antti Kaihola
Martin, Thanks for the PPA package! Works for me as expected: $ sudo /usr/lib/devicekit-disks/devkit-disks-helper-ata-smart-collect /dev/sdb 1 Disk /dev/sdb is asleep and nowakeup option was passed $ sudo /usr/lib/devicekit-disks/devkit-disks-helper-ata-smart-collect /dev/sdb 0 [disk spins up

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-23 Thread Nico
** Bug watch added: freedesktop.org Bugzilla #24579 https://bugs.freedesktop.org/show_bug.cgi?id=24579 ** Also affects: libatasmart via https://bugs.freedesktop.org/show_bug.cgi?id=24579 Importance: Unknown Status: Unknown -- Disk wakes up every 30 minutes and produces errors on

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-23 Thread Bug Watch Updater
** Changed in: libatasmart Status: Unknown = Confirmed -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-22 Thread Antti Kaihola
The source file atasmart.c in current head of libatasmart Git repository [1] is identical Karmic's current 0.16 version. Just checked that to make sure a fix isn't already on its way. [1]: git://git.0pointer.de/libatasmart.git -- Disk wakes up every 30 minutes and produces errors on dmesg

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-22 Thread Antti Kaihola
Rich, Thanks for the Fedora bug link. That bug is assigned to the author of libatasmart, so I posted my findings there as well (see comment #15 above), with a link back to this Launchpad bug. ** Also affects: libatasmart (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=491552

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-22 Thread Bug Watch Updater
** Changed in: libatasmart (Fedora) Status: Unknown = In Progress -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-21 Thread Nico
wow wow wow ! Wishlist? Really? Please help us! The disk I am using for rsnapshot backups is perfectly fine, but it is noisy. Plus I have 2 disks in a small Shuttle enclosure, it gets hot in there, so spin-down is not part of a wishlist for me, it is a necessity! Please help! -- Disk wakes

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-21 Thread Radu Cornea
Not to mention the wear in the hard drive's spindle motor from spin-up /spin-down every 30 minutes. This will result in bad drives and is not acceptable in a mature release! -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-19 Thread Ricardo Teixeira
This affects my 3 hdds...: /dev/sda: Maxtor 6L300R0 /dev/sdb: SAMSUNG HD154UI /dev/sdc: ST9120822AS I only use sda and sdc once a day so I would also like to see this fixed. -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-18 Thread Rich Rauenzahn
FYI: The RedHat folks are also tracking this, but they claim it is a harddrive bug -- that the request shouldn't wake up most drives. https://bugzilla.redhat.com/show_bug.cgi?id=491552 Regardless I'd like to see this fixed somehow... I'd rather not have to replace the 5 drives in my RAID5

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-17 Thread Antti Kaihola
Ricardo, Yes, any updates to devicekit-disks will break my work-around. -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-17 Thread Antti Kaihola
I sprinkled some debug output into job-ata-smart-collect.c and it seems that the sk_disk_open() call spins up the disk even before the sleep mode gets checked. sk_disk_open() is provided by libatasmart4, so should this bug be assigned there? Strangely, hdparm -C manages to retrieve the sleep

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-17 Thread Antti Kaihola
I've traced the reason for the spin-up to the disk_smart_read_thresholds() call at the end of sk_disk_open() in atasmart.c. Apparently the SMART Read Thresholds command implies spinning up the disk, at least on my and Ricardo's controllers. I wonder why libatasmart4 always executes that call

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-17 Thread Antti Kaihola
Adding libatasmart to the Affects list since that seems to be the root cause for the problem: libatasmart can't query the sleep state of a drive without opening it first, and opening a disk executes the Read Thresholds call which spins up the disk. ** Package changed: devicekit-disks (Ubuntu) =

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-16 Thread Antti Kaihola
Here's a dirty work-around: ~$ cd /usr/lib/devicekit-disks /usr/lib/devicekit-disks$ sudo mv devkit-disks-helper-ata-smart-collect devkit-disks-helper-ata-smart-collect.real /usr/lib/devicekit-disks$ sudo sh -c cat devkit-disks-helper-ata-smart-collect EOF #!/bin/sh [ $1

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-16 Thread Ricardo Teixeira
Antti, I've checked and both commands spin up the disk. -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-16 Thread Ricardo Teixeira
Just checked your workaround and it works for me. Don't know if updates will break it... -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-15 Thread Antti Kaihola
Same problem here. Strangely, when I tried monitoring disk access, I got no indication of any process accessing /dev/sdb* when the disk spun up or at any other time. I used this script to monitor: echo 1 /proc/sys/vm/block_dump while ( ! dmesg -c|grep sdb ); do sleep 1; done echo 0

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-15 Thread Antti Kaihola
I peeked at the source code. The ATA smart collect script is called by the daemon like this: /usr/lib/devicekit-disks/devkit-disks-helper-ata-smart-collect /dev/sdb 1 The 1 parameter is the nowakeup option. Executing the above call as root always spins up my disk (also when replacing 1 with

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-15 Thread Ricardo Teixeira
Hello. I think I don't have the knowledge to help you in debugging this but I hope you succeed. If you need any help please post. Thanks. -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-15 Thread Antti Kaihola
Ricardo, You could check whether these commands spin up the disk on your system: $ sudo /usr/lib/devicekit-disks/devkit-disks-helper-ata-smart-collect /dev/sdX 1 $ sudo /usr/lib/devicekit-disks/devkit-disks-helper-ata-smart-collect /dev/sdX 0 (replace sdX with your disk device) -- Disk wakes

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-10 Thread Radu Cornea
I noticed the same problem, any workarounds? Thanks. -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-08 Thread Martin Pitt
This is pretty much wontfix, though. However, this could be made configurable. ** Changed in: devicekit-disks (Ubuntu) Importance: Low = Wishlist ** Changed in: devicekit-disks (Ubuntu) Status: New = Triaged -- Disk wakes up every 30 minutes and produces errors on dmesg

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-08 Thread Ricardo Teixeira
But is there a way (even if it is a hard one) to disable the spinning up? -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-10-01 Thread Martin Pitt
** Changed in: devicekit-disks (Ubuntu) Importance: Undecided = Low -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-09-25 Thread Ricardo Teixeira
I figure out what is spinning up the disks. If I kill devkit-disks-daemon the spinning up stops. I'm assigning this bug to devkit-disks. ** Package changed: ubuntu = devicekit-disks (Ubuntu) -- Disk wakes up every 30 minutes and produces errors on dmesg https://bugs.launchpad.net/bugs/435190

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-09-25 Thread Ricardo Teixeira
To furthermore pinpoint the problem it seems that the spinning up is happening because devkit is pooling the disk for smart data. I did the following: r...@jupiter:~# hdparm -y /dev/sdc /dev/sdc: issuing standby command r...@jupiter:~# hdparm -C /dev/sdc /dev/sdc: drive state is: standby

[Bug 435190] Re: Disk wakes up every 30 minutes and produces errors on dmesg

2009-09-23 Thread Ricardo Teixeira
Here is the dmesg output with echo 1 /proc/sys/vm/block_dump. Could it be kjournald2 that is causing the spin ups? The disk in question is /dev/sda and apparently there is no write actions to the disk at the time of spin up. I don't know how to check if there is any read actions. **