Page 3 of 5

Re: 1.9.1 install panic on iMac Pro and other issues

PostPosted: Wed Jul 31, 2019 6:40 pm
by lundman
Confusing - ok, everything is initialised as per normal, but all assembler improved methods are commented out:

Re: 1.9.1 install panic on iMac Pro and other issues

PostPosted: Wed Jul 31, 2019 6:47 pm
by Jimbo
Kext loaded fine. Got to "10". No logs generated...

Expected?

Cheers!
James

Re: 1.9.1 install panic on iMac Pro and other issues

PostPosted: Wed Jul 31, 2019 6:50 pm
by lundman
Ok, so the list
Code: Select all
#if defined(XHAVE_SSE2)
   &fletcher_4_sse2_ops,
#endif
#if defined(HAVE_SSE2) && defined(XHAVE_SSSE3)
   &fletcher_4_ssse3_ops,
#endif
#if defined(HAVE_AVX) && defined(XHAVE_AVX2)
   &fletcher_4_avx2_ops,
#endif
#if defined(__x86_64) && defined(XHAVE_AVX512F)
   &fletcher_4_avx512f_ops,
#endif


The ones with X are commented out, so lets enable SSE2 and SSSE3 which should work.

You can confirm that sse2 and ssse3 shows up using systcl

Re: 1.9.1 install panic on iMac Pro and other issues

PostPosted: Wed Jul 31, 2019 7:03 pm
by Jimbo
Just to confirm, I should see output to the log stream when running the sysctl kstat.zfs...debug=X commands or something else?

Cheers!
James

Re: 1.9.1 install panic on iMac Pro and other issues

PostPosted: Wed Jul 31, 2019 7:03 pm
by lundman
Nah, purely about if it loads, or crashes.

Re: 1.9.1 install panic on iMac Pro and other issues

PostPosted: Wed Jul 31, 2019 7:08 pm
by Jimbo
Right-o then.

Loaded fine:
Code: Select all
Filtering the log data using "sender == "zfs" OR sender == "spl""
Timestamp               Ty Process[PID:TID]
2019-08-01 03:05:40.680 Df kernel[0:20b] (spl) <spl`spl_start> SPL: loading
2019-08-01 03:05:40.680 Df kernel[0:124d] (spl) <spl`spl_kmem_init> SPL: KMEM starting. Total memory 2147483648
2019-08-01 03:05:40.680 Df kernel[0:124d] (spl) <spl`vmem_init> SPL: vmem_init: real_total_memory 4294967296, large spans 1048576, small spans 262144
2019-08-01 03:05:40.680 Df kernel[0:124d] (spl) <spl`vmem_init> SPL: vmem_init adding fixed allocation of 268435456 to the bucket_heap
2019-08-01 03:05:40.755 Df kernel[0:124d] (spl) <spl`vmem_init> SPL: starting vmem_update() thread
2019-08-01 03:05:40.757 Df kernel[0:124d] (spl) <spl`spl_kmem_init> SPL: spl_zio_no_grow_init done.
2019-08-01 03:05:40.757 Df kernel[0:124d] (spl) <spl`spl_start_continue> SPL: Loaded module v1.9.1-0, (ncpu 2, memsize 2147483648, pages 524288)
2019-08-01 03:05:40.757 Df kernel[0:1250] (spl) <spl`spl_free_thread> SPL: beginning spl_free_thread() loop, spl_free == 1531904
2019-08-01 03:05:41.929 Df kernel[0:1256] (zfs) <zfs`zfs_ioctl_osx_init> ZFS: Loaded module v1.9.0-39-g3ca683e4d0 (DEBUG mode), ZFS pool version 5000, ZFS filesystem version 5
2019-08-01 03:05:41.929 Df kernel[0:1256] (zfs) <zfs`zfs_init> ZFS filesystem version: 5


Cheers!
James

Re: 1.9.1 install panic on iMac Pro and other issues

PostPosted: Wed Jul 31, 2019 7:11 pm
by lundman
Nice, so here is the first "new" algorithm, AVX2.

Re: 1.9.1 install panic on iMac Pro and other issues

PostPosted: Wed Jul 31, 2019 7:15 pm
by Jimbo
Loaded fine:
Code: Select all
2019-08-01 03:14:51.583 Df kernel[0:20b] (spl) <spl`spl_start> SPL: loading
2019-08-01 03:14:51.584 Df kernel[0:1ad9] (spl) <spl`spl_kmem_init> SPL: KMEM starting. Total memory 2147483648
2019-08-01 03:14:51.584 Df kernel[0:1ad9] (spl) <spl`vmem_init> SPL: vmem_init: real_total_memory 4294967296, large spans 1048576, small spans 262144
2019-08-01 03:14:51.584 Df kernel[0:1ad9] (spl) <spl`vmem_init> SPL: vmem_init adding fixed allocation of 268435456 to the bucket_heap
2019-08-01 03:14:51.605 Df kernel[0:1ad9] (spl) <spl`vmem_init> SPL: starting vmem_update() thread
2019-08-01 03:14:51.606 Df kernel[0:1ad9] (spl) <spl`spl_kmem_init> SPL: spl_zio_no_grow_init done.
2019-08-01 03:14:51.606 Df kernel[0:1ad9] (spl) <spl`spl_start_continue> SPL: Loaded module v1.9.1-0, (ncpu 2, memsize 2147483648, pages 524288)
2019-08-01 03:14:51.606 Df kernel[0:1add] (spl) <spl`spl_free_thread> SPL: beginning spl_free_thread() loop, spl_free == 156200960
2019-08-01 03:14:51.736 Df kernel[0:1ae0] (zfs) ZFS: Loading module ...
2019-08-01 03:14:52.868 Df kernel[0:1ae1] (zfs) <zfs`zfs_ioctl_osx_init> ZFS: Loaded module v1.9.0-39-g3ca683e4d0 (DEBUG mode), ZFS pool version 5000, ZFS filesystem version 5
2019-08-01 03:14:52.868 Df kernel[0:1ae1] (zfs) <zfs`zfs_init> ZFS filesystem version: 5

Re: 1.9.1 install panic on iMac Pro and other issues

PostPosted: Wed Jul 31, 2019 7:17 pm
by lundman
Ok, that leave the last one, AVX512F, to be enabled - which should then crash.

Re: 1.9.1 install panic on iMac Pro and other issues

PostPosted: Wed Jul 31, 2019 7:21 pm
by Jimbo
Correct... a smoking hole is formed.

Last log entry was "ZFS: Loading module ..."

Cheers!
James