jacobsa/fuse

Support for ppc64le

YiannisGkoufas opened this issue · 6 comments

I was trying to use this library https://github.com/kahing/goofys and getting an error from fuse:

panic: Page size is unexpectedly 65536

goroutine 1 [running]:
github.com/jacobsa/fuse/internal/buffer.init.0()
	/root/gopath/src/github.com/jacobsa/fuse/internal/buffer/in_message.go:33 +0xe4

So I assume it has to do with fuse.
Any hint on what it should change in order to get it working for ppc64le architecture?

Any hints on that one? :(

I would assume you want to update code that's in that file, near that panic. It's checking assumptions for the local code.

In case someone needs it, I had to modify the following:

sed -i 's/4096/65536/g' /root/gopath/src/github.com/jacobsa/fuse/internal/buffer/in_message.go
sed -i 's/17/21/g' /root/gopath/src/github.com/jacobsa/fuse/internal/buffer/in_message_linux.go
sed -i 's/17/21/g' /root/gopath/src/github.com/jacobsa/fuse/internal/buffer/out_message_linux.go

@YiannisGkoufas

I have modified the files according to your changing,but it still doesn't work:

panic: Page size is unexpectedly 65536

goroutine 1 [running]:
github.com/jacobsa/fuse/internal/buffer.init.0()
/root/go/pkg/mod/github.com/kahing/fusego@v0.0.0-20200327063725-ca77844c7bcc/internal/buffer/in_message.go:33 +0xb8

@hongjun0619 check this: datashim-io/datashim#60 - you may have to modify the sed lines a bit.

gaul commented

#102 addressed this.