From: Anton Vorontsov <cbou@mail.ru>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: kernel-discuss@handhelds.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] genhd fix or ide workaround -- choose one
Date: Thu, 19 Oct 2006 18:16:06 +0400 [thread overview]
Message-ID: <20061019141606.GA10095@localhost> (raw)
In-Reply-To: <20061019133307.GA9518@localhost>
On Thu, Oct 19, 2006 at 05:33:07PM +0400, Anton Vorontsov wrote:
> On Thu, Oct 19, 2006 at 02:08:32PM +0100, Alan Cox wrote:
> > Ar Iau, 2006-10-19 am 16:25 +0400, ysgrifennodd Anton Vorontsov:
> > > It just happens every time on HP iPaq hx4700. hx4700 have internal CF
> > > slot, which is working via pxa2xx pcmcia driver.
> >
> > I can't duplicate this with the ide_cs driver and a laptop.
> >
> > > Have you read comments inside -fix patch? Imho it's obvious that nobody
> > > putting driverfs_device second time, but got it twice.
> >
> > Its also obvious that it currently works on millions of PC systems and
> > that also needs explaining before any change is made.
>
> You're right, it needs explanation. Unfortunately I don't have any other
> PCMCIAable devices to find it out. :-/ Though, I'll try to find answers
> in the code.
Okay. Wild guess: you're using 32 bit CardBus (yenta socket?), but hx4700
is using 16 bit PCMCIA (drivers/pcmcia/ds.c). And indeed ds.c calling
device_unregister() which triggers that sequece:
ide_cs.c:ide_detach()
ide_cs.c:ide_release()
ide.c:ide_unregister() <- hang here
I've grep'ed drivers/pcmcia/ for the device_unregister and seems nobody
calling it except drivers/pcmcia/ds.c.
-- Anton (irc: bd2)
p.s. drivers/pcmcia/cardbus.c states:
* cardbus.c -- 16-bit PCMCIA core support
typo?
prev parent reply other threads:[~2006-10-19 14:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-18 22:15 [PATCH] genhd fix or ide workaround -- choose one Anton Vorontsov
2006-10-19 12:05 ` Alan Cox
2006-10-19 12:25 ` Anton Vorontsov
2006-10-19 13:08 ` Alan Cox
2006-10-19 13:33 ` Anton Vorontsov
2006-10-19 14:16 ` Anton Vorontsov [this message]
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=20061019141606.GA10095@localhost \
--to=cbou@mail.ru \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=kernel-discuss@handhelds.org \
--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