[uml-devel] Re: [patch 1/6] uml: remove elf.h [ compile-fix, for 2.6.12 ]

2005-05-09 Thread Andrew Morton
"Bodo Eggert <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> wrote: > > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > hmm, that's exciting. How to tell diff and patch to remove a zero-length > > file? > > $ md a b c > $ touch a/a > $ echo .>c/a > $ diff -purN a c > diff -purN a/a c/a > --- a/

[uml-devel] Re: [patch 1/6] uml: remove elf.h [ compile-fix, for 2.6.12 ]

2005-05-09 Thread Andrew Morton
[EMAIL PROTECTED] wrote: > > > Actually remove elf.h in the tree. The previous patch, due to a quilt > bug/misuse, left it in the tree as a 0-length file, preventing the build to > see it as missing and to generate a symlink in its place. > > Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL

[uml-devel] Re: 3-level pagetables broken on i386

2005-05-09 Thread Jeff Dike
On Tue, May 10, 2005 at 12:51:26AM +0200, Blaisorblade wrote: > If 3-level pagetables is only for x86-64, then let me know and I'll add an > appropriate dependency. If not (and IIRC it worked some time ago), then > choose how to fix that. It did work, and I'd like it to continue working. It's j

[uml-devel] Re: [patch 0/6] latest bugfixes for 2.6.12

2005-05-09 Thread Andrew Morton
Blaisorblade <[EMAIL PROTECTED]> wrote: > > > Jeff sent in fixes which were dependent on other things I had, we're maybe > > several weeks away from 2.6.12, > Several weeks away? Hope so. We lost a lot of testing due to lack of daily snapshots and general SCM churn. Plus I have a boatload of bug

Re: [uml-devel] Kernel panic with 2.6.11.6

2005-05-09 Thread Jeff Dike
On Mon, May 09, 2005 at 09:40:50AM -0700, Anthony Brock wrote: > `FIXADDR_USER_START' undeclared (first use in this function) > /srv/work/linux-2.6.12-rc4/arch/um/kernel/skas/include/uaccess-skas.h:24: > error: > (Each undeclared identifier is reported only once > /srv/work/linux-2.6.12-rc4/arch/u

[uml-devel] Re: [patch 0/6] latest bugfixes for 2.6.12

2005-05-09 Thread Blaisorblade
On Tuesday 10 May 2005 01:45, Andrew Morton wrote: > Blaisorblade <[EMAIL PROTECTED]> wrote: > > Here are some more fixes intended for 2.6.12 (and well tested). Can you > > merge them soon, Andrew? Thanks. > > Sure. > > The first is a particularly bad one since it shows up when you *start* > > com

[uml-devel] Re: [patch 0/6] latest bugfixes for 2.6.12

2005-05-09 Thread Andrew Morton
Blaisorblade <[EMAIL PROTECTED]> wrote: > > Here are some more fixes intended for 2.6.12 (and well tested). Can you merge > them soon, Andrew? Thanks. Sure. > The first is a particularly bad one since it shows up when you *start* > compiling UML (due to a quilt patch -> normal patch conversion

[uml-devel] [patch 3/6] uml: add modversions support

2005-05-09 Thread blaisorblade
Actually, the real support was added by some earlier patches. Now we simply re-enable the config. option. I've actually tested it and it works well. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- linux-2.6.git-paolo/init/Kconfig |2 +- 1 files changed, 1 insertion(+),

[uml-devel] [patch 4/6] uml: add MOD_LICENSE to random driver

2005-05-09 Thread blaisorblade
Add a MODULE_LICENSE("GPL") to the driver, remove some unused macros and add the GPL license (it's GPL-licensed anyway since it's a GPL-derivative, apart that Jeff Dike releases GPL software, in case anybody is wondering). Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- li

[uml-devel] [patch 5/6] uml: split CONFIG_FRAME_POINTER from DEBUG_INFO

2005-05-09 Thread blaisorblade
Until now, FRAME_POINTER was set = DEBUG_INFO for UML. Change it to be the default way, so that it can be enabled alone (for instance to get better backtraces on crashes). The call-trace dumper which uses the frame pointer is not yet in, I'm going to introduce it in a separate patch. Signed-off-b

[uml-devel] [patch 2/6] uml: critical change memcpy to memmove [critical, for 2.6.12]

2005-05-09 Thread blaisorblade
Replace one memcpy() call with overlapping source and dest arguments with one call to memmove(), to avoid data corruption. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- linux-2.6.12-paolo/arch/um/kernel/irq_user.c | 10 -- 1 files changed, 8 insertions(+), 2 de

[uml-devel] [patch 6/6] uml: stack dump fix

2005-05-09 Thread blaisorblade
Copy (and adapt) to UML the stack code dumper used in i386 when CONFIG_FRAME_POINTER is enabled. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- linux-2.6.12-paolo/arch/um/include/sysrq.h |3 linux-2.6.12-paolo/arch/um/kernel/sysrq.c | 21 -- linux-2.

[uml-devel] [patch 1/6] uml: remove elf.h [ compile-fix, for 2.6.12 ]

2005-05-09 Thread blaisorblade
Actually remove elf.h in the tree. The previous patch, due to a quilt bug/misuse, left it in the tree as a 0-length file, preventing the build to see it as missing and to generate a symlink in its place. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- |0 1 files cha

[uml-devel] [patch 0/6] latest bugfixes for 2.6.12

2005-05-09 Thread Blaisorblade
Here are some more fixes intended for 2.6.12 (and well tested). Can you merge them soon, Andrew? Thanks. The first is a particularly bad one since it shows up when you *start* compiling UML (due to a quilt patch -> normal patch conversion problem, a file wasn't actually deleted, but it was when

[uml-devel] 3-level pagetables broken on i386

2005-05-09 Thread Blaisorblade
CC arch/um/kernel/mem.o arch/um/kernel/mem.c: In function `fixaddr_user_init': arch/um/kernel/mem.c:198: warning: right shift count >= width of type (because you right-shift addr by 32 bits) CC arch/um/kernel/mem_user.o CC arch/um/kernel/physmem.o CC arch/um/kernel/proce

[uml-devel] Compile failure of 2.6.12-rc4 fixed

2005-05-09 Thread Blaisorblade
Boys, since somebody reported this: applying the following empty patch (which removes elf.h) fixes the 2.6.12-rc4 compilation. Jeff, possibly removing --no-timestamps from the quilt options for REFRESH will fix this issue (which I verified various times in your patches, but which now caused a

Re: [uml-devel] Kernel panic with 2.6.11.6

2005-05-09 Thread Anthony Brock
Okay, I've downloaded Jeff's patches at applied them (I believe) using "quilt push -a". I hope that this is the correct command. I then encountered: CHK include/linux/compile.h CHK usr/initramfs_list CC arch/um/kernel/mem.o arch/um/kernel/mem.c:17:2: invalid preprocessing directi

Re: [uml-devel] Using SKAS, any examples?

2005-05-09 Thread Ian Rogers
Hi, Thanks for the help and I'm feeling encouraged again to try this through skas. I still have some thoughts though. I hope to look into creating a patch to allow multiple segments in a linux process. So an extension to skas on i386 and I can get my %fs wish :-) Well, it should be already d

Re: [uml-devel] Kernel panic with 2.6.11.6

2005-05-09 Thread Anthony Brock
First, I would appreciate it if someone can remind me of where to download the '-mm' tree. Second, I downloaded at attempted to compile 2.6.12-rc4. Unfortunately, I'm unable to compile it due to the following error: HOSTCC scripts/kallsyms HOSTCC scripts/bin2c CC init/main.o In file in

Re: [uml-devel] Using SKAS, any examples?

2005-05-09 Thread Blaisorblade
On Sunday 08 May 2005 20:09, Ian Rogers wrote: > Blaisorblade wrote: > Thanks. I will implment an emulator through this mechanism. My current > mechanism performs: > > loadByte(addr) { > pte = addr >> 12; > offset = addr & 0xFFF; > result = memory[ptr][offset] > } Ok, memory is a square array.