mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Xircom card problems on apm resume (xirc2ps_cs)
@ 2001-10-21 10:21 Roel Teuwen
  2001-10-21 18:42 ` Pau Aliagas
  0 siblings, 1 reply; 2+ messages in thread
From: Roel Teuwen @ 2001-10-21 10:21 UTC (permalink / raw)
  To: linux-kernel

Hello all, 

When resuming after an apm -s, my xircom card (REM56G-100) is no longer
functional. I need to ifdown,rmmod,modprobe,ifup in order to get it to
work again. On suspend, all leds on the connector go off, upon resume
the link light comes back on, but the activity light remains off when
doing a ping for example. 
When starting the ping (as a test, any traffic will do) the following is
displayed in dmesg every second, even after stopping the ping. ifdown
stops these : 

eth0: media 10Base2, silicon revision 4 
NETDEV WATCHDOG: eth0: transmit timed out 
eth0: transmit timed out 

No packets are shown as RX,TX or error in ifconfig.

An ifdown/ifup appears to get rid of these messages and causes the
following to be printed in dmesg :
eth0: media 10Base2, silicon revision 4

However, the interface still does not work (ping reports destination
host unreachable) and no packets are shown in ifconfig stats.

Please note that a successful modprobe shows a different media and chip
revision than the watchdog message and ifdown/ifup, and also shows MII
messages : 

xirc2ps_cs.c 1.31 1998/12/09 19:32:55 (dd9jn+kvh) 
eth0: MII link partner: 0021 
eth0: MII selected 
eth0: media 10BaseT, silicon revision 0 
eth0: MII link partner: 0021 
eth0: MII selected 
eth0: media 10BaseT, silicon revision 0 
eth0: Xircom: port 0x300, irq 3, hwaddr 00:10:A4:93:5D:78 

After this, all is well.

I am running kernel 2.4.12-ac3, but I haven't found a past 2.4 kernel
(yet) that makes this work without problems.

Maybe unrelated, on this laptop the apm -s command only succeeds when it
is running on battery power, trying to suspend with the AC cord plugged
in causes it to resume (if it ever suspends at all) nearly instantly.

I hope all this isn't too vague. If you need more information, don't
hesistate to contact me.

Kind Regards,

Roel Teuwen


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Xircom card problems on apm resume (xirc2ps_cs)
  2001-10-21 10:21 Xircom card problems on apm resume (xirc2ps_cs) Roel Teuwen
@ 2001-10-21 18:42 ` Pau Aliagas
  0 siblings, 0 replies; 2+ messages in thread
From: Pau Aliagas @ 2001-10-21 18:42 UTC (permalink / raw)
  To: Roel Teuwen; +Cc: linux-kernel

On 21 Oct 2001, Roel Teuwen wrote:

> When resuming after an apm -s, my xircom card (REM56G-100) is no longer
> functional. I need to ifdown,rmmod,modprobe,ifup in order to get it to
> work again.

Exactly the same happens to me. I have to remove and reinsert the card tom 
make it work again. kbdrate is lost too.

> I am running kernel 2.4.12-ac3, but I haven't found a past 2.4 kernel
> (yet) that makes this work without problems.

Has happened always for me for all kind of network cards and kernels that 
I have tried.

> Maybe unrelated, on this laptop the apm -s command only succeeds when it
> is running on battery power, trying to suspend with the AC cord plugged
> in causes it to resume (if it ever suspends at all) nearly instantly.

If you are on AC power it does not stop the first time, it just hungs for 
a while. When it comes back to life in about 40-60 seconds, maybe the next 
try to supsend works.

When waking up, sometime the X screen does not appear; I have to go to the 
BIOS setup screen and exit to get it back. I used to reboot til I 
discovered the trick.

Pau


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-21 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-21 10:21 Xircom card problems on apm resume (xirc2ps_cs) Roel Teuwen
2001-10-21 18:42 ` Pau Aliagas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®