From owner-freebsd-current@FreeBSD.ORG Wed Sep 21 12:27:14 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E117716A41F for ; Wed, 21 Sep 2005 12:27:14 +0000 (GMT) (envelope-from haro@h4.dion.ne.jp) Received: from smtp1.dcns.ne.jp (smtp1.dcns.ne.jp [203.178.100.134]) by mx1.FreeBSD.org (Postfix) with SMTP id 1990343D48 for ; Wed, 21 Sep 2005 12:27:13 +0000 (GMT) (envelope-from haro@h4.dion.ne.jp) Received: (qmail 16646 invoked by uid 503); 21 Sep 2005 21:27:11 +0900 Received: from unknown (HELO localhost) (211.10.184.118) by smtp1.dcns.ne.jp with SMTP; 21 Sep 2005 21:27:11 +0900 Date: Wed, 21 Sep 2005 21:27:10 +0900 (JST) Message-Id: <20050921.212710.74756457.haro@h4.dion.ne.jp> To: imp@bsdimp.com From: Munehiro Matsuda In-Reply-To: <20050920.132326.76562879.imp@bsdimp.com> References: <20050921.013052.74756148.haro@h4.dion.ne.jp> <20050920.132326.76562879.imp@bsdimp.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Panic with recent PCcard changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 12:27:15 -0000 Hi Warner, Sorry for the late responce, and thanks for your quick fix. I've confirmed that panic has gone away, and two /dev/pccard?.cis devices created. $ ls -l /dev/pccard* crw-rw-rw- 1 root wheel 0, 40 Sep 21 21:19 /dev/pccard0.cis crw-rw-rw- 1 root wheel 0, 41 Sep 21 21:19 /dev/pccard1.cis $ Thank you, Haro From: "M. Warner Losh" Date: Tue, 20 Sep 2005 13:23:26 -0600 (MDT) ::In message: <20050921.013052.74756148.haro@h4.dion.ne.jp> :: Munehiro Matsuda writes: ::: pccard1: <16-bit PCCard bus> on cbb1 ::========^===== 1 ::: panic: make_dev() by driver pccard on pre-existing device (min=0, ::: name=pccard0.cis) ::=============^==== 0 :: ::I wonder why :: sc->cisdev = make_dev(&pccard_cdevsw, 0, 0, 0, 0666, "pccard%u.cis", :: device_get_unit(sc->dev)); :: ::device_get_unit is returning 0 instead of 1 for the second device. ::haro-san, if you could add some debugging information to try to find ::out why this is the case, that would be helpful. :: ::My laptop only has one pccard/cardbus slot, so I didn't run into this ::or even think it would be a problem... :: ::Warner ::