1.9.1 install panic on iMac Pro and other issues

All your general support questions for OpenZFS on OS X.

Re: 1.9.1 install panic on iMac Pro and other issues

Postby lundman » Wed Jul 31, 2019 6:40 pm

Confusing - ok, everything is initialised as per normal, but all assembler improved methods are commented out:
Attachments
zfs3.kext.zip
(1.53 MiB) Downloaded 65 times
User avatar
lundman
 
Posts: 645
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: 1.9.1 install panic on iMac Pro and other issues

Postby Jimbo » Wed Jul 31, 2019 6:47 pm

Kext loaded fine. Got to "10". No logs generated...

Expected?

Cheers!
James
Jimbo
 
Posts: 34
Joined: Sun Sep 17, 2017 5:12 am

Re: 1.9.1 install panic on iMac Pro and other issues

Postby lundman » Wed Jul 31, 2019 6:50 pm

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
Attachments
zfs4.kext.zip
(1.53 MiB) Downloaded 54 times
User avatar
lundman
 
Posts: 645
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: 1.9.1 install panic on iMac Pro and other issues

Postby Jimbo » Wed Jul 31, 2019 7:03 pm

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
Jimbo
 
Posts: 34
Joined: Sun Sep 17, 2017 5:12 am

Re: 1.9.1 install panic on iMac Pro and other issues

Postby lundman » Wed Jul 31, 2019 7:03 pm

Nah, purely about if it loads, or crashes.
User avatar
lundman
 
Posts: 645
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: 1.9.1 install panic on iMac Pro and other issues

Postby Jimbo » Wed Jul 31, 2019 7:08 pm

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
Jimbo
 
Posts: 34
Joined: Sun Sep 17, 2017 5:12 am

Re: 1.9.1 install panic on iMac Pro and other issues

Postby lundman » Wed Jul 31, 2019 7:11 pm

Nice, so here is the first "new" algorithm, AVX2.
Attachments
zfs5.kext.zip
(1.53 MiB) Downloaded 56 times
User avatar
lundman
 
Posts: 645
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: 1.9.1 install panic on iMac Pro and other issues

Postby Jimbo » Wed Jul 31, 2019 7:15 pm

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
Jimbo
 
Posts: 34
Joined: Sun Sep 17, 2017 5:12 am

Re: 1.9.1 install panic on iMac Pro and other issues

Postby lundman » Wed Jul 31, 2019 7:17 pm

Ok, that leave the last one, AVX512F, to be enabled - which should then crash.
Attachments
zfs6.kext.zip
(1.53 MiB) Downloaded 52 times
User avatar
lundman
 
Posts: 645
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: 1.9.1 install panic on iMac Pro and other issues

Postby Jimbo » Wed Jul 31, 2019 7:21 pm

Correct... a smoking hole is formed.

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

Cheers!
James
Jimbo
 
Posts: 34
Joined: Sun Sep 17, 2017 5:12 am

PreviousNext

Return to General Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron