From: Mark Lord <lkml@rtr.ca>
To: Robert de Rooy <robert.de.rooy@gmail.com>
Cc: Mark Lord <mlord@pobox.com>, Tejun Heo <htejun@gmail.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Jeff Garzik <jeff@garzik.org>,
linux-kernel@vger.kernel.org, bzolnier@gmail.com,
linux-pcmcia@lists.infradead.org,
"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: libata and legacy ide pcmcia failure
Date: Sun, 10 Jun 2007 16:46:21 -0400 [thread overview]
Message-ID: <466C631D.2000001@rtr.ca> (raw)
In-Reply-To: <466B4D86.1020808@gmail.com>
Robert de Rooy wrote:
> Mark Lord wrote:
>> Oh crap. I did test it a couple of months ago, but my boot/root drive
>> is libata not IDE -- so no panic on boot with it. After booting, it
>> worked
>> just fine talking to PC-CARD CF devices using the polling.
>
> Ok, no problem. I recompiled the kernel with libata (but without the
> libata pcmcia support), and made legacy ide (only ide-core and ide-cs)
> modular.
> This allowed me to boot my PATA HDD with libata, and when I plugged in
> the PCMCIA card it picked it up automatically with the legacy ide drivers.
Good stuff!
> Jun 10 02:40:06 localhost kernel: pccard: PCMCIA card inserted into slot 0
> Jun 10 02:40:07 localhost kernel: cs: memory probe
> 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff
> Jun 10 02:40:07 localhost kernel: cs: memory probe
> 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff
> 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff
> 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff
> 0xcfa00000-0xd01fffff
> Jun 10 02:40:07 localhost kernel: pcmcia: registering new device pcmcia0.0
> Jun 10 02:40:07 localhost kernel: Uniform Multi-Platform E-IDE driver
> Revision: 7.00alpha2
> Jun 10 02:40:07 localhost kernel: ide: Assuming 33MHz system bus speed
> for PIO modes; override with idebus=xx
> Jun 10 02:40:07 localhost kernel: hda: Memory Card Adapter, CFA DISK drive
> Jun 10 02:40:08 localhost kernel: ide0 at 0x4100-0x4107,0x410e on irq 3
> Jun 10 02:40:08 localhost kernel: ide-cs: hda: Vpp = 0.0
> Jun 10 02:40:08 localhost udevd-event[2630]: udev_rules_apply_format:
> unknown format variable '$modalias'
>
> At this point I noticed no /dev/hda* devices existed, so I created them
> manually with mknod. But regardless I was not able to actually mount a
> filesystem, getting an error from mount that the device did not exist.
Yeah, I don't see any "parition table" messages there,
so it must've hung on the I/O somehow.
Bummer, but it was worth trying, I suppose.
> When pulling the card I also got the following..
>
..
> Jun 10 02:41:53 localhost kernel: [ INFO: soft-safe -> soft-unsafe lock
> order detected ]
..
That's probably some weird interaction with the simple polling patch,
so I think we can disregard it, unless it pops up again someday on
an unpatched kernel.
Well, at this point, I think the only way to make progress is for one of
the IDE/libata gurus to actually get hold of the same card you have,
meaning Alan Cox (best choice), or myself, or Bart. Or maybe Tejun.
Without that, this isn't likely to improve much.
Cheers
next prev parent reply other threads:[~2007-06-10 20:46 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <464A0321.3080201@gmail.com>
[not found] ` <464C1575.8070005@gmail.com>
[not found] ` <464CB7C9.2080807@gmail.com>
[not found] ` <46503192.1040300@gmail.com>
[not found] ` <4650B9E3.7070409@gmail.com>
[not found] ` <46518798.2020808@gmail.com>
[not found] ` <4651B66E.6030505@gmail.com>
[not found] ` <4651B834.3060702@gmail.com>
[not found] ` <4651C4A1.6000101@gmail.com>
[not found] ` <4651C74B.7020108@gmail.com>
[not found] ` <46520B36.90409@garzik.org>
[not found] ` <20070523150229.00a0c3c4@the-village.bc.nu>
[not found] ` <466718B6.4080105@gmail.com>
[not found] ` <4667B39D.209@gmail.com>
[not found] ` <46685AE5.4010908@gmail.com>
2007-06-08 7:10 ` libata and legacy ide pcmcia failure Tejun Heo
2007-06-08 12:46 ` Mark Lord
2007-06-08 22:06 ` Robert de Rooy
2007-06-08 22:11 ` Mark Lord
2007-06-10 1:01 ` Robert de Rooy
2007-06-10 20:46 ` Mark Lord [this message]
2007-06-10 21:50 ` Robert de Rooy
2007-06-10 22:13 ` Russell King
2007-06-10 22:26 ` Mark Lord
2007-06-11 22:36 ` Robert de Rooy
2007-06-11 22:40 ` Mark Lord
2007-06-12 3:24 ` Tejun Heo
2007-06-13 1:36 ` Albert Lee
2007-06-14 9:39 ` Tejun Heo
2007-06-22 11:51 ` Robert de Rooy
2007-06-22 13:32 ` Mark Lord
2007-06-25 4:04 ` Albert Lee
2007-06-25 9:31 ` Robert de Rooy
2007-06-25 10:15 ` Albert Lee
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=466C631D.2000001@rtr.ca \
--to=lkml@rtr.ca \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bzolnier@gmail.com \
--cc=htejun@gmail.com \
--cc=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pcmcia@lists.infradead.org \
--cc=mlord@pobox.com \
--cc=robert.de.rooy@gmail.com \
/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).