Re: 2.4.6-test1, PCMCIA cards require two insertions

From: Christopher Swingley (cswingle@iarc.uaf.edu)
Date: Mon Aug 04 2003 - 10:50:26 EST


Russell,

Earlier I reported:

> On Fri, Jul 25, 2003 at 01:02:42PM -0800, Christopher Swingley wrote:
> > I'm running 2.6.0-test1 on an SiS based laptop with all the PCMCIA
> > network and serial drivers built into the kernel. When the system boots
> > with a PCMCIA cardbus card in place, the card doesn't show up. I unplug
> > the card and plug it back in, and then the kernel "sees" it and it
> > works. If I unplug it again, I have to go through a plug - unplug -
> > plug cycle before it recognizes it. As if it only recognizes the card
> > on even numbered insertion events.

Still behaves the same way with a stock 2.6.0-test2. I applied the
patch you included to 2.6.0-test2. Same strange dual-insertion behavior
was noted.

Also, I have another laptop, Intel based, that doesn't show this
behavior. So it's something to do with this one.

> Hmm, weird - I'm not seeing that behaviour here. Can you report back
> with kernel messages with the following patch applied please?

Here's what happens on the console. If you want kern.log, let me know
and I'll send that along. I don't see anything different between them.

After the laptop finishes booting, the PCMCIA network card (tulip
driver) is not running.

I remove the card:

    parse_events: socket df5cd82c thread df60e060 events 00000080
    socket df5cd82c status 00001c00

I insert the card:

    parse_events: socket df5cd82c thread df60e060 events 00000080
    socket df5cd82c status 00001c80
    socket_insert: skt df5cd82c
    socket_setup: skt df5cd82c status 00001c80
    socket_reset: skt df5cd82c
    Linux Tulip driver version 1.1.13 (May 11, 2002)
    <rest of tulip driver stuff snipped>

I remove the card:

    parse_events: socket df5cd82c thread df60e060 events 00000080
    socket df5cd82c status 00001c00
    socket_remove: skt df5cd82c
    socket_shutdown: skt df5cd82c status 00001c80
 
I insert the card:

    (nothing at all)

I remove the card:

    parse_events: socket df5cd82c thread df60e060 events 00000080
    socket df5cd82c status 00001c00

I insert the card:

    parse_events: socket df5cd82c thread df60e060 events 00000080
    socket df5cd82c status 00001c80
    socket_insert: skt df5cd82c
    socket_setup: skt df5cd82c status 00001c80
    socket_reset: skt df5cd82c
    Linux Tulip driver version 1.1.13 (May 11, 2002)
    <rest of tulip driver stuff snipped>

Chris

-- 
Christopher S. Swingley          email: cswingle@iarc.uaf.edu
IARC -- Frontier Program         Please use encryption.  GPG key at:
University of Alaska Fairbanks   www.frontier.iarc.uaf.edu/~cswingle/

- 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 : Thu Aug 07 2003 - 22:00:23 EST