From nobody@FreeBSD.org  Tue Apr 19 08:45:03 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AADCB16A4DB
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Apr 2005 08:45:03 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 84AC943D49
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Apr 2005 08:45:03 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3J8j3LI064001
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Apr 2005 08:45:03 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j3J8j3Wv063999;
	Tue, 19 Apr 2005 08:45:03 GMT
	(envelope-from nobody)
Message-Id: <200504190845.j3J8j3Wv063999@www.freebsd.org>
Date: Tue, 19 Apr 2005 08:45:03 GMT
From: Vittorio <vittorio.demartino@grtn.it>
To: freebsd-gnats-submit@FreeBSD.org
Subject: PC Cards do not work at all on laptop Compaq N800V
X-Send-Pr-Version: www-2.3

>Number:         80092
>Category:       i386
>Synopsis:       PC Cards do not work at all on laptop Compaq N800V
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    linimon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 19 08:50:24 GMT 2005
>Closed-Date:    Sun Jun 17 10:08:05 GMT 2007
>Last-Modified:  Sun Jun 17 10:08:05 GMT 2007
>Originator:     Vittorio
>Release:        5.4 stable (but also 5.3 stable)
>Organization:
>Environment:
FreeBSD fbsd 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Apr 17 21:31:16 CEST 2005     
root@fbsd:/usr/obj/usr/src/sys/VIC01  i386    
>Description:
  No pcmcia cards I insert into the slot seems to be recognized by the system and to work. 
Referring, only for an example, to my pcmcia wireless Cisco 350 card (which I'm sure is well supported!) in my tailored kernel I have the relating devices

   # PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus
# Wireless NIC cards
device		wlan		# 802.11 support
device		an		
device		awi		
device		wi		
#device		wl		

In rc.conf I enabled pccard_enable="YES"

Here an extract of dmesg.boot 

FreeBSD 5.4-STABLE #0: Sun Apr 17 21:31:16 CEST 2005
    root@fbsd:/usr/obj/usr/src/sys/VIC01
.......................................
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <simple comms> at device 4.0 (no driver attached)
cbb0: <TI1410 PCI-CardBus Bridge> mem 0x80100000-0x80100fff irq 11 at device 6.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
..............................

Timecounters tick every 10.000 msec
ad0: 38154MB <TOSHIBA MK4019GAX/FA001F> [77520/16/63] at ata0-master UDMA100
pccard0: Card has no functions!
cbb0: PC Card card activation failed

These two last lines 

pccard0: Card has no functions!
cbb0: PC Card card activation failed

pop up in the /var/log/messages file every time I (re-)insert the Cisco wireless card AND..... EVERY OTHER PCMCIA CARD (ethernet, serial GPRS, smartmedia reader)!!!!!
>How-To-Repeat:
Reinserting pcmcia cards
>Fix:
      
>Release-Note:
>Audit-Trail:

From: vdemart1@tin.it
To: bug-followup@FreeBSD.org, vittorio.demartino@grtn.it
Cc:  
Subject: Re: i386/80092: PC Cards do not work at all on laptop Compaq N800V
Date: Mon, 25 Apr 2005 19:01:12 +0200

 I found the solution at last!
 In the configuration file /etc/default/pccard.conf there's a line specifying 
 the allowed IRQs
 
 irq	3 5 10 11 15
 
 which seemed very poor to me because my aironet cisco card triggered an irq 7.
 
 Therefore, as in a line in the same /etc/default/pccard.conf is suggested
 
 # on i386 IRQs can be any of 3 4 5 7 9 10 11 12 14 15
 
 I copied /etc/default/pccard.conf into /etc/pccard.conf and modified the 
 "poor" irq line in this way:
 
 irq 3 4 5 7 9 10 11 12 14 15
 
 This made the trick!
 
From: imp@freebsd.org
Subject: Re: i386/80092: PC Cards do not work at all on laptop Compaq N800V

  I don't believe this.  NEWCARD doesn't use pccard.conf at all.  Something
  else that happened must be why the card started working.

State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sun Jun 17 09:08:08 UTC 2007 
State-Changed-Why:  
Is this still a problem with modern versions of FreeBSD? 


Responsible-Changed-From-To: freebsd-i386->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Jun 17 09:08:08 UTC 2007 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=80092 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Jun 17 10:07:51 UTC 2007 
State-Changed-Why:  
Submitter's email address bounces. 

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

