From alex@vaio.alexdupre.com  Mon Nov 18 04:26:13 2002
Return-Path: <alex@vaio.alexdupre.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5A34237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 18 Nov 2002 04:26:13 -0800 (PST)
Received: from vaio.alexdupre.com (212-41-211-209.adsl.galactica.it [212.41.211.209])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 43F0743E91
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 18 Nov 2002 04:26:00 -0800 (PST)
	(envelope-from alex@vaio.alexdupre.com)
Received: from vaio.alexdupre.com (localhost [127.0.0.1])
	by vaio.alexdupre.com (8.12.2/8.12.2) with ESMTP id gAICWVKP000298
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 18 Nov 2002 13:32:31 +0100 (CET)
	(envelope-from alex@vaio.alexdupre.com)
Received: (from alex@localhost)
	by vaio.alexdupre.com (8.12.2/8.12.2/Submit) id gAICWTwm000297;
	Mon, 18 Nov 2002 13:32:30 +0100 (CET)
Message-Id: <200211181232.gAICWTwm000297@vaio.alexdupre.com>
Date: Mon, 18 Nov 2002 13:32:30 +0100 (CET)
From: Alex Dupre <sysadmin@alexdupre.com>
Reply-To: Alex Dupre <sysadmin@alexdupre.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Cannot install -CURRENT via pccard network interface
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         45403
>Category:       kern
>Synopsis:       Cannot install -CURRENT via pccard network interface
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 18 04:30:01 PST 2002
>Closed-Date:    Tue Jul 10 15:42:25 MDT 2007
>Last-Modified:  Tue Jul 10 15:42:25 MDT 2007
>Originator:     Alex Dupre
>Release:        FreeBSD 4.5-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD vaio.alexdupre.com 4.5-ALEXDUPRE FreeBSD 4.5-ALEXDUPRE #0: Fri Apr 12 14:12:57 CEST 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO i386


	
>Description:
I'm unable to install 5.0-DP2 and -CURRENT on my Sony Vaio PCG-505TR laptop
via a Netgear FA410TX pccard ethernet card.

This is what appears during the booting and probing phase:

[...]
cbb0: <RF5C475 PCI-CardBus Bridge> at device 10.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci_cfgintr: 0:10 INTA routed to irq 9
[...]
pccard0: <unknown card> (manufacturer=0x0149, product=0x0230) at function 0
pccard0:    CIS info: NETGEAR, FA410TX, Fast Ethernet
[...]

and this is the debug console after I setup the network interface:

[...]
DEBUG: Loading module if_ed.ko (NE[12]000, SMC Ultra, 3c503, DS8390 ISA ethernet cards)
ed1: <Linksys Etherfast 10/100 Ethernet> at port 0x100-0x11f irq 9 function 0 config 32 on pccard0
ed1: address 00:80:c8:8b:c1:7a, type Linksys (16 bit)
lxtphy0: <LXT970 10/100 media interface> on miibus0
lxtphy0:  100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[...]
DEBUG: ifconfig ed1 inet 192.168.0.166  netmask 255.255.255.0
ed1: remote transmit DMA failed to complete
DEBUG: Adding default route to 192.168.0.4
add net default: gateway 192.168.0.4
ed1: remote transmit DMA failed to complete
ed1: device timeout
ed1: device timeout
ed1: device timeout
[...]

The problem seems to be "remote transmit DMA failed to complete", but I dunno
why it happens :(.

On the same laptop I correctly installed -STABLE via network, and this is the
actual startup log:

[...]
pci_cfgintr_linked: linked (61) to hard-routed irq 9
pci_cfgintr: 0:10 INTA routed to irq 9
pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 9 at device 10.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pccard0: <PC Card bus (classic)> on pcic0
[...]
pccard: card inserted, slot 0
NOV 18 12:37:25 vaio pccardd[50]: Card "NETGEAR"("FA410TX") [Fast Ethernet] [(null)] matched "NETGEAR" ("FA410TX") [Fast Ethernet] [(null)] [(null)]
ed1 at port 0x240-0x25f irq 9 flags 0x80000 slot 0 on pccard0
ed1: address 00:80:c8:8b:c1:7a, type Linksys (16 bit)
lxtphy0: <LXT970 10/100 media interface> on miibus0
lxtphy0:  100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
NOV 18 12:37:25 vaio pccardd[50]: ed1: NETGEAR (FA410TX) inserted.
NOV 18 12:37:25 vaio pccardd[50]: pccardd started
[...]

Do you need more info or is it enough?
	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: imp 
Responsible-Changed-When: Tue Nov 26 01:36:00 MST 2002 
Responsible-Changed-Why:  
I'm a lumberjack, and I'm OK. 
I newcard all night and sleep all day. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45403 

From: Alex Dupre <sysadmin@alexdupre.com>
To: freebsd-gnats-submit@FreeBSD.org, imp@FreeBSD.org
Cc:  
Subject: Re: kern/45403: Cannot install -CURRENT via pccard network interface
Date: Mon, 1 Sep 2003 17:29:38 +0200

 I've just tried with another pccard ethernet card and today-current.
 The result is quite similar, the card is a D-Link DFE-680TXD (not
 working on -stable).
 
 The output during the booting and probing phase is:
 
 [...]
 cardbus0: <network, ethernet> at device 0.0 (no driver attached)
 cbb0: CardBus card activation failed
 [...]
 
 and in the debug console:
 
 [...]
 DEBUG: Loading module if_dc.ko (DEC/Intel 21143 (and clones) PCI fast ethernet card)
 dc0: <Abocom FE2500 10/100BaseTX> port 0x1000-0x10ff mem 0x88001000-0x880013ff irq 9 at device 0.0 on cardbus0
 dc0: Ethernet address: 00:50:ba:80:1c:ef
 miibus0: <MII bus> on dc0
 ukphy0: <Generic IEEE 802.3u media interface> on miibus0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 [...]
 DEBUG: ifconfig dc0 inet 192.168.0.166  netmask 255.255.255.0
 DEBUG: Adding default route to 192.168.0.4
 add net default: gateway 192.168.0.4
 dc0: watchdog timeout
 [...]
 
 -- 
 Alex Dupre                             sysadmin@alexdupre.com
 http://www.alexdupre.com/              alex@sm.FreeBSD.org
 
 Today's excuse: Increased sunspot activity.
 
 

From: Alex Dupre <sysadmin@alexdupre.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/45403: Cannot install -CURRENT via pccard network interface
Date: Sat, 17 Dec 2005 10:08:33 +0100

 My old laptop is dead, I cannot test anymore, you can close this PR.
 
 --
 Alex Dupre
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Tue Jul 10 15:41:45 MDT 2007 
State-Changed-Why:  
OLDCARD bugs are no longer relevant.  I'm pretty sure this has long 
ago been corrected in both OLDCARD and NEWCARD. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=45403 
>Unformatted:
