Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1612175pxy; Thu, 29 Apr 2021 10:30:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxocJeSg2Tm3tmQYJOLRdNuEWibWcNh/RmYz9xIo7/4Vew4wa911LTjUwrQ/Z2tPSNzM4UL X-Received: by 2002:aa7:de8c:: with SMTP id j12mr919486edv.126.1619717459437; Thu, 29 Apr 2021 10:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619717459; cv=none; d=google.com; s=arc-20160816; b=c1bdsNcMFqIMNRzvQ8YC12sR9m3rMVRkyT4ItndM18QbajkmshEFlnMeXqDg7MAHTp D/JQW8zhRtjTQfbtbj6QvqmX4bM3epIfqqIlPRpyEWafesiiVCVlH3YgT3t9DY6/mmK3 mKveWI27iy+ZS+k4jah7G0lvUCIXhZRymZvd5RRmzvJail80tLnGJnoLWDTDgPKnPsrL Q+nZCzQ/+339QauIa5KMt8Zs8U00ZvzsoGVHVr00EKlXYp8/qCgKOBuTBWsTJ1UtPA5Y FNRlKvr9WxHTROkfQuDkJBwerhXqhvQxCekR68aQ/wf5ii7oYZOVhEChJ1S1iyEv8go3 Mnaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XSziMTokOmv6rPQImsA4cSVHdkuNUg+LpPXCU9FigHA=; b=cNpxpi3lHbmuDOz1qUJnk1RQXDfTiLB14cOjdTAnCgKX2AOH3nA1epTtsWJCqBCCME 6KbtyhY2YAdMFLZNbYaPFv+JO6nwkFXanaUd0KM/wClO2ZMSQ41LLCXnfANK4ZM6jdh7 VxZRk+SOh07Ud+ft6rREgO59GHcfS16unCjM4PICUozkoS06WenrBa/Q/xMBCVDc0Vhu rO2oJEqdCqbuusxdAhvPG2M638RcZKcvmzApMP9dtnQ5T3mkLwK9GuTVwBUyUjJxBQca sAB0OcL2G6GSjIsYaToa2ID/znhseEiTCzRuHDhYR/THy1B2p5ukGrcVKPl0thASkMsC 7pHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=01bV59mr; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si560840ejx.546.2021.04.29.10.30.33; Thu, 29 Apr 2021 10:30:59 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=01bV59mr; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240843AbhD2R2t (ORCPT + 99 others); Thu, 29 Apr 2021 13:28:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:45640 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233333AbhD2R2t (ORCPT ); Thu, 29 Apr 2021 13:28:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AD5DC608FE; Thu, 29 Apr 2021 17:28:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619717282; bh=OoQJKB83HnzbY/eN0bI2lGRzA4q7AjhTvKfTORo9j7Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=01bV59mrRF/mdiIFh8jMUQdvUk5/dVVKEC3g6QmpTPS/Ww/PlglhQnCxLcHHiMh+f BM8snqxoFAa2YVX5lbK6A/INJSVMHkTLYlGGk+gKloX+pfSynjw9aUvuG3lxqSwhch cowyS3UF9BXQ1OnVqhypV+kWH2cn/ZFvr1pzmxjo= Date: Thu, 29 Apr 2021 19:27:59 +0200 From: Greg KH To: Phillip Susi Cc: rafael@kernel.org, jeyu@kernel.org, linux-kernel@vger.kernel.org, msekleta@redhat.com, Peter Rajnoha Subject: Re: [PATCH 1/2] kobject: return error code if writing /sys/.../uevent fails Message-ID: References: <20181205112745.12276-2-prajnoha@redhat.com> <878s515hbp.fsf@vps.thesusis.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878s515hbp.fsf@vps.thesusis.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 29, 2021 at 09:40:08AM -0400, Phillip Susi wrote: > 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 > Spaming kernel logs with things that userspace can trigger is generally a bad idea. But I understand the pain here, sorry to hear it. Was the offending drivers ever fixed? thanks, greg k-h