From oberman@es.net  Wed Dec  1 23:24:29 2004
Return-Path: <oberman@es.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 541FE16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  1 Dec 2004 23:24:29 +0000 (GMT)
Received: from puppeteer.es.net (puppeteer.es.net [198.128.1.72])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 40AEC43D53
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  1 Dec 2004 23:24:29 +0000 (GMT)
	(envelope-from oberman@es.net)
Received: by puppeteer.es.net (Postfix, from userid 1001)
	id 84145B8D8; Wed,  1 Dec 2004 15:24:29 -0800 (PST)
Message-Id: <20041201232429.84145B8D8@puppeteer.es.net>
Date: Wed,  1 Dec 2004 15:24:29 -0800 (PST)
From: Kevin Oberman <oberman@es.net>
Reply-To: Kevin Oberman <oberman@es.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Cardbus fails after busdma_machdep.c update
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         74601
>Category:       i386
>Synopsis:       Cardbus fails after busdma_machdep.c update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 01 23:30:27 GMT 2004
>Closed-Date:    Wed Apr 25 22:37:08 GMT 2007
>Last-Modified:  Wed Apr 25 22:37:08 GMT 2007
>Originator:     Kevin Oberman
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
ESnet -- The Energy Sciences Network
>Environment:
System: FreeBSD puppeteer.es.net 5.3-STABLE FreeBSD 5.3-STABLE #56: Wed Dec 1 14:07:56 PST 2004 root@puppeteer.es.net:/usr/obj/usr/src/sys/IBM-T30-D i386


	
>Description:
sys/i386/i386/busdma_machdep.c 1.59.2.2 broke cardus on T30. After applying
the patch, the system freezes when a CardBus card is inserted. If the card
is in place at boot time, the system freezes when the device is probed. Only
the first line of the probe 
dc0: <Xircom X3201 10/100BaseTX> port 0x4000-0x407f mem 0xd0201000-0xd02017ff,0\xd0201800-0xd0201fff irq 11 at device 0.0 on cardbus1
is printed. The system then freezes and a power cycle is required to
recover. Backing out this patch allows the card to finish the probe normally.

>How-To-Repeat:

Install the update and boot the system with a PCMCIA card inserted.

>Fix:
Back out sys/i386/i386/busdma_machdep.c to 1.59.2.1.

>Release-Note:
>Audit-Trail:

From: "M. Warner Losh" <imp@freebsd.org>
To: freebsd-gnats-submit@freebsd.org, oberman@es.net
Cc:  
Subject: Re: i386/74601: Cardbus fails after busdma_machdep.c update
Date: Mon, 06 Dec 2004 15:56:23 -0700

 Can you add debugging code to see where in the process the system 
 freezes up?  The dc driver isn't doing any DMA in its attach routine 
 that I can easily identify.  It should print a NIC address in boot
 verbose.  It would be useful to know if it is getting there.  It would 
 also be useful to know if it makes it out of the dc_attach() routine at 
 all.  I believe that this dc card also has a miibus attachment to it as 
 well, but I haven't tracked down to see if there's DMA there or not.  I 
 suspect not because MII interface control tends to be bit-bangging fun/pain.
 

From: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To: bug-followup@FreeBSD.org, oberman@es.net
Cc:  
Subject: Re: i386/74601: Cardbus fails after busdma machdep.c update
Date: Fri, 13 Apr 2007 18:05:10 +0100

 Hi,
 
 Do you still have this laptop?  If so, is it still a problem?
 
 Thanks,
 
 Gavin

From: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To: Kevin Oberman <oberman@es.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: i386/74601: Cardbus fails after busdma machdep.c update
Date: Fri, 13 Apr 2007 18:35:50 +0100

 Thanks.  This PR can now be closed.

From: "Kevin Oberman" <oberman@es.net>
To: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
Cc: bug-followup@FreeBSD.org
Subject: Re: i386/74601: Cardbus fails after busdma machdep.c update 
Date: Fri, 13 Apr 2007 10:22:53 -0700

 --==_Exmh_1176484973_44285P
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 > From: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
 > Date: Fri, 13 Apr 2007 18:05:10 +0100
 > 
 > Hi,
 > 
 > Do you still have this laptop?  If so, is it still a problem?
 > 
 > Thanks,
 > 
 > Gavin
 > 
 
 Nope. I no longer have the system involved. The replacement (T43) does
 not support Type II CardBus cards, so I can't even plug the thing into
 my new system. It has an ExpressCard clot above the PCMCIA slot and the
 shape of the Xircom card makes it impossible to insert it.
 
 For me, the problem was solved by 1.59.2.3.
 -- 
 R. Kevin Oberman, Network Engineer
 Energy Sciences Network (ESnet)
 Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
 E-mail: oberman@es.net			Phone: +1 510 486-8634
 Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
 
 --==_Exmh_1176484973_44285P
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 Comment: Exmh version 2.5 06/03/2002
 
 iD8DBQFGH7xtkn3rs5h7N1ERAgDsAKCQtBoGYkdFmUX6lAYFTExfngyzPQCdEY07
 TueWFAjOWt6nyDhDZxiuGPM=
 =pzOi
 -----END PGP SIGNATURE-----
 
 --==_Exmh_1176484973_44285P--
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Wed Apr 25 22:36:48 UTC 2007 
State-Changed-Why:  
Submitter notes that the problem was later resolved. 

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