From: Damir Perisa <damir.perisa@solnet.ch>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org,
Archlinux Developers <arch-dev@archlinux.org>
Subject: ide-cs broken / udev magic
Date: Sat, 5 Nov 2005 00:22:36 +0100 [thread overview]
Message-ID: <200511050022.41472.damir.perisa@solnet.ch> (raw)
In-Reply-To: <20051104071932.GA6362@kroah.com>
[-- Attachment #1: Type: text/plain, Size: 3424 bytes --]
Le Friday 04 November 2005 08:19, Greg KH a écrit :
| <apologies for the broken threading>
no problem
@Judd + Tobias: this is a ide-cs trouble thing that exists in arch with
default udev rules as of 071-1
| > [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.
| >
| > /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 :)
:D ... true, sometimes one has to do things manually to have it done.
| 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.
thanx for the explaination. i'm using archlinux and it seems that i'm the
only one who uses ide-cs and therefore ran into this trouble. i just
added
BUS=="ide", SYSFS{removable}="1", GOTO="no_volume_id"
BUS=="ide", SYSFS{../removable}="1", GOTO="no_volume_id"
to /etc/udev/rules.d/udev.rules
as other distros use to ignore removable ide's. now i need to load the
ide-cs module by hand (bad thing, as module should be loaded
automagically with udev/hotplug) but on the other hand, no more
dmesg-spamming, no freezes and also the node is created successfully
after module is loaded.
is there some other rules that may be usefull adding in this case?
is there planed action to change ide-cs to work without making it being
ignored ... without this exception that needs to be specified in udev
rules?
thank you for the analysis and the workaround that i'm now using to have
ide-cs working again. making it behave like any other ide would be cool,
but is only aesthetical for me, as things work now :)
greetings,
Damir
--
Build a system that even a fool can use and only a fool will want to use
it.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-11-04 23:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20051103220305.77620d8f.akpm@osdl.org>
2005-11-04 7:19 ` 2.6.14-rc5-mm1 - ide-cs broken! Greg KH
2005-11-04 15:14 ` 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 ` Damir Perisa [this message]
2005-11-04 23:28 ` ide-cs broken / udev magic Greg KH
2005-11-05 2:06 ` Richard Purdie
2005-11-05 12:36 ` 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=200511050022.41472.damir.perisa@solnet.ch \
--to=damir.perisa@solnet.ch \
--cc=akpm@osdl.org \
--cc=arch-dev@archlinux.org \
--cc=greg@kroah.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®