[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Freeze after insert of pcmcia card



Le vendredi 20 Août 2004 22:21, fnord@robutler.dk a écrit :
> Hi,

Hi,

> I have a problem that has been troubling me for some time. Whenever I
> plugin my 802.11b PCMCIA netword card my laptop freezes completely and I
> have to cut the power. The same thing happens it the PCMCIA card is in
> the computer when it boots.
>
> Computer:
>   Hi-Grade notino 5400
>   Netgear MA401 network card
>   Latest debian testing
>   Standard Debian kernel image 2.6.7

I have the same card, with an Asus L2400D on a Debian testing and with a 
kernel 2.6.8.1. So our configurations seems to be not too far.

> In the pcmcia-howto they suggest that there might be a problem with the
> ports and memory in /etc/pcmcia/config.opts. I've tried to read the
> memory sections from the device driver information under windows and
> inserting them in config.opts, But I keep getting the same results.

Try to comment ALL the "include" sections, and then uncomment them step by 
step. 

When I had problems with my card, I search in the kernel and I found in the 
file "drivers/pcmcia/yenta_socket.c" the following code :

/*
 * Only probe "regular" interrupts, don't
 * touch dangerous spots like the mouse irq,
 * because there are mice that apparently
 * get really confused if they get fondled
 * too intimately.
 *
 * Default to 11, 10, 9, 7, 6, 5, 4, 3.
 */
static u32 isa_interrupts = 0x0ef8;

I changed the "0x0ef8" into "0x0000", the card used the IRQ of the pcmcia 
socket to communicate with the kernel, and did not disturb the other devices.

>
> Claus
>

Nicolas.



Reply to: