FWIW, this affects for example the latest www.system-rescue-cd.org as well dated 2nd of April. It boots by default into an amd64 kernel but the btrfs tools are i386. Very much looks like an upstream issue to me and possibly more relevant than one might be tempted to think initially.
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1678645 Title: "btrfs send" returns "Inappropriate ioctl for device" Status in linux package in Ubuntu: Triaged Bug description: It seems I discovered another "Inappropriate ioctl for device" bug when running an amd64 kernel on an i386 system (the first one was bug 1619918). My system is trusty, but I assume later versions and even upstream are affected. Steps to reproduce: - run an amd64 kernel via multi-arch on an i386 system - Try to "btrfs send" or "btrfs receive" a subvolume Result: $ sudo btrfs send /mnt/LTS/snapshots/home-daily-2017-03-16/ -f /tmp/home-daily-2017-03-16.btrfs At subvol /mnt/LTS/snapshots/home-daily-2017-03-16/ ERROR: send ioctl failed with -25: Inappropriate ioctl for device This occurs with 3.13.0-96-generic as well as 3.13.0-114-generic (which fixes bug 1619918). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678645/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp