http://defect.opensolaris.org/bz/show_bug.cgi?id=1016

           Summary: zfs destroy on clear text can cause panic
    Classification: Development
           Product: zfs-crypto
           Version: unspecified
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: P2
         Component: other
        AssignedTo: darrenm at opensolaris.org
        ReportedBy: ajscarp at yahoo.com
         QAContact: hua.tang at sun.com
                CC: zfs-crypto-discuss at opensolaris.org
   Estimated Hours: 0.0


I've had this twice happen to me on a test machine that was recently bfu'ed
with good bits..   Since I haven't done many 'zfs destroy' calls, i usually axe
the pool, i dunno when this showed up..

below was encrypted pool with a clear text dataset being destroyed..

bash-3.2# zpool create -f -o keysource=passphrase,file:///home/izick/key3 tank 
c0t0d0s6
bash-3.2# zfs create tank/enc
bash-3.2# zfs destroy tank/enc

panic[cpu1]/thread=3000a1c50a0: BAD TRAP: type=34 rp=2a1005735f0
addr=deadbeefdeadbf07 mmu_fsr=0

zfs: alignment error:
addr=0xdeadbeefdeadbf07
pid=102953, pc=0x7b31a5d4, sp=0x2a100572e91, tstate=0x4480001601, context=0x1
g1-g7: 3000bf1fa38, 3000bf1fa20, 18, 3, 3, 1, 3000a1c50a0

000002a100573310 unix:die+a4 (34, 2a1005735f0, deadbeefdeadbf07, 0, 180e000, 1)
  %l0-3: 0000000000000000 0000030001f75d80 00000000003c1cbb 00000000003c1cba
  %l4-7: 000003000008e040 0000000000000000 00000000010ffc00 000002a1005733d0
000002a1005733f0 unix:trap+748 (2a1005735f0, deadbeefdeadbf07, 80000900000034,
10000, 800009, 0)
  %l0-3: 0000000000010028 000003000a1c50a0 000000000003aef3 0000000000000000
  %l4-7: 00000000010ffc58 000003000bc144f0 0000030011cb2458 0000000000000034
000002a100573540 unix:ktl0+48 (30012086500, 3000a1c50a0, 300000490b0, 200, 200,
deadbeefdeadbeef)
  %l0-3: 0000000000000002 0000000000001400 0000004480001601 00000000010220a8
  %l4-7: 00000000000020da 0000030000049100 0000000000000000 000002a1005735f0
000002a100573690 zfs:dsl_dataset_destroy+29c (30012086500, 60010974018,
2a100573748, 7b31ac00, 7b31ac00, 0)
  %l0-3: 0000060010075e00 000006001006db38 000000007b373c00 000000007b316c00
  %l4-7: 000000007b316c00 000000007b31ac00 000000007b31ac00 0000060010075e00
000002a100573760 zfs:dmu_objset_destroy+4c (0, 0, 0, 0, 30044ed0000,
30012086500)
  %l0-3: 00000000ff0b6000 0000000000000000 0000030044ed0008 0000000000000000
  %l4-7: 0000000000000063 000003000686e100 0000000000000000 000000000138a844
000002a100573820 zfs:zfsdev_ioctl+1c4 (7b35ff48, 700b9b18, ffbfec88, 1000,
3000f065888, 30044ed0000)
  %l0-3: 0000000000000258 00000000700b9b20 00000000700b9800 000000000000004b
  %l4-7: 0000000000000019 0000000000000064 0000000000000002 00000000700b9b28
000002a1005738d0 genunix:fop_ioctl+58 (600106055c0, 5a19, ffbfec88, 100003, 0,
2a100573adc)
  %l0-3: 00000000000000c0 00000000013eb56c 00000600100576c0 0000000000000001
  %l4-7: 0000000000000000 00000000018d8c00 0000000000000001 0000030044ea6000
000002a100573990 genunix:ioctl+16c (3, 5a19, ffbfec88, 0, 30021d915e0, 0)
  %l0-3: 0000000000000003 0000000000000003 0000000000000001 0000000000000000
  %l4-7: 00000000186196db 000000000135bc00 0000000000000000 000000000000

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to