From: Mike Galbraith <efault@gmx.de>
To: Greg KH <greg@kroah.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.20.git regression: 'PCI: add the sysfs driver name to all modules' causes hard hang on boot
Date: Sun, 18 Feb 2007 09:02:32 +0100 [thread overview]
Message-ID: <1171785752.6787.17.camel@Homer.simpson.net> (raw)
In-Reply-To: <1171700401.6443.16.camel@Homer.simpson.net>
On Sat, 2007-02-17 at 09:20 +0100, Mike Galbraith wrote:
> On Fri, 2007-02-16 at 17:50 -0800, Greg KH wrote:
> > On Sat, Feb 17, 2007 at 02:38:08AM +0100, Mike Galbraith wrote:
> > > On Fri, 2007-02-16 at 14:36 -0800, Greg KH wrote:
> > > > On Fri, Feb 16, 2007 at 10:55:10AM +0100, Mike Galbraith wrote:
> > > > > Greetings,
> > > > >
> > > > > Per $subject, git.yesterday hangs hard on boot here. A git bisect
> > > > > fingered the commit below, which I verified via git bisect reset; git
> > > > > revert -n 725522b5453dd680412f2b6463a988e4fd148757, after which box
> > > > > boots fine. (well, I hope I verified... i'm git-ignorant)
> > > >
> > > > If you change CONFIG_SYSFS_DEPRECATED to Y, does that solve the problem?
> > >
> > > It's already set.
> >
> > It's not set in the config file you sent to me and the list :)
>
> Oops. (Lysdexic mouse, or friends+Aerosmith+beer+2:30A.M.:) Makes no
> difference. Nada from nmi_watchdog either btw.
The reason it's hanging is that nobody releases the driver, so we wait
forever in driver_unregister(). With the below, box boots fine...
--- drivers/base/bus.c.org 2007-02-18 08:38:57.000000000 +0100
+++ drivers/base/bus.c 2007-02-18 08:39:09.000000000 +0100
@@ -593,6 +593,7 @@ void bus_remove_driver(struct device_dri
driver_detach(drv);
module_remove_driver(drv);
kobject_unregister(&drv->kobj);
+ driver_release(&drv->kobj);
put_bus(drv->bus);
}
...but that can't be right given that the darn thing booted just fine
prior to the naming patch with an equally unhappy init_ipmi_si(). Hmm.
-Mike
next prev parent reply other threads:[~2007-02-18 8:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-16 9:55 2.6.20.git regression: 'PCI: add the sysfs driver name to all modules' causes hard hang on boot Mike Galbraith
2007-02-16 22:36 ` Greg KH
2007-02-17 1:38 ` Mike Galbraith
2007-02-17 1:50 ` Greg KH
2007-02-17 2:21 ` Markus Rechberger
2007-02-17 3:04 ` Markus Rechberger
2007-02-17 4:54 ` Greg KH
2007-02-17 8:20 ` Mike Galbraith
2007-02-18 8:02 ` Mike Galbraith [this message]
2007-02-18 9:27 ` Mike Galbraith
2007-02-19 6:24 ` [patch] " Mike Galbraith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1171785752.6787.17.camel@Homer.simpson.net \
--to=efault@gmx.de \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox