[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-eepro100
Subject:    [eepro100] RH7.1 apmd puts eepro100 card to sleep, but it won't wake up!
From:       Jan Just Keijser <janjust () cisco ! com>
Date:       2001-07-23 12:15:40
[Download RAW message or body]

Hi all,

I've got a strange problem with a particular board (MSI 6165) with an
eepro100 adapter on it. The box is running RH 7.1 with the 2.4.3 kernel,
including APM power management. 'Wake-on-LAN' is DISabled in the BIOS.
When I type
  ifconfig eth0 down
on this box, the link light goes OFF on the switch that this box is
connected to; I can't bring the box back up using
  ifconfig eth0 up
i.e. the link light stays off and subsequent 'ifup eth0' commands fail.
I actually need(ed) to type something of the sort
  mii-diag -F 100basetx-hd
  mii-diag -R
  mii-diag -F 100bsaetx-fd
  mii-diag -R
a couple of times to change the state on the adapter before I could get
any type of connection.

Grabbed Donald's pci-config program and did a
  pci-config -v -#8
on the box - the power state was D2 (yes, that's '2') and all
'eepro100-diag -ee -f' commands subsequently returned junk.
Instead of the mii-diag sequence above, I now type
  pci-config -W -#8
<wait a few seconds>
  ifup eth0
and everything is OK, until I type
  ifconfig eth0 down
again.

Then I started thinking, and found out that the 'apmd' daemon was
running - if I turn OFF the APM daemon prior to bringing down eth0, then
everything is fine - the link light stays on, I can bring it back up
again, etc etc.

My question now is: who's at fault here? the APM daemon? the APM bios on
the board? the eepro100 driver for not waking up the adapter when I want
to bring it back to life again?

TIA,

JJK / Jan Just Keijser
Cisco Systems International BV


_______________________________________________
eepro100 mailing list
eepro100@scyld.com
http://www.scyld.com/mailman/listinfo/eepro100

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic