Date: Sun, 14 May 2000 12:53:32 -0700 From: Mike Smith <msmith@freebsd.org> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: Nick Hibma <n_hibma@calcaphon.com>, Peter Edwards <peter.edwards@openet-telecom.com>, FreeBSD CURRENT Mailing List <current@FreeBSD.ORG>, wc.bulte@chello.nl, Maxim Sobolev <sobomax@altavista.net> Subject: Re: vn.ko load/unload/mount = panic Message-ID: <200005141953.MAA09495@mass.cdrom.com> In-Reply-To: Your message of "Sun, 14 May 2000 16:26:42 %2B0200." <2084.958314402@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
> In message <Pine.BSF.4.20.0005141328380.78621-100000@localhost>, Nick Hibma wri > tes: > > > >Correct me if I am wrong, but I don't think you actually have to > >disassociate any dev_t's from the driver (by clearing the si_drv[12] > >fields) because we call destroy_dev and cdevsw_remove, so any later uses > >of dev_t's get an error because the device has gone away. > > destroy_dev will clear the necessary fields in a dev_t, cdevsw_remove > will not. Is it correct to assume that destroy_dev() still isn't working correctly? (disk_destroy certainly isn't). Also, while you still can, that should be dev_destroy(). -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com 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?200005141953.MAA09495>