From owner-freebsd-current Fri Nov 2 7:50:28 2001 Delivered-To: freebsd-current@freebsd.org Received: from hfep04.dion.ne.jp (hfep04.dion.ne.jp [203.181.105.70]) by hub.freebsd.org (Postfix) with ESMTP id 7FD9537B403; Fri, 2 Nov 2001 07:50:25 -0800 (PST) Received: from localhost ([61.200.138.250]) by hfep04.dion.ne.jp with ESMTP id <20011102155023249.IXEO@hfep04.dion.ne.jp>; Sat, 3 Nov 2001 00:50:23 +0900 To: tinguely@web.cs.ndsu.nodak.edu Cc: freebsd-current@FreeBSD.ORG, haro@h4.dion.ne.jp, imp@FreeBSD.ORG Subject: Re: Panic with PCCARD In-Reply-To: <200111021431.fA2EVSA65309@web.cs.ndsu.nodak.edu> References: <20011102010512I.haro@h4.dion.ne.jp> <200111021431.fA2EVSA65309@web.cs.ndsu.nodak.edu> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20011103004900O.haro@h4.dion.ne.jp> Date: Sat, 03 Nov 2001 00:49:00 +0900 From: Munehiro Matsuda X-Dispatcher: imput version 20000228(IM140) Lines: 37 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Mark, From: mark tinguely Date: Fri, 2 Nov 2001 08:31:28 -0600 (CST) ::> I'm having panic for the last few days, if I have PCCARD inserted. ::> If no card is inside, system boots up fine. ::> ::> Here's the panic message, I've written down. ::the panic appears to be a side affect that allocate_driver() in ::sys/pccard/pccard.c does not check the success/failure of device_add_child(). ::The patch that would fix that is: ::--- pccard.c.orig Fri Sep 14 03:43:15 2001 ::+++ pccard.c Fri Nov 2 08:21:48 2001 :: ::The real question is, why is device_add_child failing? The best answer ::is that the device class is not being found in make_device() ::sys/kern/subr_bus.c. I would suggest you print the string in variable ::"name", I think it is corrupt. :: ::--mark tinguely. Thank you for the patch, that fixed my panic problem. Unfortunatly that was not enough for my pccard to get recognized correctly, as suggested by OGAWA-san on anther thread. Thank you anyway, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kubota.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message