Date: Sun, 28 Mar 1999 18:57:55 +0100 (BST) From: scott@freebsd-uk.eu.org To: FreeBSD-gnats-submit@freebsd.org Subject: docs/10840: [PATCH] Add pcic double-loading bug fix to ERRATA.TXT Message-ID: <199903281757.SAA00372@valis.goatsucker.org>
next in thread | raw e-mail | index | archive | help
>Number: 10840 >Category: docs >Synopsis: [PATCH] Add pcic double-loading bug fix to ERRATA.TXT >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 28 12:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Scott Mitchell >Release: FreeBSD 3.1-RELEASE i386 >Organization: Queen Mary and Westfield College >Environment: FreeBSD 3.1-RELEASE with PCCARD support >Description: The /etc/rc.pccard script on 3.1-RELEASE does not check whether PCCARD support has already been loaded when loading the pcic kernel module. If PCCARD support was also statically linked into the kernel, the pcic code is loaded twice. This leads to erratic and downright nasty behaviour from the PCCARD code. People are complaining about this on a daily basis to the -mobile and -questions mailing lists -- a description of the problem and a simple workaround should be in the ERRATA.TXT file. >How-To-Repeat: Watch -mobile or -questions for the next person getting bitten by this problem :) >Fix: Add something like the following to ERRATA.TXT: o You've recompiled your kernel to include PCCARD support, and set pccard_enable="YES" in /etc/rc.conf (just as you did for previous releases). Now your PCCARDs don't work: the kernel messages indicate that you have two card controllers, cards are not recognised when they are inserted, etc. Fix: The 'pcic' (card slot controller) code is getting loaded twice; the two copies are conflicting with each other and causing the symptoms described above. The fix is to _not_ enable the pcic devices in your kernel config file, ie. # PCCARD (PCMCIA) support controller card0 #device pcic0 at card? #device pcic1 at card? Leave the pccard_enable="YES" line in /etc/rc.conf -- the etc/rc.pccard script does more than just load the driver so it still needs to be run. I believe that /etc/rc.pccard has been modified to detect this condition and work around it in 3.1-STABLE. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903281757.SAA00372>