Re: [git pull] generic bitops, take 2

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Andrew Morton <akpm@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>, Alexander van Heukelum <heukelum@...>, <jdike@...>
Date: Saturday, April 26, 2008 - 1:28 pm

* Ingo Molnar <mingo@elte.hu> wrote:


so i tried a third build method, gcc 3.4, and that built it fine but UML 
crashed during bootup:

 dione:~/linux/linux-x86.q> ./linux
 Core dump limits :
         soft - 0
         hard - NONE
 Checking that ptrace can change system call numbers...OK
 Checking syscall emulation patch for ptrace...OK
 Checking advanced syscall emulation patch for ptrace...OK
 Checking for tmpfs mount on /dev/shm...OK
 Checking PROT_EXEC mmap in /dev/shm/...OK
 Checking for the skas3 patch in the host:
   - /proc/mm...not found: No such file or directory
   - PTRACE_FAULTINFO...not found
   - PTRACE_LDT...not found
 UML running in SKAS0 mode
 Segmentation fault

(gdb) bt
#0  0x000000006020fd92 in txInit ()
#1  0x000000006000a4c1 in init_jfs_fs ()
#2  0x0000000060001794 in do_initcalls ()
#3  0x000000006000196d in do_basic_setup ()
#4  0x0000000060001a14 in kernel_init ()
#5  0x0000000060028427 in run_kernel_thread ()
#6  0x000000006001d020 in new_thread_handler ()
#7  0x0000000000000000 in ?? ()

rip            0x6020fd92       0x6020fd92 <txInit+306>

txInit is in JFS.

but at least i could build UML. (this is all with pristine -git)

So i checked the patch below. And it built fine, and boo^H^Hcrashed just 
like it did before:

   - PTRACE_FAULTINFO...not found
   - PTRACE_LDT...not found
 UML running in SKAS0 mode
 Segmentation fault

so i guess this is the way to go?

	Ingo

---------------------->
Subject: uml: kconfig cleanup
From: Ingo Molnar <mingo@elte.hu>
Date: Sat Apr 26 19:10:17 CEST 2008

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 arch/um/Kconfig.x86_64 |    7 +++++++
 1 file changed, 7 insertions(+)

Index: linux-x86.q/arch/um/Kconfig.x86_64
===================================================================
--- linux-x86.q.orig/arch/um/Kconfig.x86_64
+++ linux-x86.q/arch/um/Kconfig.x86_64
@@ -1,3 +1,10 @@
+
+menu "Host processor type and features"
+
+source "arch/x86/Kconfig.cpu"
+
+endmenu
+
 config UML_X86
 	bool
 	default y
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[git pull] generic bitops, Ingo Molnar, (Thu Apr 24, 5:57 pm)
Re: [git pull] generic bitops, Linus Torvalds, (Thu Apr 24, 6:14 pm)
[git pull] generic bitops, take 2, Ingo Molnar, (Sat Apr 26, 11:15 am)
Re: [git pull] generic bitops, take 2, Linus Torvalds, (Sat Apr 26, 1:03 pm)
Re: [git pull] generic bitops, take 2, Sam Ravnborg, (Sat Apr 26, 1:34 pm)
Re: [git pull] generic bitops, take 2, Ingo Molnar, (Sat Apr 26, 1:22 pm)
Re: [git pull] generic bitops, take 2, Jeff Dike, (Mon Apr 28, 1:26 pm)
[2.6 patch] reiserfs: some functions mustn't be inline, Adrian Bunk, (Mon Apr 28, 11:38 am)
Re: [2.6 patch] reiserfs: some functions mustn't be inline, Edward Shishkin, (Tue Apr 29, 6:43 pm)
[2.6 patch] fs/block_dev.c:I_BDEV() mustn't be inline, Adrian Bunk, (Mon Apr 28, 11:38 am)
Re: [2.6 patch] fs/block_dev.c:I_BDEV() mustn't be inline, Linus Torvalds, (Mon Apr 28, 8:41 pm)
Re: [2.6 patch] fs/block_dev.c:I_BDEV() mustn't be inline, Sam Ravnborg, (Tue Apr 29, 12:57 am)
Re: [2.6 patch] fs/block_dev.c:I_BDEV() mustn't be inline, Linus Torvalds, (Mon Apr 28, 9:21 pm)
[2.6 patch] fs/buffer.c:init_buffer() mustn't be inline, Adrian Bunk, (Mon Apr 28, 11:38 am)
Re: [2.6 patch] fs/buffer.c:init_buffer() mustn't be inline, Linus Torvalds, (Mon Apr 28, 12:01 pm)
Re: [2.6 patch] fs/buffer.c:init_buffer() mustn't be inline, Linus Torvalds, (Mon Apr 28, 12:58 pm)
Re: [git pull] generic bitops, take 2, Miklos Vajna, (Sat Apr 26, 1:51 pm)
Re: [git pull] generic bitops, take 2, Sam Ravnborg, (Sat Apr 26, 1:32 pm)
Re: [git pull] generic bitops, take 2, Ingo Molnar, (Sat Apr 26, 1:28 pm)
[git pull] generic bitops, take 3, Ingo Molnar, (Sat Apr 26, 1:50 pm)
[PATCH] x86, bitops: select the generic bitmap search functi..., Alexander van Heukelum, (Fri Apr 25, 7:12 am)
Re: [git pull] generic bitops, Harvey Harrison, (Thu Apr 24, 6:41 pm)