From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6546059049526362112 X-Received: by 10.31.164.17 with SMTP id n17mr2332487vke.71.1524124576567; Thu, 19 Apr 2018 00:56:16 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.31.92.210 with SMTP id q201ls3351447vkb.21.gmail; Thu, 19 Apr 2018 00:56:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+CRFq1fuNEpDqW2JvsYnP8AGvzBTzYgSx0K6g2Xp4i3vHw20Y/cUO355tl+PVg420OTK0q X-Received: by 10.31.229.134 with SMTP id c128mr2379427vkh.32.1524124576247; Thu, 19 Apr 2018 00:56:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524124576; cv=none; d=google.com; s=arc-20160816; b=Gv5H1GhgZ41MMnJfhImKQKQU3k+NTr8DJRLmkObQJJLutw07IWY+3TGux6PXyNwmck EJmTbdFjd/QlInhfaPwzW1mpLuaoR4zJ4tah23EtZ/dkq9aiBWhccOgdWQiQKmmcBd4u VxK2kEAiGvs76ll3BFwitNKFSQKTNTw2iB9ARmsdZTXV+Swf76k3wRcFV+Yi0r6Zrckm fWuu8hmBLsNnG1m6oVokTDYq0Zzqq4XN4la/cv2QfXzGl24yUYUL7ruMosXk4LgxhNlc SclBKN2yf/jvJyqRfQfUlzKf9FHZGrzgSCUVgAv+AFolV6VDhcpuDTwjYZt63mf6pVhW SnXg== 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=yyDmN8TWGAe0wv3YA/iD6KpzIj4y+0qQ+hPSPiUSY3c=; b=FwxSfqdjPyOGMAEg4FZsTaFM2IruywJm3VM3lucZMiN2VE0I535KTE/wWNVRGfLlq5 r7TdXIjIRP6Etvs7kjnmyNhkVMIRv8A8KyIg6t2/XMciz6lB0TYSx/5AGu5aMDoio86X 8SUsAfGrx8Uyc1KXA+kUIIKXm2U9VsJq+nADD/lk5zjYcbFMHG/tdbzlNbmuR+cPWxMl UBY5mR0cBAQikHtPBu4yKCshjpeXHu2YvStxk+wj0VkJsUHE98vl+6EtuQW/q3ilWBCS iMny8owVMm2io1o0AfIxf+gyblMoWZ88JdUs4ezZZTQpteEmxmUqSB9SQAnMPZN0RV08 LmyA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@solid-run-com.20150623.gappssmtp.com header.s=20150623 header.b=0DiWVXJ3; spf=pass (google.com: domain of jon@solid-run.com designates 2607:f8b0:4001:c0b::235 as permitted sender) smtp.mailfrom=jon@solid-run.com Return-Path: Received: from mail-it0-x235.google.com (mail-it0-x235.google.com. [2607:f8b0:4001:c0b::235]) by gmr-mx.google.com with ESMTPS id b186si228247vkh.2.2018.04.19.00.56.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 00:56:16 -0700 (PDT) Received-SPF: pass (google.com: domain of jon@solid-run.com designates 2607:f8b0:4001:c0b::235 as permitted sender) client-ip=2607:f8b0:4001:c0b::235; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@solid-run-com.20150623.gappssmtp.com header.s=20150623 header.b=0DiWVXJ3; spf=pass (google.com: domain of jon@solid-run.com designates 2607:f8b0:4001:c0b::235 as permitted sender) smtp.mailfrom=jon@solid-run.com Received: by mail-it0-x235.google.com with SMTP id f6-v6so5943970ita.2 for ; Thu, 19 Apr 2018 00:56:16 -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=yyDmN8TWGAe0wv3YA/iD6KpzIj4y+0qQ+hPSPiUSY3c=; b=0DiWVXJ3KXar/HUEV+RwgMBJw1LcQaGNYNJN829muoUTt6fCeXjWTvDnOMjFDrDWxk AeWJ6hRdwsYdt9ksYVFBZyZgAVz01HX2vxe4Ikqo8D3Q3ZApWz1uGM9/sVl4t0410Sov Z3MTnHkwAkaXBj9m4Y4u3GnB1hrrZs4/VsdB5ZRaHDIYSTnNNI3CILluLp8elZe3s7Jg nIoQGxuZs2wxaP+T4Yo8GnLOlN7U3/lk7VwldDgjL1CV9BFTbnDrETg6KWdUXlBUOylz X1tzf0uWmCvKG9y0W72lTC12u0ggivz6lZO9dzdcknFJQdVdAH+53rlLmXlnGPf5PIyR OwsA== 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=yyDmN8TWGAe0wv3YA/iD6KpzIj4y+0qQ+hPSPiUSY3c=; b=dmBdrh5kmzvRYLgR8vJoU4bWmGiKaEdkKeiYRjRtmWKvSyG8iDFRPZZNQ4lGhApu6d 4G+Ks7j7UumHMIq1hu1ySrUeuhJO+XpsvoE717sdT8QERx3E6OdAbBHKphGS/+vMIxKg oAgDCCqH0xdGrPL6vzAeGN3Y74qhqcv2o0jkFeFuChORFwzIHwYEQngGDMv61jaySuPJ MzGNaODckek3uFxYVGQQCd1GufuL4zQgSclDTKgNjaK+95P9RqdU84q+lPaxmxxfyDud T17e5rkDR8pTh5RP0N3s6ru6vNlKzUbSO9UAULNyO/DFhCFyc5y+buekCRhzIN0g4xI/ DsfA== X-Gm-Message-State: ALQs6tDb6b9gg36Pumnj1m7B6Q50XAqP6TvwNSrB4U+Yl1GdcNm0vgDo 4TFCLbOm7yec7v7ixCbdLMIBBl+6yufPh8IA9xg9Wg== X-Received: by 2002:a24:fa05:: with SMTP id v5-v6mr94377ith.101.1524124575829; Thu, 19 Apr 2018 00:56:15 -0700 (PDT) MIME-Version: 1.0 References: <01699424-086e-5688-d768-a23cbf16c7a7@siemens.com> <0b505160-6736-0550-eee4-dcb53a5dd29e@siemens.com> In-Reply-To: <0b505160-6736-0550-eee4-dcb53a5dd29e@siemens.com> From: Jon Nettleton Date: Thu, 19 Apr 2018 07:56:05 +0000 Message-ID: Subject: Re: building custom kernel fails To: Jan Kiszka Cc: isar-users Content-Type: multipart/alternative; boundary="000000000000efaff5056a2ee784" X-TUID: SjOJwlfgkKTl --000000000000efaff5056a2ee784 Content-Type: text/plain; charset="UTF-8" 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 --000000000000efaff5056a2ee784 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Apr 19= , 2018 at 9:52 AM Jan Kiszka <= jan.kiszka@siemens.com> wrote:
On 2018-04-19 09:47, Jon Nettleton wrote:
>
> On Thu, Apr 19, 2018 at 9:40 AM Jan Kiszka <jan.kiszka@siemens.com
> <mailto:jan.kiszka@siemens.com>> wrote:
>
>=C2=A0 =C2=A0 =C2=A0On 2018-04-19 09:32, jon@solid-run.com <mailto:jon@solid-run.com> wrote:
>=C2=A0 =C2=A0 =C2=A0> I am now building a custom debian package from= our kernel sources, the
>=C2=A0 =C2=A0 =C2=A0> kernel compile goes fine.=C2=A0 The deb-pkg is= failing because the
>=C2=A0 =C2=A0 =C2=A0number of
>=C2=A0 =C2=A0 =C2=A0> files passed to xarg is too long.
>=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> 2018-04-19 07:11:17 - INFO=C2=A0 =C2=A0 =C2=A0= - | Using default distribution of
>=C2=A0 =C2=A0 =C2=A0> 'unstable' in the changelog
>=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> $KDEB_CHANGELOG_DIST explicitly
>=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=A0Argument list
>=C2=A0 =C2=A0 =C2=A0> too long
>=C2=A0 =C2=A0 =C2=A0> 2018-04-19 07:11:17 - INFO=C2=A0 =C2=A0 =C2=A0= - | scripts/package/Makefile:90: recipe
>=C2=A0 =C2=A0 =C2=A0> for target 'deb-pkg' failed
>=C2=A0 =C2=A0 =C2=A0> 2018-04-19 07:11:17 - INFO=C2=A0 =C2=A0 =C2=A0= - | make[1]: *** [deb-pkg] Error 126
>=C2=A0 =C2=A0 =C2=A0> 2018-04-19 07:11:17 - INFO=C2=A0 =C2=A0 =C2=A0= - | Makefile:1347: recipe for target
>=C2=A0 =C2=A0 =C2=A0> 'deb-pkg' failed
>=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> 2018-04-19 07:11:17 - INFO=C2=A0 =C2=A0 =C2=A0= - | WARNING: exit code 2 from a shell
>=C2=A0 =C2=A0 =C2=A0> command.
>=C2=A0 =C2=A0 =C2=A0>
>=C2=A0 =C2=A0 =C2=A0> looks like on large kernel builds the file lis= ts will need to be
>=C2=A0 =C2=A0 =C2=A0broken up.
>
>=C2=A0 =C2=A0 =C2=A0Where exactly is this argument list passed? What ex= actly is your setup
>=C2=A0 =C2=A0 =C2=A0(host, target distro, kernel version etc.)?
>
>=C2=A0 =C2=A0 =C2=A0BTW, you can find a working custom kernel build her= e e.g.:
>=C2=A0 =C2=A0 =C2=A0= https://github.com/siemens/jailhouse-images/tree/master/recipes-kernel/linu= x
>=C2=A0 =C2=A0 =C2=A0There is an ARM64 version of that as well, just wai= ting for cross-build
>=C2=A0 =C2=A0 =C2=A0support to be available.
>
>=C2=A0 =C2=A0 =C2=A0Jan
>
>
> =C2=A0Yes I have used your recipe as a reference.=C2=A0 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.=C2= =A0 I
> am running this in a kas-isar container on a CentOS 7 host.=C2=A0 My g= uess is
> ulimit my possibly be getting in the way.=C2=A0 I will do a minimal ke= rnel
> config build and then move up from there.

Are you using our recipes-kernel/linux/linux-custom.inc or your own rules?<= br>
Jan


--000000000000efaff5056a2ee784--