Page 1 of 1

zfs create causes kernel panic with usb (1.7.3 / 10.13.6)

PostPosted: Sun Aug 19, 2018 6:14 pm
by Ikukuru
I just have a macbook pro (touchbar) at the moment, and wanted to create a mirror with two USB drives. (wd elements 8tb, external power). i am using two usb-c adapters. versions are (1.7.3 / 10.13.6)

i used the command
Code: Select all
sudo zpool create -f -o ashift=12 -O casesensitivity=insensitive -O normalization=formD paisley mirror disk2 disk3


and i get a kernel panic. if i boot with the drives plugged in, it will panic again shortly after login.

i can plug the disks in and see that diskutil thinks they are zfs volumes, but zpool does not find them.

i've never done this with USB before. do i need to set a different create parameter? or something else? or this is just USB life.

edit: KP https://pastebin.com/RPZqqS9F

Re: zfs create causes kernel panic with usb (1.7.3 / 10.13.6

PostPosted: Tue Aug 21, 2018 4:52 pm
by lundman
Could you please turn on keepsyms? It involves using nvram command to set boot-args.

Re: zfs create causes kernel panic with usb (1.7.3 / 10.13.6

PostPosted: Tue Aug 21, 2018 11:45 pm
by Ikukuru
here is the panic with keepsysms enabled: https://pastebin.com/iJ3WhUcF

Re: zfs create causes kernel panic with usb (1.7.3 / 10.13.6

PostPosted: Wed Aug 22, 2018 3:53 pm
by lundman
Ah yep: https://github.com/openzfsonosx/zfs/issues/653

Build master and run that. We really should build another beta binary for HS and mojave

Re: zfs create causes kernel panic with usb (1.7.3 / 10.13.6

PostPosted: Wed Aug 22, 2018 7:11 pm
by Ikukuru
Master works fine. thanks

Re: zfs create causes kernel panic with usb (1.7.3 / 10.13.6

PostPosted: Fri Aug 24, 2018 10:35 pm
by rcfa
lundman wrote:Ah yep: https://github.com/openzfsonosx/zfs/issues/653

Build master and run that. We really should build another beta binary for HS and mojave


Another beta would be highly appreciated, because right now I can neither use my new laptop (because my ZFS drives are external USB drives that make my system crash hard upon issuing zpool import <pool> nor the old laptop which I'd live to use for testing Mojave

A semi regular beta/test build would be useful, because it's clear what basis we're comparing...

Re: zfs create causes kernel panic with usb (1.7.3 / 10.13.6

PostPosted: Sun Sep 09, 2018 7:52 pm
by rcfa
lundman wrote:We really should build another beta binary for HS and mojave


Any news on that front?

Re: zfs create causes kernel panic with usb (1.7.3 / 10.13.6

PostPosted: Fri Sep 14, 2018 4:19 pm
by rcfa
rcfa wrote:
lundman wrote:We really should build another beta binary for HS and mojave


Any news on that front?


Yeah! Awesome!

viewtopic.php?f=20&t=3200