Re: [x86, kaslr] PANIC: early exception 0e rip 10:ffffffff8ae04c6e error 0 cr2 ffffffff81972b28

Fengguang Wu
2014-01-15T12:24:12Z

Kees,

This script can reproduce the problem. Please modify the -initrd line
before use.

Usage:
./kvm-0day.sh vmlinuz-3.12.0-rc4-00008-g6e6a493

#!/bin/bash

kernel=$1

kvm=(
qemu-system-x86_64 -cpu kvm64 -enable-kvm
-kernel $kernel
-initrd /kernel-tests/initrd/yocto-minimal-x86_64.cgz
# -initrd /kernel-tests/initrd/yocto-minimal-i386.cgz
# -initrd /kernel-tests/initrd/quantal-core-i386.cgz
# -initrd /kernel-tests/initrd/quantal-core-x86_64.cgz
-smp 2
-m 256M
-net nic,vlan=0,macaddr=00:00:00:00:00:00,model=virtio
-net user,vlan=0
-net nic,vlan=1,model=e1000
-net user,vlan=1
-boot order=nc
-no-reboot
-watchdog i6300esb
-serial stdio
-display none
-monitor null
)

append=(
debug
sched_debug
apic=debug
ignore_loglevel
# dyndbg=\"func kobject_release +p\"
sysrq_always_enabled
panic=10
prompt_ramdisk=0
earlyprintk=ttyS0,115200
console=ttyS0,115200
console=tty0
vga=normal
root=/dev/ram0
rw
)

"${kvm[@]}" --append "${append[*]}"