NetBSD Problem Report #36402
From martin@duskware.de Tue May 29 11:53:12 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 12E3D63BA5D
for <gnats-bugs@gnats.netbsd.org>; Tue, 29 May 2007 11:53:12 +0000 (UTC)
Message-Id: <20070526204937.3963563B880@narn.NetBSD.org>
Date: Sat, 26 May 2007 20:49:37 +0000 (UTC)
From: confused@theanykey.de
Reply-To: confused@theanykey.de
To: netbsd-bugs-owner@NetBSD.org
Subject: tlp driver fails with Xircom X3201-3 Ethernet (CardBus)
X-Send-Pr-Version: www-1.0
>Number: 36402
>Category: port-i386
>Synopsis: tlp driver fails with Xircom X3201-3 Ethernet (CardBus)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 29 11:55:00 +0000 2007
>Originator: Felix Kaiser
>Release: 3.1
>Organization:
>Environment:
i386 compatible laptop with GENERIC_LAPTOP kernel; AMD K6-2 @ 450MHz; 184MB system memory (+8MB shared VGA); VIA VT82C686A chipset; O2 Micro OZ68xx CardBus bridge; ESS Maestro 3 PCI Audio (AC97 Audio+Modem); 20GB IDE HDD; 24x ATAPI CD-ROM; Synaptics TouchPad; Trident CyberBlade i7 VGA;
>Description:
When detecting the Xircom CBE2-100 Ethernet card there are some error messages from the device drivers:
cardbus_read_exrom: bad header signature in ROM image 0: 0xffff
cardbus_attach_card: failed to read CIS
The card is recognized as tlp0 at cardbus 0 dev 0 function 0: Xircom X3201-3 Ethernet, pass 0.3.
There follows another error message: "tlp0: reset failed to complete". This message repeats everytime I try to do ifconfig tlp0 up/down.
The ethernet address is reported to be "00:00:00:00:00:00".
This situation never changes, regardless how often I remove and insert the card. So I copied the latest daily build of NetBSD4 and tried to make this card working with the kernel 4.0_BETA2 (GENERIC_LAPTOP) of 2007/05/25. Now there are no error messages during boot when the card is already in the cardbus slot. Also the ethernet address is determined correctly as 00:10:A4:xx:xx:xx and the PHY is recognized as ukphy0 supporting 10BaseT, 100BaseTX with and without full-duplex and Auto. When doing 'ifconfig tlp0 up' the LED on the card becomes active, but there is no physical link active on the attached cable. So I tried the change the media to be 10BaseT or 100BaseTx or Auto and repeated some ifconfig up/down commands. Only once it was successful and I had an 100BaseTX link without fdx, changing to type Auto changed the link to be 100BaseTX with fdx. But I was not able to repeat this with success. And after removing the card and inserting it again NetBSD4 shows the same error mes
sages as 3.1.
The card seems to be Ok as it is working without any problems under Windows 2000 on the same machine. And also a DOS driver written by me based on a GPL driver for the Xircom card works fine with the card.
So please let me know how to help. Regrettably I am not familiar with the NetBSD internals and drivers.
>How-To-Repeat:
Boot NetBSD with an already inserted Xircom CardBus Ethernet II 10/100 (CBE2-100) adapter or insert it after booting. Error messages are shown immediately.
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.