zfsonfreebsd/ZoF

Can't boot anything after r350387

rqqb opened this issue · 18 comments

rqqb commented

System information

FreeBSD 13-CURRENT r350387
Distribution Name
Distribution Version
Linux Kernel
Architecture
ZFS Version 5
SPL Version

Describe the problem you're observing

mountroot fails 'File system not recognised"

Describe how to reproduce the problem

Build/install e.g. r353029
with openzfs-2019061900

Include any warning/errors/backtraces from the system logs

Your loader.conf should contain openzfs_load=YES as opposed to zfs_load=YES, can you verify that is the case?

rqqb commented

Yes.

compiled openzfs-kmod after compile the kernel rev r350387 ?

im beyond 353072 ...... . there are 3000 commits after r350387 and there is new openzfs-kmod on ports

what kernel version my kernel ends on *48
checkout with uname -aK

Yes They Are Problems Again I cannot compile openzfs-kmod against -HEAD from today update

rqqb commented

Yes I didn't recompile openzfs-kmod before installing the new kernel, so that's the original issue.

I can't compile current openzfs-kmod against my current system.

rqqb commented

I'll see if I can revert openzfs-kmod to the version I have running.

/usr/ports/sysutils/openzfs-kmod/work/ZoF-27703da/module/os/freebsd/zfs/zfs_vnops.c:578:13: error: no member named
'wire_count' in 'struct vm_page'; did you mean 'ref_count'?
if (pp->wire_count == 0 && pp->valid == 0 &&
^~~~~~~~~~
ref_count
/usr/src/sys/vm/vm_page.h:213:8: note: 'ref_count' declared here
u_int ref_count; /* page references (A) */
^

this patch fixes this https://gist.githubusercontent.com/javashin/f60238463c20d5c67706a2a3f782b14b/raw/c60617e5cb3b00fd878dffd243b47b35a9c7f8b6/gistfile1.txt

testing now ...

Problem Solved uname -aK
FreeBSD hellbox-l440 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r353099M: Fri Oct 4 06:43:34 AST 2019 root@hellbox-l440:/usr/obj/usr/src/amd64.amd64/sys/DIABLO amd64 1300048

boots and works faster because i fetched some @mattmacy new fixes commits + the patch
all fine

@rqqb compile/install new kernel and install this 2 packages with all the new commits and the patched kmod or patch the openzfs-kmod with gpatch -p1 -i ../patch from the dir work/ZoF*****
after make extract and then make deinstall reinstall clean

2-new-PKGS.zip

unzip inside they are
2 *.txz that can be installed with pkg install

rqqb commented

That panicked, see:
IMG_4727

When I'm feeling stronger I'll boot off USB and see if I can roll back to my last good snapshot.

That panicked, see:
IMG_4727

When I'm feeling stronger I'll boot off USB and see if I can roll back to my last good snapshot.

What Did You Do Installed The PKGS ? better try patching because all is working here , well i have some things different i do have clang 9 on base i think you must have 8.0.1 i dont know if this can be an issue.

@javashin @rqqb Can either of you please test the latest commit on projects/zfsbsd and if that fixes things I'll have the port updated. Thanks in advance.

@freqlabs Im Rebuilding world because of new clang is going to be faster because i already have clang 9 in base i will compile everything openzfs related :) thanks

Everything works fine with new commits from master this can be closed .

Port has been bumped. Closing resolved.