BjoKaSH / maczfs-archive

Legacy MacZFS - Archived here due Google-code shutdown. Automatically exported from code.google.com/p/maczfs -- Do Not Use! Use https://openzfsonosx.org/
Other
1 stars 0 forks source link

Just after upgrade 74.1.0 to 74.3.3, but before rebooting "zpool status" caused a kernel panic #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install 74.1.0.
2. Reboot.
3. Create a pool.
4. Maybe reboot? (Not sure necessary.)
5. Install 74.3.3.
6. Wait for install to complete, don't reboot.
7. "zpool status" as any user.

What is the expected output? What do you see instead?
Expect: No panic. Maybe a warning about a mismatched versions of the cli tools 
and the kext?
Actual: Panic.

Maybe make it so the installer requires a reboot when the installation is 
complete?

What version of the product are you using? On what operating system?
74.1.0, upgraded to 74.3.3 on 10.9.2.

Please provide any additional information below.
Anonymous UUID:       37064DAB-DB29-F09A-4091-AAAF848BA8D5

Sat Mar  1 08:24:41 2014
panic(cpu 0 caller 0xffffff802f8dbe2e): Kernel trap at 0x000000006b736964, type 
14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x000000006b736964, CR3: 0x00000001dc7fd14e, CR4: 
0x00000000000606e0
RAX: 0x0000000000000ee0, RBX: 0xffffff82350cbd58, RCX: 0x0000000000000003, RDX: 
0xffffff80509e8000
RSP: 0xffffff82350cbcb8, RBP: 0xffffff82350cbcf0, RSI: 0x0000000000000000, RDI: 
0xffffff80509e8000
R8:  0xffffff80767977e0, R9:  0xffffff802fe536f0, R10: 0x0000000000000018, R11: 
0x0000000000000206
R12: 0xffffff80509e8000, R13: 0x000000000000017d, R14: 0x000000000000007f, R15: 
0xffffff7fb13e4320
RFL: 0x0000000000010246, RIP: 0x000000006b736964, CS:  0x0000000000000008, SS:  
0x0000000000000010
Fault CR2: 0x000000006b736964, Error code: 0x0000000000000010, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff82350cb940 : 0xffffff802f822fa9 
0xffffff82350cb9c0 : 0xffffff802f8dbe2e 
0xffffff82350cbb90 : 0xffffff802f8f3326 
0xffffff82350cbbb0 : 0x6b736964 
0xffffff82350cbcf0 : 0xffffff802fa0cfdf 
0xffffff82350cbd40 : 0xffffff802f9fdc90 
0xffffff82350cbdc0 : 0xffffff802f9f3ae1 
0xffffff82350cbe10 : 0xffffff802fbbf0a3 
0xffffff82350cbe40 : 0xffffff802fbf09e6 
0xffffff82350cbf50 : 0xffffff802fc3e363 
0xffffff82350cbfb0 : 0xffffff802f8f3b26 

BSD process name corresponding to current thread: zpool
Boot args: serverperfmode=1

Mac OS version:
13C64

Kernel version:
Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; 
root:xnu-2422.90.20~2/RELEASE_X86_64
Kernel UUID: 9FEA8EDC-B629-3ED2-A1A3-6521A1885953
Kernel slide:     0x000000002f600000
Kernel text base: 0xffffff802f800000
System model name: Macmini5,2 (Mac-4BC72D62AD45599E)

System uptime in nanoseconds: 39923523870119
last loaded kext at 39819866563922: com.apple.driver.AppleIntelMCEReporter  104 
(addr 0xffffff7fb078f000, size 49152)
last unloaded kext at 39814537748545: 
com.apple.driver.AppleIntelMCEReporter  104 (addr 0xffffff7fb078f000, size 32768)
loaded kexts:
com.bandlem.mac.zfs.fs  74.1.0
com.sonnettech.SonnetSATABlockStorage   2.2.9
com.sonnettech.driver.SonnetSATA    2.2.9
com.apple.driver.AppleIntelMCEReporter  104
com.apple.nke.l2tp  1.9
com.apple.filesystems.smbfs 2.0.1
com.apple.driver.AudioAUUC  1.60
com.apple.driver.AppleHWSensor  1.9.5d0
com.apple.iokit.IOUserEthernet  1.0.0d1
com.apple.driver.AppleUpstreamUserClient    3.5.13
com.apple.iokit.IOBluetoothSerialManager    4.2.3f10
com.apple.driver.AppleMikeyHIDDriver    124
com.apple.driver.AppleMCCSControl   1.1.12
com.apple.driver.AGPM   100.14.15
com.apple.driver.ApplePlatformEnabler   2.0.9d1
com.apple.driver.AppleUSBCDCACMData 4.2.1b5
com.apple.driver.AppleMikeyDriver   2.6.0f1
com.apple.kext.AMDFramebuffer   1.2.0
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleIntelHD3000Graphics   8.2.4
com.apple.driver.AppleHDA   2.6.0f1
com.apple.AMDRadeonX3000    1.2.0
com.apple.driver.AppleHWAccess  1
com.apple.driver.AppleThunderboltIP 1.1.2
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.3f10
com.apple.driver.AppleSMCPDRC   1.0.0
com.apple.driver.AppleUSBCDC    4.2.1b5
com.apple.driver.AppleLPC   1.7.0
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.kext.AMD6000Controller    1.2.0
com.apple.driver.AppleIntelSNBGraphicsFB    8.2.4
com.apple.filesystems.autofs    3.0
com.apple.driver.AppleIRController  325.7
com.apple.driver.XsanFilter 404
com.apple.BootCache 35
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.driver.AppleFWOHCI    4.9.9
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.iokit.IOAHCIBlockStorage  2.5.1
com.apple.driver.AirPort.Brcm4331   700.20.22
com.apple.driver.AppleUSBHub    666.4.0
com.apple.driver.AppleSDXC  1.5.2
com.apple.iokit.AppleBCM5701Ethernet    3.8.1b2
com.apple.driver.AppleAHCIPort  3.0.0
com.apple.driver.AppleUSBEHCI   660.4.0
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleACPIButtons   2.0
com.apple.driver.AppleHPET  1.8
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleACPIEC    2.0
com.apple.driver.AppleAPIC  1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 216.0.0
com.apple.security.quarantine   3
com.apple.nke.applicationfirewall   153
com.apple.driver.AppleIntelCPUPowerManagement   216.0.0
com.apple.nke.ppp   1.9
com.apple.iokit.IOSurface   91
com.apple.iokit.IOBluetoothFamily   4.2.3f10
com.apple.iokit.IOSerialFamily  10.0.7
com.apple.driver.AppleUSBCDCACMControl  4.2.1b5
com.apple.driver.DspFuncLib 2.6.0f1
com.apple.vecLib.kext   1.0.0
com.apple.iokit.IOAudioFamily   1.9.5fc2
com.apple.kext.OSvKernDSPLib    1.14
com.apple.driver.AppleSMBusController   1.0.11d1
com.apple.iokit.IOAcceleratorFamily 98.14
com.apple.iokit.IOBluetoothHostControllerUSBTransport   4.2.3f10
com.apple.iokit.IOFireWireIP    2.2.6
com.apple.driver.AppleHDAController 2.6.0f1
com.apple.iokit.IOHDAFamily 2.6.0f1
com.apple.driver.AppleSMBusPCI  1.0.12d1
com.apple.iokit.IONDRVSupport   2.4.1
com.apple.driver.AppleSMC   3.1.8
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.7.0d10
com.apple.kext.AMDSupport   1.2.0
com.apple.AppleGraphicsDeviceControl    3.4.35
com.apple.iokit.IOATAFamily 2.5.2
com.apple.iokit.IOGraphicsFamily    2.4.1
com.apple.kext.triggers 1.0
com.apple.driver.AppleUSBHIDMouse   180.9
com.apple.driver.AppleHIDMouse  180.9
com.apple.iokit.IOSCSIBlockCommandsDevice   3.6.6
com.apple.driver.AppleUSBMergeNub   650.4.0
com.apple.iokit.IOUSBMassStorageClass   3.6.0
com.apple.iokit.IOSCSIArchitectureModelFamily   3.6.6
com.apple.driver.CoreStorage    380
com.apple.driver.AppleThunderboltDPInAdapter    3.1.7
com.apple.driver.AppleThunderboltDPOutAdapter   3.1.7
com.apple.driver.AppleThunderboltDPAdapterFamily    3.1.7
com.apple.driver.AppleThunderboltPCIUpAdapter   1.4.5
com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.5
com.apple.iokit.IOUSBHIDDriver  660.4.0
com.apple.driver.AppleUSBComposite  656.4.1
com.apple.driver.AppleThunderboltNHI    2.0.1
com.apple.iokit.IOThunderboltFamily 3.2.7
com.apple.iokit.IOFireWireFamily    4.5.5
com.apple.iokit.IO80211Family   630.35
com.apple.iokit.IOEthernetAVBController 1.0.3b4
com.apple.driver.mDNSOffloadUserClient  1.0.1b5
com.apple.iokit.IONetworkingFamily  3.2
com.apple.driver.AppleEFINVRAM  2.0
com.apple.iokit.IOUSBUserClient 660.4.2
com.apple.iokit.IOAHCIFamily    2.6.5
com.apple.iokit.IOUSBFamily 675.4.0
com.apple.driver.AppleEFIRuntime    2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.TMSafetyNet  7
com.apple.security.sandbox  278.11
com.apple.kext.AppleMatch   1.0.0d1
com.apple.iokit.IOReportFamily  23
com.apple.driver.DiskImages 371.1
com.apple.iokit.IOStorageFamily 1.9
com.apple.driver.AppleKeyStore  2
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleACPIPlatform  2.0
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread   1
com.apple.kec.corecrypto    1.0
Model: Macmini5,2, BootROM MM51.0077.B10, 2 processors, Intel Core i5, 2.5 GHz, 
16 GB, SMC 1.75f0
Graphics: AMD Radeon HD 6630M, AMD Radeon HD 6630M, PCIe, 256 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1333 MHz, 0x029E, 
0x434D534F384758334D314131333333433920
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1333 MHz, 0x029E, 
0x434D534F384758334D314131333333433920
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE4), Broadcom 
BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.3f10 13477, 3 services, 23 devices, 1 incoming serial 
ports
Network Service: Ethernet, Ethernet, en0
PCI Card: Tempo SATA Pro ExpressCard/34, IDE Controller, Thunderbolt@195,0,0
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: Hitachi HTS547550A9E384, 500.11 GB
Serial ATA Device: TOSHIBA MK7559GSXF, 750.16 GB
USB Device: Hub
USB Device: IR Receiver
USB Device: Hub
USB Device: Hub
USB Device: Hub
USB Device: Hub
USB Device: USB Modem
USB Device: Studio Display
USB Device: Hub in Apple Pro Keyboard
USB Device: Apple Optical USB Mouse
USB Device: Apple Pro Keyboard
USB Device: USB to ATA/ATAPI Bridge
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: Mac mini, Apple Inc., 22.2
Thunderbolt Device: Echo ExpressCard/34 TB, Sonnet Technologies, Inc., 3, 9.2

Original issue reported on code.google.com by sbyt...@gmail.com on 1 Mar 2014 at 2:34

GoogleCodeExporter commented 9 years ago
This looks like a mismatched userland / kext problem, where new userland tools 
run against an old kext.
Old userland tools will fail and complain when used against a new kernel 
extension (because the do not authenticate themselves before trying any real 
operation).
Unfortunately new userland tools have no way to know against which kext they 
run, until they try to authenticate.  The authentication call may panic, since 
74.3.1 and any older versions do not check if a userland call is defined.  This 
is a bug in 74.3.1 and older.

Original comment by googlelogin@bjoern-kahl.de on 1 Mar 2014 at 10:50

GoogleCodeExporter commented 9 years ago
MacZFS has been discontinued.  Please switch to https://openzfsonosx.org/

Original comment by googlelogin@bjoern-kahl.de on 28 Jul 2015 at 9:35