Re: hang with pcmcia wlan card

From: Wiktor Wodecki (wodecki@gmx.de)
Date: Sat Jul 12 2003 - 11:48:55 EST


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


- 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/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:45 EST