[Prism54-users] Can't make a SMC2802W work. Maybe it's my hardware setup? Doing something wrong?
bapm
bapm@netcabo.pt
Fri, 16 Jan 2004 01:40:26 -0000
I tested this after and before your patch.
=20
I was really happy to see new code in CVS hopping it would solve my =
problem but no it didn't solve and I think ifup yields a new error =
message with the current CVS version:
=20
[root@galaxy etc]# ifup eth3
SIOCSIFFLAGS: Resource temporarily unavailable
Failed to bring up eth3.
and dmesg outputs the following:
=20
Loaded prism54 driver, version 1.0.2.2
divert: allocating divert_blk for eth3
eth3: islpci_open()
eth3: resetting device...
eth3: uploading firmware...
eth3: firmware uploaded done, now triggering reset...
eth3: device soft reset timed out
eth3: islpci_open()
eth3: resetting device...
eth3: uploading firmware...
remove_proc_entry: 00:09.0/loading busy, count=3D1
remove_proc_entry: firmware/00:09.0 busy, count=3D1
eth3: firmware uploaded done, now triggering reset...
de_put: deferred delete of loading
de_put: deferred delete of 00:09.0
eth3: device soft reset timed out
Before the patch ifup worked with no MAC address.
I already tried to increase the wait time but only 2* HZ.
And the output of /proc/interrupts with no interrupt count? That is =
wierd isn't it? How do I know the firmware really got uploaded?
=20
Thanks,
=20
Bruno
-----Original Message-----=20
From: Jens Maurer [mailto:Jens.Maurer@gmx.net]=20
Sent: Thu 1/15/2004 7:24 PM=20
To: bapm=20
Cc: prism54-users@prism54.org=20
Subject: Re: [Prism54-users] Can't make a SMC2802W work. Maybe it's my =
hardware setup? Doing something wrong?
=09
=09
bapm wrote:
> eth3: firmware uploaded done, now triggering reset...
> de_put: deferred delete of loading
> de_put: deferred delete of 00:09.0
> eth3: device soft reset timed out
=09
This fails at exactly the point where I reworked the "reset"
handling. This may or may not be a good sign.
=09
My check-in happend then: 2004/01/13 21:24:05
=09
Could you please try out an earlier version of
the driver (e.g. from 12 jan 2004) and see if it works?
You should see something like "mib_init" showing up.
=09
You could also try to change this line in islpci_dev.c
remaining =3D sleep_on_timeout(&priv->reset_done, HZ);
to
remaining =3D sleep_on_timeout(&priv->reset_done, 10*HZ);
=09
This will increase the timeout to 10 sec, possibly your card
needs a very long time to reset (unlikely).
=09
Explanation: We (now) wait in "ifconfig up" until the
device has acknowledged (by interrupt) the soft reset, then
we set all the configuration parameters and find out about
the MAC address. This interrupt does not happen,
apparently.
=09
Jens Maurer
=09
=09