about 0.8.0 build…

Developer discussions.

Re: about 0.8.0 build…

Postby lundman » Mon Sep 14, 2020 5:03 pm

dereed999 wrote:However "Volumes" don't seem to work


OK, turns out a recent change created the proxy after the zvols - when the zvols need to attach to the proxy.

I believe I have fixed zvols. I've pushed a new pkg
User avatar
lundman
 
Posts: 755
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: about 0.8.0 build…

Postby nodarkthings » Tue Sep 15, 2020 1:49 am

lundman wrote:ok so possibly InvariantDisks is not started by installer/reboot? Didn't change that area, so wonder why...

I carefully uninstalled/reinstalled but still no auto import. I'm able to manually launch InvariantDisks, then zpool import -d /var/run/disk/by-id works but "no pools available" when I run zpool status or zpool import.
nodarkthings
 
Posts: 110
Joined: Mon Jan 26, 2015 10:32 am

Re: about 0.8.0 build…

Postby tangles » Tue Sep 15, 2020 2:47 am

Installed the latest build to address zvols…. pretty harsh KP followed… :oops:

Code: Select all
panic(cpu 2 caller 0xffffff7f9f3a296e): vmem_hash_delete(0xffffff7fa07a39c0, ffffff7f9f7b0000, 512): bad free (name: vmem_hash, addr, size)
Backtrace (CPU 2), Frame : Return Address
0xffffffa7aeef34b0 : 0xffffff801e31a65d
0xffffffa7aeef3500 : 0xffffff801e454a75
0xffffffa7aeef3540 : 0xffffff801e4465fe
0xffffffa7aeef3590 : 0xffffff801e2c0a40
0xffffffa7aeef35b0 : 0xffffff801e319d27
0xffffffa7aeef36b0 : 0xffffff801e31a117
0xffffffa7aeef3700 : 0xffffff801eac1abc
0xffffffa7aeef3770 : 0xffffff7f9f3a296e
0xffffffa7aeef37c0 : 0xffffff7f9f3a26b1
0xffffffa7aeef3800 : 0xffffff7f9f3a3497
0xffffffa7aeef3830 : 0xffffff7f9f3a4865
0xffffffa7aeef38a0 : 0xffffff7f9f3a7762
0xffffffa7aeef3960 : 0xffffff7f9f39bf50
0xffffffa7aeef3970 : 0xffffff7f9f39166f
0xffffffa7aeef3980 : 0xffffff7f9f39abae
0xffffffa7aeef39a0 : 0xffffff7f9f204698
0xffffffa7aeef39c0 : 0xffffff801ea03ed1
0xffffffa7aeef3a00 : 0xffffff801ea2bcde
0xffffffa7aeef3a40 : 0xffffff801ea02f94
0xffffffa7aeef3ac0 : 0xffffff801ea02297
0xffffffa7aeef3b20 : 0xffffff801ea05d70
0xffffffa7aeef3ba0 : 0xffffff801ea25601
0xffffffa7aeef3be0 : 0xffffff801ea258c7
0xffffffa7aeef3c20 : 0xffffff801e9a8a31
0xffffffa7aeef3c60 : 0xffffff801e9af61f
0xffffffa7aeef3ce0 : 0xffffff801e9bf7d8
0xffffffa7aeef3d60 : 0xffffff801e37b9eb
0xffffffa7aeef3db0 : 0xffffff801e3203c8
0xffffffa7aeef3e10 : 0xffffff801e2f6d15
0xffffffa7aeef3e70 : 0xffffff801e30db22
0xffffffa7aeef3f00 : 0xffffff801e42c065
0xffffffa7aeef3fa0 : 0xffffff801e2c1226
      Kernel Extensions in backtrace:
         net.lundman.zfs(1.0)[9C00E506-36F9-3ED4-B71D-82AB2BA331A5]@0xffffff7f9f091000->0xffffff7fa08adfff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[3581A46A-F3F3-3CE7-BA52-7046E8D66C32]@0xffffff7f9eff0000

BSD process name corresponding to current thread: kextunload

Mac OS version:
19G2021

Kernel version:
Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64
Kernel UUID: 1D3A0F3D-D908-397B-BD16-8F48C0823A2E
Kernel slide:     0x000000001e000000
Kernel text base: 0xffffff801e200000
__HIB  text base: 0xffffff801e100000
System model name: MacPro6,1 (Mac-F60DEB81FF30ACF6)
System shutdown begun: NO
Panic diags file available: YES (0x0)

System uptime in nanoseconds: 271070541318357
last loaded kext at 260783578469199: >usb.cdc   5.0.0 (addr 0xffffff7fa44c1000, size 28672)
last unloaded kext at 264769961739186: >!AXsanScheme   3 (addr 0xffffff7fa447d000, size 32768)
loaded kexts:
com.cisco.kext.acsock   4.9.0
com.usboverdrive.driver.hid   4016
com.intel.driver.EnergyDriver   3.7.0
com.ATTO.driver.ATTOThunderLinkNC   2.12.0f1
net.lundman.zfs   1.0.0
@filesystems.smbfs   3.4.4
@fileutil   20.036.15
@filesystems.autofs   3.0
>AGPM   111.4.4
>!APlatformEnabler   2.7.0d0
>X86PlatformShim   1.0.0
>!AHDA   283.15
>!AUpstreamUserClient   3.6.8
>!AMCCSControl   1.14
@kext.AMDFramebuffer   3.1.0
@kext.AMDRadeonX4000   3.1.0
@kext.AMDRadeonServiceManager   3.1.0
>!AGraphicsDevicePolicy   5.2.6
@AGDCPluginDisplayMetrics   5.2.6
>!AMGPUPowerControl   5.2.6
>!AHV   1
|IOUserEthernet   1.0.1
|IO!BSerialManager   7.0.6f7
>eficheck   1
>pmtelemetry   1
>!A!IMCEReporter   115
@Dont_Steal_Mac_OS_X   7.0.0
>!ALPC   3.1
@kext.AMD7000!C   3.1.0
>!AFWOHCI   5.6.2
>!AThunderboltIP   3.1.4
>!A!ISlowAdaptiveClocking   4.0.0
>AudioAUUC   1.70
>!AVirtIO   1.0
@filesystems.hfs.kext   522.100.5
@!AFSCompression.!AFSCompressionTypeDataless   1.0.0d1
@BootCache   40
@!AFSCompression.!AFSCompressionTypeZlib   1.0.0
@filesystems.apfs   1412.141.1
>AirPort.BrcmNIC   1400.1.1
|!ABCM5701Ethernet   10.3.5
>!AAHCIPort   341.140.1
@private.KextAudit   1.0
>!ARTC   2.0
>!AACPIButtons   6.1
>!AACPIEC   6.1
>!AHPET   1.8
>!ASMBIOS   2.1
>!AAPIC   1.7
>!A!ICPUPowerManagementClient   222.0.0
$!AImage4   1
@nke.applicationfirewall   303
$TMSafetyNet   8
@!ASystemPolicy   2.0.0
>!A!ICPUPowerManagement   222.0.0
|EndpointSecurity   1
>!AHIDKeyboard   209
@kext.triggers   1.0
|IOFireWireIP   2.3.0
>DspFuncLib   283.15
@kext.OSvKernDSPLib   529
>!ASMBus!C   1.0.18d1
@kext.AMDRadeonX4030HWLibs   1.0
|IOAccelerator!F2   438.7.3
@kext.AMDRadeonX4000HWServices   3.1.0
|IOAVB!F   850.1
>!ABacklightExpert   1.1.0
>!AGraphicsControl   5.2.6
|IONDRVSupport   576.1
>X86PlatformPlugin   1.0.0
>IOPlatformPlugin!F   6.0.0d8
@kext.AMDSupport   3.1.0
|IOFireWire!F   4.7.5
@!AGPUWrangler   5.2.6
@!AGraphicsDeviceControl   5.2.6
>!AHDA!C   283.15
|IOHDA!F   283.15
|IOSlowAdaptiveClocking!F   1.0.0
|IOGraphics!F   576.1
@plugin.IOgPTPPlugin   840.3
|IOSCSIParallel!F   3.0.0
|Broadcom!BHost!CUSBTransport   7.0.6f7
|IO!BHost!CUSBTransport   7.0.6f7
|IO!BHost!CTransport   7.0.6f7
|IO!B!F   7.0.6f7
|IO!BPacketLogger   7.0.6f7
>!UAudio   323.4
>usb.networking   5.0.0
>usb.!UHostCompositeDevice   1.2
>usb.!UHub   1.2
>!AThunderboltPCIUpAdapter   2.5.4
>!AThunderboltDPOutAdapter   6.2.6
|IOAudio!F   300.2
@vecLib.kext   1.2.0
|IOSerial!F   11
|IOSurface   269.11
@filesystems.hfs.encodings.kext   1
>!AThunderboltDPInAdapter   6.2.6
>!AThunderboltDPAdapter!F   6.2.6
>!AThunderboltPCIDownAdapter   2.5.4
|IOAHCIBlock!S   316.100.5
>!AThunderboltNHI   5.8.6
|IOThunderbolt!F   7.6.1
>usb.!UXHCIPCI   1.2
>usb.!UXHCI   1.2
|IO80211!F   1200.12.2b1
>corecapture   1.0.4
|IOSkywalk!F   1
|IOEthernetAVB!C   1.1.0
>mDNSOffloadUserClient   1.0.1b8
|IOAHCI!F   290.0.1
>usb.!UEHCIPCI   1.2
>usb.!UEHCI   1.2
>usb.!UHostPacketFilter   1.0
|IOUSB!F   900.4.2
>!AEFINVRAM   2.1
>!AEFIRuntime   2.1
|IOSMBus!F   1.1
|IOHID!F   2.0.0
$quarantine   4
$sandbox   300.0
@kext.!AMatch   1.0.0d1
>DiskImages   493.0.0
>!AFDEKeyStore   28.30
>!AEffaceable!S   1.0
>!ASSE   1.0
>!AKeyStore   2
>!UTDM   489.120.1
|IOSCSIBlockCommandsDevice   422.120.3
>!ACredentialManager   1.0
>KernelRelayHost   1
>!ASEPManager   1.0.1
>IOSlaveProcessor   1
|IOUSBMass!SDriver   157.140.1
|IOSCSIArchitectureModel!F   422.120.3
|IO!S!F   2.1
|IOUSBHost!F   1.2
>!UHostMergeProperties   1.2
>usb.!UCommon   1.0
>!ABusPower!C   1.0
|CoreAnalytics!F   1
>!AMobileFileIntegrity   1.0.5
@kext.CoreTrust   1
|IOTimeSync!F   840.3
|IONetworking!F   3.4
|IOReport!F   47
>!AACPIPlatform   6.1
>!ASMC   3.1.9
>watchdog   1
|IOPCI!F   2.9
|IOACPI!F   1.4
@kec.pthread   1
@kec.corecrypto   1.0
@kec.Libm   1




This is repeatable too. KP occurs the moment I see the text "package scripts" appear…

Anyone else getting KPs?
tangles
 
Posts: 172
Joined: Tue Jun 17, 2014 6:54 am

Re: about 0.8.0 build…

Postby lundman » Tue Sep 15, 2020 4:21 pm

rats - that's actually unloading the previous kext. You can rm /Library/Extensions/zfs.kext, and reboot. The installer will probably succeed after that.

How annoying, more work for me :)
User avatar
lundman
 
Posts: 755
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: about 0.8.0 build…

Postby lundman » Tue Sep 15, 2020 4:49 pm

nodarkthings wrote:I carefully uninstalled/reinstalled but still no auto import. I'm able to manually launch InvariantDisks, then zpool import -d /var/run/disk/by-id works but "no pools available" when I run zpool status or zpool import.


If InvariantDisk isn't started, then the /var/run/disk/by-id are not populated, so zpool-import-all.sh will fail.

Can you check;

less /Library/LaunchDaemons/org.openzfsonosx.InvariantDisks.plist

<string>/usr/local/bing/InvariantDisks</string>

oh i see it

heavy-sigh :)
User avatar
lundman
 
Posts: 755
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: about 0.8.0 build…

Postby lundman » Tue Sep 15, 2020 7:18 pm

Ok produced new PKG, hopefully to fix all the paths issues
User avatar
lundman
 
Posts: 755
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: about 0.8.0 build…

Postby nodarkthings » Wed Sep 16, 2020 12:27 am

Bingo! ;) :lol:
El Capitan: I manually corrected the paths in the plists and zpool-all-import.sh. InvariantDisks runs, zpool import -d /var/run/disk/by-id and zpool import -d /dev work but still no auto-import although zpool-all-import.sh does its job when launched manually.
Also the -f argument seems to not work any more.
Is the old way to import with zpool import or zpool import -a obsolete or will it come back at release time?
nodarkthings
 
Posts: 110
Joined: Mon Jan 26, 2015 10:32 am

Re: about 0.8.0 build…

Postby tangles » Wed Sep 16, 2020 4:39 am

lundman wrote:rats - that's actually unloading the previous kext. You can rm /Library/Extensions/zfs.kext, and reboot. The installer will probably succeed after that.

How annoying, more work for me :)


there wasn't anything in /Library/Extensions pertaining to ZFS for me…

I manually rm -Rf'd zfs folders I saw in /var/run and /etc/zfs and by doing that stopped the KPs with the build that fixed the "paths to InvariantDisk" issue…

Given no one else has reported this, I'm guessing it was just my setup using the initial build and trying to install over the top…

Working now!
tangles
 
Posts: 172
Joined: Tue Jun 17, 2014 6:54 am

Re: about 0.8.0 build…

Postby FadingIntoBlue » Thu Sep 17, 2020 12:03 pm

nodarkthings wrote:
• If you mean "full disk permission" like in Mojave (Security.prefPane), there's no such things in El Capitan, AFAIK... :oops:


In Catalina it is called Full Disk Access, in the Security. & Privacy Control Panel, Privacy Tab.

I haven't got time to test the new pkgs at present sorry, but I certainly have bash "Full Disk Access" and that is still my best bet for failure to Auto Mount
FadingIntoBlue
 
Posts: 50
Joined: Tue May 27, 2014 12:25 am

Re: about 0.8.0 build…

Postby johanhenselmans » Fri Sep 18, 2020 12:09 am

Is it already time to ask for a Mojave 2.0 build?
johanhenselmans
 
Posts: 2
Joined: Mon Aug 31, 2020 12:44 am

Previous

Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 3 guests