Re: [uml-devel] [PATCH] Make hostfs_setattr() support operations on closed files.

2007-04-26 Thread Alberto Bertogli
On Tue, Apr 24, 2007 at 11:26:26AM -0300, Alberto Bertogli wrote: > This patch allows hostfs_setattr() to work on closed files by calling > set_attr() (the userspace part) with the inode's fd. > [...] > > fs/hostfs/hostfs.h |4 +- > fs/hostfs/hostfs_kern.c |

Re: [uml-devel] [PATCH] Make hostfs_setattr() support operations on closed files.

2007-04-26 Thread Alberto Bertogli
On Wed, Apr 25, 2007 at 05:51:10PM +0200, Blaisorblade wrote: > On martedì 24 aprile 2007, Alberto Bertogli wrote: > > This patch allows hostfs_setattr() to work on closed files by calling > > set_attr() (the userspace part) with the inode's fd. > > > > Without t

[uml-devel] [PATCH] Make hostfs_setattr() support operations on closed files.

2007-04-24 Thread Alberto Bertogli
chmod() instead of chmod(), fchown() instead of chown()) when an fd is available. Signed-off-by: Alberto Bertogli <[EMAIL PROTECTED]> --- I hit this using hostfs as my root device and trying to do dpkg-reconfigure locales, which called locale-gen which did something like: fd = o

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64

2006-06-13 Thread Alberto Bertogli
On Sun, May 14, 2006 at 03:25:41PM -0300, Alberto Bertogli wrote: > It begins to boot, but panics right after mounting root: > > [42949373.80] kjournald starting. Commit interval 5 seconds > [42949373.80] EXT3-fs: mounted filesystem with ordered data mode. > [42949

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64

2006-05-18 Thread Alberto Bertogli
On Wed, May 17, 2006 at 08:36:40AM +0200, Blaisorblade wrote: > On Wednesday 17 May 2006 04:39, Alberto Bertogli wrote: > > On Tue, May 16, 2006 at 03:12:44PM -0400, Jeff Dike wrote: > > > On Mon, May 15, 2006 at 12:29:58PM -0300, Alberto Bertogli wrote: > > Here it is. Wh

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64

2006-05-17 Thread Alberto Bertogli
On Wed, May 17, 2006 at 08:36:40AM +0200, Blaisorblade wrote: > On Wednesday 17 May 2006 04:39, Alberto Bertogli wrote: > > On Tue, May 16, 2006 at 03:12:44PM -0400, Jeff Dike wrote: > > Here it is. While the patch worked, it was for 2.6.16, and I'm using > > 2.6.1

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64

2006-05-17 Thread Alberto Bertogli
On Wed, May 17, 2006 at 02:12:52PM -0400, Jeff Dike wrote: > On Tue, May 16, 2006 at 11:39:42PM -0300, Alberto Bertogli wrote: > > [42949374.05] Kernel panic - not syncing: Kernel mode fault at addr > > 0x0, ip 0x4000f349 > > Err, there was a rather serious bug in that

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64ync-mailbox>set editor=vim

2006-05-16 Thread Alberto Bertogli
On Tue, May 16, 2006 at 03:12:44PM -0400, Jeff Dike wrote: > On Mon, May 15, 2006 at 12:29:58PM -0300, Alberto Bertogli wrote: > > Sure, here it is: > > (gdb) disas stub_segv_handler > > Sorry, I misread the error message and asked for the wrong thing. > Your UML is s

Re: [uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64

2006-05-16 Thread Alberto Bertogli
On Sun, May 14, 2006 at 11:39:19PM -0400, Jeff Dike wrote: > On Sun, May 14, 2006 at 03:25:41PM -0300, Alberto Bertogli wrote: > > So I copied them from sysdeps/x86_64/jmpbuf-offsets.h, and building went > > on. Probably, the same happens under i386. > > The current patc

[uml-devel] [UML] Problems building and running 2.6.17-rc4 on x86-64

2006-05-14 Thread Alberto Bertogli
Hi! I'm having some problems building and running UML using vanilla 2.6.17-rc4 under x86-64 with glibc 2.4. First of all, it won't build because lack of definitions for some constants in arch/um/os-Linux/sys-x86_64/registers.c. After some digging, I found that these were defined in public setjmp