From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7173333086179950592 X-Received: by 2002:a05:6512:308c:b0:4b5:55c0:b1d9 with SMTP id z12-20020a056512308c00b004b555c0b1d9mr3737748lfd.365.1670225812531; Sun, 04 Dec 2022 23:36:52 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:1144:b0:48b:2227:7787 with SMTP id m4-20020a056512114400b0048b22277787ls3266867lfg.3.-pod-prod-gmail; Sun, 04 Dec 2022 23:36:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf46et0hQLXFWMWxjKkvZqQp2BwN7wbsj81/s4dTLHHnm7HdQx4UnvKDf4ijX0Y/D5qQkL6k X-Received: by 2002:a05:6512:38b2:b0:4b3:a022:2176 with SMTP id o18-20020a05651238b200b004b3a0222176mr28183182lft.395.1670225810891; Sun, 04 Dec 2022 23:36:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670225810; cv=pass; d=google.com; s=arc-20160816; b=PwijA1I8ABxiVl2XGMXpCOmTr9u1GTY2Wg1P4ApVuuZqsm6HP64VI3X+cc0fMbcgZB R/+JCD96ib3rfL9M7dQBst/sP2SRd1Vza6yz6BcAChH8A20GYcfq+ngG1zxKchJjpusr Zy5eCV34PX/WxOOrIdxi6PfYyk1lcC87HiOtpkUs/kIbxig2+2q8riRhkcmsFFXO5Mfq zEkfuLOj7Dl9NEAWHC22sRZ0vlp6yd241mztbIHrrJFRQv6K795tGr9tP5MSr9rsYEcf iv6jROu2aoVGLzhCx6uVlWlUH9tBcLsjsk48nRlNgIzcQX2J7C+ki7gQHCRDqy0JhhLU 6rLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:in-reply-to:from:references :to:content-language:subject:user-agent:date:message-id :dkim-signature; bh=UgtrZfZvEtZJ7yd4pDrohnJ502EIvfci9/iJZW2EonQ=; b=I5qFEQv5/2v/4B6fRGk0y/TvhyvRvQlbkrK6Ku7nFUL6F69+ULxkHGYeU3KFozReet w9U0OWxWTwG+5SV2BGAfTWLc3gHGWmBIg2w6o2Nhet34778CZKJDCjoF6rDIU6QlsNu9 +7+4bY19cItqSN7GoDF5fER/uZwQDLz7MDJLsoj+qv1AJKv9pDhxaOxvmab6egrlykoc s0vGc33LMUWAgVzxCgSryYcVNVyoJva04pnRzsdK/uLXQxnDjylJCC7Uojn3bZoL5gfT 9z7SO/IgpUppD9kqUuVFKn540CqxZo+5RaG9YN6nUXV80WfIrlJJ0CjoqkKMiIwSig7H 8ZPw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=SWtm3h9H; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of jan.kiszka@siemens.com designates 40.107.20.85 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2085.outbound.protection.outlook.com. [40.107.20.85]) by gmr-mx.google.com with ESMTPS id c8-20020ac25f68000000b004b49cc7bf6asi300440lfc.9.2022.12.04.23.36.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Dec 2022 23:36:50 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 40.107.20.85 as permitted sender) client-ip=40.107.20.85; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=SWtm3h9H; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of jan.kiszka@siemens.com designates 40.107.20.85 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dQ7xXnRfRfdSOAlU/X5KybaWDFM4OO7LH69xxRX0/T7Ao9ztVPCv/c59+m0R4MFvJ9L+2aFG7J6y7v6qmSqIgE4cUiyYighspPCJGAtv1zmIy4ikEbBzM5yM3JHU1fxC0gyUOpNj6woL6ftLZmpFItUp8z2w+Xq4MmPk/vZOobsySI4SGmUjR7kw5stFEkol2izKTiAYsQYBkTEHq5TbrX6gA4ral4Q22hEZK0dn5N67wZNDABDLtuKrtAL8K1BPVZMZnWqItEwJArcHRcMV/qRPQUTRGmYUW9rZ94NeiRdXxImiEc5hV/kGundPNnvxxTyKe/SbL9cGjAKdyt8/ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UgtrZfZvEtZJ7yd4pDrohnJ502EIvfci9/iJZW2EonQ=; b=m+ab89r0j19fyWGcBR6m7E9a8aHZRgTT6NwhSwA1lqQQkRD67FwamKmWq/El+WJJ742a32ehtITNroV4VuhgZwQlYf2ck178SpFCrUvLWiaAau/MvrZryBe4lCtl8OU/fb0GE1UWrLrbaDXa1+tUYG1NjLqQ0IKiNbQZXbuzg22+LJgvD5I3wQXkHSrtpBLsuXPhw0WlOfK61flo0rKeLRxyhyz9VHQW/WDAFO+RZpsKzwGqWb4XLVE8TPcjnWgk+E2bDB6DzK+DLgl3Fiv70l7T5+SSWN3Bp06ckbuqR1iXhODHUUDXaDIKr0YSUhQvQ1NcrpAgjYGKQLYw0XD14g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UgtrZfZvEtZJ7yd4pDrohnJ502EIvfci9/iJZW2EonQ=; b=SWtm3h9H+m9isjl7+xsJ88nheru6f0u1PkRWDthy3jPa5uvxKQCvRz9jgPWQDRe8scWRai17Ew5d5sKpy5nT7zxK9IpJcYYK0mbyI8/Yjbdk51gF7vZMjTpMHToF3M8P81X24OgZs76XD7YbU6R5aMiQRrKJKdoVe3W+vgd0k9JTt1706O1j47Remgr1IMFk0jUSTdc495wVzRvejaw3laDCOiL1YS7XqfmvPzclNpiL6XopWoNC2v5uxuUWmlu81NuoIi74w/1+dQ10d1hEwQIrLOAfTtghunmGISqukLNQ1iWBzuUKtgtWUNZFSkZijsa5bhIJn3Va78XhR6NJgw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) by AS2PR10MB7738.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:62f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Mon, 5 Dec 2022 07:36:49 +0000 Received: from AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::2957:50e8:8ce6:124a]) by AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM ([fe80::2957:50e8:8ce6:124a%9]) with mapi id 15.20.5880.013; Mon, 5 Dec 2022 07:36:49 +0000 Message-ID: <38b26c00-9d20-3557-5bbd-b52f45e5bc83@siemens.com> Date: Mon, 5 Dec 2022 08:36:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: expand-on-first-boot failure Content-Language: en-US To: "Moessbauer, Felix (T CED INW-CN)" , "Schaffner, Tobias (T CED SES-DE)" , "isar-users@googlegroups.com" , "Schild, Henning (T CED SES-DE)" References: <8512db95-6e08-60ba-191f-e821e710f74d@siemens.com> <151b0bec5767bf7064848585f206864ecf306f45.camel@siemens.com> From: Jan Kiszka In-Reply-To: <151b0bec5767bf7064848585f206864ecf306f45.camel@siemens.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR3P281CA0055.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4b::18) To AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:588::19) Return-Path: jan.kiszka@siemens.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS4PR10MB6181:EE_|AS2PR10MB7738:EE_ X-MS-Office365-Filtering-Correlation-Id: 004bace6-ae72-427a-e8bc-08dad6937829 X-LD-Processed: 38ae3bcd-9579-4fd4-adda-b42e1495d55a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3H1Ekl3y9lJKoQLsAW5jYLAuPi3ndMCNGyM+mKxT838gUNHMQrKFor77lDezCCQE+iVaIRg728kK3fyd+W0OLZgoUb1mwrz1GqWV28ekQIiL1laNkv9OAAozfsuh7i3OXvgT4x2mkRFskOL7pMnkjwIGcNuDBgb2NrzebCQ4s6kxleDvADWmYANz+ZTwqeeI8VYUqo6a4Jsfs8yNPakeY06mYXt9D38F7NuNNUGPJzN2NGagHHepl0QggwuXjcODfUuTPXU7GWfWkRfnD9tFJMWV/srtLJ3CarfZwqf36/xJu1vTDoo48F2q9rL2NjqLSAAwaHMpbTWqlGUWnu/z1ifY3klRTpS0k8rB/LGdYtvTuDaFQhyKickKiKlP/1+Ha1kpAk6TxD2beeUNNWHiIxyFd40+o1yqaoZ3Wnvy7daUuLnW86M44uNnq1hcmqni/b1giHplWHAy5rcO20CU8qi7noXB0TkKO1dUtSCANSsmNFa6aGyJayQZvEdMfCPwQ4PbQ+1YCsJNjLUt2hfgJSnTNxHSiEMA2yuD9gqqp4lPX6YKZh6hTiEbj0devk59Q+wHHnnRBoCOO8vxGYDkp6TMI9ibiqBO06xqnONbSTfxkJDjdhVl4LMsrKh+Jvq26k9F0YNy8+xLf1Gh2xyr2S7YOSdism3FmA+8+byvICHnpUq1jG1PxUpfDel9sg+5zChn5G4M9ifXPvAvcCSi1bFR3gpyCrF35AVYSOCErl0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(396003)(346002)(136003)(366004)(376002)(451199015)(38100700002)(83380400001)(3480700007)(86362001)(31696002)(44832011)(66476007)(2906002)(66946007)(8936002)(66556008)(8676002)(41300700001)(5660300002)(53546011)(6506007)(6512007)(26005)(186003)(6666004)(2616005)(316002)(6636002)(110136005)(478600001)(6486002)(82960400001)(31686004)(36756003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?clZyRFY4bXUzR3BEa1hmVlBsMzEwczQzNFc1TzM2RElZcTZORk9HVG9yQks4?= =?utf-8?B?ZTVsUXVIVTJ4STFJWTkrR1dyTUYrOVpVd20rK0VzMTQvcEN4YmFyWWFsbWV0?= =?utf-8?B?RXRWS2kwanQxejRlNjhUc3llMTNqanhwSytPTFB3V1VuN2lrT3ZOSTdXQzZq?= =?utf-8?B?UVdMT1ZFQjRPVlE3cWpCeGk3RDdVZWc3R0M3T012ckpsRnBXSS8wKzczcFpq?= =?utf-8?B?VCtGZG5lWWNuTVZUejRFZ3ZRQ21ocmJkMGh0SkNtMjdiSXJ5VFg3V1lBTlhN?= =?utf-8?B?aVg0T21TOG9hc09rK3R2d1JQTnp3K2VGOT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xTFNvS3ZkU2d6aU5FTFgrR2dXWkhlaXBpSlBTTWlwSUo1YUUz?= =?utf-8?B?SWc9PQ==?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 004bace6-ae72-427a-e8bc-08dad6937829 X-MS-Exchange-CrossTenant-AuthSource: AS4PR10MB6181.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2022 07:36:49.1756 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XvOPAb8RqR8LVxR1DJZpzQCGp0rZpKgOHi3+HGm1E79mtVSBjbUoCtnD835QsGzVXPmrY7XlPh+hkR0CJ1OPYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR10MB7738 X-TUID: wBWuSYXvZRol On 05.12.22 02:06, Moessbauer, Felix (T CED INW-CN) wrote: > On Sun, 2022-12-04 at 17:35 +0100, Jan Kiszka wrote: >> Hi all, >> >> this is with current master: >> >> Aug 07 13:25:35 iot2050-debian systemd[1]: Starting Expand last >> partition... >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: GPT >> PMBR size mismatch (5407157 != 33554431) will be corrected by write. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: The >> backup GPT table is not on the end of the device. This problem will >> be corrected by write. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >> Checking that no-one is using this disk right now ... FAILED >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: This >> disk is currently in use - repartitioning is probably a bad idea. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: Umount >> all file systems, and swapoff all swap partitions on this disk. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: Use the >> --no-reread flag to suppress this check. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: Disk >> /dev/sda: 16 GiB, 17179869184 bytes, 33554432 sectors >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: Disk >> model: File-Stor Gadget >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: Units: >> sectors of 1 * 512 = 512 bytes >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: Sector >> size (logical/physical): 512 bytes / 512 bytes >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: I/O >> size (minimum/optimal): 512 bytes / 512 bytes >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >> Disklabel type: gpt >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: Disk >> identifier: 69D3FE47-A859-42D9-B04E-D26BFE6121C6 >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: Old >> situation: >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >> Device Start End Sectors Size Type >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >> /dev/sda1 2048 5407123 5405076 2.6G Linux filesystem >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> >> Script header accepted. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> >> Script header accepted. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> >> Script header accepted. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> >> Script header accepted. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> >> Script header accepted. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> >> Script header accepted. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >>> >> Created a new GPT disklabel (GUID: 69D3FE47-A859-42D9-B04E- >> D26BFE6121C6). >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >> /dev/sda1: Created a new partition 1 of type 'Linux filesystem' and >> of size 16 GiB. >> Aug 07 13:25:36 iot2050-debian expand-last-partition.sh[272]: >> Partition #1 contains a ext4 signature. >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: >> /dev/sda2: Done. >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: New >> situation: >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: >> Disklabel type: gpt >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: Disk >> identifier: 69D3FE47-A859-42D9-B04E-D26BFE6121C6 >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: >> Device Start End Sectors Size Type >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: >> /dev/sda1 2048 33554398 33552351 16G Linux filesystem >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: The >> partition table has been altered. >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: Calling >> ioctl() to re-read partition table. >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: Re- >> reading the partition table failed.: Device or resource busy >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: The >> kernel still uses the old table. The new table will be used at the >> next reboot or after you run partprobe(8) or partx(8). >> Aug 07 13:25:37 iot2050-debian expand-last-partition.sh[272]: Syncing >> disks. >> Aug 07 13:25:37 iot2050-debian systemd-growfs[296]: Failed to open >> "/dev/block/8:1": No such file or directory >> Aug 07 13:25:37 iot2050-debian systemd[1]: expand-on-first- >> boot.service: Main process exited, code=exited, status=1/FAILURE >> Aug 07 13:25:37 iot2050-debian systemd[1]: expand-on-first- >> boot.service: Failed with result 'exit-code'. >> Aug 07 13:25:37 iot2050-debian systemd[1]: Failed to start Expand >> last partition. >> >> Is the downstream layer lacking something to make things work again? >> Or >> is the slow, emulated storage device triggering a bug in the new >> script? > > Hi, I recently discovered the same problem on an IoT2050. > I'm really asking my self if we should continue with our own > implementation of expand-on-first-boot. We almost always had bugs in > this recipe which shows that this is definitely not something trivial. > But it is still a critical part of the infrastructure. > > IIRC the only reason for not using systemd-repart was the lack of > backward compatibility for Debian stretch. Why not simply split the > recipe into the old version for old distros and systemd-repart for new > ones. It was more complicated than that, see the discussion around it. First of all, we quickly need to restore to the working state now - or fix this new issue. Jan -- Siemens AG, Technology Competence Center Embedded Linux