Date: Sun, 9 Feb 2003 22:16:21 +0200 From: Alexey Zelkin <phantom@FreeBSD.org.ua> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: current@FreeBSD.ORG Subject: kld problem ? (was: Re: MSDOSFS wastes 256k when nothing is mounted!) Message-ID: <20030209221621.A22410@phantom.cris.net> In-Reply-To: <31456.1044819599@critter.freebsd.dk>; from phk@phk.freebsd.dk on Sun, Feb 09, 2003 at 08:39:59PM %2B0100 References: <31456.1044819599@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, On Sun, Feb 09, 2003 at 08:39:59PM +0100, Poul-Henning Kamp wrote: > /*ARGSUSED*/ > int > msdosfs_init(vfsp) > struct vfsconf *vfsp; > { > dehashtbl = hashinit(desiredvnodes/2, M_MSDOSFSMNT, &dehash); > mtx_init(&dehash_mtx, "msdosfs dehash", NULL, MTX_DEF); > return (0); > } BTW, it reminds me a problem I found last month. If you've MSDOSFS compiled in kernel and try to load msdosfs.ko with loader -- then you're 100% will hit into 'mutex already initialized' (or something like that) panic later in boot process. (i.e. msdosfs_init() is called twice for some reason) I not sure if it's applicable to KLDs at all or to msdosfs only. > Somebody: please fix so this doesn't suck. 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?20030209221621.A22410>