linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs userland interface isn't 32/64bit clean (breaks lsattr and btrfs send)
@ 2014-02-24  5:51 Marc MERLIN
  2014-02-24  6:32 ` Duncan
  0 siblings, 1 reply; 5+ messages in thread
From: Marc MERLIN @ 2014-02-24  5:51 UTC (permalink / raw)
  To: linux-btrfs

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/  

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-25  6:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-24  5:51 btrfs userland interface isn't 32/64bit clean (breaks lsattr and btrfs send) Marc MERLIN
2014-02-24  6:32 ` Duncan
2014-02-24  8:29   ` Hugo Mills
2014-02-24  8:43     ` Duncan
2014-02-25  6:51       ` Marc MERLIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).