Subject: Problems with Xircom PCMCIA cards (device timeout)
To: None <tech-kern@netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-kern
Date: 12/20/2001 18:16:24
--4bRzO86E/ozDv8r1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

i am sorry if this is known issue (or even fix exists) but i haven't found
anything close related to this problem.

i have PCMCIA card manufactured by Xircom, CreditCard Ethernet 10/100 + 56k
Modem. it is detected by kernel (1.5Z and 1.5ZA) as:

  xi0 at pcmcia1 function 0 port 0x400-0x40f: Xircom RealPort Ethernet 10/1=
00 + Modem 56
  xi0: Ethernet address 00:80:c7:7e:a9:a4
  icsphy0 at xi0 phy 0: ICS1890 10/100 media interface, rev. 3
  icsphy0: 10baseT, 10baseT-FDX, 100baseT, 100baseT-FDX, auto
  pcmcia1: card irq 9

when we ommit the fact that it is detected wrong (it is CreditCard, not
RealPort) everything looks fine. but after i bring xi0 interface up, i
periodically get a message:

  # ifconfig xi0 up
  pcmcia1: card irq 9
  [...]
  xi0: device timeout
  [...]
  xi0: device timeout

and the card is not working at all. (i am able to ping myself, but that's a=
ll)
i am using LAPTOP_GENERIC 1.5Z and my custom 1.5ZA kernel. machine is HP
OmniBook 800CT. the strange thing is that i tried three different cards (one
is the same model), other is detected as:

  xi0 at pcmcia1 function 0 port 0x400-0x40f: Xircom CreditCard 10/100 Ethe=
rnet
  xi0: Ethernet address 00:10:a4:a1:ef:06
  ukphy0 at xi0 phy 0: Generic IEEE 802.3u media interface
  ukphy0: OUI 0x00057d, model 0x0000, rev. 0
  ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  ukphy1 at xi0 phy 16: Generic IEEE 802.3u media interface
  ukphy1: OUI 0x00057d, model 0x0000, rev. 0
  ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  pcmcia1: card irq 9

but this is not true, this card is Xircom RealPort Ethernet 10/100 RE-100
instead. and the problem is still present, xi0: device timeout.

i tried older kernel from 1.5.2 (LAPTOP_GENERIC), but it didn't detect this
card as Xircom, only modem(?) as com3:

  com3 at pcmcia1 function 0 port 0x2e8-0x2ef: serial device
  com3 is ns16550a, working fifo

the other card (RealPort Ethernet 10/100 RE-100) is detected as:

  xi0 at pcmcia1 function 0 port 0x400-0x40f: Xircom CreditCard 10/100 Ethe=
rnet
  xi0: Ethernet address 00:10:a4:a1:ef:06
  ukphy0 at xi0 phy 0: Generic IEEE 802.3u media interface
  ukphy0: OUI 0x00057d, model 0x0000, rev. 0
  ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  ukphy1 at xi0 phy 16: Generic IEEE 802.3u media interface
  ukphy1: OUI 0x00057d, model 0x0000, rev. 0
  ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  pcmcia1: card irq 9

the timeout problem is present in the 1.5.2 kernel as well.

i would like to use both ethernet and modem with this card. is there any
chance it will be fixed? i'll send a PR if this is not known (i haven't fou=
nd
any PR related to this problem, though).

i can test any fixes/kernels when they are available.

thanks,
regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =
 --

--4bRzO86E/ozDv8r1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8IhzoWc63C347cOIRAhLTAJ0XBl8gWgtfDR656kOHD0tSko3AoACg7AY3
nSSXE/3kfYENYYRWFp6xYDo=
=lDm+
-----END PGP SIGNATURE-----

--4bRzO86E/ozDv8r1--