From b@j0.etek.chalmers.se  Wed Feb  6 12:49:30 2002
Return-Path: <b@j0.etek.chalmers.se>
Received: from j0.etek.chalmers.se (j0.etek.chalmers.se [129.16.32.40])
	by hub.freebsd.org (Postfix) with ESMTP id E20B337B447
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Feb 2002 12:49:15 -0800 (PST)
Received: (from b@localhost)
	by j0.etek.chalmers.se (8.11.6/8.11.6) id g16KmWe12970;
	Wed, 6 Feb 2002 21:48:32 +0100 (CET)
	(envelope-from b)
Message-Id: <200202062048.g16KmWe12970@j0.etek.chalmers.se>
Date: Wed, 6 Feb 2002 21:48:32 +0100 (CET)
From: Magnus Backstrom <b@etek.chalmers.se>
Reply-To: Magnus Backstrom <b@etek.chalmers.se>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: NEWCARD panic.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         34672
>Category:       kern
>Synopsis:       NEWCARD panic.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 06 12:50:02 PST 2002
>Closed-Date:    Sun Sep 29 12:20:06 MDT 2002
>Last-Modified:  Sun Sep 29 12:20:06 MDT 2002
>Originator:     Magnus Backstrom
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Chalmers University of Technology
>Environment:
FreeBSD rockerduck.eep1 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Feb  6 14:33:24 CET 2002     root@rockerduck.eep1:/usr/src/sys/i386/compile/I4100  i386

	
>Description:
I am attempting to make a Lucent Orinoco Gold pccard work in
a Dell Inspiron 4100, with little success.

The problem may be with the pcccard/newcard code rather than with the wi(4)
driver.

Kernel -CURRENT as of the CTM patch issued an hour ago (approx. 14:00 UTC).

I've tried both newcard and oldcard, with distinctly different failure
modes --

### Old driver:
  rockerduck# dmesg | grep pccard
| pccard0: <PC Card bus (classic)> on pcic0
| pccard1: <PC Card bus (classic)> on pcic1
| pccard: card inserted, slot 1
| pcib2: device pccard0 requested unsupported memory range 0xd0000-0xd0000
(decoding 0xf4000000-0xfbffffff, 0xfff00000-0xfffff)
| pcib2: device pccard0 requested unsupported memory range 0xd4000-0xd4000
(decoding 0xf4000000-0xfbffffff, 0xfff00000-0xfffff)
  rockerduck#

  relevant lines from config:
| # PCCARD (PCMCIA) support
| device          card            # pccard bus
| device          pcic            # PCMCIA bridge
| device          wi              # WaveLAN/IEEE 802.11 wireless NICs.




### New driver (kernel compiled straight from NEWCARD config):
  Kernel panics on boot as follows:
|...
| pccbb0: <TI1420 PCI-CardBus Bridge> at device 1.0 on pci2
| pccbb0: PCI Memory allocated: f4000000
| pcib2: routed slot 1 INTA to irq 255
| pccbb: Unable to map IRQ...
| panic: resource_list_release: can't find resource
| Debugger("panic")
| Stopped at      Debugger+0x40:  xorl    %eax,%eax
| db>

The newcard panic happens regardless of whether a card is inserted
or not.


	
>How-To-Repeat:
	
>Fix:

	
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: johan 
Responsible-Changed-When: Wed Jun 19 16:51:23 PDT 2002 
Responsible-Changed-Why:  
NEWCARD is Warners baby. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=34672 
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Sun Sep 29 12:19:47 MDT 2002 
State-Changed-Why:  
This has been fixed. 


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