qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Help needed: Sparc 64, kernel panic


From: Ajallooiean Hossein
Subject: Re: [Qemu-devel] Help needed: Sparc 64, kernel panic
Date: Fri, 21 Apr 2017 15:12:18 +0000

Thanks for the files and the notes.

I am attaching my config-host file for you. I'm on x86_64, running Linux 64, 
Ubuntu 16.04.2 LTS

so, i can also boot like you do - this worked before as well. btw, if you try 
to install that to a disk, itll not be able to as youll need to define memory 
for it.

The problem is after i install the iso on the qcow2 disk and then try to boot 
qemu-system-sparc64.

so here is the steps to reproduce the issue:
1- create a qcow2 image : debian-9.0-sparc64-NETINST-1.qcow2
2- download debian image: debian-9.0-sparc64-NETINST-1.iso
3- install the OS on dIsk
i use the below command line to do it:

./qemu-system-sparc64 -cdrom 
/home/nihosa/Downloads/debian-9.0-sparc64-NETINST-1.iso -hda 
/home/nihosa/Downloads/debian-sparc.qcow2 -nographic -boot d -L pc-bios -m 200

i guess i dont have to define a kernel in the above code???

4- installation goes all well.
5- i try to run the new disk image: - here i add kernel as if i dont add it ill 
get the below:

https://pastebin.com/cFwrX9E9

6- so here im adding kernel: - the one that you provided
./qemu-system-sparc64 -hda <PATH>/debian-sparc.qcow2 -nographic -L pc-bios -m 
200 -kernel <PATH>/vmlinux

7 -i get a this error now: - with your kernel
https://pastebin.com/Z0ah7nji

8- if i use the newest kernel: available/stable i get this error: - i am 
compiling the kernel myself
https://pastebin.com/6EDYiaxX


9- and if i use a kernel that was working with 2.7 - i get this:
https://pastebin.com/bWbsrKCm


Thanks
Hoss
________________________________________
From: Mark Cave-Ayland <address@hidden>
Sent: Friday, April 21, 2017 2:03 PM
To: Ajallooiean Hossein; address@hidden
Subject: Re: [Qemu-devel] Help needed: Sparc 64, kernel panic

On 20/04/17 10:29, Ajallooiean Hossein wrote:

> Thanks for getting back to me so quickly.
>
> I can boot Sparc64  -- ONLY when using the qemu from package manager. 
> supposedly version 2.5
>
> but when building it myself (as i have some additions) - im getting this 
> kernel error:
>
> https://pastebin.com/9XjdrUat
>
>
> I am compiling qemu by myself and am using the following cmd to run it:
>
>
> /Downloads/qemu-2.9.0-rc4/sparc64-softmmu$ ./qemu-system-sparc64 -M sun4u -m 
> 196 -kernel /home/nihosa/Downloads/kernel4.10.11.sparc64 -hda 
> /home/nihosa/Downloads/debian-9.0-sparc64-NETINST-1.qcow2 -nographic -L 
> pc-bios
>
>
> If you have it running, could you please send me your kernel/image for 
> testing?

I've just uploaded my latest kernel build and .config here for you to test:

https://www.ilande.co.uk/tmp/qemu/sparc64-kernel/vmlinux
https://www.ilande.co.uk/tmp/qemu/sparc64-kernel/.config

Can you also confirm your host architecture and the compiler/version you
are using?


ATB,

Mark.

Attachment: config-host.mak
Description: config-host.mak


reply via email to

[Prev in Thread] Current Thread [Next in Thread]