Re: Panic with recent PCcard changes

From: Munehiro Matsuda <haro_at_h4.dion.ne.jp>
Date: Wed, 21 Sep 2005 21:27:10 +0900 (JST)
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" <imp_at_bsdimp.com>
Date: Tue, 20 Sep 2005 13:23:26 -0600 (MDT)
::In message: <20050921.013052.74756148.haro_at_h4.dion.ne.jp>
::            Munehiro Matsuda <haro_at_h4.dion.ne.jp> 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
::
Received on Wed Sep 21 2005 - 10:27:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:43 UTC