From: "Kay Sievers" <kay.sievers@vrfy.org>
To: "Arkadiusz Miskiewicz" <a.miskiewicz@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: loading ipmi_watchdog causes tons of other watchdog modules to be loaded
Date: Thu, 9 Oct 2008 21:09:26 +0200 [thread overview]
Message-ID: <ac3eb2510810091209rd76c8a4j83a6a48d5db5d4f9@mail.gmail.com> (raw)
In-Reply-To: <200810092102.16110.a.miskiewicz@gmail.com>
On Thu, Oct 9, 2008 at 9:02 PM, Arkadiusz Miskiewicz
<a.miskiewicz@gmail.com> wrote:
> On Thursday 09 October 2008, Kay Sievers wrote:
>> On Thu, Oct 9, 2008 at 7:22 PM, Arkadiusz Miskiewicz
>>
>
>> > ... but that ipmi_watchdog is the correct driver that handles
>> > /dev/watchdog, so this shouldn't be happening, correct?
>>
>> While the driver you expect to work is loaded, what does:
>> ls -l /dev/watchdog
>> print?
>>
>> If the devno of this node is 10:130, what does:
>> find /sys/class /sys/devices/ -name dev | xargs grep 10:130
>> print?
>
> # ls -l /dev/watchdog
> crw------- 1 root root 10, 130 sie 8 17:00 /dev/watchdog
> # find /sys/class /sys/devices/ -name dev | xargs grep 10:130
> /sys/class/misc/watchdog/dev:10:130
Ok, so you actually have a driver bound to that device number, and it
should not trigger the usual module autoloading mechanism.
What does:
ls -l /sys/class/misc/watchdog/
and
ls -l /sys/class/misc/watchdog/device/
print?
Does the /sys/class/misc/watchdog/ directory exist, before you load
the module you expect to be the driver behind /dev/watchdog?
To clarify, the other modules get loaded, after you loaded but module,
the above /sys/class/misc/watchdog/ directory exists, and only if you
read from the device, all the other modules get loaded?
Kay
next prev parent reply other threads:[~2008-10-09 19:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-09 11:48 Arkadiusz Miskiewicz
2008-10-09 13:36 ` Kay Sievers
2008-10-09 17:22 ` Arkadiusz Miskiewicz
2008-10-09 18:09 ` Andrey Borzenkov
2008-10-09 18:58 ` Kay Sievers
2008-10-09 19:02 ` Arkadiusz Miskiewicz
2008-10-09 19:09 ` Kay Sievers [this message]
2008-10-09 20:18 ` Arkadiusz Miskiewicz
2008-10-09 21:37 ` Kay Sievers
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=ac3eb2510810091209rd76c8a4j83a6a48d5db5d4f9@mail.gmail.com \
--to=kay.sievers@vrfy.org \
--cc=a.miskiewicz@gmail.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®