mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "christophe barbé" <christophe.barbe.ml@online.fr>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Re: 3c59x and cardbus
Date: Sat, 2 Mar 2002 16:08:23 -0500	[thread overview]
Message-ID: <20020302210823.GB4958@ufies.org> (raw)
In-Reply-To: <20020226173038.GD803@ufies.org> <3C7BC897.8D607D08@zip.com.au> <20020226175819.GE803@ufies.org> <20020226181510.GF803@ufies.org> <3C7BD91C.3B758704@zip.com.au> <20020226185907.GG803@ufies.org> <20020226230010.GI803@ufies.org> <3C7C1B07.92F9B8E0@zip.com.au>
In-Reply-To: <3C7C1B07.92F9B8E0@zip.com.au>


[-- Attachment #1.1: Type: text/plain, Size: 1620 bytes --]

On Tue, Feb 26, 2002 at 03:32:23PM -0800, Andrew Morton wrote:
> christophe barbé wrote:
> > 
> > Now that the forget_option bug is solved I have the following :
> > 
> > Each time I suspend, the card resume in a bad state but return in a good
> > state after that :
> > 
> > NETDEV WATCHDOG: eth0: transmit timed out
> 
> The transceiver didn't power up, or came up in silly
> mode.  I'll see if I can reproduce any of this.
> What NIC are you using?

I have played a little with mii-diag and vortex-diag without success. 
'mii-diag' didn't show differences between good and bad states.
'vortex-diag' show a difference with the -aa option, I attach the
output.

I have tried some modifications in the driver, basically to do what
tx_timeout does in the resume function without success.
After that I have realized that the timeout, which occurs most of the
time 1 minute after the resume, is not the reason why the card returns
in the correct state (watchdog is set to 1000) otherwise it would occurs
earlier.

Andrew, will you send a patch to marcello for the 'always bigger card
id' bug or do you want me to do it ?

Christophe

> 
> -
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Christophe Barbé <christophe.barbe@ufies.org>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

In a cat's eye, all things belong to cats.
--English proverb

[-- Attachment #1.2: vdiag-aa.output.ok --]
[-- Type: text/plain, Size: 1064 bytes --]

vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3CCFE575CT CardBus adapter at 0x4000.
Initial window 7, registers values by window:
  Window 0: 0000 0000 0002 0000 0808 06ff ffff 0000.
  Window 1: 0000 0000 0000 0000 0000 0000 0000 2000.
  Window 2: 0100 d302 1ede 0000 0000 0000 4102 4000.
  Window 3: 0000 0060 05ea 0000 0040 1000 0800 6000.
  Window 4: 0000 0000 0000 0ce0 0003 8800 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
  Window 6: 0000 0000 0000 0000 0000 0000 0000 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x4000
  0x4010: 00000000 00000000 00000016 00000000
  0x4020: 00000020 00000000 00080000 00000004
  0x4030: 00000000 75718a8f 00c2e030 00080004
 Indication enable is 06c6, interrupt enable is 06ce.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  MII.
Transceiver type in use:  MII.
 MAC settings: half-duplex.
 Station address set to 00:01:02:d3:de:1e.
 Configuration options 4102.

[-- Attachment #1.3: vdiag-aa.output.pb --]
[-- Type: text/plain, Size: 1064 bytes --]

vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3CCFE575CT CardBus adapter at 0x4000.
Initial window 7, registers values by window:
  Window 0: 0000 0000 0000 0000 5555 06ff ffff 0000.
  Window 1: 0000 0000 0000 0000 0000 0000 0000 2000.
  Window 2: 0100 d302 1ede 0000 0000 0000 4102 4000.
  Window 3: 0000 0060 05ea 0000 0040 1000 0800 6000.
  Window 4: 0000 0000 0000 0ce0 0003 8800 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
  Window 6: 0000 0000 0000 0000 0000 0000 0000 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x4000
  0x4010: 00000000 00000000 00000000 00000000
  0x4020: 00000020 00000000 00080000 00000004
  0x4030: 00000000 2c01d3ff 00c2e000 00080004
 Indication enable is 06c6, interrupt enable is 06ce.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  MII.
Transceiver type in use:  MII.
 MAC settings: half-duplex.
 Station address set to 00:01:02:d3:de:1e.
 Configuration options 4102.

[-- Attachment #1.4: mii-diag.output --]
[-- Type: text/plain, Size: 344 bytes --]

Basic registers of MII PHY #0:  3100 782d 0300 e54b 01e1 0000 0000 0000.
 Basic mode control register 0x3100: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner does not do autonegotiation, and this transceiver type
  does not report the sensed link speed.
   End of basic transceiver information.


[-- Attachment #2: Type: application/pgp-signature, Size: 241 bytes --]

  parent reply	other threads:[~2002-03-02 21:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-26 17:30 christophe barbé
2002-02-26 17:40 ` Andrew Morton
2002-02-26 17:58   ` christophe barbé
2002-02-26 18:15     ` christophe barbé
2002-02-26 18:51       ` Andrew Morton
2002-02-26 18:59         ` christophe barbé
2002-02-26 23:00           ` christophe barbé
2002-02-26 23:32             ` Andrew Morton
2002-02-26 23:38               ` christophe barbé
2002-03-02 21:08               ` christophe barbé [this message]
2002-02-27  0:29             ` Pozsar Balazs
2002-02-27  0:32               ` nick
2002-02-27  0:41                 ` christophe barbé
2002-02-27  0:43                 ` Pozsar Balazs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020302210823.GB4958@ufies.org \
    --to=christophe.barbe.ml@online.fr \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®