From: Wiktor Wodecki <wodecki@gmx.de>
To: Jaakko Niemi <liiwi@lonesom.pp.fi>, linux-kernel@vger.kernel.org
Subject: Re: hang with pcmcia wlan card
Date: Sat, 12 Jul 2003 18:48:55 +0200 [thread overview]
Message-ID: <20030712164855.GB2133@gmx.de> (raw)
In-Reply-To: <20030712173039.A17432@flint.arm.linux.org.uk>
[-- Attachment #1: Type: text/plain, Size: 2671 bytes --]
well, at least it is this changeset for me (same problem)
> --- linux-2.5.73-bk1/drivers/pcmcia/ti113x.h 2003-06-22
> 11:32:41.000000000 -0700
> +++ linux-2.5.73-bk2/drivers/pcmcia/ti113x.h 2003-06-24
> 13:06:59.000000000 -0700
> @@ -175,6 +175,27 @@
> new = reg & ~I365_INTR_ENA;
> if (new != reg)
> exca_writeb(socket, I365_INTCTL, new);
> +
> + /*
> + * If ISA interrupts don't work, then fall back to routing card
> + * interrupts to the PCI interrupt of the socket.
> + */
> + if (!socket->socket.irq_mask) {
> + int irqmux, devctl;
> +
> + printk (KERN_INFO "ti113x: Routing card interrupts to
> PCI\n");
> +
> + devctl = config_readb(socket, TI113X_DEVICE_CONTROL);
> + devctl &= ~TI113X_DCR_IMODE_MASK;
> +
> + irqmux = config_readl(socket, TI122X_IRQMUX);
> + irqmux = (irqmux & ~0x0f) | 0x02; /* route INTA */
> + irqmux = (irqmux & ~0xf0) | 0x20; /* route INTB */
> +
> + config_writel(socket, TI122X_IRQMUX, irqmux);
> + config_writeb(socket, TI113X_DEVICE_CONTROL, devctl);
> + }
> +
> socket->socket.ss_entry->init = ti_init;
> return 0;
> }
On Sat, Jul 12, 2003 at 05:30:39PM +0100, Russell King wrote:
> On Sat, Jul 12, 2003 at 07:22:53PM +0300, Jaakko Niemi wrote:
> >
> > > Hi,
> > >
> > >My laptop (thinkpad 570e) hangs hard straight after bringing up
> > >interface with d-link dwl-650 wlan card. 2.5.73-bk1 works and
> > >2.5.73-bk2 to 2.5.75-bk1 hang. If I boot without the card,
> > >everything comes up, but inserting the card results to a hang.
> > >Setting nmi_watchdog=2 has no effect.
> >
> > Ok, bit more info: same thing happens with edimax 8139 based
> > cardbus nic also. I've disabled apm and acpi from kernel
> > and going to start going through the pci changes between
> > 2.5.73-bk1 and bk2. Any clues would be much appreciated.
>
> Its a hotplug/netdevice interaction, and it happens for many hotpluggable
> network devices, whether they be NE2K cards, wireless cards or whatever.
>
> AFAICS, it isn't a PCMCIA nor cardbus problem.
>
> --
> Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
> http://www.arm.linux.org.uk/personal/aboutme.html
>
> -
> 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/
--
Regards,
Wiktor Wodecki
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-07-12 16:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-11 16:20 hang with pcmcia wlan card Jaakko Niemi
2003-07-12 16:22 ` Jaakko Niemi
2003-07-12 16:30 ` Russell King
2003-07-12 16:48 ` Wiktor Wodecki [this message]
2003-07-12 17:30 ` Jaakko Niemi
2003-07-13 8:46 ` Alan Cox
2003-07-13 9:50 ` Jaakko Niemi
2003-07-13 10:00 ` Russell King
2003-07-13 10:48 ` Jaakko Niemi
2003-07-13 11:00 ` Russell King
2003-07-13 11:09 ` Alan Cox
2003-07-13 11:02 ` Wiktor Wodecki
-- strict thread matches above, loose matches on Subject: below --
2003-07-13 2:51 Sven Dowideit
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=20030712164855.GB2133@gmx.de \
--to=wodecki@gmx.de \
--cc=liiwi@lonesom.pp.fi \
--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