fuse icon indicating copy to clipboard operation
fuse copied to clipboard

Support for ppc64le

Open YiannisGkoufas opened this issue 7 years ago • 5 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?

YiannisGkoufas avatar Sep 13 '18 17:09 YiannisGkoufas

Any hints on that one? :(

YiannisGkoufas avatar Sep 19 '18 09:09 YiannisGkoufas

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

jacobsa avatar Sep 19 '18 16:09 jacobsa

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 avatar Oct 08 '18 08:10 YiannisGkoufas

@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/[email protected]/internal/buffer/in_message.go:33 +0xb8

e8-HongJunLiu avatar Sep 16 '21 07:09 e8-HongJunLiu

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

VassilisVassiliadis avatar Oct 26 '21 14:10 VassilisVassiliadis

#102 addressed this.

gaul avatar Dec 22 '22 05:12 gaul