From: Tom <tomgparchaur@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Question about debugging the source of uevents
Date: Mon, 30 Mar 2009 15:34:01 +0000 [thread overview]
Message-ID: <49D0E669.5080204@gmail.com> (raw)
In-Reply-To: <49D0DA81.1020804@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1407 bytes --]
The "removing watch on '/dev/sda'" is my fault. I added this rule:
KERNEL=="sda*", OPTIONS-="watch", to /etc/udev/rules.d/99-user.rules
, which I'm seeing it doesn't have the effect I wanted.
I'm running udevadm monitor right now, so if you need that information I
will mail it to you later. Thanks.
Tom escribió:
> Kay Sievers escribió:
>> On Mon, Mar 30, 2009 at 16:43, Tom <tomgparchaur@gmail.com> wrote:
>>> I have a spare hard disk I don't touch the most of the time. Due to a
>>> strange reason, a change uevent is triggered some random time of the day
>>> (like 4 or more times) and then, of course, udev apply the rules, being
>>> one of them a rule which runs vol_id which then wakes up my spinned-down
>>> hard disk (debugged with echoing a 1 to /proc/sys/vm/block_dump and
>>> udevadm monitor).
>> Does "monitor" show a kernel event, or only a udev event?
>>
>> Any other events at the same time?
>>
> I don't remember exactly (if I remember correctly, it was one uevent
> everytime). Here I attach the logs. Later I could tell you better. I
> will be more aware of that.
>
>> Are you running smartd?
> Yes, but I have smartd configured to ignore the hard disk if it's in
> standby. In syslog I have:
> smartd[7004]: Device: /dev/sda, is in STANDBY mode, suspending checks
>
> And thanks for answering so fast (and wasting your time too).
>
>> Kay
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-03-30 15:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-30 14:43 Question about debugging the source of uevents Tom
2009-03-30 14:59 ` Kay Sievers
2009-03-30 15:27 ` Tom
2009-03-30 15:33 ` Kay Sievers
2009-03-30 15:34 ` Tom [this message]
2009-03-30 15:35 ` Kay Sievers
2009-03-30 15:54 ` Jim Paris
2009-03-30 16:08 ` Tom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49D0E669.5080204@gmail.com \
--to=tomgparchaur@gmail.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).