xfs
[Top] [All Lists]

Re: xfs compat_ioctl?

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: xfs compat_ioctl?
From: Tim Walberg <twalberg@xxxxxxxxxxx>
Date: Mon, 31 Aug 2009 13:37:51 -0500
Cc: Michael Tokarev <mjt@xxxxxxxxxx>, Linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20090831123010.GA2368@xxxxxxxxxxxxx>
Mail-followup-to: Tim Walberg <twalberg@xxxxxxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, Michael Tokarev <mjt@xxxxxxxxxx>, Linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
References: <4A9B759B.7020401@xxxxxxxxxxxxxxxx> <20090831123010.GA2368@xxxxxxxxxxxxx>
Reply-to: Tim Walberg <twalberg@xxxxxxxxxxx>
User-agent: Mutt/1.5.16 (2007-06-09)
I still get these on 2.6.30.4 on sparc64 (32-bit userspace a la Debian etch):

sparcy:~# uname -a
Linux sparcy 2.6.30.4-sparcy #2 Sat Aug 1 21:14:46 CDT 2009 sparc64 GNU/Linux
sparcy:~# file $(which xfs_fsr)
/usr/sbin/xfs_fsr: ELF 32-bit MSB executable, SPARC32PLUS, V8+ Required, 
version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, 
stripped
sparcy:~# dmesg | grep xfs | tail -5
[62457.467755] ioctl32(xfs_fsr:18816): Unknown cmd fd(7) 
cmd(c0a8586d){t:'X';sz:168} arg(00028e30) on /export
[62473.400273] ioctl32(xfs_fsr:18816): Unknown cmd fd(7) 
cmd(c0a8586d){t:'X';sz:168} arg(00028e30) on /export
[62481.928844] ioctl32(xfs_fsr:18816): Unknown cmd fd(7) 
cmd(c0a8586d){t:'X';sz:168} arg(00028e30) on /export
[62486.304567] ioctl32(xfs_fsr:18816): Unknown cmd fd(7) 
cmd(c0a8586d){t:'X';sz:168} arg(00028e30) on /export
[62490.833736] ioctl32(xfs_fsr:18816): Unknown cmd fd(7) 
cmd(c0a8586d){t:'X';sz:168} arg(00028e30) on /export

Haven't tried rolling my own xfs_progs binaries yet. xfs_db also fails with
a "Bus error" immediately on startup, but that may be a completely different
issue...



                                tw




On 08/31/2009 08:30 -0400, Christoph Hellwig wrote:
>>      On Mon, Aug 31, 2009 at 11:02:51AM +0400, Michael Tokarev wrote:
>>      > Hello!
>>      >
>>      > I tried to resize an xfs filesystem on 64bit 2.6.30 kernel
>>      > using 32bit userland, and that does not work, in dmesg I see:
>>      >
>>      > ioctl32(xfs_growfs:24426): Unknown cmd fd(3) 
>> cmd(400c586e){t:'X';sz:12} arg(ffa56df4) on /mnt
>>      > ioctl32(xfs_growfs:24427): Unknown cmd fd(3) 
>> cmd(400c586e){t:'X';sz:12} arg(ff991254) on /mnt
>>      >
>>      > so apparently there's no compat_ioctl layer for these ioctls.
>>      >
>>      > Are there any plans to add these? :)
>>      
>>      Are you sure you're testing 2.6.30?  The copat ioctls were added in
>>      2.6.28.
>>      --
>>      To unsubscribe from this list: send the line "unsubscribe linux-kernel" 
>> in
>>      the body of a message to majordomo@xxxxxxxxxxxxxxx
>>      More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>      Please read the FAQ at  http://www.tux.org/lkml/
End of included message



-- 
+----------------------+
| Tim Walberg          |
| 830 Carriage Dr.     |
| Algonquin, IL 60102  |
| twalberg@xxxxxxxxxxx |
+----------------------+

Attachment: pgp74QV7AMeug.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>