qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] alpha platform is missing files after initrd load
@ 2016-10-20 10:45 Dennis Luehring
  2016-11-04 11:08 ` Stefan Hajnoczi
  0 siblings, 1 reply; 17+ messages in thread
From: Dennis Luehring @ 2016-10-20 10:45 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-11-11  6:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-20 10:45 [Qemu-devel] alpha platform is missing files after initrd load Dennis Luehring
2016-11-04 11:08 ` Stefan Hajnoczi
2016-11-04 16:37   ` Richard Henderson
2016-11-04 19:40     ` Laszlo Ersek
2016-11-04 21:08       ` Richard Henderson
2016-11-07  7:37         ` Dennis Luehring
2016-11-07 14:12           ` Laszlo Ersek
2016-11-07 14:38             ` Dennis Luehring
2016-11-07 15:56               ` Laszlo Ersek
2016-11-07 16:11                 ` Dennis Luehring
2016-11-07 17:21                   ` Laszlo Ersek
2016-11-09  6:34                     ` Dennis Luehring
2016-11-11  6:49                       ` Dennis Luehring
2016-11-07  7:35       ` Dennis Luehring
2016-11-07 14:15         ` Laszlo Ersek
2016-11-07 14:18           ` Laszlo Ersek
2016-11-07 15:16           ` Dennis Luehring

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).