Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Rob Landley
On Wednesday 16 November 2005 23:26, Jeff Dike wrote: On Wed, Nov 16, 2005 at 06:11:38PM -0600, Rob Landley wrote: Sure: make: *** [arch/um/kernel-offsets.s] Error 1 Sorry, I forgot this was x86_64. Try the patches up to tt-options - the tls stuff doesn't build on x86_64 yet. Jeff

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Rob Landley
On Wednesday 16 November 2005 23:26, Jeff Dike wrote: On Wed, Nov 16, 2005 at 06:11:38PM -0600, Rob Landley wrote: Sure: make: *** [arch/um/kernel-offsets.s] Error 1 Sorry, I forgot this was x86_64. Try the patches up to tt-options - the tls stuff doesn't build on x86_64 yet. Jeff

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Jeff Dike
On Thu, Nov 17, 2005 at 07:16:46AM -0600, Rob Landley wrote: is what I had to apply to 2.6.15-rc1 to get that to work). I think that included tls, but since the target system doesn't use it I don't know. OK, well your recipe results in this $ grep MODE obj1/.config # CONFIG_MODE_TT is not

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Rob Landley
On Thursday 17 November 2005 10:37, Jeff Dike wrote: On Thu, Nov 17, 2005 at 07:16:46AM -0600, Rob Landley wrote: is what I had to apply to 2.6.15-rc1 to get that to work). I think that included tls, but since the target system doesn't use it I don't know. OK, well your recipe results in

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Jeff Dike
On Thu, Nov 17, 2005 at 08:46:55AM -0600, Rob Landley wrote: What do you want dumps of? (Keep in mind this is straight -rc1. The usual disassembly. Jeff --- This SF.Net email is sponsored by the JBoss Inc.

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Jeff Dike
On Thu, Nov 17, 2005 at 09:58:17AM -0600, Rob Landley wrote: That means you didn't get the uml-miniconf I attached to my message copied into allno.config in the source directory. I did, I think. I followed your recipe. I didn't notice your miniconf was setting CONFIG_MODE_SKAS=y. I need to

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Jeff Dike
On Thu, Nov 17, 2005 at 09:58:17AM -0600, Rob Landley wrote: That means you didn't get the uml-miniconf I attached to my message copied into allno.config in the source directory. (Did I typo my script?) Figured it out. When you do a O= build, the allno.config has to be in the object

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Jeff Dike
On Wed, Nov 16, 2005 at 06:11:38PM -0600, Rob Landley wrote: include/asm/processor.h:19: error: field `tls' has incomplete type This is strange. It's complaining about not having a struct user_desc, which is defined in asm-i386/ldt.h, which is included from asm-um/ldt-i386.h through the

[uml-devel] [PATCH 2/4] UML - Eliminate anonymous union and clean up symlink lossage

2005-11-17 Thread Jeff Dike
This gives a name to the anonymous union introduced in skas-hold-own-ldt, allowing to build on a wider range of gccs. It also removes ldt.h, which somehow became real, and replaces it with a symlink, and creates ldt-x86_64.h as a copy of ldt-i386.h for now. Signed-off-by: Jeff Dike [EMAIL

[uml-devel] [PATCH 1/4] UML - Eliminate use of local in clone stub

2005-11-17 Thread Jeff Dike
[ These four patches are 2.6.15 material, as they fix various crashes and a compile failure ] We have a bug in the i386 stub_syscall6 which pushes ebp before the system call and pops it afterwards. Because we use syscall6 to remap the stack, the old contents of the stack (and the former value

[uml-devel] [PATCH 4/4] UML - Eliminate use of libc PAGE_SIZE

2005-11-17 Thread Jeff Dike
On some systems, libc PAGE_SIZE calls getpagesize, which can't happen from a stub. So, I use UM_KERN_PAGE_SIZE, which is less variable in its definition, instead. Signed-off-by: Jeff Dike [EMAIL PROTECTED] Index: linux-2.6.15/arch/um/kernel/skas/clone.c

[uml-devel] [PATCH 3/4] UML - Properly invoke x86_64 system calls

2005-11-17 Thread Jeff Dike
This patch makes stub_segv use the stub_syscall macros. This was needed anyway, but the bug that prompted this was the discovery that gcc was storing stuff in RCX, which is trashed across a system call. This is exactly the sort of problem that the new macros fix. There is a stub_syscall0 for

[uml-devel] Re: [PATCH 3/4] UML - Properly invoke x86_64 system calls

2005-11-17 Thread linux-os (Dick Johnson)
On Thu, 17 Nov 2005, Jeff Dike wrote: This patch makes stub_segv use the stub_syscall macros. This was needed anyway, but the bug that prompted this was the discovery that gcc was storing stuff in RCX, which is trashed across a system call. But the C-calling convention used by gcc for

[uml-devel] Re: [PATCH 3/4] UML - Properly invoke x86_64 system calls

2005-11-17 Thread Jeff Dike
Dear Wrongbot, Thank you for your concern. On Thu, Nov 17, 2005 at 03:37:14PM -0500, linux-os (Dick Johnson) wrote: In 64-bit world, the same is supposed to apply as well. If RCX is now precious, it's a GCC bug that should be fixed. Yes? No. Here's a technical tidbit for you to

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Rob Landley
On Thursday 17 November 2005 16:51, Rob Landley wrote: find . -name asm ./include/asm ./include2/asm ls -l include/asm include2/asm lrwxrwxrwx 1 landley landley 72 2005-11-17 16:46 include2/asm - /home/landley/newbuild/firmware-build/tmpdir/linux-2.6.14/include/asm-um lrwxrwxrwx 1

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Rob Landley
On Thursday 17 November 2005 21:12, Jeff Dike wrote: On Thu, Nov 17, 2005 at 04:51:33PM -0600, Rob Landley wrote: find . -name asm ./include/asm ./include2/asm ls -l include/asm include2/asm lrwxrwxrwx 1 landley landley 72 2005-11-17 16:46 include2/asm -

Re: [uml-devel] Re: [PATCH 3/4] UML - Properly invoke x86_64 system calls

2005-11-17 Thread Blaisorblade
On Thursday 17 November 2005 21:37, linux-os (Dick Johnson) wrote: On Thu, 17 Nov 2005, Jeff Dike wrote: This patch makes stub_segv use the stub_syscall macros. This was needed anyway, but the bug that prompted this was the discovery that gcc was storing stuff in RCX, which is trashed

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Rob Landley
On Thursday 17 November 2005 21:12, Jeff Dike wrote: On Thu, Nov 17, 2005 at 04:51:33PM -0600, Rob Landley wrote: find . -name asm ./include/asm ./include2/asm ls -l include/asm include2/asm lrwxrwxrwx 1 landley landley 72 2005-11-17 16:46 include2/asm -

Re: [uml-devel] Re: [PATCH 2/4] UML - Eliminate anonymous union and clean up symlink lossage

2005-11-17 Thread Rob Landley
On Friday 18 November 2005 01:03, Rob Landley wrote: On Thursday 17 November 2005 15:10, Jeff Dike wrote: This gives a name to the anonymous union introduced in skas-hold-own-ldt, allowing to build on a wider range of gccs. Or narrower range, in the case of Ubuntu Horny Hedgehog.

Re: [uml-devel] Re: merge status

2005-11-17 Thread Rob Landley
On Friday 18 November 2005 01:08, Blaisorblade wrote: On Wednesday 16 November 2005 14:36, Rob Landley wrote: Linus said this: I think one reason -mm has worked so damn well (apart from you being The Calmest Man on Earth(tm)) is because it's essentially been that buffer for anything

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Blaisorblade
On Friday 18 November 2005 07:48, Rob Landley wrote: On Thursday 17 November 2005 21:12, Jeff Dike wrote: On Thu, Nov 17, 2005 at 04:51:33PM -0600, Rob Landley wrote: find . -name asm This all looks the same as I have here, except for the asm-i386 thing, which I don't think matters.

Re: [uml-devel] 2.6.15-rc1-bk3 minor breakage

2005-11-17 Thread Blaisorblade
On Tuesday 15 November 2005 15:54, Antoine Martin wrote: It asked me what CPU I wanted to build for?! (make oldconfig) It breaks if I select K7, but not if I select PPro (default). Fully correct note... I didn't test every possible selection, and there are a few missing stub headers (i.e.

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Rob Landley
On Friday 18 November 2005 01:26, Blaisorblade wrote: On Friday 18 November 2005 07:48, Rob Landley wrote: On Thursday 17 November 2005 21:12, Jeff Dike wrote: On Thu, Nov 17, 2005 at 04:51:33PM -0600, Rob Landley wrote: find . -name asm This all looks the same as I have here,

Re: [uml-devel] Re: merge status

2005-11-17 Thread Blaisorblade
On Friday 18 November 2005 08:17, Rob Landley wrote: On Friday 18 November 2005 01:08, Blaisorblade wrote: On Wednesday 16 November 2005 14:36, Rob Landley wrote: Linus said this: Btw, where does this quote come from? I think one reason -mm has worked so damn well (apart from you being

Re: [uml-devel] [PATCH] Ok, I build x86-64 -skas0, and it still segfaults.

2005-11-17 Thread Blaisorblade
On Friday 18 November 2005 08:36, Rob Landley wrote: On Friday 18 November 2005 01:43, Blaisorblade wrote: On Wednesday 16 November 2005 04:09, Rob Landley wrote: On Monday 14 November 2005 13:40, Blaisorblade wrote: Ok, clearer: could you try removing altogether that -rlink? I'm trying

Re: [uml-devel] Getting the x86-64 rollup patch to work on my x86 laptop.

2005-11-17 Thread Blaisorblade
On Friday 18 November 2005 08:33, Rob Landley wrote: On Friday 18 November 2005 01:26, Blaisorblade wrote: On Friday 18 November 2005 07:48, Rob Landley wrote: On Thursday 17 November 2005 21:12, Jeff Dike wrote: On Thu, Nov 17, 2005 at 04:51:33PM -0600, Rob Landley wrote: find .