Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with AFP Shares #241

Closed
leonsio opened this issue May 13, 2011 · 2 comments
Closed

Problem with AFP Shares #241

leonsio opened this issue May 13, 2011 · 2 comments
Milestone

Comments

@leonsio
Copy link

leonsio commented May 13, 2011

by trying to create a afp(netatalk 2.2b4) share on a ifs volume with rc4

May 13 11:41:00 nas kernel: [741704.568679] ------------[ cut here ]------------
May 13 11:41:00 nas kernel: [741704.568692] kernel BUG at /build/buildd-linux-2.6_2.6.32-31-amd64-vrfdM4/linux-2.6-2.6.32/d
ebian/build/source_amd64_none/fs/dcache.c:1008!
May 13 11:41:00 nas kernel: [741704.568707] invalid opcode: 0000 [#1] SMP 
May 13 11:41:00 nas kernel: [741704.568717] last sysfs file: /sys/devices/pci0000:00/0000:00:18.3/temp1_input
May 13 11:41:00 nas kernel: [741704.568728] CPU 1 
May 13 11:41:00 nas kernel: [741704.568734] Modules linked in: nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs joydev sg st 
sr_mod ide_gd_mod ide_cd_mod ide_core cdrom lp parport_pc parport zfs(P) zcommon(P) znvpair(P) zavl(P) zunicode(P) spl zlib
_deflate loop snd_hda_codec_atihdmi arc4 ecb ath9k snd_hda_codec_realtek radeon mac80211 ath ttm cfg80211 drm_kms_helper rf
kill k10temp pcspkr led_class drm i2c_piix4 i2c_algo_bit evdev i2c_core edac_core edac_mce_amd snd_hda_intel processor snd_
hda_codec snd_hwdep snd_pcm snd_timer shpchp snd soundcore pci_hotplug snd_page_alloc button ext4 mbcache jbd2 crc16 sd_mod
 crc_t10dif ata_generic usb_storage ohci_hcd pata_atiixp ahci r8169 mii xhci libata thermal thermal_sys ehci_hcd scsi_mod u
sbcore nls_base [last unloaded: ppa]
May 13 11:41:00 nas kernel: [741704.568905] Pid: 18955, comm: afpd Tainted: P           2.6.32-5-amd64 #1 To Be Filled By O
.E.M.
May 13 11:41:00 nas kernel: [741704.568917] RIP: 0010:[]  [] d_instantiate+0x16/0x47
May 13 11:41:00 nas kernel: [741704.568938] RSP: 0018:ffff88011c66b7a8  EFLAGS: 00010202
May 13 11:41:00 nas kernel: [741704.568946] RAX: ffff88011c66bce8 RBX: ffff88011c66bc78 RCX: 0000000000000012
May 13 11:41:00 nas kernel: [741704.568956] RDX: 000000000000a3ee RSI: ffff880100fee918 RDI: ffff88011c66bc78
May 13 11:41:00 nas kernel: [741704.568967] RBP: ffff880100fee918 R08: 0000000000000000 R09: ffff88011fc03e00
May 13 11:41:00 nas kernel: [741704.568978] R10: 0000000000000001 R11: ffffffff81152fc6 R12: ffff880100fee7a0
May 13 11:41:00 nas kernel: [741704.568988] R13: ffff88010a272000 R14: 0000000000000000 R15: 0000000000000011
May 13 11:41:00 nas kernel: [741704.569000] FS:  00007fea583d8700(0000) GS:ffff880005480000(0000) knlGS:0000000000000000
May 13 11:41:00 nas kernel: [741704.569011] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 13 11:41:00 nas kernel: [741704.569019] CR2: 00007fff714c4f70 CR3: 000000010b5e8000 CR4: 00000000000006e0
May 13 11:41:00 nas kernel: [741704.569030] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
May 13 11:41:00 nas kernel: [741704.569040] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
May 13 11:41:00 nas kernel: [741704.569052] Process afpd (pid: 18955, threadinfo ffff88011c66a000, task ffff88011f02f810)
May 13 11:41:00 nas kernel: [741704.569063] Stack:
May 13 11:41:00 nas kernel: [741704.569068]  ffff880100fee7a0 ffff88011d166eb0 ffff880100fee918 ffffffffa049fc9a
May 13 11:41:00 nas kernel: [741704.569081] <0> ffff88011c4091a8 0000000000005001 ffff880100fee8c0 0000000000000000
May 13 11:41:00 nas kernel: [741704.569097] <0> 0000000000050008 ffffc90017b97e48 0000000000080001 ffff880100fee880
May 13 11:41:00 nas kernel: [741704.569115] Call Trace:
May 13 11:41:00 nas kernel: [741704.569155]  [] ? zfs_znode_alloc+0x44d/0x4bf [zfs]
May 13 11:41:00 nas kernel: [741704.569191]  [] ? zfs_mknode+0xa66/0xb4d [zfs]
May 13 11:41:00 nas kernel: [741704.569226]  [] ? zfs_make_xattrdir+0x162/0x239 [zfs]
May 13 11:41:00 nas kernel: [741704.569239]  [] ? wake_up_bit+0x11/0x22
May 13 11:41:00 nas kernel: [741704.569273]  [] ? zfs_get_xattrdir+0x11d/0x149 [zfs]
May 13 11:41:00 nas kernel: [741704.569284]  [] ? kvasprintf+0x41/0x68
May 13 11:41:00 nas kernel: [741704.569293]  [] ? kvasprintf+0x5a/0x68
May 13 11:41:00 nas kernel: [741704.569304]  [] ? page_fault+0x25/0x30
May 13 11:41:00 nas kernel: [741704.569337]  [] ? zfs_lookup+0x175/0x2c4 [zfs]
May 13 11:41:00 nas kernel: [741704.569369]  [] ? zpl_xattr_set+0x6b/0x1f9 [zfs]
May 13 11:41:00 nas kernel: [741704.569379]  [] ? _atomic_dec_and_lock+0x33/0x50
May 13 11:41:00 nas kernel: [741704.569411]  [] ? zpl_xattr_user_set+0x6c/0x84 [zfs]
May 13 11:41:00 nas kernel: [741704.569422]  [] ? __vfs_setxattr_noperm+0x3d/0xb1
May 13 11:41:00 nas kernel: [741704.569432]  [] ? vfs_setxattr+0x74/0x8c
May 13 11:41:00 nas kernel: [741704.569441]  [] ? setxattr+0xa7/0xdc
May 13 11:41:00 nas kernel: [741704.569451]  [] ? virt_to_head_page+0x9/0x2a
May 13 11:41:00 nas kernel: [741704.569461]  [] ? user_path_at+0x52/0x79
May 13 11:41:00 nas kernel: [741704.569471]  [] ? vfs_fstatat+0x2c/0x57
May 13 11:41:00 nas kernel: [741704.569480]  [] ? sys_newlstat+0x11/0x30
May 13 11:41:00 nas kernel: [741704.569489]  [] ? sys_setxattr+0x59/0x80
May 13 11:41:00 nas kernel: [741704.569500]  [] ? system_call_fastpath+0x16/0x1b
May 13 11:41:00 nas kernel: [741704.569508] Code: ff ff 66 ff 43 08 48 89 df 48 89 ee 5b 5d 41 5c e9 e8 94 01 00 55 48 8d 4
7 70 48 89 f5 53 48 89 fb 48 83 ec 08 48 39 47 70 74 04 <0f> 0b eb fe 48 c7 c7 00 10 46 81 e8 33 e2 1f 00 48 89 ee 48 89 
May 13 11:41:00 nas kernel: [741704.569599] RIP  [] d_instantiate+0x16/0x47
May 13 11:41:00 nas kernel: [741704.569609]  RSP 
May 13 11:41:00 nas kernel: [741704.569905] ---[ end trace 9c65cb8fe3f7f681 ]---

after it, it is not possible to unmount the ZFS device, only restart helps

@behlendorf
Copy link
Contributor

Are you absolutely sure your running 0.6.0-rc4. This issue looks like a duplicate of issue #202 which was fixed by commit 274b7e7 in 0.6.0-rc4. This bug did exist in 0.6.0-rc3. Please double check your running 0.6.0-rc4 or newer.

@leonsio
Copy link
Author

leonsio commented May 14, 2011

sorry you are right, this was rc3, i have tested it with clean rc4 and it works fine

@leonsio leonsio closed this as completed May 14, 2011
ahrens added a commit to ahrens/zfs that referenced this issue Dec 22, 2020
sdimitro pushed a commit to sdimitro/zfs that referenced this issue May 23, 2022
rkojedzinszky pushed a commit to dravanet/openzfs-zfs that referenced this issue Oct 20, 2024
NAS-129592 / 24.04.2 / [stable/dragonfish] Sync with zfs-2.2.5-staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants