the standard answer. Can anyone provide positive or negative feedback
on this approach? Possibly a better approach?
Thanks,
Allan Graves
begin:vcard
fn:Allan Graves
n:Graves;Allan
email;internet:[EMAIL PROTECTED]
tel;work:603-8973276
x-mozilla-html:FALSE
version:2.1
end:vcard
Hi guys... Trying to do some AIO stuff here, and got a question.
Perhaps I'm not understanding how AIO works in UML... Could someone
perhaps give me an explanation of why we end up in pread, instead of
aio? Does UML not support AIO through its block device driver?
Thank you,
Allan
The simp
Jeff, Blaisor, you're exactly right. Linux aio uses io_submit, not
aio_read, it seems. aio_read calls clone to make a new thread to do its
"aio". Thank you all for your help.
Allan
Jeff Dike wrote:
Tracing the aio_read() through the UML kernel finally gets me here:
#0 sys_pread64 (fd=3,
This is a question to you kernel developers... when using UML, what's teh best
way to debug a kernel panic? Get UML to generate a core? Setup netdump or
some such? How do you guys usually do it?
Allan
---
SF.Net email is sponsored by: Dis
Jeff,
I don't know if you want me to file a bug for this or not, but it'd be
really helpful to have some sort of SMP enabled in SKAS mode like it is
in TT mode. Some bugs are only gonna crop on SMP, as you well know.
Thanks,
Allan
begin:vcard
fn:Allan Graves
n:Graves;Allan
email;internet:[EMA
Jeff,
Here's the patch for mconsole to make it interrupt for gdb.
Allan
--- uml_mconsole.c.orig 2005-08-26 13:08:33.0 -0400
+++ uml_mconsole.c 2005-08-26 15:32:31.0 -0400
@@ -37,13 +37,20 @@
#include
#include
#include
+#include
+
static char uml_name[11];
static st
Jeff, here we have fscanf. :)
Sorry bout that.
Allan
--- uml_mconsole.c.orig 2005-08-26 13:08:33.0 -0400
+++ uml_mconsole.c 2005-08-26 15:53:11.0 -0400
@@ -37,13 +37,20 @@
#include
#include
#include
+#include
+
static char uml_name[11];
static struct sockaddr_un sun
Words fail me?
:)
--- uml_mconsole.c.orig 2005-08-26 13:08:33.0 -0400
+++ uml_mconsole.c 2005-08-26 16:22:22.0 -0400
@@ -37,13 +37,18 @@
#include
#include
#include
+#include
+
static char uml_name[11];
static struct sockaddr_un sun;
+static long int uml_pid;
-stat
I must be perfect. Really, really perfect. If not, Jeff will make me.
--- uml_mconsole.c.orig 2005-08-26 13:08:33.0 -0400
+++ uml_mconsole.c 2005-08-26 18:07:10.0 -0400
@@ -37,13 +37,18 @@
#include
#include
#include
+#include
+
static char uml_name[11];
static str
Jeff,
I thought i had this thread trace thing several times, but I couldn't
get gdb to stop on breakpoints, its like it was ignoring them it
thought everything was in thread_info.h. And it listed the right code,
and i could do like b 26, and it would set a breakpoint for line 26 of
the
h/um/drivers/mconsole_kern.c2005-08-28
19:41:01.0 -0400
+++ linux-2.6.13-stack/arch/um/drivers/mconsole_kern.c 2005-08-31
16:24:51.0 -0400
@@ -32,6 +32,7 @@
#include "os.h"
#include "umid.h"
#include "irq_kern.h"
+#include "choose-mode.
BB: Sorry I hadn't included a changelog, Jeff and I had talked about this a lot, I forgot that other people would be reading them. :)
Author: Allan Graves<[EMAIL PROTECTED]>
Scheduler Cleanup Patch:
This patch moves code that is in both switch_to_tt and switch_to_s
e task. If you pass 0, it will seg fault w\o the check.
I'm not sure what a signed off-by does, but long as i can get bb to
agree with this i'm okay with it. :)
Allan
Jeff Dike wrote:
On Wed, Aug 31, 2005 at 07:06:33PM -0400, Allan Graves wrote:
Jeff,
Here's the
Changes: Fixes sysrq t to work under skas mode. Adds macros to get
register arguments from the jmp bufs in conjunction with a new
function. Changes the show_trace call to pass the correct task, not the
current one.
Let me know what you want changed, jeff, i set vim to hardtabs, i hope
the w
03:08, Jeff Dike wrote:
On Thu, Sep 29, 2005 at 04:14:02PM +0200, Blaisorblade wrote:
I now even found (by chance) the original mail from Allan Graves - and
the changes in arch/um/include/sysdep-x86_64/ptrace.h weren't in his
patch and are unrelated.
Plus, I think they're also bogu
Here's what i get when i compile the patch with 2.6.14 and skas-ldt
patch. Sorry for the duplication in the patch list itself, it includes
the dry run.
--- Begin Message ---
[ averhuls_avd ] bash-3.00# make linux ARCH=um modules
CHK arch/um/include/user_constants.h
CHK include/linux/v
16 matches
Mail list logo