From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6546059049526362112 X-Received: by 2002:adf:d246:: with SMTP id o6-v6mr403884wri.13.1524124670953; Thu, 19 Apr 2018 00:57:50 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.230.76 with SMTP id d73ls1239529wmh.8.canary-gmail; Thu, 19 Apr 2018 00:57:50 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/sXmxN/S1pJT05vN4rMJiGZ7TSdjsDvTN7+ITOLtlqxxxaeFd5n4SuUOmm7+LfqG/Blgn+ X-Received: by 10.28.10.85 with SMTP id 82mr473886wmk.4.1524124670502; Thu, 19 Apr 2018 00:57:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524124670; cv=none; d=google.com; s=arc-20160816; b=c3Xnv4lPcQg+CPyoO4OrB/RwX0Y2LHuzuqeqq1sFsE0c90bF4lGXWYr9LvZe48FhZE h8cqotMw2vT6aiJRJ5lvbJCwNKjGfRrt/v5oTsMjtCVZ2nca4Oqx9furZPEgEyb5k6s/ WCKSwoUbdHsDnRjptHem6wcXAdM+tce4OdwyNDAc4q4gEMqm03Z4qAtPmEMLEmUMUv1/ UCbEOOTn1SnWdSzPO4Iis7bLmVMS+xnYazQx8YP+Az7a1ETqagD1VVK29+A5n1srXjK1 Lrg54De3qqaRbwIx/tzSqSUaUzBRX+Ut+T/UjpLlmLrDfCIcaqwX3VG/DHFoowE76GXE 3dYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:openpgp:from:references:cc:to:subject :arc-authentication-results; bh=A0lrDUfyHfFUdqPze2QUGhqLXjtqct02TOGOO8tTdWI=; b=XkrswcRbyWUJXuov8VGfO7nGPKbI7uacLPKg/MryctfvY40peZlei6cX3aONRrw92F gbfCMtXBL1KQoUnDCCm7g7jyyQeyVytoyPqAo8NWxelYZT5RyoWhy8dnV20aqGdeoFSu dDxv+gZBSIlUUGTtrC0fOytkt41coIw1TZi8WgURnDQoQFf60W8T/ZQjsDtWXv+U1n5p SzKCB/kjU2gPo9zpfun/q6/BYA6up+cL7gTZb2T3mZXI6uSU6y8M7VRsnbPWqAkpWF5o Rhdk7jQf20nU1lQUyhrNa0BzyRF5H402oeWJxGlFwPBzvMbry5udUSRA0uC0wnOcm5eG bLKA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id v1si717617wmc.4.2018.04.19.00.57.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 00:57:50 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w3J7vnHa019570 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 Apr 2018 09:57:50 +0200 Received: from [167.87.42.84] ([167.87.42.84]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w3J7vn28029290; Thu, 19 Apr 2018 09:57:49 +0200 Subject: Re: building custom kernel fails To: Jon Nettleton Cc: isar-users References: <01699424-086e-5688-d768-a23cbf16c7a7@siemens.com> <0b505160-6736-0550-eee4-dcb53a5dd29e@siemens.com> From: Jan Kiszka Openpgp: preference=signencrypt Message-ID: <0d5631bf-4777-0fc3-c6c7-2410011b4859@siemens.com> Date: Thu, 19 Apr 2018 09:57:49 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: 9N3XpEf6sBH/ 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