kayws426 / embox

Automatically exported from code.google.com/p/embox
0 stars 1 forks source link

zrv-smp-security don't works with kvm #682

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.r12805, x86/zrv-smp-security
2.make it no-graphic template (patch mods.config):
Index: templates/x86/zrv-smp-security/mods.config
===================================================================
--- templates/x86/zrv-smp-security/mods.config  (revision 12805)
+++ templates/x86/zrv-smp-security/mods.config  (working copy)
@@ -42,9 +42,7 @@
    @Runlevel(2) include embox.driver.clock.pit(irq_num=2)
    @Runlevel(2) include embox.driver.terminal
    @Runlevel(2) include embox.driver.net.e1000
-   @Runlevel(2) include embox.driver.console.vc.vc
-   /*@Runlevel(2) include 
embox.driver.diag(impl="embox__driver__serial__i8250")*/
-   @Runlevel(2) include embox.driver.diag(impl="embox__driver__console__vc__vga")
+   @Runlevel(2) include embox.driver.diag(impl="embox__driver__serial__i8250")
    @Runlevel(2) include embox.driver.serial.i8250(baud_rate=38400)
    @Runlevel(2) include embox.driver.net.loopback
    @Runlevel(2) include embox.driver.virtual.null
@@ -71,8 +69,6 @@
    @Runlevel(2) include embox.fs.driver.initfs
    @Runlevel(2) include embox.fs.driver.nfs
    @Runlevel(2) include embox.fs.driver.tmpfs
-   @Runlevel(2) include embox.fs.driver.ext3
-   @Runlevel(2) include embox.fs.driver.ext4
    /*@Runlevel(2) include embox.fs.driver.cifs*/
    @Runlevel(2) include embox.fs.driver.ramfs
    @Runlevel(2) include embox.fs.driver.ffs
@@ -82,7 +78,7 @@
    include embox.compat.posix.util.utsname(system="zrv",hostname="zrv-host",release="0.1")
    /*@Runlevel(3) include embox.cmd.shell(prompt="ZaryaRV>")*/
    @Runlevel(3) include embox.cmd.sh.tish(prompt="ZaryaRV>", rich_prompt_support=0,builtin_commands="cd export smac_adm")
-   @Runlevel(3) include 
embox.init.start_script(shell_name="tish",tty_dev="vc",shell_start=1)
+   @Runlevel(3) include 
embox.init.start_script(shell_name="tish",tty_dev="ttyS0",shell_start=1)

    include embox.cmd.mpstat
    include embox.cmd.proc.kill
3.

What is the expected output? What do you see instead?
$ ./scripts/qemu/auto_qemu -smp 2 -enable-kvm
ioctl(TUNSETIFF): Device or resource busy
Enable IP Forwarding for eth0
net.ipv4.ip_forward = 1
EXCEPTION [0x2]: error = 00000000
EAX=fee00340    EBX=00009500 ECX=0000001b EDX=00000400
 GS=00290010     FS=00130010  ES=00000010  DS=fee00010
EDI=05128000    ESI=00000000 EBP=00294f98 EIP=00134050
 CS=00000008 EFLAGS=00010006 ESP=00294fb8  SS=0013436f

 --   f000ff53 * A R W  thread -268371879  task 0 -----------------------------

  7 0x00139c0c <exception_handler+0x158> 
  6 0x001000a4 <excep_stub+0x1c> 
  5 0x00134050 <lapic_write+0xb> 
  4 0x001344c3 <apic_init+0x15> 
  3 0x001000cc <ipl_init+0x14> 
  2 0x00100100 <kernel_init+0x10> 
  1 0x001000e4 <kernel_start+0xb> 

run 0xc0004c11 <getcwd+0xbfe8fb22> 
QEMU: Terminated

Please use labels and text to provide additional information.
gcc 4.8.1, qemu 1.7.50

Original issue reported on code.google.com by ki.stfu on 26 Feb 2014 at 11:05

GoogleCodeExporter commented 9 years ago
fixed by r13018

Original comment by ki.stfu on 13 Mar 2014 at 11:57