From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Cc: damir.perisa@solnet.ch, akpm@osdl.org
Subject: Re: 2.6.14-rc5-mm1 - ide-cs broken!
Date: Thu, 3 Nov 2005 23:19:32 -0800 [thread overview]
Message-ID: <20051104071932.GA6362@kroah.com> (raw)
In-Reply-To: <20051103220305.77620d8f.akpm@osdl.org>
<apologies for the broken threading>
> [17194333.620000] cs: memory probe 0xf0000000-0xf80fffff: excluding
> 0xf0000000-0xf87fffff
> [17194333.644000] pcmcia: Detected deprecated PCMCIA ioctl usage.
> [17194333.644000] pcmcia: This interface will soon be removed from the
> kernel; please expect breakage unless you upgrade to new tools.
> [17194333.644000] pcmcia: see
> http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for
> details.
> [17194334.032000] Probing IDE interface ide2...
> [17194334.320000] hde: 1024MB Flash Card, CFA DISK drive
> [17194334.992000] ide2 at 0x4100-0x4107,0x410e on irq 3
> [17194334.992000] hde: max request size: 128KiB
> [17194334.992000] hde: 2001888 sectors (1024 MB) w/1KiB Cache,
> CHS=1986/16/63
> [17194334.992000] hde: cache flushes not supported
> [17194334.992000] hde: hde1
> [17194335.004000] ide-cs: hde: Vcc = 3.3, Vpp = 0.0
> [17194335.224000] hde: hde1
> [17194335.632000] hde: hde1
> [17194335.736000] hde: hde1
> [17194335.744000] hde: hde1
> ... ("hde: hde1" repeating)...
>
> ok, now the situation is less lethal, but still no proper ide-cs working.
> there are no unknown symbols now, but the other output in dmesg is the
> same. especially, the loop to output "hde: hde1" is here, but if i remove
> the card, it stops and the system is still responsible.
>
> i checked something i forgot to check before... is the hde device seen
> in /sys somewhere, when the card is plugged in. the answer is yes!:
>
> /sys/block/hde/hde1/
>
> presents itself fully normal like other ide drives. in
> /sys/block/hde/hde1/sample.sh
> i found "mknod /dev/hde1 b 33 1" and tried to run it. successfully!
> the result is: in dmesg, the "hde: hde1" output loop stopped and my card
> is working again!!!
Heh, the poor-man's udev worked for someone :)
> so the trouble seems not only (or not at all) related to the kernel but
> (also) to udev (i use 071), hotplug (mine is 2004_09_23), pcmciautils
> (010) or something else.
>
> can somebody tell me, what state of this process (discovering device,
> loading needed modules, udev creating node under /dev) is the output
> "hde: hde1" to dmesg and how can it be possible that it loops?
The problem is in your udev rules. You are running something in them
that is opening up your ide-cs device, which causes another hotplug
event to happen, which causes udev to run again, and so on.
I suggest you take this up with your distro, they are the ones
responsible for this problem.
Hint, gentoo, debian, and suse don't have this problem, so you might
want to look at their rules files for how to work around this. Look for
this line:
# skip accessing removable ide devices, cause the ide drivers are horrible broken
and add the rules after it.
> it seems that this chain of processing is stuck somewhere and needs a
> execution of the command to create the node under /dev by hand to finish.
I think the presence of the node causes udev to not generate another
one, which keeps the rule from being run and another hotplug event from
being generated.
Hope this helps,
greg k-h
next parent reply other threads:[~2005-11-04 7:19 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20051103220305.77620d8f.akpm@osdl.org>
2005-11-04 7:19 ` Greg KH [this message]
2005-11-04 15:14 ` 2.6.14-rc5-mm1 - ide-cs broken! Alan Cox
2005-11-04 16:37 ` Greg KH
2005-11-09 10:17 ` [patch] " Richard Purdie
2005-11-09 12:08 ` Alan Cox
2005-11-09 16:41 ` Bill Davidsen
2005-11-09 17:27 ` Richard Purdie
2005-11-09 20:56 ` Bill Davidsen
2005-11-09 21:37 ` Richard Purdie
2005-11-09 22:55 ` Bill Davidsen
2005-11-09 23:02 ` Damir Perisa
2005-11-09 21:48 ` Damir Perisa
2005-11-10 14:57 ` Mark Lord
2005-11-10 15:03 ` Richard Purdie
2005-11-04 23:22 ` ide-cs broken / udev magic Damir Perisa
2005-11-04 23:28 ` Greg KH
2005-11-05 2:06 ` Richard Purdie
2005-11-05 12:36 ` Damir Perisa
2005-10-24 8:48 2.6.14-rc5-mm1 Andrew Morton
2005-10-25 23:49 ` 2.6.14-rc5-mm1 - ide-cs, pcmcia ioctl Damir Perisa
2005-10-27 21:31 ` 2.6.14-rc5-mm1 - ide-cs broken! Damir Perisa
2005-10-27 22:03 ` Andrew Morton
2005-10-27 23:18 ` Damir Perisa
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=20051104071932.GA6362@kroah.com \
--to=greg@kroah.com \
--cc=akpm@osdl.org \
--cc=damir.perisa@solnet.ch \
--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