Possible bug in Dual-PCMCIA sleeve driver for iPAQ H3670

From: Kevin Jacobs <jacobs.a.t.penguin.theopalgroup.com>
Date: Tue Jul 24 2001 - 08:55:11 EDT

Hello all,

I'm a new iPAQ owner and have the following:

  o iPAQ H3670 (64MB RAM, color, shiny, new), newly WinCE decontaminated
  o Dual PCMCIA sleeve (also shiny and new)
  o 2GB Kingston TypeII PCMCIA microdrive
  o an assortment of wired and wireless PCMCIA ethernet cards, all supported
    under Linux and tested on a IA32 laptop. Here are the ones I will talk
    about in this e-mail:
      - 3Com Officeconnect (3CXSH572BT)
      - 3Com LAN+56K Modem (3CXEM556B)
  o iPAQ serial cable for console
  o A 10/100MB ethernet network with a working DHCP server.

What I do not have:

  o A single slot PCMCIA sleeve
  o A CF sleeve
  o A CF microdrive

My goal: Bootstrap Familiar so that I can eventually install Intimate.

My problem: The dual sleeve is detected correctly, seems to work with the
             microdrive, but doesn't work with any of my numerous ethernet
             cards. Having spoken with several friends about this, it seems
             that only those with the dual PCMCIA sleeve _and_ the H3670
             have this and similar problems.

[Please CC me on any replies -- I many not be subscribed to the mailing list
 where you may be reading this e-mail]

Details:

I followed the instructions on the 2.4.6 upgrade Wiki and installed the
2.4.6 images for Familiar 0.4. Here is the cardmgr output when my dual
sleeve is detected:

    h3600_sleeve_insert: vendorid=0x1125 devid=0x1
    dual_pcmcia_probe_sleeve: dev->name=Dual PC Card Sleeve
    run_sbin_hotplug:75 * hotplug_path=/sbin/hotplug
    h3600_sleeve_insert: matched driver Compaq Dual PC Card Sleeve

Everything went smoothly except the first ethernet card I tried is detected
with some bogus-looking settings:

    cardmgr[76]: initializing socket 0
    cardmgr[76]: socket 0: 3Com 572/574 Fast Ethernet
    cardmgr[76]: executing: 'modprobe 3c574_cs'
    3c574_cs.c v1.08 9/24/98 Donald Becker/David Hinds, becker@cesdis.gsfc.nasa.gov.
    bitsy_pcmcia_configure_socket: socket=0 vcc=50 vpp=0 reset=0
    bitsy_pcmcia_configure_socket: socket=0 vcc=50 vpp=0 reset=0
    eth0: OfficeConnect 572B at io 0xf6000300, irq 42, hw_addr 02:02:02:02:02:02.
      ASIC rev 2, 8K FIFO split 5:3 Rx:Tx, MII interface.
    eth0: command 0x5800 did not complete!

Notice the odd ethernet address. This is not the address detected on my
laptop. Further, I get many of these wonderful messages:

   NETDEV WATCHDOG: eth0: transmit timed out
   eth0: Transmit timed out!
     irq status 0808, rx status 0808, tx status 08, tx free 0808
     diagnostics: fifo 0808 net 0808 ethernet 0808 media 0808
   eth0: command 0x5800 did not complete!

Most of the values here look fairly bogus. The other 3Com PCMCIA card fails
less spectacularly. It is detected with fairly reasonable looking values:

   eth0: 3Com 3c589, io 0xf6000300, irq 42, hw_addr 00:00:86:31:A7:1F
     8K FIFO split 5:3 Rx:Tx, auto xcvr

However, it is simply unable to receive or transmit packets (unable to DHCP
in this case):

   eth0 Link encap:Ethernet HWaddr 00:00:86:31:A7:1F
             UP BROADCAST RUNNING MTU:1500 Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:3 errors:0 dropped:0 overruns:0 carrier:4
             collisions:0 txqueuelen:100
             RX bytes:0 (0.0 b) TX bytes:4104 (4.0 Kb)
             Interrupt:42 Base address:0x300

Detailed System information:

     # cat /proc/cpuinfo
     Processor : Intel StrongARM-1110 rev 8 (v4l)
     BogoMIPS : 194.15
     Hardware : Compaq iPAQ
     Revision : 0200
     Serial : 0000000000000016

     # cat /proc/meminfo
             total: used: free: shared: buffers: cached:
     Mem: 64249856 9822208 54427648 0 0 6676480
     Swap: 0 0 0
     MemTotal: 62744 kB
     MemFree: 53152 kB
     MemShared: 0 kB
     Buffers: 0 kB
     Cached: 6520 kB
     Active: 1140 kB
     Inact_dirty: 5380 kB
     Inact_clean: 0 kB
     Inact_target: 4 kB
     HighTotal: 0 kB
     HighFree: 0 kB
     LowTotal: 62744 kB
     LowFree: 53152 kB
     SwapTotal: 0 kB
     SwapFree: 0 kB

    # cat /proc/interrupts
      0: 3 h3600_suspend
     10: 3 PCMCIA_CD1
     11: 31 GPIO 11-27
     12: 3 SA1100 LCD
     15: 34 h3600_ts
     17: 9155 serial
     26: 206347 timer
     30: 3 rtc1Hz
     31: 0 rtcAlrm
     32: 3 ide0
     38: 11 PCMCIA_CD0
     39: 0 h3600_action
     42: 9 3c589_cs
     48: 2 h3600_sleeve
    Err: 0

    # cat /proc/ioports
    f60003f8-f60003ff : <binary garbage>
    f7000000-f7000007 : ide0
    f700000e-f700000e : ide0

--
Kevin Jacobs
The OPAL Group - Enterprise Systems Architect
Voice: (216) 986-0710 x 19         E-mail: jacobs@theopalgroup.com
Fax:   (216) 986-0714              WWW:    http://www.theopalgroup.com
Received on Tue Jul 24 05:48:10 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:28 EDT