Re: [uml-devel] [PATCH 2/3] UML - Limit request size on COWed devices

2007-07-13 Thread Nix
On 13 Jul 2007, Jeff Dike outgrape: > On Fri, Jul 13, 2007 at 08:00:13PM +0100, Nix wrote: >> This feels like a -stable candidate to me. > > Right you are - that's the first place I sent it. Ah. So, first I report a bug two days *after* you post a fix, and then I recommend you send it somewhere y

Re: [uml-devel] [PATCH 2/3] UML - Limit request size on COWed devices

2007-07-13 Thread Jeff Dike
On Fri, Jul 13, 2007 at 08:00:13PM +0100, Nix wrote: > This feels like a -stable candidate to me. Right you are - that's the first place I sent it. Jeff -- Work email - jdike at linux dot intel dot com

Re: [uml-devel] [PATCH 2/3] UML - Limit request size on COWed devices

2007-07-13 Thread Nix
On 13 Jul 2007, Jeff Dike uttered the following: > COWed devices can't handle more than 32 (64 on x86_64) sectors in one > request due to the size of the bitmap being carried around in the > io_thread_req. This feels like a -stable candidate to me. ---

Re: [uml-devel] link failure, multiple definition of 'in6addr_any'

2007-07-13 Thread Jeff Dike
On Fri, Jul 13, 2007 at 07:09:15PM +0100, Antoine Martin wrote: > Works for me (tm) OK. > btw, if you're in bug squashing mode, I always am (or if not, someone needs to give me a good kick in the rump). > I've got one which is 100% > reproducible - looks like a resource leak to me: simply run

Re: [uml-devel] ARCH=um SUBARCH=i386 breakage?

2007-07-13 Thread Jeff Dike
On Fri, Jul 13, 2007 at 06:41:24PM +0100, Antoine Martin wrote: > >Could you check this there by seeing if something like this builds > >(with user.h removed): > > > >#include > > > >int main(void){ > > printf("%d %d\n", sizeof(elf_fpregset_t), sizeof(elf_fpxregset_t)); > > > My kernel heade

Re: [uml-devel] link failure, multiple definition of 'in6addr_any'

2007-07-13 Thread Antoine Martin
Jeff Dike wrote: > On Fri, Jul 13, 2007 at 12:05:28PM +0100, Antoine Martin wrote: > >> /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libc.a(in6_addr.o):(.rodata+0x0): >> >> multiple definition of `in6addr_any' >> net/built-in.o:(.rodata+0x5380): first defined here >> collect2: ld r

Re: [uml-devel] ARCH=um SUBARCH=i386 breakage?

2007-07-13 Thread Antoine Martin
Jeff Dike wrote: > On Fri, Jul 13, 2007 at 01:03:21PM +0100, Antoine Martin wrote: > >> I had updated the kernel headers and these include files have been removed. >> Until UML uses some other trick, this works for me for the 64-bit build: >> >> cp /usr/src/linux-2.6.22.1/include/asm/user.h /usr

Re: [uml-devel] link failure, multiple definition of 'in6addr_any'

2007-07-13 Thread Jeff Dike
On Fri, Jul 13, 2007 at 12:05:28PM +0100, Antoine Martin wrote: > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libc.a(in6_addr.o):(.rodata+0x0): > > multiple definition of `in6addr_any' > net/built-in.o:(.rodata+0x5380): first defined here > collect2: ld returned 1 exit status I hate

Re: [uml-devel] ARCH=um SUBARCH=i386 breakage?

2007-07-13 Thread Jeff Dike
On Fri, Jul 13, 2007 at 01:03:21PM +0100, Antoine Martin wrote: > I had updated the kernel headers and these include files have been removed. > Until UML uses some other trick, this works for me for the 64-bit build: > > cp /usr/src/linux-2.6.22.1/include/asm/user.h /usr/include/asm/user.h > cp /u

[uml-devel] [PATCH 1/3] UML - Export hostfs symbols

2007-07-13 Thread Jeff Dike
Add some exports for hostfs that are required after Alberto Bertogli's fixes for accessing unlinked host files. Also did some style cleanups while I was here. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/os-Linux/user_syms.c | 20 1 file changed, 8 insertions(+)

[uml-devel] [PATCH 2/3] UML - Limit request size on COWed devices

2007-07-13 Thread Jeff Dike
COWed devices can't handle more than 32 (64 on x86_64) sectors in one request due to the size of the bitmap being carried around in the io_thread_req. Enforce that by telling the block layer not to put too many sectors in requests to COWed devices. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --

[uml-devel] [PATCH 3/3] UML - Remove dead file

2007-07-13 Thread Jeff Dike
I forgot this file was here. It hasn't been used since UML has been in mainline. Thanks to Jesper for finding something that needed doing to it, thus reminding me of its existence. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/config.release | 333

Re: [uml-devel] block layer request length increases break 2.6.22.* COW ubd

2007-07-13 Thread Antoine Martin
> Here, have a skas-v9-pre9 patch forward-ported to 2.6.22 in restitution > of my idiocy. > > (The 2.6.20 patch, the most recent I could find, collided with paravirt > and the header-inclusion reduction work. My fix to the latter is > especially ugly, since it means that is including > and agai

Re: [uml-devel] ARCH=um SUBARCH=i386 breakage?

2007-07-13 Thread Antoine Martin
I had updated the kernel headers and these include files have been removed. Until UML uses some other trick, this works for me for the 64-bit build: cp /usr/src/linux-2.6.22.1/include/asm/user.h /usr/include/asm/user.h cp /usr/src/linux-2.6.22.1/include/asm/page.h /usr/include/asm/page.h cp /usr/s

[uml-devel] ARCH=um SUBARCH=i386 breakage?

2007-07-13 Thread Antoine Martin
# make ARCH=um SUBARCH=i386 scripts/kconfig/conf -s arch/um/Kconfig net/bluetooth/hidp/Kconfig:4:warning: 'select' used by config symbol 'BT_HIDP' refers to undefined symbol 'HID' SYMLINK arch/um/include/kern_constants.h SYMLINK include/asm-um/arch SYMLINK arch/um/include/sysdep

[uml-devel] link failure, multiple definition of 'in6addr_any'

2007-07-13 Thread Antoine Martin
CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 arch/um/drivers/built-in.o: In function `pcap_nametoaddrinfo': (.text+0x1143f): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linki