Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1428987pxy; Thu, 29 Apr 2021 07:01:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0KTN53uf5JHnZ4awQFhDZwpmHRPlDQbkS03KVjIxrduXdQhYDPKhJgLbwIvaNvvTOeRAy X-Received: by 2002:a17:906:7806:: with SMTP id u6mr1697ejm.130.1619704871060; Thu, 29 Apr 2021 07:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619704871; cv=none; d=google.com; s=arc-20160816; b=fp7WIlr9mi65MVkTBwhdmmGygGr4HkQSq6G7CNgSHU+pVKCOwEBP1YA29H7nD3NMaW CRUwafh9gBpKR/tO8zc97QwNqhXaEWCEoqYenzaVuAdiYdqpstgPCPpe9DnT5EUHT2jN OhG8n6nhftESKAmdmnAIUe2O5HS86mX606BQznYKlVKnfqnuqoGtFWLcak5fPANrg8AF DM5zoSBklapNFOVtsD4vXIF0i/pN9M/HMbohGl0HAp3rv9ShjI2zDp0YXufadcL05sC3 PzCnchl5C3g3fdE48qGzWwsP0UJlWI7ZJgczhnbc5+KNGO1mr+6xsVIw266nrexZ8sjg QZ9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:in-reply-to:subject :cc:to:from:user-agent; bh=R2QWJ9dbhai2iP2WMaHfiTcvSmeVBf6CwH6ef8Pyy6I=; b=bH0TUudUDjLGK+pLtniycVWRpNygf29KEk6FQPnbhK2Gq/oyVdAB1c/EKc/3Os00D/ aRvMXBxeY0B6J2W/dpdzP8YiF1bAhcsDvpudzBepQGeRbNJoQ57rs6hYyMYFkkn4mohc t+RI/Ny9h3+HzVDQJ5pewYtfCHixNLdKsEmkcxdXNoEhpVd9ZhCSwig6AxK0MOeCqr+d NHb26dgaBh5K1tg7r+H0D/4SccGpxfF0WGQE4hbDznLsxw+e8JepXGJk7jZ9nVXzcW+o 7eaJbBU7np4GE2CzBd18reynTTWRyi+5EbQkF0toI3a53b/ZkZ4sBC18KG1e+5NO6WpZ dBOg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h16si3209827edv.35.2021.04.29.07.00.47; Thu, 29 Apr 2021 07:01:11 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237314AbhD2OAW (ORCPT + 99 others); Thu, 29 Apr 2021 10:00:22 -0400 Received: from vps.thesusis.net ([34.202.238.73]:37074 "EHLO vps.thesusis.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233862AbhD2OAU (ORCPT ); Thu, 29 Apr 2021 10:00:20 -0400 X-Greylist: delayed 441 seconds by postgrey-1.27 at vger.kernel.org; Thu, 29 Apr 2021 10:00:20 EDT Received: from localhost (localhost [127.0.0.1]) by vps.thesusis.net (Postfix) with ESMTP id AD44A2EC64; Thu, 29 Apr 2021 09:52:10 -0400 (EDT) Received: from vps.thesusis.net ([127.0.0.1]) by localhost (vps.thesusis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F20wM5zUlzsp; Thu, 29 Apr 2021 09:52:10 -0400 (EDT) Received: by vps.thesusis.net (Postfix, from userid 1000) id 753582EC66; Thu, 29 Apr 2021 09:52:10 -0400 (EDT) User-agent: mu4e 1.5.7; emacs 26.3 From: Phillip Susi To: gregkh@linuxfoundation.org, rafael@kernel.org, jeyu@kernel.org, linux-kernel@vger.kernel.org Cc: msekleta@redhat.com, Peter Rajnoha Subject: Re: [PATCH 1/2] kobject: return error code if writing /sys/.../uevent fails In-Reply-To: <20181205112745.12276-2-prajnoha@redhat.com> Date: Thu, 29 Apr 2021 09:40:08 -0400 Message-ID: <878s515hbp.fsf@vps.thesusis.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just an FYI, I've been tracking down a bug that was causing the debian bullseye installer to immediately crash and reboot the xen domU and bisected it to this commit. It appears that the Xen Virtual Keyboard driver ( and at least one other, probably more ) were always broken and failed to trigger the udev event, but this was never noticed. When this patch returned the error code, it caused the d-i init scripts triggering coldplug events to fail, which caused init to bail out, causing a kernel panic. In the future, when fixing error returns like this, could you please add a big fat printk so that hopefully things that always should have failed but didn't and now do can get noticed and fixed more quickly. https://bugzilla.kernel.org/show_bug.cgi?id=207695 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983357