openzfsonosx / spl

Solaris Porting Layer for OpenZFS on OS X
https://openzfsonosx.org/
Other
115 stars 28 forks source link

Panic in OSX10.11.6 #14

Open captain-haddock17 opened 7 years ago

captain-haddock17 commented 7 years ago

my Rig:

ZFS 1.6.1 on MacPro 4,1 (5,1 microcode)

Serial ATA Device: HL-DT-ST DVD-RW GH41N
Serial ATA Device: HL-DT-ST DVD-RW GH41N
Serial ATA Device: KINGSTON SKC300S37A240G, 240,06 GB
Serial ATA Device: ST4000VN008-2DR166, 4 TB
Serial ATA Device: ST3750528AS, 750,16 GB
Serial ATA Device: ST2000VN0001-1SF174, 2 TB
Serial ATA Device: ST4000VN008-2DR166, 4 TB
Serial ATA Device: ST4000VN008-2DR166, 4 TB
Serial ATA Device: MARVELL VIRTUALL
FireWire Device: built-in_hub, Up to 800 Mb/sec
FireWire Device: 2Big Quadra USB3, LaCie, Up to 800 Mb/sec

diskutil list

(...)
/dev/disk1 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.0 TB     disk1
   1:                        ZFS Bay                     4.0 TB     disk1s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk1s9
(...)
/dev/disk5 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.0 TB     disk5
   1:                        ZFS Bay                     4.0 TB     disk5s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk5s9
/dev/disk6 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.0 TB     disk6
   1:                        ZFS Bay                     4.0 TB     disk6s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk6s9
/dev/disk7 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.0 TB     disk7
   1:                        ZFS Bay                     4.0 TB     disk7s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk7s9
/dev/disk8 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *16.0 TB    disk8
   1:                        ZFS LaCie                   16.0 TB    disk8s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk8s9

zpool list -v

NAME   SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
Bay  14,5T  8,25T  6,25T         -    30%    56%  1.00x  ONLINE  -
  raidz1  14,5T  8,25T  6,25T         -    30%    56%
    media-491D37F4-3E0B-0546-9F70-F280333CEEBF      -      -      -         -      -      -
    media-FCBFF41B-8A47-E144-9580-C6FA25C1C5EB      -      -      -         -      -      -
    media-449D7259-2A19-554F-A687-61586EEE3315      -      -      -         -      -      -
    media-CC987CBF-32F7-2F4C-B8EC-015DF07F04E9      -      -      -         -      -      -
LaCie  14,5T  4,78T  9,72T         -    22%    32%  1.00x  ONLINE  -
  media-9FF995E9-9119-D347-BD9A-2E793ED849D4  14,5T  4,78T  9,72T         -    22%    32%

Panic :

Anonymous UUID:       D6571C4C-AEDB-5206-0C3D-2024A488A16E

*** Panic Report ***
panic(cpu 4 caller 0xffffff80093cbe03): Kernel trap at 0xffffff7f89a8a32b, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x000000000dd22000, CR4: 0x00000000000226e0
RAX: 0x0000000000000000, RBX: 0xffffff81fc3994b0, RCX: 0x0000000000000000, RDX: 0xffffff81fc3994d8
RSP: 0xffffff925bcebf40, RBP: 0xffffff925bcebfb0, RSI: 0x0000000000000021, RDI: 0xffffff81fc3994d8
R8:  0xffffff81f4ea0000, R9:  0xffffff8202210b78, R10: 0xffffff8202210b78, R11: 0x00002577b85785f5
R12: 0x0000000000000502, R13: 0xffffff8202210ee8, R14: 0xffffff81fc3994e8, R15: 0x0000257774706413
RFL: 0x0000000000010206, RIP: 0xffffff7f89a8a32b, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000002, Fault CPU: 0x4, PL: 0

Backtrace (CPU 4), Frame : Return Address
0xffffff925bcebbd0 : 0xffffff80092d7b92 
0xffffff925bcebc50 : 0xffffff80093cbe03 
0xffffff925bcebe30 : 0xffffff80093e9ba3 
0xffffff925bcebe50 : 0xffffff7f89a8a32b 
0xffffff925bcebfb0 : 0xffffff80093c6537 
      Kernel Extensions in backtrace:
         net.lundman.spl(1.6.1)[D59AEA5C-BB9B-3C36-9966-DE7F7C2D7A23]@0xffffff7f89a7c000->0xffffff7f8ac71fff

Mac OS version:
15G1421

Kernel version:
Darwin Kernel Version 15.6.0: Fri Feb 17 10:21:18 PST 2017; root:xnu-3248.60.11.4.1~1/RELEASE_X86_64
Kernel UUID: 9B4679AF-7EE6-3BCE-9DD7-C30975A80BB3
Kernel slide:     0x0000000009000000
Kernel text base: 0xffffff8009200000
__HIB  text base: 0xffffff8009100000
System model name: MacPro5,1 (Mac-F221BEC8)
ilovezfs commented 7 years ago

is it repeatable?

captain-haddock17 commented 7 years ago

No, Panic occurred only once (for now, after about 10 days). Since the panic occurence, I did some intensive zfs send; zfs receive without trouble.

ilovezfs commented 7 years ago
sudo nvram boot-args="-v keepsyms=1"

which will take effect after reboot so we'll get a better log if it happens again.

captain-haddock17 commented 7 years ago

One zpool Bay is build on 4 external 4TB disks in a HD-Enclosure attached through eSata (+ eSata PCIe Controller Card) (about 150 MB/sec) One zpool LaCie is on external LaCie 2Big attached through FireWire 800Mb. (about 72 MB/sec)

captain-haddock17 commented 7 years ago

OK I will set nvram boot-args="-v keepsyms=1" Thank you for this.

rottegift commented 6 years ago

It's been several months. Is this issue live still? If you can reproduce it, the stack with keepsyms would be useful. If it's not live or you can't reproduce it, please close the issue.