[Qemu-devel] Actual Physical Memory in Qemu !

2013-05-15 Thread Muhammad Nouman
Hi ! I am emulating mips64 linux on Qemu running on X86 machine.I want to see that which function in the Qemu writes any register value at any address in the memory of x86 machine? Which functions should i see? Thanks Nouman

[Qemu-devel] Debug init on Qemu using gdb!

2013-05-01 Thread Muhammad Nouman
Hi ! i want to debug init code on Qemu using gdb. I want to see that which instructions are running in userpace while the init is executing its code.Currently the gdb is showing only the instructions running in kernel space . Can anyone please suggest what should i do? Thanks Nouman

[Qemu-devel] Debug init on Qemu using gdb

2013-04-28 Thread Muhammad Nouman
Hi ! i am trying to emulate cavium octeon's mips64 linux kernel on Qemu.I am currently having some issues with init code and want to debug init .i am starting the Qemu using -s -S option in the command line and the attaching the gdb using target remote localhost:1234 What i want to ask is there any

Re: [Qemu-devel] Qemu usermode fork problem !

2013-04-22 Thread Muhammad Nouman
vmlinux file using objdump, i don't get anything. After seeing this detail, can u plz elaborate to me more about what should i do next? A little help would highly be appreciated. Thanks *Nouman * On Mon, Apr 22, 2013 at 5:53 PM, Peter Maydell wrote: > On 22 April 2013 13:31, Muha

[Qemu-devel] Qemu usermode fork problem !

2013-04-22 Thread Muhammad Nouman
Hi ! I am trying to emulate cavium octeon's mips64 linux kernel on Qemu.When the fork system call is generated from usermode (i.e from init code), after creating a new thread, the kernel gets a fatal signal from the new thread and then the new thread never runs. I have tried to debug this new thre

[Qemu-devel] Unable to open initial console

2013-04-06 Thread Muhammad Nouman
Hi ! I am trying to emulate mips64 on Qemu but the kernel is unable to open the file /dev/console and gives the warning "unable to open an initial console" and hangs.i have checked in the initramfs file that /dev/console node is present in it.Can any one plz tell me that what can be the reason for

[Qemu-devel] Qemu Timer Interrupts !

2013-04-04 Thread Muhammad Nouman
Hi ! I am trying to emulate Cavium Octeon's Mips64 linux on Qemu.While the kernel is loading, Qemu is sending interrupts which the kernel is not able to acknowledge.This interrupt is coming from the three timers of Qemu. qemu_run_timers(vm_clock); qemu_run_timers(rt_clock); qemu_run_ti

[Qemu-devel] Qemu Irq No. 7

2013-03-15 Thread Muhammad Nouman
Hi ! i am emulating mips on Qemu and while the kernel is booting ,i am getting irq no. 7 from Qemu.Can any one tell what is the source for irq no. 7 and how can i disable that?? Thanks Nouman

[Qemu-devel] Hard Interrupt code in Qemu !

2013-03-12 Thread Muhammad Nouman
Hi ! i am trying to emulate mips on Qemu but at some point the kernel is getting a hard interrupt from Qemu which the kernel is not able to understand and makes it a spurious interrupt.Can any one tell me that which part of the Qemu code will tell me the source or any information about that hard in

[Qemu-devel] Interrupt Handling in Qemu !

2013-03-11 Thread Muhammad Nouman
Hi ! I am trying to emulate mips on Qemu but during the kernel loading process ,Qemu is sending a hardware interrupt which the kernel is not able to handle and stucks in a loop while the actual hardware and simulator don't send interrupt at that point.I want to know that which specific function in

[Qemu-devel] How to map a small portion of address space to DCache in QEMU?

2013-01-30 Thread Muhammad Nouman
Hi! There is a special segment in Octeon processors (CVMSEG) which maps a small portion of MIPS64 address space to Data Cache. This region is used by the user applications as scratch space and this space is saved by Octeon Kernel on context switches. How can we do this mapping (i.e. some part of M