From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6629253039695855616 X-Received: by 2002:a2e:8199:: with SMTP id e25-v6mr162168ljg.15.1543493252556; Thu, 29 Nov 2018 04:07:32 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:4bca:: with SMTP id y193ls173543lfa.3.gmail; Thu, 29 Nov 2018 04:07:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/VY6xBkoksCPPMIx/BUCRI5prC2IB15fjwHUTgK9IWSM+CTc8jtKDWB7lLCDwW5E6N36Dq/ X-Received: by 2002:a19:a245:: with SMTP id l66mr141067lfe.0.1543493251998; Thu, 29 Nov 2018 04:07:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543493251; cv=none; d=google.com; s=arc-20160816; b=yM4hAE3zTMy7eo0+Boo835wN3LliCTnnXL5C9RO9QaaEsD3+eeAF573lcMCPHx006W LkzMeDPEVAx83MEv6H4qG4u45EuldZ/x2npoz4i4jvqjwCPCt1aCfkyubaqy8Sfv4RTr vEvfa783ehWww+NNHyMV5Wo49nFhAJ0t2lVfeO39s5vdnjIAWNB6D5DLdh/icI7W/OBh AVYZxSDHSV7QuvC0jLvSNQkacoK7TJQ87yzr58lw19tdM493kOfxNwcoYCIk7NrSYz6M 2yEtFdF4FDxXl1LxndtmaE5IXmQiHSAC9Z/0OxdzwFloP0OrWRcIMccgla4PHpWMk60o IMYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-disposition:content-description:mime-version :message-id:subject:to:from:date; bh=fJ+1hvVLpm8bOCmOnlg1KQJ3rH3GoSlno3RX2ULJ7Pw=; b=FCixYTMf8VenLzzWlK6cap7+njB0AEETImCA9o1qCqUtiFuNkG6EEFMyBQFRMTzs2l mCEbBbV0KGAq31I7/v+RIlwhlW/bzABm3qubS5ZvH28stPWyGaeKBRzs/4d3pF5Iyo8R zuLZygU5Elw+LWzHx83n+bq0EKZmP+5p63U5mUGZ7EzgP2/CUR6SxY8VECVPxEvn43ln V0Me42ZhU88uIfRusR2H7XiEAYV8n1KLL9nuuqgVOlPc6/nsM2AB8SipTclZnAVQhzQI zThtWOeBpR4JMyoKCbik8ChObVoO5zmbXvdKK+bDMrYel6SdCubPtOWaltF4m7WDOgK+ TRtg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of andreas.reichel.ext@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=andreas.reichel.ext@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id h17-v6si66385ljj.0.2018.11.29.04.07.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 04:07:31 -0800 (PST) Received-SPF: pass (google.com: domain of andreas.reichel.ext@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of andreas.reichel.ext@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=andreas.reichel.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id wATC7VGJ006413 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 29 Nov 2018 13:07:31 +0100 Received: from iiotirae (golem.ppmd.siemens.net [139.25.69.74]) by mail1.sbs.de (8.15.2/8.15.2) with SMTP id wATC7Uaf022304 for ; Thu, 29 Nov 2018 13:07:30 +0100 Date: Thu, 29 Nov 2018 13:00:01 +0100 From: Andreas Reichel To: isar-users@googlegroups.com Subject: [andreas.reichel.ext@siemens.com: Re: qemu test with start_vm fails] Message-ID: <20181129120000.GB26853@iiotirae> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: message Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-TUID: vD5m+9UPG86Z Hi, short interim result: multiconfig:qemuarm-stretch:isar-image-base: ROOTFS_EXTRA ?= "64" is set correctly. /meta/image.bbclass calculates the size of ROOTFS, giving: 720332 KiB for the rootfs without the 64 extra and 785868 KiB with the ROOTFS_EXTRA. diff 65536 KiB (correct.) This number is identical between inside the docker and outside the docker with manual 'du -s --block=1k'. [By the way, man-page does not encourage use of small letter 'k'. It states that 'K=1024' and 'kB=1000', whereas it seems that 'k' equals 1024 luckily.] The generated .ext4.img file has exactly 804728832 bytes, giving $((804728832 / 1024)) == 785868, identical to the requested size. However, mounting this file and using df gives: /dev/loop0 757116 1k-blocks, 721844 1k-blocks used, 0 1k-blocks available, Use 100%. So if everything is built correctly and all calculations are correct, how can it be that in the CI, this problem did not arise? Again, when I use this file and start qemu, systemd hangs with infinite timeout. When I enable journald output to console, i run out of disk space. I could only boot with root ro, which is not set in the start_vm script so CI test should run with root rw. This is illogical. vG Andreas -- Andreas Reichel Dipl.-Phys. (Univ.) Software Consultant Andreas.Reichel@tngtech.com, +49-174-3180074 TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterfoehring Geschaeftsfuehrer: Henrik Klagges, Dr. Robert Dahlke, Gerhard Mueller Sitz: Unterfoehring * Amtsgericht Muenchen * HRB 135082