[Prism54-users] slightly OT: SMC2835W - How to automate network setup?

Stefan U. Hegner (Mobil) mobil@hegner-online.de
Sun, 30 Nov 2003 22:33:20 +0100


--=-EtxhUCnQDoltdAOMX0/6
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Nicolai,

Am Son, 2003-11-30 um 21.04 schrieb Nicolai Langfeldt:
> > Hmmmm. I was reading some docu over the weekend and I rather get the
> > idea, that it might have to do with the cardservices. - i.e. there is n=
o
> > entry for SMC2835/prism54 in the /etc/pcmcia/config. - Could this be th=
e
> > problem? Has someone a "sample-entry" for this?
>=20
> Ah, but you said that the driver was working already so I assumed you=20
> were past that.

Yes. The card works. But I need to do the iwconfig stuff every time I
insert the card manually. Since the iwconfig params are in the
wireless.opts of the cardservices, I suspect, this is where my problem
is.

> Start with "cardctl ident" as root (a orinoco card for convenience):

tambala:~/ # cardctl ident
Socket 0:
  product info: "Intersil", "ISL3890", "-", "-"
  manfid: 0x000b, 0x3890
  function: 254 ((null))

However, this is *after* the automatic hotplug firmware update

> Corresponding to that you find this in config:

I put in the following:

card "SMC EZ Connect g"
  version "Intersil", "ISL3890"
  bind "prism54"

> And corresponding to the bind "orinoci_cs" you find (earlier)

And then in the upper part this:

device "prism54"
  class "network" module "firmware_class", "prism54"


After restarting the cardservices and inserting the card my syslog gives
me:

Nov 30 22:20:45 tambala kernel: spurious 8259A interrupt: IRQ7.
Nov 30 22:20:45 tambala kernel: cs: cb_alloc(bus 2): vendor 0x1260,
device 0x3890

Here I get confused - because 0x1260,0x3890 is the ID *before* firmware
upgrade - afterwards I get 0x000b,0x3890.


Nov 30 22:20:45 tambala kernel: PCI: Enabling device 02:00.0 (0000 ->
0002)
Nov 30 22:20:45 tambala kernel: eth1: loading firmware early at probe
time as temporary workaround for broken device driver
Nov 30 22:20:45 tambala ifplugd[6603]: Warning: Could not get interface
address.
Nov 30 22:20:45 tambala cardmgr[6587]: socket 0: CardBus hotplug device
Nov 30 22:20:46 tambala ifplugd[6603]: Using interface
eth1/00:00:00:00:00:00
Nov 30 22:20:46 tambala ifplugd[6603]: ETHTOOL_GLINK failed: Operation
not supported
Nov 30 22:20:46 tambala ifplugd[6603]: SIOCGMIIPHY failed: Operation not
supported
Nov 30 22:20:46 tambala ifplugd[6603]: SIOCDEVPRIVATE failed: Operation
not supported
Nov 30 22:20:46 tambala ifplugd[6603]: Executing
'/etc/ifplugd/ifplugd.action eth1 up'.

This seems to be the area, where I'm having trouble. And the folling
"Jiffi" stuff is something I don't understand.

Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 99
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): entry in queue
not found yet, retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100
Nov 30 22:20:46 tambala kernel: islpci_mgt_response(): queue empty,
retrying (jiffies left =3D 100

However, issuing=20

iwconfig eth1 mode managed essid myESSID

brings the card up to life.

> > Seems to be similar in MDK (IMHO they have borrowed some of this stuff
> > from RH). However, the ifup and ifup-wireless scripts don't make much
> > sense to me. - I'm rather a dumb user than a bright guru. -So, what are
> > you trying to tell me? - Modifying the scripts? What? How?
>=20
> Yes, with some editor.  After studying them carefully.  But first the=20
> config file as you say.

Okay. But the errors of the ifplugd (see log above) suggest, that my
machine is doing something on insertion of the card. - It simply seems
to have problems doing the right stuff. That's why I thought the
cardservices config is maybe the problem. But as stated above, I either
put in the wrong stuff, or there is some other problem elsewhere.

Thanks a lot.

Stefan.

--=20
/ Stefan Ulrich Hegner aka "Hegi" - Loehne/ Westfalen - Germany \
| mobil@hegner-online.de - primary Email stefan@hegner-online.de|
\ GPG-Fprint D9DB 51BD 2DA6 9B3A 41CB  0287 05A1 8D11 38BA CE91 /

--=-EtxhUCnQDoltdAOMX0/6
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/ymIgBaGNETi6zpERAqgFAJ40WylyQ5sta4q6Q6/J8CFyBUozqgCeJtbz
oiwuFFuG9vnfFDQ/kR1YJ6w=
=bH1/
-----END PGP SIGNATURE-----

--=-EtxhUCnQDoltdAOMX0/6--