NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: failed to initialize ZFS library
On Thu, Sep 12, 2019 at 10:46:46AM +0100, Patrick Welche wrote:
> On Thu, Sep 12, 2019 at 10:13:45AM +0100, Patrick Welche wrote:
> > Playing around with ZFS, after the zfs diff snapshot hang, I keep getting
> >
> > # zfs list
> > internal error: failed to initialize ZFS library
> >
> > kobj_load, 428: [%M/zfs/zfs.kmod]: linker error: out of memory
> > WARNING: module error: vfs load failed for `zfs', error 12
> >
> > ENOMEM? I tried moving /etc/zfs/zpool.cache away in case corruption there
> > could cause it, but no change...
> >
> > # modload zfs
> > modload: zfs: Cannot allocate memory
> >
> > total memory = 16291 MB
> > avail memory = 15725 MB
>
> module_newmodule() mod = kmem_zalloc(sizeof(*mod), KM_SLEEP);
> but struct module doesn't look "big"
>
> (modload wsbell succeeded)
Removed DEBUG, LOCKDEBUG and KUBSAN, and now it works again. (Had rebooted
with the old case, so can't be the reboot that did it)
P
Home |
Main Index |
Thread Index |
Old Index