qemu-discuss
[Top][All Lists]
Advanced

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

How to use ramoops with qemu-system-aarch64


From: tr4v3ler
Subject: How to use ramoops with qemu-system-aarch64
Date: Thu, 18 Jan 2024 14:36:25 +0800

I cannot find anything under /sys/fs/pstore directory after kernel panic. I compile  Linux kernel 5.10 with
following configs:
CONFIG_PSTORE=y
CONFIG_PSTORE_RAM=y

My qemu version is:

QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.15)

The command I used is:

qemu-system-aarch64 \
  -accel tcg \
  -machine virt \
  -cpu cortex-a57 \
  -nographic -smp 8 \
  -drive file=/home/tr4v3ler/data/tools/buildroot-2023.02.8/output/images/rootfs.repro,format=raw \
  -drive file=mydisk.img,format=raw \
  -kernel /home/tr4v3ler/data/src/linux-5.10.y/arch/arm64/boot/Image \
  -append "root=/dev/vda oops=panic panic_on_warn=1 panic=-1 nokaslr debug" \
  -m 8192 \
  -net user,hostfwd=tcp::10023-:22 -net nic

reply via email to

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