Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 21:51:49 -0600
From:      "Justin T. Gibbs" <gibbs@scsiguy.com>
To:        "=?gb2312?B?U1cgb3NjYXIo8VTS2Sk=?=" <oscar@tekram.com.cn>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: Page fault when rescan bus 0 again.
Message-ID:  <1009990000.1032493909@aslan.scsiguy.com>
In-Reply-To: <F0C8B437D2F4FB45B8D25A85CA9FCD1E02327D@mail.tekram.com.cn>
References:   <F0C8B437D2F4FB45B8D25A85CA9FCD1E02327D@mail.tekram.com.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi All.
> I've writen a driver for a scsi card.
> 
> Things goes very well when I first time kldload my driver module,
> camcontrol rescan 0, and kldunload, but when I kldload this driver again,
> and  do "camcontrol rescan 0", system will page fault, but it will
> success if I rescan 1!! , why?

Are you deregistering your SIM instances with CAM when your module
is unloaded?  Otherwise the first instance will still be known to CAM
even though the code to handle it is gone.

--
Justin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




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