I compiled kernel 4.10 and I can confirm it is working fnie now. 4.10 has the compat-ioctl patches for btrfs progs to work with x86_64 kernel in i386 userland. thanks to all On Sun, Feb 26, 2017 at 2:10 AM, Hans van Kranenburg <hans.van.kranenburg@xxxxxxxxxx> wrote: > On 02/25/2017 08:30 PM, Bhasker C V wrote: >> Hi all, >> >> I have an x86_64 kernel running with i386 userland rootfs. > > Which kernel version? (`uname -a`) The old 4.9.0 did not I today got 4.10 kernel and found that it is all fine. The compat-ioctl does the trick. > >> Long back I believe there were some fixes for btrfs-tools which ran >> smoothly in this setup but after several dist-upgrades(debian) and >> long forgotten command, the btrfs-tools commands have started to fail > > Which btrfs progs version? (`btrfs version`) > btrfs-progs (master) >> for instance >> >> $ sudo btrfs fi sync . >> ERROR: sync ioctl failed on '.': Inappropriate ioctl for device >> $ >> >> Is there any fix for this ? I downloaded the git master branch and it >> too seems to suffer from this issue. > > Maybe this is relevant here: > https://www.spinics.net/lists/linux-btrfs/msg62692.html > > -- > Hans van Kranenburg -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
