From owner-freebsd-current@FreeBSD.ORG Sun Aug 8 11:55:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98AE216A4CE for ; Sun, 8 Aug 2004 11:55:51 +0000 (GMT) Received: from joostm.nl (62-177-151-10.bbeyond.nl [62.177.151.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B67943D5C for ; Sun, 8 Aug 2004 11:55:50 +0000 (GMT) (envelope-from j@joostm.nl) Received: from joostm.nl (asterix-114.gallia [172.17.114.2]) by onix.gallia (8.12.10/8.13.1) with ESMTP id i78BPLSB011314 for ; Sun, 8 Aug 2004 13:25:21 +0200 (CEST) (envelope-from j@joostm.nl) Message-ID: <41160EDA.40800@joostm.nl> Date: Sun, 08 Aug 2004 13:30:34 +0200 From: Joost Mulders User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.4) Gecko/20040524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: D-Link DFE-690TXD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: j@joostm.nl List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2004 11:55:51 -0000 Hi, I happen to own a D-Link DFE-690TXD cardbus network adapter for my laptop. After reading the comments if_rl.c, I regret to have bought it this "redefinition of low end" :-) With 5.2.1-RELEASE and this card, if_rl hangs in rl_probe() at hwrev = CSR_READ_4(sc, RL_TXCFG) & RL_TXCFG_HWREV; I saw quite some modifications in current for if_rl, so I upgraded last night to current. The good news is that the card now just works: > rl0: port 0x1100-0x11ff mem 0x88000000-0x880001ff irq 10 at device 0.0 on cardbus0 > miibus1: on rl0 > rlphy0: on miibus1 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: Ethernet address: 00:0d:88:2c:a3:f7 > rl0: [GIANT-LOCKED] Running ttcp over this card showed about 8.5MB/s at the expense of quite some CPU cycles. However, while doing this, I noticed these messages > rl0: discard oversize frame (ether type 800 flags 3 len 21569 > max 1514) > rl0: discard oversize frame (ether type 8001 flags 3 len 4520 > max 1514) > rl0: discard oversize frame (ether type ef27 flags 3 len 32684 > max 1514) > rl0: discard oversize frame (ether type 2f1a flags 3 len 49420 > max 1514) So, if_rl is receiving bogus frames. I'm happy to track this one down but have no clue where to start :-) * is it switch/cable? (it it is fine with the builtin fxp nic or is fxp just ignoring bogus frames without logging?) * is it cardbus or if_rl Any pointers appreciated, Joost -- j@joostm.nl