zfsonlinux/zfs — Issue #504: Crash in d_instantiate from zfs_znode_alloc
Author: chrisrd
Created: 2011-12-22 04:11:13+00:00
State: open

I received this with linux 3.0.13, zfs 30a9524e, spl e05bec805:

Dec 22 09:35:40 b5 kernel: [156756.017224] general protection fault: 0000 [#1] SMP
Dec 22 09:35:40 b5 kernel: [156756.017261] CPU 1
Dec 22 09:35:40 b5 kernel: [156756.017268] Modules linked in: stap_99bea90e8794397f903235183adb603f_11_8786 stap_99bea90e8794397f903235183adb603f_1_32162 stap_659896d61e1e69b6afcd114fb1e8414c_25132 stap_fdba7a72a4ed74886864406edae24c1f_23979 ext4 mbcache jbd2 crc16 loop fuse nfsd exportfs zfs(P) zcommon(P) znvpair(P) zavl(P) zunicode(P) spl zlib_deflate sha256_generic aesni_intel cryptd aes_x86_64 aes_generic cbc dm_crypt dm_mod nfs lockd auth_rpcgss nfs_acl sunrpc netconsole configfs bridge stp llc sg sd_mod usbhid hid uhci_hcd mpt2sas psmouse scsi_transport_sas raid_class scsi_mod i2c_i801 i2c_core ioatdma ehci_hcd igb dca button processor thermal_sys
Dec 22 09:35:40 b5 kernel: [156756.017664]
Dec 22 09:35:40 b5 kernel: [156756.017685] Pid: 7962, comm: rsync Tainted: P 3.0.13-otn-00016-g1306024 #1 Supermicro X8DTH-i/6/iF/6F/X8DTH
Dec 22 09:35:40 b5 kernel: [156756.017744] RIP: 0010:[] [] __d_instantiate+0x41/0xd6
Dec 22 09:35:40 b5 kernel: [156756.017798] RSP: 0018:ffff8804396c79b8 EFLAGS: 00010246
Dec 22 09:35:40 b5 kernel: [156756.017825] RAX: ffff88039130cef0 RBX: ffff88039130ce40 RCX: 0000000000000016
Dec 22 09:35:40 b5 kernel: [156756.017869] RDX: 5f623e2d66756226 RSI: ffff880be2425bf8 RDI: ffff88039130ce9c
Dec 22 09:35:40 b5 kernel: [156756.017912] RBP: ffff8804396c79d8 R08: 0000000000000000 R09: ffff8805ccaec4f0
Dec 22 09:35:40 b5 kernel: [156756.017956] R10: 0012008820400000 R11: ffff8804396c7a28 R12: ffff880be2425bf8
Dec 22 09:35:40 b5 kernel: [156756.018000] R13: ffff88039130ce9c R14: ffff8804666d2970 R15: ffff8805ccaec4f0
Dec 22 09:35:40 b5 kernel: [156756.018044] FS: 00007f3dd2d91700(0000) GS:ffff88063fc40000(0000) knlGS:0000000000000000
Dec 22 09:35:40 b5 kernel: [156756.018090] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 22 09:35:40 b5 kernel: [156756.018118] CR2: 00000000083ef000 CR3: 0000000aa5e3d000 CR4: 00000000000006e0
Dec 22 09:35:40 b5 kernel: [156756.018162] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Dec 22 09:35:40 b5 kernel: [156756.018206] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Dec 22 09:35:40 b5 kernel: [156756.018250] Process rsync (pid: 7962, threadinfo ffff8804396c6000, task ffff8805fd5a8000)
Dec 22 09:35:40 b5 kernel: [156756.018295] Stack:
Dec 22 09:35:40 b5 kernel: [156756.018316] 000000004ef25f3c ffff880be2425bf8 ffff88039130ce40 ffff88061327f000
Dec 22 09:35:40 b5 kernel: [156756.018371] ffff8804396c79f8 ffffffff81108493 ffff880be2425bf8 ffff880be2425a50
Dec 22 09:35:40 b5 kernel: [156756.018425] ffff8804396c7bd8 ffffffffa03ba879 00000000000000a8 4cd1b3410000002c
Dec 22 09:35:40 b5 kernel: [156756.018480] Call Trace:
Dec 22 09:35:40 b5 kernel: [156756.018505] [] d_instantiate+0x3a/0x47
Dec 22 09:35:40 b5 kernel: [156756.018568] [] zfs_znode_alloc+0x421/0x493 [zfs]
Dec 22 09:35:40 b5 kernel: [156756.018635] [] zfs_mknode+0xa53/0xaff [zfs]
Dec 22 09:35:40 b5 kernel: [156756.018700] [] zfs_mkdir+0x383/0x48b [zfs]
Dec 22 09:35:40 b5 kernel: [156756.018757] [] zpl_mkdir+0x8f/0xbb [zfs]
Dec 22 09:35:40 b5 kernel: [156756.018787] [] ? generic_permission+0x59/0xa0
Dec 22 09:35:40 b5 kernel: [156756.018816] [] vfs_mkdir+0x5d/0xb5
Dec 22 09:35:40 b5 kernel: [156756.018843] [] sys_mkdirat+0x91/0xe2
Dec 22 09:35:40 b5 kernel: [156756.018871] [] ? vfs_lstat+0x19/0x1b
Dec 22 09:35:40 b5 kernel: [156756.018898] [] ? sys_newlstat+0x1a/0x38
Dec 22 09:35:40 b5 kernel: [156756.018928] [] ? sys_lchown+0x63/0x73
Dec 22 09:35:40 b5 kernel: [156756.018955] [] sys_mkdir+0x13/0x15
Dec 22 09:35:40 b5 kernel: [156756.023977] [] system_call_fastpath+0x16/0x1b
Dec 22 09:35:40 b5 kernel: [156756.024005] Code: 48 83 ec 08 e8 f7 3a 1b 00 4d 85 e4 74 3f 41 f6 44 24 25 08 74 06 81 0b 00 00 02 00 49 8b 94 24 98 00 00 00 48 8d 83 b0 00 00 00
Dec 22 09:35:40 b5 kernel: [156756.024280] RIP [] __d_instantiate+0x41/0xd6
Dec 22 09:35:40 b5 kernel: [156756.024312] RSP
Dec 22 09:35:40 b5 kernel: [156756.024689] ---[ end trace d068ddb4a88ca579 ]---