Marc MERLIN
2014-Feb-24 05:51 UTC
btrfs userland interface isn't 32/64bit clean (breaks lsattr and btrfs send)
I was trying to make sense out of this: gargamel:~# lsattr lsattr: Inappropriate ioctl for device While reading flags on ./satapmtool lsattr: Inappropriate ioctl for device While reading flags on ./usbreset As well as the btrfs send issue I reported: gargamel:/mnt/btrfs_pool1# btrfs send media_ro.20140222_11:12:53 | less At subvol media_ro.20140222_11:12:53 ERROR: send ioctl failed with -25: Inappropriate ioctl for device I was trying to figure out why it was failing on one system while it was working on my other ones with the same kernel. In the end I pinned it down to this: 3.13.5's kernel/userland interface fails if my kernel is 64bit and my userland 32bit. lsattr and btrfs send, and maybe more things fail, but they started working the moment I updated my kernel to 32bit Is this difficult to fix? Do I need to file bugs with some folks, or this mail is enough? Thanks, Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html