Solved Freebsd 11.0 can't boot after network module install

Hello,
I have a problem with booting my Freebsd 11.0 box with zfs as zroot. The idea behind installation of new drivers for em0 was that I have some problems with it watchdog that is killing my dhcpclient and losing connection to that box:
Code:
forteca kernel: em0: Watchdog timeout Queue[0]-- resetting
forteca dhclient: New Routers (em0): 192.168.1.1
forteca kernel: em0: link state changed to DOWN
First here is how I "broke" it:
Downloaded driver from https://downloadcenter.intel.com/download/17509
Code:
[root@forteca ~]# tar -zxvf em-7.6.2.tar.gz -C /usr/src/
x em-7.6.2/
x em-7.6.2/src/
x em-7.6.2/README
x em-7.6.2/readmefirst.txt
x em-7.6.2/src/em.4
x em-7.6.2/src/e1000_80003es2lan.c
x em-7.6.2/src/if_lem.h
x em-7.6.2/src/if_lem.c
x em-7.6.2/src/if_em.h
x em-7.6.2/src/if_em.c
x em-7.6.2/src/em_compat.h
x em-7.6.2/src/em_compat.c
x em-7.6.2/src/e1000_regs.h
x em-7.6.2/src/e1000_phy.h
x em-7.6.2/src/e1000_phy.c
x em-7.6.2/src/e1000_osdep.h
x em-7.6.2/src/e1000_osdep.c
x em-7.6.2/src/e1000_nvm.h
x em-7.6.2/src/e1000_nvm.c
x em-7.6.2/src/e1000_manage.h
x em-7.6.2/src/e1000_manage.c
x em-7.6.2/src/e1000_mac.h
x em-7.6.2/src/e1000_mac.c
x em-7.6.2/src/e1000_ich8lan.h
x em-7.6.2/src/e1000_ich8lan.c
x em-7.6.2/src/e1000_hw.h
x em-7.6.2/src/e1000_defines.h
x em-7.6.2/src/e1000_api.h
x em-7.6.2/src/e1000_api.c
x em-7.6.2/src/e1000_82571.h
x em-7.6.2/src/e1000_82571.c
x em-7.6.2/src/e1000_82543.h
x em-7.6.2/src/e1000_82543.c
x em-7.6.2/src/e1000_82542.c
x em-7.6.2/src/e1000_82541.h
x em-7.6.2/src/e1000_82541.c
x em-7.6.2/src/e1000_82540.c
x em-7.6.2/src/e1000_80003es2lan.h
x em-7.6.2/src/Makefile
[root@forteca ~]# cd /usr/src/em-7.6.2/src/
[root@forteca /usr/src/em-7.6.2/src]# cd /usr/src/em-
-su: cd: /usr/src/em-: No such file or directory
[root@forteca /usr/src/em-7.6.2/src]# make && make install
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h
Warning: Object directory not changed from original /usr/src/em-7.6.2/src
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.if_em.o -MTif_em.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c if_em.c -o if_em.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.if_lem.o -MTif_lem.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c if_lem.c -o if_lem.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_osdep.o -MTe1000_osdep.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_osdep.c -o e1000_osdep.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.em_compat.o -MTem_compat.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c em_compat.c -o em_compat.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_api.o -MTe1000_api.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_api.c -o e1000_api.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_phy.o -MTe1000_phy.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_phy.c -o e1000_phy.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_nvm.o -MTe1000_nvm.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_nvm.c -o e1000_nvm.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_mac.o -MTe1000_mac.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_mac.c -o e1000_mac.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_manage.o -MTe1000_manage.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_manage.c -o e1000_manage.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_82540.o -MTe1000_82540.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_82540.c -o e1000_82540.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_82542.o -MTe1000_82542.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_82542.c -o e1000_82542.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_82541.o -MTe1000_82541.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_82541.c -o e1000_82541.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_82543.o -MTe1000_82543.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_82543.c -o e1000_82543.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_80003es2lan.o -MTe1000_80003es2lan.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_80003es2lan.c -o e1000_80003es2lan.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_ich8lan.o -MTe1000_ich8lan.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_ich8lan.c -o e1000_ich8lan.o
cc -O2 -pipe  -DINET -DINET6 -DEM_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.e1000_82571.o -MTe1000_82571.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c e1000_82571.c -o e1000_82571.o
ld -d -warn-common -r -d -o if_em.ko if_em.o if_lem.o e1000_osdep.o em_compat.o e1000_api.o e1000_phy.o e1000_nvm.o e1000_mac.o e1000_manage.o e1000_82540.o e1000_82542.o e1000_82541.o e1000_82543.o e1000_80003es2lan.o e1000_ich8lan.o e1000_82571.o
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk if_em.ko  export_syms | xargs -J% objcopy % if_em.ko
objcopy --strip-debug if_em.ko
install -T release -o root -g wheel -m 555   if_em.ko /boot/modules/
kldxref /boot/modules
[root@forteca /usr/src/em-7.6.2/src]# make && make install
Warning: Object directory not changed from original /usr/src/em-7.6.2/src
install -T release -o root -g wheel -m 555   if_em.ko /boot/modules/
kldxref /boot/modules
[root@forteca /usr/src/em-7.6.2/src]# echo 'hint.apic.0.disabled="1"'  >> /boot/device.hints
[root@forteca /usr/src/em-7.6.2/src]# echo 'if_em_load="YES"' >> /boot/loader.conf
[root@forteca /usr/src/em-7.6.2/src]# reboot

Now here is how it looks during boot: https://www.dropbox.com/s/1v87xsoc7td12gq/2017-02-24_22-39-27.mp4?dl=0

I was trying to unload/disable-module if_em module in loader prompt. I was trying to set loader_conf_files to point only to /boot/loader.conf.local, booting with old kernel but all those won't help.

Any idea how I can bypass this problem. Ideally would be to fix it without LiveCD. But if that is impossible I will go with LiveCD. But how I could do that.
Any help appreciated.

Should i remove /boot/modules/if_em.ko ? If so why unload module doesn't work?
How can I mount /boot ?
 
The most common cause for a kernel module not unloading are dependencies. Also... I'm not familiar with this particular source tree (referring to the driver) but common practice (to my knowledge) is to compile these things individually and have the result set up in /boot/modules. That will allow you to add extensions without the risk of ruining the source tree.

Also: you're using VirtuaBox? Why didn't you simply make a snapshot so that you could revert back to that?

Anyway, tried booting the backup kernel yet? So, from the menu, select the 'kernel' option and make it boot kernel.old? Optionally you could do that in single user mode.

After that you can fix your source tree, and rebuild the kernel (or just copy /boot/kernel.old over).
 
The most common cause for a kernel module not unloading are dependencies. Also... I'm not familiar with this particular source tree (referring to the driver) but common practice (to my knowledge) is to compile these things individually and have the result set up in /boot/modules. That will allow you to add extensions without the risk of ruining the source tree.

Also: you're using VirtuaBox? Why didn't you simply make a snapshot so that you could revert back to that?

Anyway, tried booting the backup kernel yet? So, from the menu, select the 'kernel' option and make it boot kernel.old? Optionally you could do that in single user mode.

After that you can fix your source tree, and rebuild the kernel (or just copy /boot/kernel.old over).


1. Why I use VirtualBox? I used it only for testing zfs snapshot sent and restore over ssh few weeks ago. So I updated my bare-metal box at 1st place (what can go wrong...right?) and then VirtualBox to check how I can recover.
2. Yes, I did try to boot from old kernel. I mention that in my 1st post. So it didn't help in this case. Single user mode as well.

I was able to fix issue without LiveCD. But I needed LiveCD to identify that problem...
It turned out that problem was not the if_em.ko module. But the hint.apic.0.disabled="1" in /boot/device.hints.

I booted into loader prompt once again and set hint.apic.0.disabled=0 variable, then boot. All variables could be listed with the showcmd.

If so why unload module doesn't work?
How can I mount /boot ?
Unload worked but that was not the problem here...

And this is how i mounted /boot/ partition from LiveCD:
Code:
zpool import -o altroot=/mnt zpool
zfs mount -a

^If anyone needs it...
Thanks for help
 
Back
Top