qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] alpha platform is missing files after initrd load


From: Dennis Luehring
Subject: [Qemu-devel] alpha platform is missing files after initrd load
Date: Thu, 20 Oct 2016 12:45:37 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

qemu: 2.7.x (git head)
platform: Alpha (Clipper)
kernel: 4.7.0
gcc: 6.1

i don't know if its an qemu oder linux kernel problem

i've got an ~360MB big_initrd.cpio and it sometimes happen(seems so) that
there are files missing after the kernel loaded the initrd
this does not happen with the same programs/initrd compiled for the sparc64 platform using qemu

i've got a small C/C++-based init that prints some infos about the system and prints the content of the /tools/bin folder and there a some files missing that are
definitely in the cpio file

im starting qemu with

alpha-softmmu/qemu-system-alpha -m 1GB -nographic -monitor telnet::4440,server,nowait -serial telnet::3000,server -kernel clfskernel -append 'console=ttyS0' -initrd big_initrd.cpio

i've found a problem description on stackoverflow going in the same direction but im not using an in-kernel-ramfs
http://stackoverflow.com/questions/31524636/files-disappearing-from-initramfs

i've uploaded my complete test here: http://www.filedropper.com/testalpha-linux-470gcc-610 (~66MB)

containing files:
big_initrd.cpio -> the big cpio which misses files after load
clfskernel -> linux 4.7.0 (default settings)
config -> used config
init.cpp -> my init
initrd.cpio -> only kernel+init cpio
kernel.out.txt -> output of the kernel and init
start_big.sh -> my starting script for qemu loading big_initrd.cpio
start_small.sh -> my starting script for qemu loading initrd.cpio
System.map -> kernel map file
tools_dir_after_load.txt -> files in /tools/bin (copy&paste+sort from kernel.out.txt printdir /tools/bin)
tools_dir_in_cpio.txt -> files in the cpio:/tools/bin




reply via email to

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