From owner-freebsd-questions@FreeBSD.ORG Wed Jul 4 13:17:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E631416A46B for ; Wed, 4 Jul 2007 13:17:23 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.freebsd.org (Postfix) with ESMTP id 539EE13C480 for ; Wed, 4 Jul 2007 13:17:23 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id D34A81D85AD for ; Wed, 4 Jul 2007 21:17:47 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07093-14 for ; Wed, 4 Jul 2007 21:17:45 +0800 (CST) Received: from [218.193.55.195] (unknown [125.77.224.188]) by bossdog.realss.com (Postfix) with ESMTP id D78AD1D858F for ; Wed, 4 Jul 2007 21:17:44 +0800 (CST) From: Zhang Weiwu To: freebsd-questions@freebsd.org In-Reply-To: <1183529582.4965.18.camel@esmeralda> References: <1183529582.4965.18.camel@esmeralda> Content-Type: text/plain Organization: Real Softservice Date: Wed, 04 Jul 2007 21:12:33 +0800 Message-Id: <1183554753.18057.20.camel@joe.realss.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Subject: Re: only first PCMCIA card works X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 13:17:24 -0000 On Wed, 2007-07-04 at 14:13 +0800, Zhang Weiwu wrote: > Dear list > > Running FreeBSD-6.1 RELEASE on Thinkpad 380XD, I have been using this > notebook for many years (and used FreeBSD from 4.7 to 6.1). An ethernet > card is plugged on the first PCMCIA slot and I inserted my FC card > reader (PCMCIA card produced by Hitachi) and noticed it's not detected > (no message about it in dmesg) During researching for a solution I have discovered several interesting thing: it seems there had been two PCMCIA related device drivers in FreeBSD: old system: device pcic device card new system device cbb device pccard device cardbus #(if cardbus is needed) And I discovered on FreeBSD 6.1 (perhaps many of them are already corrected in the coming 7.x version: I. man pcic and man card shows two difference pages (check bottom for the difference) and one of them is likely outdated, too outdated even for OLDCARD system II. FreeBSD official document still refer to pccard_enable="YES" which is no longer used thanks to the new card system. Link is here: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/laptop/pcmcia.html III. No information about deprecation of pcic/card is mentioned in manual, also the pccard manual is too short to provide useful information. No information about pccardc's dependency on old pcic/card device drive is mentioned in pccardc's manual (which would lead people to ask "why pccardc complain /dev/card0 doesn't exist") and I cannot find the new userland tool that replaces pccardc for testing and adjusting pccard behavior. Not just someone who try to complain here, but having this note might help other people find useful information or serve as a note to developers help FreeBSD improve in next version. Now I try to compile a kernel using pcic/card device drive and see if my second card would work.