RE: [iPAQ] Socket LP ethernet card fails during boot

From: Jamey Hicks <jamey.a.t.crl.dec.com>
Date: Tue Oct 10 2000 - 16:15:59 EDT

I kind of think there's a timing problem. I notice in your message that it
timed out during reset. I see that with some cards some of the time, some
cards all of the time. But always, if reset times out, the driver and
cardmgr fail to identify the card and attempt to load anonymous memory.

In v0.17, I added /proc/bus/pccard/00/msc2, which exposes the timing
register for PCMCIA. I don't know if it will help or not.

-Jamey

-----Original Message-----
From: Carl Worth [mailto:cworth@east.isi.edu]
Sent: Tuesday, October 10, 2000 3:43 PM
To: ipaq@handhelds.org
Subject: [iPAQ] Socket LP ethernet card fails during boot

My Socket LP CF ethernet card works great on the iPAQ except for when
I boot with the card inserted. Every time I boot with the card
inserted the machine hangs when the card manager services start. It
stays hung until I remove the card. Then, if I insert the card again
it seems to work.

The following messages are from v0.17. I know that v0.17 is still
beta, but I saw the same behavior in v0.15 and v0.16. Also, I noticed
that v0.17 had a new version of card services so I was hoping that
might help. BTW, the screen rotation in v0.17 is *very* cool. :^)
Things should be looking very good once this release is ready, (ie. X
not segfaulting :( on startup).

Here are the boot messages leading up to the hang with the Socket LP
card inserted:

        Starting PCMCIA services: modulesLinux PCMCIA Card Services 3.1.20
          options: [pm]
        SA-1100 PCMCIA (CS release 3.1.20)
        bitsy_pcmcia_init
        bitsy_pcmcia_configure_socket: vcc=0 reset=0
        bitsy_pcmcia_configure_socket: finished
        bitsy_pcmcia_configure_socket: vcc=0 reset=0
        bitsy_pcmcia_configure_socket: finished
        bitsy_pcmcia_configure_socket: vcc=33 reset=0
        bitsy_pcmcia_configure_socket: finished
        bitsy_pcmcia_configure_socket: vcc=33 reset=1
        bitsy_pcmcia_configure_socket: finished
        bitsy_pcmcia_configure_socket: vcc=33 reset=0
        bitsy_pcmcia_configure_socket: finished
        cs: socket c126d000 timed out during reset
         cardmgr.
        cardmgr[101]: starting, version is 3.1.20
        cardmgr[101]: watching 2 sockets
        cardmgr[101]:

At this point my machine is hung, sometimes with a solid blue screen,
but usually with exciting shifting diagonal lines... 8^)

When I remove the card I see:

                      initializing socket 0

        bitsy_pcmcia_configure_socket: vcc=0 reset=0
        bitsy_pcmcia_configure_socket: finished
        cardmgr[101]: socket 0: Anonymous Memory
        bitsy_pcmcia_configure_socket: vcc=33 reset=0
        bitsy_pcmcia_configure_socket: finished
        cardmgr[101]: executing: 'modprobe memory_cs'
        cardmgr[101]: + modprobe: Can't locate module memory_cs
        cardmgr[101]: modprobe exited with status 255
        cardmgr[101]: module
/lib/modules/2.4.0-test8-rmk5-np2/pcmcia/memory_cs.o not available
        bitsy_pcmcia_configure_socket: vcc=33 reset=1
        bitsy_pcmcia_configure_socket: finished
        bitsy_pcmcia_configure_socket: vcc=33 reset=0
        bitsy_pcmcia_configure_socket: finished
        cardmgr[101]: get dev info on socket 0 failed: Resource temporarily
unavailable
        cardmgr[101]: shutting down socket 0
        cardmgr[101]: executing: 'modprobe -r memory_cs'
        cardmgr[101]: initializing socket 0
        cardmgr[101]: socket 0: Anonymous Memory
        cardmgr[101]: executing: 'modprobe memory_cs'
        cardmgr[101]: + modprobe: Can't locate module memory_cs
        cardmgr[101]: modprobe exited with status 255
        cardmgr[101]: module
/lib/modules/2.4.0-test8-rmk5-np2/pcmcia/memory_cs.o not available
        cardmgr[101]: get dev info on socket 0 failed: Resource temporarily
unavailable

Hmmm, I wonder why it's seeing it as "Anonymous Memory" rather than
"Socket LP-E CF+ Ethernet"...

Then, when I insert the card again, I get:

        bitsy_pcmcia_configure_socket: vcc=0 reset=0
        bitsy_pcmcia_configure_socket: finished
        bitsy_pcmcia_configure_socket: vcc=33 reset=0
        bitsy_pcmcia_configure_socket: finished
        cardmgr[101]: shutting down socket 0
        cardmgr[101]: executing: 'modprobe -r memory_cs'
        bitsy_pcmcia_configure_socket: vcc=33 reset=1
        bitsy_pcmcia_configure_socket: finished
        bitsy_pcmcia_configure_socket: vcc=33 reset=0
        bitsy_pcmcia_configure_socket: finished
        cardmgr[101]: initializing socket 0
        cardmgr[101]: socket 0: Socket LP-E CF+ Ethernet
        cardmgr[101]: executing: 'modprobe 8390'
        cardmgr[101]: executing: 'modprobe pcnet_cs'
        alloc_io_space: io 0 not in use, allocating (base: 0x0300 BasePort:
0xf6000000 num: 32 NumPorts: 2
        bitsy_pcmcia_configure_socket: vcc=33 reset=0
        bitsy_pcmcia_configure_socket: finished
        bitsy_pcmcia_configure_socket: vcc=33 reset=0
        bitsy_pcmcia_configure_socket: finished
        eth0: NE2000 Compatible: io 0xf6000300, irq 42, hw_addr
00:C0:1B:00:9B:9A
        cardmgr[101]: executing: './network start eth0'
        nfs warning: mount version older than kernel
        cardmgr[101]: + thump:/skiff/debian_root on /mnt/hda type nfs
(rw,nolock,soft,rsize=8192,wsize=8192,addr=38.245.76.134)

And now everything works. I go through this ritual every time I
boot. Is anyone else having this problem? Is it specific to this card?
Any ideas what the problem might be?

Thanks in advance,

-Carl
_______________________________________________
iPAQ mailing list
iPAQ@handhelds.org
http://handhelds.org/mailman/listinfo/ipaq
Received on Tue Oct 10 13:10:54 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:44 EDT