构建金鱼3.18,我收到此错误“ Linux内核太旧,无法加载ram磁盘”

时间:2018-07-31 00:52:39

标签: android android-emulator kernel

我试图在模拟器上构建并运行goldfish 3.18,但出现此错误。我不知道是什么原因以及如何修复它。 我的机器是Mac 10.9。我不确定是与模拟器还是金鱼ZImage有关?我大喊大叫以获取最新版本的金鱼3.18。

  csm-wl-dhcp-203-0:tools kiki$ ./emulator -debug init -kernel 
  /Volumes/BOOTCAMP/goldfish/arch/arm/boot/zImage -avd testAVD19 -wipe-data
  emulator:Found AVD name 'testAVD19'
  emulator:Found AVD target architecture: x86
  emulator:  Found directory: /Users/kiki/Library/Android/sdk/system- 
  images/android-19/google_apis/x86/

  emulator:Probing for /Users/kiki/Library/Android/sdk/system-images/android- 
   19/google_apis/x86//kernel-ranchu: file exists
  emulator:Auto-config: -engine qemu2 (based on configuration)
  emulator:  Found directory: /Users/kiki/Library/Android/sdk/system- 
  images/android-19/google_apis/x86/

  emulator:Found target-specific 64-bit emulator binary: 
  /Users/kiki/Library/Android/sdk/tools/./qemu/darwin-x86_64/qemu-system-i386
  emulator:Adding library search path: 
 '/Users/kiki/Library/Android/sdk/tools/./lib64'
  emulator:  Found directory: /Users/kiki/Library/Android/sdk/system- 
 images/android-19/google_apis/x86/

  emulator:  Found directory: /Users/kiki/Library/Android/sdk/system- 
  images/android-19/google_apis/x86/

  emulator:GPU emulation is disabled
  emulator: Adding library search path for Qt: 
 '/Users/kiki/Library/Android/sdk/tools/./lib64/qt/lib'
  emulator: Setting Qt plugin search path:         

  emulator: Running :/Users/kiki/Library/Android/sdk/tools/./qemu/darwin- 
  x86_64/qemu-system-i386
  emulator: qemu backend: argv[00] = 
  "/Users/kiki/Library/Android/sdk/tools/./qemu/darwin-x86_64/qemu-system-i386"
  emulator: qemu backend: argv[01] = "-debug"
  emulator: qemu backend: argv[02] = "init"
  emulator: qemu backend: argv[03] = "-kernel"
  emulator: qemu backend: argv[04] = 
  "/Volumes/BOOTCAMP/goldfish/arch/arm/boot/zImage"
  emulator: qemu backend: argv[05] = "-avd"
  emulator: qemu backend: argv[06] = "testAVD19"
  emulator: qemu backend: argv[07] = "-wipe-data"
  emulator: Concatenated backend parameters:
  /Users/kiki/Library/Android/sdk/tools/./qemu/darwin-x86_64/qemu-system-i386 - 
  debug init -kernel /Volumes/BOOTCAMP/goldfish/arch/arm/boot/zImage -avd 
  testAVD19 -wipe-data
  emulator: Android virtual device file at: 
  /Users/kiki/.android/avd/testAVD19.ini
  emulator: virtual device content at /Users/kiki/.android/avd/testAVD19.avd
  emulator: virtual device config file: 
  /Users/kiki/.android/avd/testAVD19.avd/config.ini
  emulator: using core hw config path: 
  /Users/kiki/.android/avd/testAVD19.avd/hardware-qemu.ini
  emulator: Found AVD target API level: 19
  emulator: Read property file at /Users/kiki/Library/Android/sdk/system- 
  images/android-19/google_apis/x86//build.prop
  emulator: No boot.prop property file found.
  emulator: Warning: config.ini contains invalid skin.path entry: (null)
  emulator: autoconfig: -skin HVGA
  emulator: autoconfig: -skindir (null)
  emulator: Target arch = 'x86'
  emulator: Auto-config: -qemu -cpu qemu32
  emulator: Auto-detect: Kernel image requires new device naming scheme.
  emulator: Auto-detect: Kernel does support YAFFS2 partitions.
  emulator: autoconfig: -ramdisk /Users/kiki/Library/Android/sdk/system- 
  images/android-19/google_apis/x86//ramdisk.img
  emulator: Using initial system image: /Users/kiki/Library/Android/sdk/system- 
  images/android-19/google_apis/x86//system.img
  emulator: autoconfig: -data /Users/kiki/.android/avd/testAVD19.avd/userdata- 
  qemu.img
  emulator: autoconfig: -initdata /Users/kiki/Library/Android/sdk/system- 
  images/android-19/google_apis/x86//userdata.img
  emulator: autoconfig: -cache /Users/kiki/.android/avd/testAVD19.avd/cache.img
  emulator: Increasing RAM size to 340MB
  emulator: VM heap size 0MB is below hardware specified minimum of 
  64MB,setting 
  it to that value
  emulator: GPU emulation is disabled
  emulator: Found 2 DNS servers: 138.67.1.2 138.67.1.3
  emulator: skin name 'HVGA' aliased to '320x480'
  emulator: found magic skin width=320 height=480 bpp=16

  emulator: Creating: /Users/kiki/.android/avd/testAVD19.avd/userdata-qemu.img

  emulator: CPU Acceleration: working
  emulator: CPU Acceleration status: HAXM version 6.0.3 (3) is installed and 
  usable.
  emulator: Adjusting Contiguous Memory Allocation of 320x480 framebuffer for 
  software renderer to 2MB.
  emulator: Found 2 DNS servers: 138.67.1.2 138.67.1.3
  Content of hardware configuration file:
   hw.cpu.arch = x86
   hw.cpu.model = qemu32
   hw.cpu.ncore = 2
   hw.ramSize = 340
   hw.screen = multi-touch
   hw.mainKeys = true
   hw.trackBall = true
   hw.keyboard = false
   hw.keyboard.lid = false
   hw.keyboard.charmap = qwerty2
   hw.dPad = true
   hw.gsmModem = true
   hw.gps = true
   hw.battery = true
   hw.accelerometer = true
   hw.audioInput = true
   hw.audioOutput = true
   hw.sdCard = true
   disk.cachePartition = true
   disk.cachePartition.path = /Users/kiki/.android/avd/testAVD19.avd/cache.img
   disk.cachePartition.size = 66m
   hw.lcd.width = 320
   hw.lcd.height = 480
   hw.lcd.depth = 16
   hw.lcd.density = 160
   hw.lcd.backlight = true
   hw.gpu.enabled = false
   hw.gpu.mode = (null)
   hw.gpu.blacklisted = no
   hw.initialOrientation = portrait
   hw.camera.back = emulated
   hw.camera.front = none
   vm.heapSize = 64
   hw.sensors.light = true
   hw.sensors.pressure = true
   hw.sensors.humidity = true
   hw.sensors.proximity = true
   hw.sensors.magnetic_field = true
   hw.sensors.orientation = true
   hw.sensors.temperature = true
   hw.useext4 = true
   kernel.path = /Volumes/BOOTCAMP/goldfish/arch/arm/boot/zImage
   kernel.newDeviceNaming = yes
   kernel.supportsYaffs2 = yes
   disk.ramdisk.path = /Users/kiki/Library/Android/sdk/system-images/android- 
   19/google_apis/x86//ramdisk.img
   disk.systemPartition.initPath = /Users/kiki/Library/Android/sdk/system- 
   images/android-19/google_apis/x86//system.img
   disk.systemPartition.size = 550m
   disk.dataPartition.path = /Users/kiki/.android/avd/testAVD19.avd/userdata- 
   qemu.img
  disk.dataPartition.initPath = /Users/kiki/Library/Android/sdk/system- 
  images/android-19/google_apis/x86//userdata.img
  disk.dataPartition.size = 2g
  avd.name = testAVD19
   .
  QEMU options list:
  emulator: argv[00] = "/Users/kiki/Library/Android/sdk/tools/./qemu/darwin- 
  x86_64/qemu-system-i386"
  emulator: argv[01] = "-dns-server"
  emulator: argv[02] = "138.67.1.2,138.67.1.3"
  emulator: argv[03] = "-serial"
  emulator: argv[04] = "null"
  emulator: argv[05] = "-enable-hax"
  emulator: argv[06] = "-smp"
  emulator: argv[07] = "cores=1460288880642"
  emulator: argv[08] = "-m"
  emulator: argv[09] = "340"
  emulator: argv[10] = "-append"
  emulator: argv[11] = "qemu=1 androidboot.hardware=ranchu clocksource=pit 
  android.qemud=1 console=0 console=0 android.checkjni=1 qemu.gles=0 cma=2M 
  ndns=2"
  emulator: argv[12] = "-lcd-density"
  emulator: argv[13] = "160"
  emulator: argv[14] = "-kernel"
  emulator: argv[15] = "/Volumes/BOOTCAMP/goldfish/arch/arm/boot/zImage"
  emulator: argv[16] = "-initrd"
  emulator: argv[17] = "/Users/kiki/Library/Android/sdk/system-images/android- 
  19/google_apis/x86//ramdisk.img"
  emulator: argv[18] = "-drive"
  emulator: argv[19] = 
 "if=none,index=0,id=system,file=/Users/kiki/Library/Android/sdk/system- 
 "images/android-19/google_apis/x86//system.img"
  emulator: argv[20] = "-device"
  emulator: argv[21] = "virtio-blk-pci,drive=system"
  emulator: argv[22] = "-drive"
  emulator: argv[23] = 

 "if=none,
  index=1,id=cache,file=/Users/kiki/.android/avd/testAVD19.avd/cache.img"
  emulator: argv[24] = "-device"
  emulator: argv[25] = "virtio-blk-pci,drive=cache"
  emulator: argv[26] = "-drive"
  emulator: argv[27] = 


    "if=none, 
      index=2,id=userdata,file=/Users/kiki/.android/avd/testAVD19.avd/userdata- 
 qemu.img"
 emulator: argv[28] = "-device"
 emulator: argv[29] = "virtio-blk-pci,drive=userdata"
 emulator: argv[30] = "-netdev"
 emulator: argv[31] = "user,id=mynet"
 emulator: argv[32] = "-device"
 emulator: argv[33] = "virtio-net-pci,netdev=mynet"
 emulator: argv[34] = "-show-cursor"
 emulator: argv[35] = "-L"
 emulator: argv[36] = "/Users/kiki/Library/Android/sdk/tools/lib/pc-bios"
 emulator: argv[37] = "-vga"
 emulator: argv[38] = "none"
 emulator: argv[39] = "-android-hw"
 emulator: argv[40] = "/Users/kiki/.android/avd/testAVD19.avd/hardware- 
  qemu.ini"
 Concatenated QEMU options:
 /Users/kiki/Library/Android/sdk/tools/./qemu/darwin-x86_64/qemu-system-i386 - 
 dns-server 138.67.1.2,138.67.1.3 -serial null -enable-hax -smp 
 cores=1460288880642 -m 340 -append 'qemu=1 androidboot.hardware=ranchu 
 clocksource=pit android.qemud=1 console=0 console=0 android.checkjni=1 
 qemu.gles=0 cma=2M ndns=2' -lcd-density 160 -kernel 
 /Volumes/BOOTCAMP/goldfish/arch/arm/boot/zImage -initrd 
  /Users/kiki/Library/Android/sdk/system-images/android- 
 19/google_apis/x86//ramdisk.img -drive 
 if=none,index=0,id=system,file=/Users/kiki/Library/Android/sdk/system- 
  images/android-19/google_apis/x86//system.img -device virtio-blk- 
 pci,drive=system -drive 




 if=none, 
index=2,id=userdata,file=/Users/kiki/.android/avd/testAVD19.avd/userdata- 
  qemu.img -device virtio-blk-pci,drive=userdata -netdev user,id=mynet -device 
  virtio-net-pci,netdev=mynet -show-cursor -L 
  /Users/kiki/Library/Android/sdk/tools/lib/pc-bios -vga none -android-hw 
  /Users/kiki/.android/avd/testAVD19.avd/hardware-qemu.ini
  emulator: Starting QEMU main loop
  emulator: registered 'boot-properties' qemud service
  emulator: Adding boot property: 'qemu.sf.fake_camera' = 'back'
  emulator: Adding boot property: 'dalvik.vm.heapsize' = '64m'
  emulator: Adding boot property: 'ro.config.low_ram' = 'true'
  emulator: Adding boot property: 'qemu.hw.mainkeys' = '1'
  emulator: Adding boot property: 'qemu.sf.lcd_density' = '160'
  Hax is enabled
  Hax ram_size 0x15400000
  HAX is working and emulator runs in fast virt mode.
 emulator: goldfish_events.have-dpad: true
  emulator: goldfish_events.have-trackball: true
 emulator: goldfish_events.have-camera: true
  emulator: goldfish_events.have-keyboard: false
  emulator: goldfish_events.have-lidswitch: false
  emulator: goldfish_events.have-touch: false
  emulator: goldfish_events.have-multitouch: true
 qemu: linux kernel too old to load a ram disk
  ** Unknown exception behavior: -559038737

有人可以帮助我吗?有什么提示或提示吗?

0 个答案:

没有答案