Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1961065pxb; Mon, 22 Feb 2021 16:05:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxh6pdK81FCh3sY/7oMF4cMkQPbtQ+BCAuI5MJyRonxtG9mAzpjsDDsIFV5VNECE1fQHTIN X-Received: by 2002:a17:907:1182:: with SMTP id uz2mr5801275ejb.307.1614038738872; Mon, 22 Feb 2021 16:05:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614038738; cv=none; d=google.com; s=arc-20160816; b=0cO4V3CDBtz8TkTVhEiER8TvXBAcL7IH+bqfQmD3uLOi7PHRHE9473vinTkG+XZAsa X3dk3afeiLqDKmnLh5QRl4LP6Iwi319BgOKmDlsGXCLQj6Fbd5LdGy9pqkbENr+mw+Ki swrntKKW40wlK88v5TEgp2XL2n2vy2eEKuOET5omck5QuEkiF+ImBeYRK1O/OSKG7XwF ylekC24Q4WsHU8oknb3QCY4FzcyOTvl22dtdzjJLdQx3IAeysa2w/ajSPRo9pF11JE3t 92l3BlskSUuQNOSV2ZgwPGFLLGNErMJH0khrSFgjPj9SImLXAfvA8J46qV1aR541gfcz 323Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=htMgZbviUWPJfHpdvErYulOZUuVUyLrfs/6w9xy28ag=; b=ZjKVt8uhWfonTVwjzWHL7pJLizuF6Kdi2ojTlyMzwaoy1mu99ynLMb5FYlylEAKUAm JhQh5DsHgICs8VDjfB5E0fnVJVRXn2xRTD/soEbJ0usBss2XS6Z2lY4AzdhgzWoD4MtG G6UmrHiqop1WAJ2C9PxbzoI46hFN3w/MKyem1Y0dZUJX544Ies65ZCdrRhiIiEAUZBHW QigKyz1mw+Us0JuiKAQVkK/nwuzWzEU9Diw5O1PIKDesKz7o8P7Ha36GPOGarfCAPjTl 6fG1tGT0E5kVADo7TkvO+V3jvsBf8ifSnr1CmvFSUkvf8TAKtNlYnxVdeiRz0sij5mA6 17Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ClwOBQrw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lr3si13728360ejb.514.2021.02.22.16.05.16; Mon, 22 Feb 2021 16:05:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ClwOBQrw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230360AbhBVXLV (ORCPT + 99 others); Mon, 22 Feb 2021 18:11:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230088AbhBVXLQ (ORCPT ); Mon, 22 Feb 2021 18:11:16 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C030C061574 for ; Mon, 22 Feb 2021 15:10:36 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id e7so8509019lft.2 for ; Mon, 22 Feb 2021 15:10:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=htMgZbviUWPJfHpdvErYulOZUuVUyLrfs/6w9xy28ag=; b=ClwOBQrwLYSl4rhcoxRQ/DM5JJD+v+bODw1s4lJtLIZLpR9EdecXQ0HTHBzAaHl4Ws 2SlZ7n9BfUorVsr4NXXysklod2KJtdWt0UU+mjXez2pbalJK1kXFrsJZsDPZ4+RDmbTr xpZRt9pamMdqv04Mlhknx2b0AXqapL1LxFQSZkN8UParBtLWg31UV9q6+L5DLB5eX8hW a1QCTeyuoncaoYnxdFmkzUEzbag4c24ITH1i2Fn3K+mvUYpss/c1sQxA2EWOZ/DvQlyl SKQx70LDQenui6v1rV+TJ0R6HdULMgTpC7ORwZ3Ppl/wg48R6e7g0HqawlYa9BkX1TqS zmYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=htMgZbviUWPJfHpdvErYulOZUuVUyLrfs/6w9xy28ag=; b=i2PMWtCfG4WCnUhH5VBQW5Dfxqewb6QV8ugBRj3M1CDM71tBX+b/QIl0/ENcwkOYin Dp8CdfPpazfjl0vaMSajuKaJ/+J6l23eI+n1HtJNX4JCCgnu2HrxX5lhBy6zYREEVTH/ 0euKdgPk7mTuGAXZl9myXXLK8ZxPYhoxq8vtR4+M+9mJ2K/KaVJorZrbMv4L9S8ej1GR rq1eIGetr2Fj0uGgQYMupNMM0I7s8Kx86vt785P1xFRhKreB2fJQnQCSxSwSCvFH8lOT tCn5SNkxn9rg2AiIqoiB1eLA5z6+ttCT7GsFapzwtnKZ9UNC3ahJuWdeAXMV781gP/Qt 46zw== X-Gm-Message-State: AOAM532kMHCq+ZQpr2FdBMXPwjavXFQtUaGlm4VRR7ActgooJLUOlr8+ +XMBsCc5488Kde8HQpi1RIDw0VexGNquBVyvSfbZtA== X-Received: by 2002:ac2:5de4:: with SMTP id z4mr3297329lfq.535.1614035434936; Mon, 22 Feb 2021 15:10:34 -0800 (PST) MIME-Version: 1.0 From: John Stultz Date: Mon, 22 Feb 2021 15:10:22 -0800 Message-ID: Subject: [REGRESSION] "add a disk_uevent helper" breaks booting Andorid w/ dynamic partitions To: Christoph Hellwig , Tejun Heo , Jens Axboe , David Anderson Cc: linux-block@vger.kernel.org, lkml , Todd Kjos , Amit Pundir , Alistair Delva Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey all, After updating to Linus' HEAD today I found my db845c board wouldn't boot to android with the error below. I was able to bisect the boot regression down to "block: add a disk_uevent helper": https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bc359d03c7ec1bf3b86d03bafaf6bbb21e6414fd And have validated that reverting that change seems to get things working again. I don't really know the dynamic partition DM details well, so any tips as to what might be going wrong here would be appreciated! thanks -john [ 25.782268] init: [libfs_mgr]Skipping mounting '/dev/block/dm-0' [ 25.788373] init: [libfs_mgr]Failed to open '/dev/block/dm-0': No such file or directory [ 25.796579] init: [libfs_mgr]__mount(source=/dev/block/dm-0(missing),target=/system,type=ext4)=-1: No such file or directory [ 25.807978] init: Failed to mount /system: No such file or directory [ 25.814466] init: Failed to mount required partitions early ... [ 25.820757] init: InitFatalReboot: signal 6 [ 25.833635] init: #00 pc 00000000003936a8 /init (UnwindStackCurrent::UnwindFromContext(unsigned long, void*)+96) [ 25.844001] init: #01 pc 00000000002f1df0 /init (android::init::InitFatalReboot(int)+208) [ 25.852340] init: #02 pc 00000000002f21d8 /init (android::init::InstallRebootSignalHandlers()::$_22::__invoke(int)+32) [ 25.863211] init: #03 pc 000000000000053c [vdso:0000007f97c34000] [ 25.869449] init: #04 pc 000000000045ffb0 /init (abort+176) [ 25.875163] init: #05 pc 00000000002f714c /init (android::init::InitAborter(char const*)+44) [ 25.883760] init: #06 pc 000000000034dc98 /init (android::base::SetAborter(std::__1::function&&)::$_3::__invoke(char const*)+80) [ 25.897241] init: #07 pc 000000000034d840 /init (android::base::LogMessage::~LogMessage()+360) [ 25.906002] init: #08 pc 00000000002e93a8 /init (android::init::FirstStageMain(int, char**)+6648) [ 25.915039] init: #09 pc 000000000045ee58 /init (__real_libc_init(void*, void (*)(), int (*)(int, char**, char**), structors_array_t const*, bionic_tc) [ 25.929411] init: Reboot ending, jumping to kernel