[Qemu-devel] Re: How to debug Linux kernel on qemu with kgdb?

2007-04-24 Thread Jan Kiszka
Neo Jia wrote: > On 4/25/07, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> Neo Jia wrote: >> > hi, >> > >> > I am trying to use debug kgdb patched linux kernel on my qemu. Both >> > the native and target platform are IA32. I am wondering if there is >> > anyone can show me the procedure? >> >> Yep, see

[Qemu-devel] Re: How to debug Linux kernel on qemu with kgdb?

2007-04-24 Thread Neo Jia
On 4/25/07, Neo Jia <[EMAIL PROTECTED]> wrote: On 4/25/07, Jan Kiszka <[EMAIL PROTECTED]> wrote: > Neo Jia wrote: > > hi, > > > > I am trying to use debug kgdb patched linux kernel on my qemu. Both > > the native and target platform are IA32. I am wondering if there is > > anyone can show me the

[Qemu-devel] Re: How to debug Linux kernel on qemu with kgdb?

2007-04-24 Thread Jan Kiszka
Jan Kiszka wrote: > Neo Jia wrote: >> hi, >> >> I am trying to use debug kgdb patched linux kernel on my qemu. Both >> the native and target platform are IA32. I am wondering if there is >> anyone can show me the procedure? > > Yep, see https://mail.gna.org/public/xenomai-core/2006-09/msg00202.htm

[Qemu-devel] Re: How to debug Linux kernel on qemu with kgdb?

2007-04-24 Thread Neo Jia
On 4/25/07, Jan Kiszka <[EMAIL PROTECTED]> wrote: Neo Jia wrote: > hi, > > I am trying to use debug kgdb patched linux kernel on my qemu. Both > the native and target platform are IA32. I am wondering if there is > anyone can show me the procedure? Yep, see https://mail.gna.org/public/xenomai-co

[Qemu-devel] Re: How to debug Linux kernel on qemu with kgdb?

2007-04-24 Thread Jan Kiszka
Neo Jia wrote: > hi, > > I am trying to use debug kgdb patched linux kernel on my qemu. Both > the native and target platform are IA32. I am wondering if there is > anyone can show me the procedure? Yep, see https://mail.gna.org/public/xenomai-core/2006-09/msg00202.html (BTW, I think that kgdb b

[Qemu-devel] scsi patch

2007-04-24 Thread Wang Cheng Yeh
scsi.tex patch reduces unnecessary mismatch. lsi.txt corrects mismatch condition. When the mismatch happens, register ia saves the instruction address. However, QEMU call lsi_bad_phase first, update new dsp and then save it into register ia. The patch correct this problem. Another fix is in the t

Re: [Qemu-devel] [PATCH] fix exception precision for cmpxchg8b

2007-04-24 Thread Nickolai Zeldovich
Thanks. Looks like inline-generated instructions use cpu_restore_state() to invert the translated PC into the simulated PC. Nickolai.

Re: [Qemu-devel] [PATCH] fix exception precision for cmpxchg8b

2007-04-24 Thread Ben Taylor
a patch like this was posted about 6 weeks ago. the only difference I can see between this and the previous patch is the location of the inserted function. take a look at http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00123.html for hints. This patch fixed the Solaris/express insta

[Qemu-devel] [PATCH] fix exception precision for cmpxchg8b

2007-04-24 Thread Nickolai Zeldovich
In qemu-0.9.0, an exception in cmpxchg8b (e.g. page fault due to a missing TLB entry) causes the wrong eip value to be pushed onto the exception stack -- it seems to be the eip of the last exception or the start of the translation block, whichever happened last. This makes it impossible to resume

[Qemu-devel] How to debug Linux kernel on qemu with kgdb?

2007-04-24 Thread Neo Jia
hi, I am trying to use debug kgdb patched linux kernel on my qemu. Both the native and target platform are IA32. I am wondering if there is anyone can show me the procedure? Thanks, Neo -- I would remember that if researchers were not ambitious probably today we haven't the technology we are usi

[Qemu-devel] OpenVPN treo?

2007-04-24 Thread Jonathan Kalbfeld
Has anyone thought about this? Is it even possible? Am I barking up the wrong tree? jonathan -- -- Jonathan Kalbfeld +1 323 620 6682

[Qemu-devel] qemu/hw mips_malta.c

2007-04-24 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/24 22:57:37 Modified files: hw : mips_malta.c Log message: Improved mini-bootloader, based on a patch by Alec Voropay. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw

[Qemu-devel] MIPS64 problem with x86-64 linux

2007-04-24 Thread Natalia Portillo
Hi, There is some kind of problem in x86-64 Linux with MIPS64 emulation. I was trying the Acer Pica 61 with the patch for memory mapped VGA and got the following results: Linux x86-64: MIPS32: Ok MIPS32EL: Ok MIPS64: Blank screen MIPS64EL: Blank screen Linux x86: MIPS32: Ok MIPS32EL: Ok MIPS64:

[Qemu-devel] IDE disk IO

2007-04-24 Thread Steven Y. Ko
Hello, I'm trying to understand the ide.c - how it is structured, how it works, etc. I see that the functions in ide.c get called from vl.c through ioport_read_table. But I'm wondering how ide_data_readw(), ide_ioport_read(), and ide_sector_read() are different, and also where the actual requests

[Qemu-devel] USB proxy the other way

2007-04-24 Thread andrzej zaborowski
Hi, attached is an experimental patch that makes use of the Linux' USB gadgetfs userspace API to allow connecting emulated USB devices to the host instead of to the qemu virtual machine. This is very much proof-of-concept now but I hope to use it for connecting emulated S3C2410-based devices (and

[Qemu-devel] Patch for SDL framebuffer console problem

2007-04-24 Thread Kitambi Leo
I've been using qemu using the Linux framebuffer console, on a machine that's a bit too slow to support X. There have been more than a few snags, but perhaps the most irritating one was that if qemu crashed (and received a SIGSEGV), it would leave the console in an unusable state. This would req

Re: [Qemu-devel] Re: Detecting an assembly instruction in QEMU

2007-04-24 Thread Eduardo Felipe
Hi, You have a description of memory access instruction format in cpu-all.h, under /* CPU memory access without any memory or io remapping */ These instructions are defined in softmmu_header.h. If you don't care too much about performance it will be easier to modify the code written in C (undef

Re: [Qemu-devel] [patch] Simtec BAST system emulation

2007-04-24 Thread Daniel Silverstone
On Thu, 2007-04-19 at 14:06 +0100, Daniel Silverstone wrote: [snip] I missed a tiny bit out of the patch, an oversight if you will related to the loading of ARM kernels on systems whose RAM does not start at emulated phys_addr zero. Here's the extra bit of patch to apply after the patch attached

[Qemu-devel] [PATCH] MIPS Malta/YAMON SP initialization

2007-04-24 Thread Alexander Voropay
Hi! This patch adds SP initialization fot the Malta YAMON pseudo-loader. It allows to run standalone (written in C) applications: http://www.nwpi.ru/~alec/mips/yamon_test_salone.tgz $ qemu-system-mipsel -nographic -M malta -kernel yamon_test.elf Could not configure '/dev/rtc' to have a 1024

[Qemu-devel] qemu/target-ppc STATUS

2007-04-24 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/04/24 07:51:56 Modified files: target-ppc : STATUS Log message: Update PowerPC target status. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/STATUS?cvsroot=qemu&r1=1.1&r2=1

[Qemu-devel] qemu .cvsignore

2007-04-24 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/04/24 07:43:37 Modified files: . : .cvsignore Log message: Update .cvsignore for new PowerPC embedded target. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/.cvsignore?cvsroo

[Qemu-devel] qemu Makefile.target vl.c vl.h hw/ppc405_boards.c

2007-04-24 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/04/24 07:40:49 Modified files: . : Makefile.target vl.c vl.h Added files: hw : ppc405_boards.c Log message: Evaluation boards for PowerPC 405EP. CVSWeb URLs: ht

[Qemu-devel] qemu/target-ppc op_helper.c

2007-04-24 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/04/24 07:36:03 Modified files: target-ppc : op_helper.c Log message: Debug traces fixes. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemu&r1=1.31&r2=

[Qemu-devel] qemu Makefile Makefile.target configure

2007-04-24 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/04/24 07:34:03 Modified files: . : Makefile Makefile.target configure Log message: New target for embedded PowerPC emulation (only system emulation, for now). CVSWeb URLs: http://c

Re: [Qemu-devel] Re: Detecting an assembly instruction in QEMU

2007-04-24 Thread Atif Hashmi
Hi Eduardo, I have finished implementing the implementing the roll-back functionality for transactional memory. There is one thing that I wanted to ask you. In order to roll-back, I need to log all the memory references. So that in that case when a transaction fails and roll-back occurs, memory s