Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3063249img; Mon, 25 Mar 2019 03:02:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqHXnf7yZ7KraiNQ3Entn5CORlXzQQ0k/y4VFjwqg2bA0hpbdA19WfjKiR8Q03iC7ui/gX X-Received: by 2002:a63:2c06:: with SMTP id s6mr22711709pgs.245.1553508166565; Mon, 25 Mar 2019 03:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553508166; cv=none; d=google.com; s=arc-20160816; b=PvfRYVu5+fExe5Zx4GMUDRXjmvnp2xRDtDTlLrcKucHpzMuU1Ww5llFpuAzsMP77XN Z2UDB/M2qI9EYPl1+8yKakxvgCMvBrVyszXHk4epZd4XNXsoI5aMzQTCScXFeiSUWNTY ybwGlExItv1YU4/CslbXWUKbufdy+f8xhJgwx2vJrwjASaPFVgFRPKNlxGFVnCn6CZ0d OuLf8wMagBJ5PVqvQ3HB5mPk1UilL+LAwsRl+S+zLj2OkoXyrEsIbYwVZ6WsUHH3KpZV qk/e2nANDJVMlFTHFyUuve9ET5sTlNkQh9P/OykLHpI+JR3j+pODM5RjLf8G9Hu/75uJ MHQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=QwhCg3B6/Un3AFC6Nt3b3MPD02mF4rhTJlHoVqv3zhY=; b=p1hgBx7UQmVkecqnLNLcK8JglYOawqRwr1E1ukcg2KxfogDxu1TQYHgiV+gzvksSwk Bf/JyVSwh61+I2SAiRHYkOc7uw2Ht9diWVsGidTtSOnXsGXpg/NFRq7W2c5cQRzChEgM oOqLAPd3SeyNwbB9hGjZeiGxRE8kB4y42owAI0QXgpJe77Dv7yP6rOff8ojvYfZS36gu 5+tVxV5sjFcPtiy/EW4U66T5/z1yI2XRLqnJbLbXO0hMX4/eKXteAO0a0rpZ3TR2IDWS YLXClHBAp2Q0KZqOw5yEyQ9tedslZH41WfO6VXSUi5mVadbIrE0F1Y0VSf92r7onPa1i Mrew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a7SSI3hJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si13289556pgp.378.2019.03.25.03.02.32; Mon, 25 Mar 2019 03:02:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a7SSI3hJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730561AbfCYKBd (ORCPT + 99 others); Mon, 25 Mar 2019 06:01:33 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:35730 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730361AbfCYKBc (ORCPT ); Mon, 25 Mar 2019 06:01:32 -0400 Received: by mail-oi1-f196.google.com with SMTP id j132so6463106oib.2 for ; Mon, 25 Mar 2019 03:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QwhCg3B6/Un3AFC6Nt3b3MPD02mF4rhTJlHoVqv3zhY=; b=a7SSI3hJe8Xxr63an4B0fRaFyl1HDSJ/YdPxQQQTZM69WDWA/7CVWxrKB/1JnY86vq W8tu2wgvObA1IX0jSJ99/Y+ZWVorctXtvbwac26whAy78J7YjiNKsMOYSDT8fpD1smfZ Wqpo3mQ3GXWcs1kiLyBr5BNRCaD2NFfFQ0sxTw44SM3Ums6ELvmnbO7o6m4CGPaMUeIo El6jd5P46uM+ekskDmfeEV8dfOgucPth3Soxmck4iWfzG9RczWonClE2ApJkVZ5AENhW dES97Z/ojaiQDSGTc5LH0mRqBgBuhuu+Qae+PNLt3WZezoziF9bESLs1KSsBNH8ZTK7M jL9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QwhCg3B6/Un3AFC6Nt3b3MPD02mF4rhTJlHoVqv3zhY=; b=fh+rtCwVJGuG7QGx1KaXJQ9lKfu9KTp7kiTCypygjPnGrW9k8qQ4ZGEBm3WoAg0/ke FR+AAi6LNgxWsftt5g40dPGvdqv9HwyyfRJ4GwDKGfvIH/MMgEoQo3qfOEMp4ljvbNBm xXjYYH04KofLpfjuEg/RR2guebeJVpR0pKCt0vrLTuhQBJFqeTTL/81DBWG0dZ5oWvRv IXJ/qxEpFz//tViesmrhkcWwqj7X7fVLKRct9BRRqRX0+7CxVsO9EeMHFrmdB/drufxf wKX/oCeO3qwQ1bJv0Vgm+bi0t8Pm1Ix3xZbuSUzK3g2cCvzc7goh5aeMV3zpjMtD7e// PXZw== X-Gm-Message-State: APjAAAV1h8yQ9L8TxOCEcjpB4O+GytsFzngMVkg5yvN0YmNaMQ7muhQL 5eMOnqA1qk6Trzq9t7A9oOvZa4Jyh36l9dQ/KNTf45v7Zzw= X-Received: by 2002:aca:7505:: with SMTP id q5mr10620768oic.126.1553508092041; Mon, 25 Mar 2019 03:01:32 -0700 (PDT) MIME-Version: 1.0 References: <20190313064557.GA14531@unicorn.suse.cz> <20190320211813.GE29968@unicorn.suse.cz> <1572645.oXzt2vILsi@alaris> <20190324193838.ubiljot22zhf5mjq@debian> <20190325073045.GC26076@unicorn.suse.cz> In-Reply-To: <20190325073045.GC26076@unicorn.suse.cz> From: Sudip Mukherjee Date: Mon, 25 Mar 2019 10:00:54 +0000 Message-ID: Subject: Re: regression (bisected): "modprobe parport_pc" hangs in current mainline To: Michal Kubecek Cc: linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 25, 2019 at 7:30 AM Michal Kubecek wrote: > > On Sun, Mar 24, 2019 at 07:38:38PM +0000, Sudip Mukherjee wrote: > > And I was able to reproduce the problem using a vm and Suse Tumblewood with > > next-20190322. Can you please try the attached patch and test on your vm and > > machine and check if it fixes the problem. > > > > -- > > Regards > > Sudip > > > diff --git a/drivers/parport/share.c b/drivers/parport/share.c > > index 0171b8dbcdcd..f87948fbfc34 100644 > > --- a/drivers/parport/share.c > > +++ b/drivers/parport/share.c > > @@ -274,7 +274,7 @@ static int port_check(struct device *dev, void *dev_drv) > > int __parport_register_driver(struct parport_driver *drv, struct module *owner, > > const char *mod_name) > > { > > - if (list_empty(&portlist)) > > + if (list_empty(&portlist) && strcmp(drv->name, "daisy_drv")) > > get_lowlevel_driver(); > > > > if (drv->devmodel) { > > Yes, with this patch (on top of v5.1-rc2), both physical machine and VM > let the module(s) load cleanly even with the alias line restored. > > Tested-by: Michal Kubecek Thanks Michal. I will add it to my queue with your Tested-by. btw, I think I liked using Suse. :) -- Regards Sudip