From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6546059049526362112 X-Received: by 2002:aca:eb8a:: with SMTP id j132-v6mr2260092oih.6.1524125131648; Thu, 19 Apr 2018 01:05:31 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aca:a8d5:: with SMTP id r204-v6ls278325oie.9.gmail; Thu, 19 Apr 2018 01:05:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+vuYhw2W1norM4+YZsQNP6iBYKVHYWTIgt/qljaYQxVsLgtVpea7DaX7XImzNlsxOlFexc X-Received: by 2002:aca:cc4b:: with SMTP id c72-v6mr2368109oig.4.1524125131295; Thu, 19 Apr 2018 01:05:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524125131; cv=none; d=google.com; s=arc-20160816; b=1G6Zao5Ou8COF4EfxYO5jHO0UMR6ZsShHxyfzndc3h9+ObCNFhcI+wIq412SxwfI3O H8q3n5U5ZnwX4A8W1+NKtf+VJNYIGVOh96N6FabVgi0fcfnsa/wmw50eobtzbyc/MGCC v/CjsSb/2JYyVb1y5+QqDZlxoLBipqoSHheLyw9BlFbooyGs5yf5wJS4XDEi9a3WivNt VpVhZ7iyJGhCnHlU99tu19MiqmZwCCQyAaM8fQlkehiUfG98XbCLwZkeNdyuzl54EGb9 EcjIL2K4gn4wMwTn0L/e8wFb/VbdiozO5i3dBTx9fX+L+J9RrH3WDPGYc+q9jyNEoQkh 0G3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature:arc-authentication-results; bh=Y7IEJAK4F5znX/Q6f8qlOJVndqi47JVxJ8pe/VNh+cc=; b=Z397cAY80zVrOH667CZ3mQXz5rQICSqNHg8Nd4w+DsrnPWvUqNIqxWUoTnYBhFLxiP mfHU5/dJzCtbATQqG2xmRZxxcyw8mDzzkAP4xd8dJfiDgJfwXtcudmF7y4TgjVbDCmY+ hvZjsi5QCgOYv64dA+OFyiwvlpawZgUpiTULC9AQZM/EZt/8bX4TpGOSvWgSCyAl3Qv4 cxBFr7zzNoUatx3bwfQ3NdgROp0yOKFVMc6mNSX7W0HCd1t2yEshwo2MvvR9Am1INwyc g6v5NxSNLlq+BWOQ6cSheZqKNL7UAhsphQ9EMxkGFtncnWc1R0ZaV9nDEtm4ff9nsk8O GTew== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@solid-run-com.20150623.gappssmtp.com header.s=20150623 header.b=eKYZJV1w; spf=pass (google.com: domain of jon@solid-run.com designates 2607:f8b0:4001:c0b::233 as permitted sender) smtp.mailfrom=jon@solid-run.com Return-Path: Received: from mail-it0-x233.google.com (mail-it0-x233.google.com. [2607:f8b0:4001:c0b::233]) by gmr-mx.google.com with ESMTPS id s193-v6si250637oih.4.2018.04.19.01.05.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 01:05:31 -0700 (PDT) Received-SPF: pass (google.com: domain of jon@solid-run.com designates 2607:f8b0:4001:c0b::233 as permitted sender) client-ip=2607:f8b0:4001:c0b::233; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@solid-run-com.20150623.gappssmtp.com header.s=20150623 header.b=eKYZJV1w; spf=pass (google.com: domain of jon@solid-run.com designates 2607:f8b0:4001:c0b::233 as permitted sender) smtp.mailfrom=jon@solid-run.com Received: by mail-it0-x233.google.com with SMTP id h143-v6so5958454ita.4 for ; Thu, 19 Apr 2018 01:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solid-run-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y7IEJAK4F5znX/Q6f8qlOJVndqi47JVxJ8pe/VNh+cc=; b=eKYZJV1wWnioSzqd9osmwjExKg5z+CdNadHSzpavDwK32V4Gp+pXAdDX3k+UPhAYKb Gbm43v4mSUl9X1kFEjZZ5tnCDPSP27ZHWkwVK9S3htBLokXxvtVVMndwkLzWoBwOpAhr 5Ir8Ds1gBYrmRMcs0VMs2P+PzvedrgrKj7HRF+xil1/ClZstxsrWhwcjEUYcShxPWyzf RuYV0NXJcMvBPE+6koZk/871fn8w9NJCdJcmPoWl36d/IAKszjLeswZmaNCgFEOuNVrR rWXfVk+Zdm2yJl8Ihx5TmtNXJs10k7M5Q1EHxlJBya4ZfxQrUlce0AfSNVPMFm9+rI8q 0hmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y7IEJAK4F5znX/Q6f8qlOJVndqi47JVxJ8pe/VNh+cc=; b=IrwNIntP8D6ZeUgHNgl+DtnP3VcvAlW0KIpEstsjhO1tgigjRC9dHcdxTuab0UJba3 jCr+T4CGze165ygEz7twVum/+kfwbyoPH4HQCwbj9XRkMWOopBP1Zr76z4+NUrZr8nKZ RSoIBhZB/vdhSK0HgXN0wCD1ZkNHfIgdsOuVhghTlF+NWAtyDExAkoIr0mT0G33ebmq6 x/+wWikvjaT1mePyO7ESXWbsx61qG7P4dEulg2sjneoGsxOjoxpvdr5xeZqmQXKLTzs7 kPhMnGgb3097skGDw8obFw+Z8YWzO8LbuWq90a0FE1v80hduGhO15bGpzro1G9wB3lwK yYBQ== X-Gm-Message-State: ALQs6tBa2eFYhdLBXEVgUPcqSgU5wDPPtWYMdULCJ7XnErxxe/uxbI2X sm2Qm82Y8rLNGhIHSWsa0hNkjMqe8A2n5Cb4DOf/sQ== X-Received: by 2002:a24:740a:: with SMTP id o10-v6mr5742206itc.82.1524125130968; Thu, 19 Apr 2018 01:05:30 -0700 (PDT) MIME-Version: 1.0 References: <01699424-086e-5688-d768-a23cbf16c7a7@siemens.com> <0b505160-6736-0550-eee4-dcb53a5dd29e@siemens.com> <0d5631bf-4777-0fc3-c6c7-2410011b4859@siemens.com> In-Reply-To: <0d5631bf-4777-0fc3-c6c7-2410011b4859@siemens.com> From: Jon Nettleton Date: Thu, 19 Apr 2018 08:05:20 +0000 Message-ID: Subject: Re: building custom kernel fails To: Jan Kiszka Cc: isar-users Content-Type: multipart/alternative; boundary="000000000000066879056a2f0927" X-TUID: jlTCNfqu0v7O --000000000000066879056a2f0927 Content-Type: text/plain; charset="UTF-8" On Thu, Apr 19, 2018 at 9:57 AM Jan Kiszka wrote: > On 2018-04-19 09:56, Jon Nettleton wrote: > > On Thu, Apr 19, 2018 at 9:52 AM Jan Kiszka > > wrote: > > > > On 2018-04-19 09:47, Jon Nettleton wrote: > > > > > > On Thu, Apr 19, 2018 at 9:40 AM Jan Kiszka > > > > >> > > wrote: > > > > > > On 2018-04-19 09:32, jon@solid-run.com > > > > wrote: > > > > I am now building a custom debian package from our kernel > > sources, the > > > > kernel compile goes fine. The deb-pkg is failing because the > > > number of > > > > files passed to xarg is too long. > > > > > > > > Error message is. > > > > > > > > 2018-04-19 07:11:17 - INFO - | Using default > distribution of > > > > 'unstable' in the changelog > > > > 2018-04-19 07:11:17 - INFO - | Install lsb-release or set > > > > $KDEB_CHANGELOG_DIST explicitly > > > > 2018-04-19 07:11:17 - INFO - | /usr/bin/xargs: md5sum: > > > Argument list > > > > too long > > > > 2018-04-19 07:11:17 - INFO - | > > scripts/package/Makefile:90: recipe > > > > for target 'deb-pkg' failed > > > > 2018-04-19 07:11:17 - INFO - | make[1]: *** [deb-pkg] > > Error 126 > > > > 2018-04-19 07:11:17 - INFO - | Makefile:1347: recipe for > > target > > > > 'deb-pkg' failed > > > > 2018-04-19 07:11:17 - INFO - | make: *** [deb-pkg] Error > 2 > > > > 2018-04-19 07:11:17 - INFO - | WARNING: exit code 2 from > > a shell > > > > command. > > > > > > > > looks like on large kernel builds the file lists will need > to be > > > broken up. > > > > > > Where exactly is this argument list passed? What exactly is > > your setup > > > (host, target distro, kernel version etc.)? > > > > > > BTW, you can find a working custom kernel build here e.g.: > > > > > > https://github.com/siemens/jailhouse-images/tree/master/recipes-kernel/linux > > > There is an ARM64 version of that as well, just waiting for > > cross-build > > > support to be available. > > > > > > Jan > > > > > > > > > Yes I have used your recipe as a reference. It is a 4.9.y lts > kernel > > > with the NXP BSP merged for our hardware. > https://www.solid-run.com > > > > > > I am attempting to use the default make deb-pkg in that LTS > kernel. I > > > am running this in a kas-isar container on a CentOS 7 host. My > > guess is > > > ulimit my possibly be getting in the way. I will do a minimal > kernel > > > config build and then move up from there. > > > > Are you using our recipes-kernel/linux/linux-custom.inc or your own > > rules? > > > > Jan > > > > > > Correct > > Err, there was an "or" in my question... > > If your "correct" applied to option 2, I would recommend option 1. > > Jan > Sorry was a bit distracted. I am using your rules, option 1. --000000000000066879056a2f0927 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Apr 19= , 2018 at 9:57 AM Jan Kiszka <= jan.kiszka@siemens.com> wrote:
On 2018-04-19 09:56, Jon Nettleton wrote:
> On Thu, Apr 19, 2018 at 9:52 AM Jan Kiszka <jan.kiszka@siemens.com
> <mailto:jan.kiszka@siemens.com>> wrote:
>
>=C2=A0 =C2=A0 =C2=A0On 2018-04-19 09:47, Jon Nettleton wrote:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> On Thu, Apr 19, 2018 at 9:40 AM Jan Kiszka <= ;jan.kiszka@sie= mens.com
>=C2=A0 =C2=A0 =C2=A0<mailto:jan.kiszka@siemens.com>
>=C2=A0 =C2=A0 =C2=A0> <mailto:jan.kiszka@siemens.com <mailto:jan.kiszka@siemens.com&= gt;>>
>=C2=A0 =C2=A0 =C2=A0wrote:
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0On 2018-04-19 09:32, jon@solid-run.com
>=C2=A0 =C2=A0 =C2=A0<mailto:jon@solid-run.com> <mailto:jon@solid-run.com
>=C2=A0 =C2=A0 =C2=A0<mailto:jon@solid-run.com>> wrote:
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> I am now building a cu= stom debian package from our kernel
>=C2=A0 =C2=A0 =C2=A0sources, the
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> kernel compile goes fi= ne.=C2=A0 The deb-pkg is failing because the
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0number of
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> files passed to xarg i= s too long.
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> Error message is.
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> 2018-04-19 07:11:17 - = INFO=C2=A0 =C2=A0 =C2=A0- | Using default distribution of
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> 'unstable' in = the changelog
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> 2018-04-19 07:11:17 - = INFO=C2=A0 =C2=A0 =C2=A0- | Install lsb-release or set
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> $KDEB_CHANGELOG_DIST e= xplicitly
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> 2018-04-19 07:11:17 - = INFO=C2=A0 =C2=A0 =C2=A0- | /usr/bin/xargs: md5sum:
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Argument list
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> too long
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> 2018-04-19 07:11:17 - = INFO=C2=A0 =C2=A0 =C2=A0- |
>=C2=A0 =C2=A0 =C2=A0scripts/package/Makefile:90: recipe
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> for target 'deb-pk= g' failed
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> 2018-04-19 07:11:17 - = INFO=C2=A0 =C2=A0 =C2=A0- | make[1]: *** [deb-pkg]
>=C2=A0 =C2=A0 =C2=A0Error 126
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> 2018-04-19 07:11:17 - = INFO=C2=A0 =C2=A0 =C2=A0- | Makefile:1347: recipe for
>=C2=A0 =C2=A0 =C2=A0target
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> 'deb-pkg' fail= ed
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> 2018-04-19 07:11:17 - = INFO=C2=A0 =C2=A0 =C2=A0- | make: *** [deb-pkg] Error 2
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> 2018-04-19 07:11:17 - = INFO=C2=A0 =C2=A0 =C2=A0- | WARNING: exit code 2 from
>=C2=A0 =C2=A0 =C2=A0a shell
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> command.
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0> looks like on large ke= rnel builds the file lists will need to be
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0broken up.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Where exactly is this argum= ent list passed? What exactly is
>=C2=A0 =C2=A0 =C2=A0your setup
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0(host, target distro, kerne= l version etc.)?
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0BTW, you can find a working= custom kernel build here e.g.:
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0=C2=A0https://github.com/siemens/jailhouse-images/tree/master/recipes-kerne= l/linux
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0There is an ARM64 version o= f that as well, just waiting for
>=C2=A0 =C2=A0 =C2=A0cross-build
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0support to be available. >=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>=C2=A0 =C2=A0 =C2=A0Jan
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> =C2=A0Yes I have used your recipe as a referen= ce.=C2=A0 It is a 4.9.y lts kernel
>=C2=A0 =C2=A0 =C2=A0> with the NXP BSP merged for our hardware. http= s://www.solid-run.com
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> I am attempting to use the default make deb-pk= g in that LTS kernel.=C2=A0 I
>=C2=A0 =C2=A0 =C2=A0> am running this in a kas-isar container on a C= entOS 7 host.=C2=A0 My
>=C2=A0 =C2=A0 =C2=A0guess is
>=C2=A0 =C2=A0 =C2=A0> ulimit my possibly be getting in the way.=C2= =A0 I will do a minimal kernel
>=C2=A0 =C2=A0 =C2=A0> config build and then move up from there.
>
>=C2=A0 =C2=A0 =C2=A0Are you using our recipes-kernel/linux/linux-custom= .inc or your own
>=C2=A0 =C2=A0 =C2=A0rules?
>
>=C2=A0 =C2=A0 =C2=A0Jan
>
>
> Correct

Err, there was an "or" in my question...

If your "correct" applied to option 2, I would recommend option 1= .

Jan

Sorry was a bit distracted.=C2=A0 I= am using your rules, option 1.=C2=A0
--000000000000066879056a2f0927--