From: David Miller <davem@davemloft.net>
To: w.sang@pengutronix.de
Cc: linux-ide@vger.kernel.org
Subject: Re: WARNINGs because of ide-proc handling
Date: Wed, 01 Sep 2010 19:33:32 -0700 (PDT) [thread overview]
Message-ID: <20100901.193332.77341159.davem@davemloft.net> (raw)
In-Reply-To: <20100831205605.GA23636@pengutronix.de>
From: Wolfram Sang <w.sang@pengutronix.de>
Date: Tue, 31 Aug 2010 22:56:05 +0200
> Hello,
>
> I get the following warning (and some similar ones) on my laptop running
> 2.6.36-rc3 when removing a CF card via pcmcia:
>
> [ 1087.602129] WARNING: at fs/proc/generic.c:816 remove_proc_entry+0x185/0x1d0()
> [ 1087.602137] Hardware name: Amilo M14255
> [ 1087.602142] name 'cache'
> ...
>
> It turned out that none of the entries in ide_disk_proc[] gets created when
> inserting the card, so trying to remove them triggers this warning. Adding
> some debug printouts
Hmmm, at some point ide_host_add() or ide_host_register() should be invoked,
which should create the drive->proc and hwif->proc PROCFS directories.
What driver is your pcmcia IDE card using?
next prev parent reply other threads:[~2010-09-02 2:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 20:56 WARNINGs because of ide-proc handling Wolfram Sang
2010-09-02 2:33 ` David Miller [this message]
2010-09-02 21:28 ` Wolfram Sang
2010-09-02 22:14 ` David Miller
2010-09-03 5:53 ` Wolfram Sang
2010-09-03 12:34 ` David Miller
2010-09-03 14:21 ` Bartlomiej Zolnierkiewicz
2010-09-03 14:35 ` David Miller
2010-09-03 14:47 ` Wolfram Sang
2010-09-03 18:59 ` Wolfram Sang
2010-09-14 4:17 ` David Miller
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=20100901.193332.77341159.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-ide@vger.kernel.org \
--cc=w.sang@pengutronix.de \
/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).