Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2001 00:49:00 +0900
From:      Munehiro Matsuda <haro@h4.dion.ne.jp>
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
Message-ID:  <20011103004900O.haro@h4.dion.ne.jp>
In-Reply-To: <200111021431.fA2EVSA65309@web.cs.ndsu.nodak.edu>
References:  <20011102010512I.haro@h4.dion.ne.jp> <200111021431.fA2EVSA65309@web.cs.ndsu.nodak.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Mark,

From: mark tinguely <tinguely@web.cs.ndsu.nodak.edu>
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.
<cut>
::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
<cut>
::
::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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011103004900O.haro>