PCMCIA breakage

Francois-Rene Rideau fare@tunes.org
Sun May 2 11:32:24 CEST 2004


Dear Oleg,

it looks like somewhere in your PCMCIA modifications,
you broke my pcnet_cs network card.

It is working just fine with the "vintage" bootimage by dave
from before your PCMCIA improvements, as well as with the WinCE driver,
but it fails to work now.

Symptom: the card is not recognized at first;
it is recognized after ejecting and reinserting,
but there is so massive packet loss (over 90%) as to make the card unusable.
Maybe it's due to voltage mismatch on the ethernet since the card was working
before you inverted voltage?
Configuration displays 3.3V on the vintage kernel,
and 5V on the current kernel.
The Sandisk configuration displays 3.3V on both kernels.

On the vintage kernel:
# cardctl ident
Socket 0:
  product info: "PCMCIA", "Ethernet", "", ""
  function: 6 (network)
# cardctl info
Socket 0:
  PRODID_1="PCMCIA"
  PRODID_2="Ethernet"
  PRODID_3=""
  PRODID_4=""
  MANFID=0000,0000
  FUNCID=6
# cardctl config
Socket 0:
  Vcc 3.3V  Vpp1 0.0V  Vpp2 0.0V
  interface type is "memory and I/O"
  irq 106 [exclusive] [level]
  function 0:
    config base 0x03f8
      option 0x60 status 0x00
    io 0xc2860300-0xc286031f [auto]
# cardctl status
Socket 0:
  3.3V 16-bit PC Card
  function 0: [ready]
# ifconfig
  ... HWaddr 00:00:B4:95:1E:D8 ...

On the current kernel:
# cardctl config
Socket 0:
  Vcc 5.0V  Vpp1 0.0V  Vpp2 0.0V
  interface type is "memory and I/O"
  irq 106 [exclusive] [level]
  function 0:
    config base 0x03f8
      option 0x60 status 0x00
    io 0xd1850300-0xd185031f [auto]
# cardctl status
Socket 0:
  5V 16-bit PC Card
  function 0: [ready]
# ifconfig
  ... HWaddr 00:00:B4:95:1E:D8 ...

Note that before cardctl config, the Vpp1 and Vpp2 are 5.0V.

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
[  TUNES project for a Free Reflective Computing System  | http://tunes.org  ]
Betting markets, and speculative markets more generally, seem to do very well
at aggregating information. To have a say in a speculative market, you have to
"put your money where your mouth is." Those who know they are not relevant
experts shut up, and those who do not know this eventually lose their money,
and then shut up. Speculative markets in essence offer to pay anyone who sees
a bias in current market prices to come and correct that bias. -- R. Hanson


More information about the Jornada820 mailing list