linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: Kees Cook <keescook@chromium.org>
Cc: "H. Peter Anvin" <hpa@linux.intel.com>, linux-kernel@vger.kernel.org
Subject: Re: [x86, kaslr] PANIC: early exception 0e rip 10:ffffffff8ae04c6e error 0 cr2 ffffffff81972b28
Date: Wed, 15 Jan 2014 20:24:01 +0800	[thread overview]
Message-ID: <20140115122401.GB18065@localhost> (raw)
In-Reply-To: <20140115121201.GA16953@localhost>

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[*]}"

  reply	other threads:[~2014-01-15 12:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15 12:12 [x86, kaslr] PANIC: early exception 0e rip 10:ffffffff8ae04c6e error 0 cr2 ffffffff81972b28 Fengguang Wu
2014-01-15 12:24 ` Fengguang Wu [this message]
2014-01-15 22:32   ` Kees Cook
2014-01-16  0:05     ` Fengguang Wu
2014-01-16  0:19       ` Kees Cook
2014-01-16  1:51         ` Fengguang Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140115122401.GB18065@localhost \
    --to=fengguang.wu@intel.com \
    --cc=hpa@linux.intel.com \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).