> Re: eepro100 2.4.7-ac3 problems (apm related) > > > Kai Germaschewski wrote: > > > > > > Martin, if you want to spend some work on your problem, you could try to > > collect some more data an your problem, particularly what about using > > another state (D1/D3) when the interface is down. D3 will probably mean > > that you have to save/restore PCI config space, so it's a bit more > > tedious. Also, is there anything which makes your card work again after it > > was in state D2? Like suspend/resume, or putting it into D3 and back into > > D0? Does a warm reboot suffice, or do you need to power cycle. > > > > Hmm. I am kind of lost now. I just redid the tests I did with 2.4.6-ac2 > under 2.4.7-ac3 and my eepro100 merrily survives any number of > D0->D2->D0 transitions. The only difference besides the kernels is the > ambient temperature. It is quite hot right now - and we don't have AC. > very interesting. After cooling down the whole pile of junk I can reproduce the transition problems with both D2 and D1 as the sleep state. With D2 it is 100% reproducible, with D1 I had rare cases where the adaptor survived the transition. Apparently something is very weird with my notebook. Removing the module does not help in *most* of the cases. Meaning - I had one case where removing the module helped. In order to play with the problem I have modified my initial "patch". I have introduced an option "apm_sleep" that can take values between 0 and 3, with a default of 2, representing the levles D0-D3. Applies against 2.4.7-ac3. Adding the line: option eepro100 apm_sleep=0 to /etc/modules.conf solves my problem. Without the line the default behaviour is used. I do some sanity checking on the value of apm_sleep. 0-2 are tested, 3 most likely needs some work wrt. saving/restoring device state. Martin -- ------------------------------------------------------------------ Martin Knoblauch | email: Martin.Knoblauch@TeraPort.de TeraPort GmbH | Phone: +49-89-510857-309 C+ITS | Fax: +49-89-510857-111 http://www.teraport.de | Mobile: +49-170-4904759