From: "Prasanta Sadhukhan" <prasanta@tataelxsi.co.in>
To: Felipe Alfaro Solana <felipe_alfaro@linuxmail.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: registration function of Cardbus driver
Date: Mon, 07 Apr 2003 15:14:47 +0530 [thread overview]
Message-ID: <3E91488F.1E331C14@tataelxsi.co.in> (raw)
In-Reply-To: <1049707222.592.17.camel@teapot.felipe-alfaro.com>
Felipe Alfaro Solana wrote:
> On Mon, 2003-04-07 at 10:13, Prasanta Sadhukhan wrote:
> > Hi,
> > Our Cardbus driver was using register_driver/unregister_driver
> > function of cb_enabler.c for registration and unregistration in
> > RH7.1
> > But in RH 8.0 , we are not able to find cb_enabler.o file in
> > /modules/pcmcia directory even when we compile the kernel with PCMCIA
> > CARDBUS support.
>
> If my memory serves me well, you need an external project named
> "pcmcia-cs" that you can download from http://pcmcia-cs.sourceforge.net.
> This project has alternative PCMCIA/CardBus support and it has the
> cb_enabler module you're looking for.
>
We downloaded pcmcia-cs 3.2.4 from the same site and downloaded.
But it will only generate and install cb_enabler.o file if CONFIG_PCMCIA is
disabled in the kernel configuration.
In that case our driver is compiling well but it is is giving Kernel panic
when we are hotplugging it out. The following is the dump
But the driver was working in RH7.1, only in RH 8.0 it is behaving in this
way.
Has some kernel interrupt handling routine has been changed?
[<c28801fe>] cb_release [cb_enabler] 0xee (0xc02e5e38))
[<c2880e20>] bus_table [cb_enabler] 0x0 (0xc02e5e50))
[<c2880268>] cb_event [cb_enabler] 0x5e (0xc02e5e58))
[<c01ab820>] multiwrite_intr [kernel] 0x0 (0xc02e5e64))
[<c286178e>] send_event [pcmcia-core] 0x46 (0xc02e5e88))
[<c2861867>] parse_event [pcmcia-core] 0x11f (0xc02e5eb8))
[<c28876d2>] common_housekeeping [mtok] 0x3a (0xc02e5ecc))
[<c2875db4>] socket [i82365] 0x54 (0xc02e5ed8))
[<c286d211>] pcic_interrupt [i82365] 0x17d (0xc02e5ee8))
[<c0109d5d>] handle_IRQ_event [kernel] 0x3d (0xc02e5f28))
[<c2875d60>] socket [i82365] 0x0 (0xc02e5f30))
[<c0109ee8>] do_IRQ [kernel] 0x78 (0xc02e5f48))
[<c010c378>] call_do_IRQ [kernel] 0x5 (0xc02c5f68))
[<c0113326>] apm_bios_call_simple [kernel] 0x56 (0xc02e5f94))
[<c011330d>] apm_bios_call_simple [kernel] 0x3d (0xc02e5fa0))
[<c0113422>] apm_do_idle [kernel] 0x12 (0xc02e5fbc))
[<c0113543>] apm_cpu_idle [kernel] 0xb3 (0xc02e5fd4))
[<co105000>] stext [kernel] 0x0 (0xc02e5fe4))
[<c0106e8b>] cpu_idle [kernel] 0x1b (0xc02e5fec))
Code: 0f 0b ae 00 9b 5f 22 c0 58 5a e9 7c fe ff ff 90 90 8d b4 26
<0>Kernel panic: Aiee, killing interrupt handler'
In interrupt handler - not syncing
But if we explicitly gives "cardctl eject" and then plug it out then it is not
panicking.Does it mean pcmcia-cs tree does not support hot swappability for
Cardbus.
because we have to explicitly free the resources allocated by pcmcia by "soft
ejecting" and then plug it out.
Please help
Thanks & regards
Prasanta
>
> Linux Registered User #287198
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2003-04-07 9:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-07 8:13 Prasanta Sadhukhan
2003-04-07 9:20 ` Felipe Alfaro Solana
2003-04-07 9:44 ` Prasanta Sadhukhan [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=3E91488F.1E331C14@tataelxsi.co.in \
--to=prasanta@tataelxsi.co.in \
--cc=felipe_alfaro@linuxmail.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
all inboxes | Powered by JetHome®