| --- | Log | opened Sun Aug 16 00:00:26 2009 |
| 08:02 | -!- | Lemy [~chatzilla@p57A87FFB.dip.t-dialin.net] has joined #uml |
| 08:03 | <Lemy:#uml> | hello, I'm trying to get the 2.6.28 kernel running in skas3 mode without success |
| 08:04 | <Lemy:#uml> | that's what I get : |
| 08:04 | <Lemy:#uml> | - /proc/mm...found |
| 08:04 | <Lemy:#uml> | - PTRACE_FAULTINFO...not found |
| 08:04 | <Lemy:#uml> | - PTRACE_LDT...found |
| 08:04 | <Lemy:#uml> | UML running in SKAS0 mode |
| 08:06 | <Lemy:#uml> | I took this http://www.finnie.org/software/uml/2.6.28-skas3.patch and this http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2 |
| 08:07 | <Lemy:#uml> | copied my debian kernel config and adjusted it with make menuconfig, any ideas ? |
| 08:07 | <apic:#uml> | Uh |
| 08:07 | <apic:#uml> | I can see no fault there. |
| 08:07 | <apic:#uml> | Maybe it allocates a console. |
| 08:07 | <apic:#uml> | And you do not see it. |
| 08:07 | <apic:#uml> | How do you call it? |
| 08:07 | <apic:#uml> | Ah, ok, sorry. |
| 08:08 | <apic:#uml> | You want SKAS3 but get SKAS0 |
| 08:08 | <apic:#uml> | =) |
| 08:08 | <apic:#uml> | Cannot help you there, sorry |
| 08:08 | <Lemy:#uml> | yes, thx |
| 08:10 | <Lemy:#uml> | just thought that perhaps I'm not the only one having that problem |
| 09:13 | <Lemy:#uml> | compiled the Kernel with make defconfig instead of the Debian config I get now this : |
| 09:13 | <Lemy:#uml> | Checking for the skas3 patch in the host: |
| 09:13 | <Lemy:#uml> | - /proc/mm...found |
| 09:13 | <Lemy:#uml> | - PTRACE_FAULTINFO...not found |
| 09:13 | <Lemy:#uml> | - PTRACE_LDT...found |
| 09:14 | <Lemy:#uml> | UML running in SKAS0 mode |
| 09:14 | <Lemy:#uml> | what is PTRACE_FAULTINFO ? |
| 09:58 | <Lemy:#uml> | i have a 64 bit system |
| 10:04 | <Lemy:#uml> | found this code in the patch : |
| 10:04 | <Lemy:#uml> | +#ifndef CONFIG_X86_64 |
| 10:04 | <Lemy:#uml> | + case PTRACE_FAULTINFO: { |
| 10:04 | <Lemy:#uml> | + struct ptrace_faultinfo fault; |
| 10:04 | <Lemy:#uml> | + |
| 10:04 | <Lemy:#uml> | + fault = ((struct ptrace_faultinfo) |
| 10:04 | <Lemy:#uml> | + { .is_write = child->thread.error_code, |
| 10:04 | <Lemy:#uml> | + .addr = child->thread.cr2 }); |
| 10:04 | <Lemy:#uml> | + ret = copy_to_user((unsigned long *) data, &fault, |
| 10:04 | <Lemy:#uml> | + sizeof(fault)); |
| 10:04 | <Lemy:#uml> | + break; |
| 10:04 | <Lemy:#uml> | + } |
| 10:04 | <Lemy:#uml> | +#endif |
| 10:05 | <Lemy:#uml> | PTRACE_FAULTINFO exists only on 32bit ? |
| 10:05 | <Lemy:#uml> | the other lines of Code with PTRACE_FAULTINFO were just defines |
| 11:28 | <Lemy:#uml> | I removed the #ifndef CONFIG_X86_64 #endif in pcap.c and now I have this : |
| 11:28 | <Lemy:#uml> | Checking for the skas3 patch in the host: |
| 11:28 | <Lemy:#uml> | - /proc/mm...found |
| 11:28 | <Lemy:#uml> | - PTRACE_FAULTINFO...found |
| 11:28 | <Lemy:#uml> | - PTRACE_LDT...found |
| 11:28 | <Lemy:#uml> | UML running in SKAS3 mode |
| 11:29 | <Lemy:#uml> | now I have to test it |
| 17:09 | -!- | Lemy [~chatzilla@p57A87FFB.dip.t-dialin.net] has quit [Quit: ChatZilla 0.9.85 [Firefox 3.0.11/2009060215]] |
| 23:59 | -!- | VS_ChanLog [~stats@ns.theshore.net] has left #uml [Rotating Logs] |
| 23:59 | -!- | VS_ChanLog [~stats@ns.theshore.net] has joined #uml |
| --- | Log | closed Mon Aug 17 00:00:41 2009 |