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

Zfs on sparc64 #1934

Closed
marku89 opened this issue Dec 6, 2013 · 6 comments
Closed

Zfs on sparc64 #1934

marku89 opened this issue Dec 6, 2013 · 6 comments

Comments

@marku89
Copy link
Contributor

marku89 commented Dec 6, 2013

HI

I after hour of buxfixing i was able to compile the spl and zfs driver !!

But at running: zpool create -f test scsi-350000394b2f89589 scsi-350000394e238052b

i get these
[ 4712.084659] SPL: Loaded module v0.6.2-18_g50a0749
[ 4712.147613] znvpair: module license 'CDDL' taints kernel.
[ 4712.218691] Disabling lock debugging due to kernel taint
[ 4712.389489] ZFS: Loaded module v0.6.2-115_g7292105, ZFS pool version 5000, ZFS filesystem version 5
[ 4872.051649] sdd: sdd1 sdd9
[ 4876.248390] sdc: sdc1 sdc9
[ 4878.591749] SPL: using hostid 0xd55b5052
[ 4897.431339] ZFS: Invalid mode: 0x0
[ 4897.476068] VERIFY(0) failed
[ 4897.513994] SPLError: 18967:0:(zfs_znode.c:340:zfs_inode_set_ops()) SPL PANIC
[ 4897.608025] SPL: Showing stack for process 18967
[ 4897.668747] CPU: 0 PID: 18967 Comm: mount.zfs Tainted: P O 3.12.2-mar #5
[ 4897.768441] Call Trace:
[ 4897.800683] [00000000105ad824] zfs_znode_alloc+0x33c/0x408 [zfs]
[ 4897.880983] [00000000105af554] zfs_zget+0x198/0x1d4 [zfs]
[ 4897.953278] [00000000105a5520] zfs_root+0x48/0x84 [zfs]
[ 4898.023255] [00000000105a5df0] zfs_domount+0x264/0x2ec [zfs]
[ 4898.098985] [00000000105bba18] zpl_fill_super+0xc/0x24 [zfs]
[ 4898.174672] [00000000005170dc] mount_nodev+0x34/0x84
[ 4898.241162] [00000000105bb9fc] zpl_mount+0x1c/0x2c [zfs]
[ 4898.312333] [0000000000517c38] mount_fs+0x60/0x17c
[ 4898.376557] [000000000052cf30] vfs_kern_mount+0x48/0xc0
[ 4898.446539] [000000000052f15c] do_mount+0x78c/0x8f8
[ 4898.511848] [0000000000555338] compat_sys_mount+0x1bc/0x1f4
[ 4898.586329] [0000000000406074] linux_sparc_syscall32+0x34/0x40

@marku89
Copy link
Contributor Author

marku89 commented Dec 6, 2013

and
[ 5481.263110] INFO: task mount.zfs:18967 blocked for more than 120 seconds.
[ 5481.352586] Tainted: P O 3.12.2-mar #5
[ 5481.420288] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 5481.523552] mount.zfs D 00000000105ad824 0 18967 1 0x210000107000084
[ 5481.624444] Call Trace:
[ 5481.656627] [00000000100ad46c] spl_debug_bug+0xd4/0xe4 [spl]
[ 5481.732491] [00000000105ad824] zfs_znode_alloc+0x33c/0x408 [zfs]
[ 5481.812792] [00000000105af554] zfs_zget+0x198/0x1d4 [zfs]
[ 5481.885104] [00000000105a5520] zfs_root+0x48/0x84 [zfs]
[ 5481.955070] [00000000105a5df0] zfs_domount+0x264/0x2ec [zfs]
[ 5482.030798] [00000000105bba18] zpl_fill_super+0xc/0x24 [zfs]
[ 5482.106488] [00000000005170dc] mount_nodev+0x34/0x84
[ 5482.172977] [00000000105bb9fc] zpl_mount+0x1c/0x2c [zfs]
[ 5482.244086] [0000000000517c38] mount_fs+0x60/0x17c
[ 5482.308258] [000000000052cf30] vfs_kern_mount+0x48/0xc0
[ 5482.378163] [000000000052f15c] do_mount+0x78c/0x8f8
[ 5482.443566] [0000000000555338] compat_sys_mount+0x1bc/0x1f4
[ 5482.518072] [0000000000406074] linux_sparc_syscall32+0x34/0x40
[ 5482.596119] INFO: task sync:19018 blocked for more than 120 seconds.
.....

@behlendorf
Copy link
Contributor

There are addition fixes for sparc in #1700 which still need to be cleaned up and merged. It would be helpful if you created a branch with all the fixes needed.

@marku89
Copy link
Contributor Author

marku89 commented Dec 6, 2013

Right, its horrible to jump from patch to patch ... I check it out when its running with the #1700

@marku89 marku89 closed this as completed Dec 6, 2013
@marku89
Copy link
Contributor Author

marku89 commented Dec 6, 2013

So now i have a working branch on sparc ! https://github.com/marku89/spl , https://github.com/marku89/zfs
I will clean up it a little bit so that my changes not harm the normal arches.

@behlendorf
Copy link
Contributor

That would be great. When you're happy with it please go ahead and open a pull request so we can review it.

@behlendorf behlendorf reopened this Dec 6, 2013
@marku89
Copy link
Contributor Author

marku89 commented Dec 8, 2013

Done , pull request for zfs #1938 and for spl openzfs/spl#317

@marku89 marku89 closed this as completed Dec 8, 2013
@behlendorf behlendorf modified the milestone: 0.6.5 Nov 8, 2014
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