From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6546059049526362112 X-Received: by 10.28.178.148 with SMTP id b142mr69697wmf.5.1524124342777; Thu, 19 Apr 2018 00:52:22 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:e308:: with SMTP id b8-v6ls1585610wrj.10.gmail; Thu, 19 Apr 2018 00:52:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx487eia2S1TxscYcTsHeFoYmTe3H6wUWXgq/kbLwkqpOCdULkh/UkKeSDV0Q/AuBBWJPSFYK X-Received: by 2002:adf:a709:: with SMTP id c9-v6mr405860wrd.22.1524124342252; Thu, 19 Apr 2018 00:52:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524124342; cv=none; d=google.com; s=arc-20160816; b=pltMmCbdW/Sxc+geEhRNi8Ruz+u6OC6wIPpC2Hx0RNX47D4kEK4JD/4MgNexWBU+qt gWwR6lhjA0lOUAmzfpjZcFt/4QzqgIJeackyyOI0QSwjtIgIoSrCH4sP6i85Jl9rIyS4 n3WjQo4NWf/XxuvND95QQXYYk8xPq/ZBMSkc6IINZrMwrp5MI4kuROYJA1mMQ7QQdLJp hjp3+M2OrJ7YnJTln2ifp2v/Mm2PrceVafwd74wdBvPk+J4EAaN4ZBjrV/U1obqrCM6D ewc0M84WPL5MPGjUoB94sdoliMUAKwLXjPe4y1YcVy5IluGO+DXrZq+B3/znBdBAhJtK XegQ== 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=jo1ieKHT9Bra+R14g4ySkVcxZv5t1TqGU061oI5VK4g=; b=UyqzEs3FEJPHkLDzcpCKJV9p1h+hDyElqrNa43dSL5aE7nw5fH2h6CUxr1254M+G/v r+F9U+HS2IBx1HVeW2QpIjpZaOvFzcZAwkjkcDeczDwwLXWNtwhg/PIQBUvTphq2X3lL m97dmcacXgyKy8TcwpelKbbILhuD9KezydcAXU044qjJ/+8VFdiuZgG9kAiLaUmBt9oR nZ6efsQQDTmsFNlk0qp+x3HIjzpA360ZvAwcZycUhoxwLuh9nvV0jf/uGvxMJOaDjnZQ DxEHBi6eFYm+QcvGPGuGpA8OOVGwlKaHPRI9Yiqf/kWD+BnPKUnJQ/pYBAaBT1d5LbXA zNuQ== 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 u18-v6si138531wrg.0.2018.04.19.00.52.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 00:52:22 -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 w3J7qLcC006819 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 Apr 2018 09:52:21 +0200 Received: from [167.87.42.84] ([167.87.42.84]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w3J7qLti030948; Thu, 19 Apr 2018 09:52:21 +0200 Subject: Re: building custom kernel fails To: Jon Nettleton Cc: isar-users References: <01699424-086e-5688-d768-a23cbf16c7a7@siemens.com> From: Jan Kiszka Openpgp: preference=signencrypt Message-ID: <0b505160-6736-0550-eee4-dcb53a5dd29e@siemens.com> Date: Thu, 19 Apr 2018 09:52:21 +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: x40trd5iGRAj 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 -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux