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

           Summary: panic: change key from keyscope dataset to pool
    Classification: Development
           Product: zfs-crypto
           Version: unspecified
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P3
         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


This probably needs key change for pools to work to be functional..nevertheless
it's a test case..

After fixing 943 (zfs key -c, out of memory) and fixing a problem where
changing the keysource still asked for key data, i got a panic on the below...

tank/enc  keysource        passphrase,prompt      local
tank/enc  keyscope         dataset                local

bash-3.2# zfs key -c -o keyscope=pool tank/enc
salt= 0
keydata=
keysource=
dataset name=tank/enc

panic[cpu0]/thread=2a10092dca0: BAD TRAP: type=31 rp=2a10092d200 addr=0
mmu_fsr=0 occurred in module "zfs" due to a NULL pointer dereference

sched: trap type = 0x31
pid=0, pc=0x7b336550, sp=0x2a10092caa1, tstate=0x4480001607, context=0x0
g1-g7: 6001141a030, 400, 6001141a000, 200, 200, 50c, 2a10092dca0

000002a10092cf20 unix:die+80 (10ff800, 2a10092d200, 0, 0, 180e000, 1)
000002a10092d000 unix:trap+b30 (2a10092d200, c0580000, 31, 1, 1c00, 5)
000002a10092d150 unix:ktl0+48 (200, fd, e, 38, 3c00, ffffffffaaaaaaab)
000002a10092d2a0 55555400 (8, 0, 9, e, 15, 26a)
000002a10092d350 zfs:zap_leaf_array_create+b8 (600105e67c0, 0, 8, 1, 38, fb)
000002a10092d410 zfs:zap_entry_update+f8 (30c30c00, 12, 12, 0, 0, 8)
000002a10092d4c0 zfs:fzap_update+140 (600105261c0, 7b380800, 1, 0, 60010309c40,
0)
000002a10092d5b0 zfs:zap_update+90 (0, 20, 7b385a58, 8, 1, 0)
000002a10092d680 zfs:dsl_prop_set_sync+e4 (60010e4fa00, 2a10054f688,
6001121f890, 60010309c40, 20, 600106c8940)
000002a10092d770 zfs:dsl_sync_task_group_sync+11c (60011325198, 60010309c40,
7b319200, 60010463a50, 1, 0)
000002a10092d830 zfs:dsl_pool_sync+ec (600106c8940, 4ccd, 60010694800,
7b37af98, 60010309c40, 60010694830)
000002a10092d8e0 zfs:spa_sync+200 (6001012ad80, 4ccd, 0, 7b37adf8, 6001012aed0,
7b37af98)
000002a10092d9b0 zfs:txg_sync_thread+190 (600106c8940, 4ccd, 7b36ccd4,
7b37e038, 700b49b4, 2a10092da70)


This then causes a really bad scenario where you can't boot the machine and
even after doing a 'zpool destroy tank' in single user mode, it still panics.. 
I'm now having to reinstall the BE.. :)

NIS domain name is mpklab.sfbay.sun.com
Reading ZFS config: -
panic[cpu0]/thread=3000a7e4ba0: assertion failed: za.za_integer_length == 8
(0x4 == 0x8), file: ../../common/fs/zfs/dsl_prop.c, line: 512

000002a1006d33a0 genunix:assfail3+98 (7b37a000, 4, 7b379e08, 8, 7b379d60, 200)
000002a1006d3460 zfs:dsl_prop_get_all+224 (0, 2a1006d3810, 0, 2a1006d3530,
2a1006d3518, 2a1006d3630)
000002a1006d3760 zfs:zfs_ioc_objset_stats+44 (3000d2a2000, 0, aca48, 0,
3000d2a2000, 0)
000002a1006d3820 zfs:zfsdev_ioctl+1c4 (7b355b28, 700b5a60, ffbfc950, 1000,
60010003520, 3000d2a2000)

-- 
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