bugzilla-daemon at defect.opensolaris.org
2008-Apr-02 08:32 UTC
[Bug 950] New: ''zpool import'' panic
http://defect.opensolaris.org/bz/show_bug.cgi?id=950 Summary: ''zpool import'' panic Classification: Development Product: zfs-crypto Version: unspecified Platform: Other OS/Version: Solaris Status: NEW Severity: critical Priority: P2 Component: other AssignedTo: darrenm at opensolaris.org ReportedBy: hua.tang at sun.com QAContact: hua.tang at sun.com CC: zfs-crypto-discuss at opensolaris.org Estimated Hours: 0.0 Build: izick 2008-04-01 [zfscrypto-debug] This panic occurs everytime both on SPARC and x86 when I ran my test case import_encrypt_002. But it''s strange I couldn''t reproduce it step by step manually. This test case is to test: If the key file doesn''t exist or the entered in key isn''t correct during importing, the encrypted datasets will not be mounted, while the unencrypted ones will be mounted. Please take a look it. The test machine is data16.sfbay. I just leave it as panic. panic[cpu1]/thread=3003aac8a40: assertion failed: offset < dn->dn_datablksz (0x200 < 0x0), file: ../../common/fs/zfs/dbuf.c, line: 416 000002a104044f60 genunix:assfail3+98 (7b301378, 200, 7b3010c0, 0, 7b300ef8, 1a0) %l0-3: 0000000000000007 000003003aac8be0 0000000000000000 00000000018a2000 %l4-7: 0000000000000000 0000000001853800 000000000135ec00 0000000000000000 000002a104045020 zfs:dbuf_whichblock+44 (3001a5df420, 200, 0, 0, 7b300c00, 7b301000) %l0-3: 0000000000000000 00000300436ff400 0000000000362133 0000000000362132 %l4-7: 00000000fffffffe 0000000000000000 00000300436ff400 0000000000000000 000002a1040450d0 zfs:dnode_hold_impl+50 (600100d1c00, 1, 1, 7b2f7f30, 2a104045238, 3001a5df420) %l0-3: 000000007b2f8c00 000000007b2f8f72 0000000000000000 00000000f4eef4ee %l4-7: 0000000001345c00 0000000001359400 0000000000000018 0000000001345c00 000002a104045180 zfs:dmu_buf_hold+14 (600100d1c30, 1, 0, 0, 2a104045320, 7b2f7c00) %l0-3: 0000000000000001 0000000000000001 000003000b041d80 0000000000000000 %l4-7: 000003000b041d58 0000000000000060 000000007b297000 0000000000000078 000002a104045240 zfs:zap_lockdir+20 (600100d1c30, 1, 0, 1, 1, 0) %l0-3: 0000000000000000 000002a1040453e8 0000000000000000 0000000000000000 %l4-7: 00000000fffffffe 0000000000000000 00000300436ff400 0000000000000001 000002a104045330 zfs:zap_lookup_norm+40 (0, 0, 7b307908, 8, 1, 300182b82a0) %l0-3: 0000000000200600 0000000000000000 00000000700b6d28 00000000700ba400 %l4-7: 000000007b2ff400 000002a1040453e8 0000000000000000 0000000000000000 000002a104045410 zfs:zap_lookup+28 (600100d1c30, 1, 7b307908, 8, 1, 300182b82a0) %l0-3: 00000600100d1cf0 00000600100d1c00 0000000000000004 00000600100d1c70 %l4-7: 0000000000000003 00000000000000a8 0000000000000060 0000000000000030 000002a1040454e0 zfs:dsl_pool_open+60 (0, 7b307800, 30004fec0f8, 600100d1c00, 300182b8448, 300182b8280) %l0-3: 0000000000000001 0000000000000000 00000000700b4cb8 000002a104045588 %l4-7: 000006001069e2c8 000000007b311000 00000300190edc50 0000000000000013 000002a1040455a0 zfs:spa_load+334 (30004fec040, 300190ed9c8, 3, 1, b, bab10c) %l0-3: 0000000000000000 0000000000000001 000000007b2fa389 0000000001819c00 %l4-7: 0000030004fec2f8 000000007b309000 e025d2c0b0b05d9c 0000030004fec2f8 000002a1040456a0 zfs:spa_tryimport+84 (300162ea1a0, 310, 700bcc00, 1, 30004fec040, 0) %l0-3: 000000000184da34 0000000000000001 000000000110b440 000000000110b4f0 %l4-7: 000000000110b400 0000000000000000 0000000000000000 0000000000000000 000002a104045760 zfs:zfs_ioc_pool_tryimport+2c (3006e4fa000, 30019221a40, 0, ffbfa088, 0, 0) %l0-3: 0000000000060938 00000000ffbf9048 000003006e4fa000 0000000000001050 %l4-7: 000000000138b01c 0000000000000000 0000000000000000 00000000013899c4 000002a104045820 zfs:zfsdev_ioctl+1c4 (7b2e35f8, 700b5a60, ffbf9048, 1000, 30019221a40, 3006e4fa000) %l0-3: 0000000000000090 00000000700b5a68 00000000700b5800 0000000000000012 %l4-7: 0000000000000006 0000000000000018 0000000000000000 00000000700b5a70 000002a1040458d0 genunix:fop_ioctl+58 (60010446f00, 5a06, ffbf9048, 100003, 0, 2a104045adc) %l0-3: 00000000000000c0 000000000139556c 0000030005818080 0000000000000000 %l4-7: 0000000000000000 00000000018d8c00 0000000000000001 000003006e4e7000 000002a104045990 genunix:ioctl+16c (3, 5a06, ffbf9048, b0b05d9c, 3001ae58640, 103e08) %l0-3: 0000000000000003 0000000000000003 0000000000000001 0000000000000000 %l4-7: 000000001e848d18 000000000135ac00 0000000000000000 0000000000000000 panic: entering debugger (continue to save dump) Type ''go'' to resume {1} ok -- 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.
bugzilla-daemon at defect.opensolaris.org
2008-Apr-10 02:25 UTC
[Bug 950] ''zpool import'' panic
http://defect.opensolaris.org/bz/show_bug.cgi?id=950 --- Comment #1 from Grace <hua.tang at sun.com> 2008-04-09 19:25:57 --- Unless I get the new bits includes fix of 1055, I am not able to verify this bug. I''ll verify it once I get the new bits. -- 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.
bugzilla-daemon at defect.opensolaris.org
2008-May-02 15:48 UTC
[Bug 950] ''zpool import'' panic
http://defect.opensolaris.org/bz/show_bug.cgi?id=950 Darren J Moffat <darrenm at opensolaris.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|darrenm at opensolaris.org |hua.tang at sun.com --- Comment #2 from Darren J Moffat <darrenm at opensolaris.org> 2008-05-02 08:48:11 --- I can''t reproduce this please verify it still exits. -- 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.
bugzilla-daemon at defect.opensolaris.org
2008-May-06 07:44 UTC
[Bug 950] ''zpool import'' panic
http://defect.opensolaris.org/bz/show_bug.cgi?id=950 --- Comment #3 from Grace <hua.tang at sun.com> 2008-05-06 00:44:38 --- It still exists. NOTICE: zio_read_decrypt: called with crypt = ZIO_CRYPT_OFF on objset = 0 panic[cpu1]/thread=30007bd5ae0: assertion failed: offset < dn->dn_datablksz (0x200 < 0x0), file: ../../common/fs/zfs/dbuf.c, line: 416 000002a10031ef60 genunix:assfail3+98 (7b30c1c8, 200, 7b30bf10, 0, 7b30bd48, 1a0) %l0-3: 0000000000000007 0000030007bd5c80 0000000000000000 00000000018a2400 %l4-7: 0000000000000000 0000000001853800 0000000001361000 0000000000000000 000002a10031f020 zfs:dbuf_whichblock+44 (30009d65a48, 200, 0, 0, 7b30bc00, 7b30bc00) %l0-3: 0000000000000000 000003000c51a000 0000000000208d4e 0000000000208d4d %l4-7: 00000000fffffffe 0000000000000000 000003000c51a000 0000000000000000 000002a10031f0d0 zfs:dnode_hold_impl+50 (6001050c200, 1, 1, 7b3029d8, 2a10031f238, 30009d65a48) %l0-3: 000000007b303800 000000007b303a28 0000000000000000 00000000f4eef4ee %l4-7: 0000000001348000 000000000135b800 0000000000000018 0000000001348000 000002a10031f180 zfs:dmu_buf_hold+14 (6001050c230, 1, 0, 0, 2a10031f320, 7b302800) %l0-3: 0000000000000002 0000000000000002 000003000b513d80 0000000000000000 %l4-7: 000003000b513d58 0000000000000060 000000007b29f800 0000000000000078 000002a10031f240 zfs:zap_lockdir+20 (6001050c230, 1, 0, 1, 1, 0) %l0-3: 0000000000000000 000002a10031f3e8 0000000000000000 0000000000000000 %l4-7: 00000000fffffffe 0000000000000000 000003000c51a000 0000000000000001 000002a10031f330 zfs:zap_lookup_norm+40 (0, 0, 7b312758, 8, 1, 60010798020) %l0-3: 0000000000200600 0000000000000000 00000000700b7e10 00000000700ba400 %l4-7: 000000007b30a400 000002a10031f3e8 0000000000000000 0000000000000000 000002a10031f410 zfs:zap_lookup+28 (6001050c230, 1, 7b312758, 8, 1, 60010798020) %l0-3: 000006001050c2f0 000006001050c200 0000000000000004 000006001050c270 %l4-7: 0000000000000003 00000000000000a8 0000000000000060 0000000000000030 000002a10031f4e0 zfs:dsl_pool_open+60 (0, 7b312400, 30004ff0778, 6001050c200, 60010798218, 60010798000) %l0-3: 0000000000000001 0000000000000000 00000000700b4d30 000002a10031f588 %l4-7: 0000060010942b78 000000007b31c400 0000060010863358 0000000000000013 000002a10031f5a0 zfs:spa_load+334 (30004ff06c0, 600108630d0, 3, 1, b, bab10c) %l0-3: 0000000000000000 0000000000000001 000000007b304ec0 0000000001819c00 %l4-7: 0000030004ff0978 000000007b314000 28a78858988baff5 0000030004ff0978 000002a10031f6a0 zfs:spa_tryimport+7c (3001a373098, 328, 2a10031f818, 1, 30018a1b440, 7b314c00) %l0-3: 0000030004ff06c0 0000000000000001 000000000110bd60 000000000110be10 %l4-7: 000000000110bc00 0000000000000000 0000000000000000 0000000000000000 000002a10031f760 zfs:zfs_ioc_pool_tryimport+2c (3004813e000, 30018f0d608, 0, ffbfa168, 0, 0) %l0-3: 0000000000063848 00000000ffbf9128 000003004813e000 0000000000001050 %l4-7: 000000000138d51c 0000000000000000 0000000000000000 000000000138bec4 000002a10031f820 zfs:zfsdev_ioctl+1c4 (7b2ec930, 700b5b48, ffbf9128, 1000, 30018f0d608, 3004813e000) %l0-3: 0000000000000090 00000000700b5b50 00000000700b5800 0000000000000012 %l4-7: 0000000000000006 0000000000000018 0000000000000000 00000000700b5b58 000002a10031f8d0 genunix:fop_ioctl+58 (6001047b240, 5a06, ffbf9128, 100003, 0, 2a10031fadc) %l0-3: 00000000000000c0 00000000013975cc 0000060010055c00 0000000000000001 %l4-7: 0000000000000000 00000000018d9000 0000000000000001 00000300480fb000 000002a10031f990 genunix:ioctl+16c (3, 5a06, ffbf9128, 328, 3002f8bea00, 75dfc) %l0-3: 0000000000000003 0000000000000003 0000000000000001 0000000000000000 %l4-7: 0000000022706706 000000000135d000 0000000000000000 0000000000000000 -- 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.
bugzilla-daemon at defect.opensolaris.org
2008-May-07 23:26 UTC
[Bug 950] ''zpool import'' panic
http://defect.opensolaris.org/bz/show_bug.cgi?id=950 --- Comment #4 from Grace <hua.tang at sun.com> 2008-05-07 16:26:28 --- I used the latest builds 2008-05-06. The panic happened each time running the test case import_encrypt_001. -- 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.
bugzilla-daemon at defect.opensolaris.org
2008-May-12 08:50 UTC
[Bug 950] ''zpool import'' panic
http://defect.opensolaris.org/bz/show_bug.cgi?id=950 --- Comment #5 from Grace <hua.tang at sun.com> 2008-05-12 01:50:24 --- Build: 2008-05-09 zfs_set_keysource_001 causes this panic. -- 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.
bugzilla-daemon at defect.opensolaris.org
2008-May-27 16:57 UTC
[Bug 950] ''zpool import'' panic
http://defect.opensolaris.org/bz/show_bug.cgi?id=950 Darren J Moffat <darrenm at opensolaris.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |darrenm at opensolaris.org Status|NEW |INCOMPLETE --- Comment #6 from Darren J Moffat <darrenm at opensolaris.org> 2008-05-27 09:57:27 --- Is this still reproducible ? I suspect this is actually a symptom panic of other things that are now fixed. -- 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.
bugzilla-daemon at defect.opensolaris.org
2008-May-28 03:59 UTC
[Bug 950] ''zpool import'' panic
http://defect.opensolaris.org/bz/show_bug.cgi?id=950 --- Comment #7 from Grace <hua.tang at sun.com> 2008-05-27 20:59:45 --- I just reproduced it by running test case tests/encryption/fs_encrypt_001. The test machine is data16.sfbay. Core dumps are /var/crash/data16/*.18. # cd /var/crash/data16 # mdb -k *.18 Loading modules: [ unix genunix specfs dtrace ufs scsi_vhci sd pcisch ip hook neti sctp arp usba fctl nca lofs zfs cpc random nfs fcip logindmux ptm nsctl sppp ]> $cvpanic(1361340, 7b30d450, 200, 7b30d198, 0, 7b30cfd0) assfail3+0x98(7b30d450, 200, 7b30d198, 0, 7b30cfd0, 1a0) dbuf_whichblock+0x44(60010e1c360, 200, 0, 0, 7b30cc00, 7b30d000) dnode_hold_impl+0x50(60011d45a00, 1, 1, 7b303b50, 2a100c21238, 60010e1c360) dmu_buf_hold+0x14(60011d45a30, 1, 0, 0, 2a100c21320, 7b303800) zap_lockdir+0x20(60011d45a30, 1, 0, 1, 1, 0) zap_lookup_norm+0x40(0, 0, 7b3139c0, 8, 1, 60010b1ca20) zap_lookup+0x28(60011d45a30, 1, 7b3139c0, 8, 1, 60010b1ca20) dsl_pool_open+0x60(0, 7b313800, 30004ff0778, 60011d45a00, 60010b1cc18, 60010b1ca00) spa_load+0x334(30004ff06c0, 60010879a20, 3, 1, b, bab10c) spa_tryimport+0x7c(60011230940, 308, 2a100c21818, 1, 60010edf840, 7b316000) zfs_ioc_pool_tryimport+0x2c(30033694000, 60011a85890, 0, ffbf9e48, 0, 0) zfsdev_ioctl+0x1c4(7b2ed9cc, 700b5ba8, ffbf8e08, 1000, 60011a85890, 30033694000 ) fop_ioctl+0x58(60010411400, 5a06, ffbf8e08, 100003, 0, 2a100c21adc) ioctl+0x16c(3, 5a06, ffbf8e08, 308, 6001198bae0, 77c64) syscall_trap32+0x1e8(3, 5a06, ffbf8e08, 308, c1a88, 77c64)>-- 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.
bugzilla-daemon at defect.opensolaris.org
2008-Jun-11 05:01 UTC
[Bug 950] ''zpool import'' panic
http://defect.opensolaris.org/bz/show_bug.cgi?id=950 --- Comment #8 from Grace <hua.tang at sun.com> 2008-06-10 22:01:07 --- tests/functional/slog/slog_007_pos panics with the same stack trace. -- 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.
bugzilla-daemon at defect.opensolaris.org
2008-Jun-26 18:20 UTC
[Bug 950] ''zpool import'' panic
http://defect.opensolaris.org/bz/show_bug.cgi?id=950 Darren J Moffat <darrenm at opensolaris.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Alias| |BUGSTER:6719756 Status|INCOMPLETE |CLOSED Resolution| |TRACKEDINBUGSTER --- Comment #9 from Darren J Moffat <darrenm at opensolaris.org> 2008-06-26 11:20:18 --- BUGSTER:6719756 -- 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.
bugzilla-daemon at defect.opensolaris.org
2008-Sep-22 06:09 UTC
[Bug 950] ''zpool import'' panic
http://defect.opensolaris.org/bz/show_bug.cgi?id=950 David Comay <David.Comay at Sun.COM> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |BugsterCR=6719756 CC| |David.Comay at Sun.COM -- 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.