From: Andrew Morton <akpm@osdl.org>
To: Mike Galbraith <efault@gmx.de>
Cc: Greg KH <gregkh@suse.de>, "Martin J. Bligh" <mbligh@google.com>,
Cornelia Huck <cornelia.huck@de.ibm.com>,
Andy Whitcroft <apw@shadowen.org>,
linux-kernel@vger.kernel.org, Steve Fox <drfickle@us.ibm.com>
Subject: Re: 2.6.19-rc3-mm1 -- missing network adaptors
Date: Wed, 1 Nov 2006 10:48:53 -0800 [thread overview]
Message-ID: <20061101104853.4e5e6c64.akpm@osdl.org> (raw)
In-Reply-To: <1162373184.6126.8.camel@Homer.simpson.net>
On Wed, 01 Nov 2006 10:26:24 +0100
Mike Galbraith <efault@gmx.de> wrote:
> On Wed, 2006-11-01 at 07:12 +0100, Mike Galbraith wrote:
> > On Tue, 2006-10-31 at 21:25 -0800, Andrew Morton wrote:
> > > On Wed, 01 Nov 2006 05:43:18 +0100
> > > Mike Galbraith <efault@gmx.de> wrote:
> > >
> > > > On Tue, 2006-10-31 at 19:14 +0100, Mike Galbraith wrote:
> > > >
> > > > > Seems it's driver-core-fixes-sysfs_create_link-retval-checks-in.patch
> > > > >
> > > > > Tomorrow, I'll revert that alone from 2.6.19-rc3-mm1 to confirm...
> > > >
> > > > Confirmed. Boots fine with that patch reverted.
> > >
> > > Could you test with something like this applied?
> >
> > No output. I had already enabled debugging, but got nada there either.
> > Bugger. <scritch scritch>
>
> Duh! (what a maroon) I booted the wrong kernel due to a typo.
>
> I enabled some other debug options (poke/hope), and it now boots past
> the BUG at arch/i386/mm/pageattr.c:165 point, through the sound NULL
> pointer dereference, and on to the eventual complete hang as NFS is
> being initialized. The log shows 326 failures at lines 385 and 589.
You mean 326 separate failures? erp.
So it's failing here:
static int device_add_class_symlinks(struct device *dev)
{
int error;
if (!dev->class)
return 0;
error = sysfs_create_link(&dev->kobj, &dev->class->subsys.kset.kobj,
"subsystem");
if (error) {
DB();
goto out;
}
error = sysfs_create_link(&dev->class->subsys.kset.kobj, &dev->kobj,
dev->bus_id);
if (error) {
-->> DB();
goto out_subsys;
}
Now, prior to driver-core-fixes-sysfs_create_link-retval-checks-in.patch we
were simply ignoring the return value of sysfs_create_link(). Now we're
not ignoring it and stuff is failing.
I'm suspecting that the second call to sysfs_create_link() in device_add():
if (dev->class) {
sysfs_create_link(&dev->kobj, &dev->class->subsys.kset.kobj,
"subsystem");
-->> sysfs_create_link(&dev->class->subsys.kset.kobj, &dev->kobj,
dev->bus_id);
is simply always failing, only we never knew about it.
It would be useful if you could tell us what `error' is in there. Usually
-EEXIST.
Greg, what is that call actually linking from and to?
next prev parent reply other threads:[~2006-11-01 18:50 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-30 0:00 2.6.19-rc3-mm1 Andrew Morton
2006-10-30 2:50 ` 2.6.19-rc3-mm1 Dave Jones
2006-10-30 3:54 ` 2.6.19-rc3-mm1 Greg KH
2006-10-30 5:16 ` 2.6.19-rc3-mm1 Andrew Morton
2006-10-30 5:56 ` 2.6.19-rc3-mm1 Greg KH
2006-10-30 19:55 ` 2.6.19-rc3-mm1 - ATI SATA controller not detected Rafael J. Wysocki
2006-10-30 20:04 ` Greg KH
2006-10-30 20:15 ` 2.6.19-rc3-mm1 - udev doesn't work (was: ATI SATA controller not detected) Rafael J. Wysocki
2006-10-30 20:22 ` Greg KH
2006-10-30 20:48 ` Rafael J. Wysocki
2006-10-30 20:57 ` Greg KH
2006-10-31 0:19 ` Rafael J. Wysocki
2006-10-31 7:29 ` Rafael J. Wysocki
2006-10-31 7:40 ` Andrew Morton
2006-10-31 7:48 ` Rafael J. Wysocki
2006-10-31 7:58 ` Andrew Morton
2006-11-02 2:29 ` 2.6.19-rc3-mm1 - udev doesn't work Andy Whitcroft
2006-10-30 20:36 ` Jeff Garzik
2006-10-30 20:45 ` Rafael J. Wysocki
2006-10-30 10:36 ` 2.6.19-rc3-mm1 Reuben Farrelly
2006-10-30 16:53 ` 2.6.19-rc3-mm1 Om Narasimhan
2006-10-30 15:25 ` 2.6.19-rc3-mm1 -- missing network adaptors Andy Whitcroft
2006-10-30 15:47 ` Martin J. Bligh
2006-10-30 16:47 ` Andrew Morton
2006-10-30 17:09 ` Martin Bligh
2006-10-30 17:21 ` Andy Whitcroft
2006-10-30 20:14 ` Cornelia Huck
2006-10-31 6:30 ` Mike Galbraith
2006-10-31 6:37 ` Martin J. Bligh
2006-10-31 6:54 ` Mike Galbraith
2006-10-31 7:13 ` Greg KH
2006-10-31 7:15 ` Mike Galbraith
2006-10-31 7:21 ` Greg KH
2006-10-31 7:31 ` Mike Galbraith
2006-10-31 8:03 ` Mike Galbraith
2006-10-31 19:07 ` Greg KH
2006-10-31 6:59 ` Greg KH
2006-10-31 7:09 ` Mike Galbraith
2006-10-31 7:22 ` Greg KH
2006-10-31 16:28 ` Mike Galbraith
2006-10-31 18:14 ` Mike Galbraith
2006-11-01 4:43 ` Mike Galbraith
2006-11-01 5:25 ` Andrew Morton
2006-11-01 6:12 ` Mike Galbraith
2006-11-01 7:43 ` Mike Galbraith
2006-11-01 9:26 ` Mike Galbraith
2006-11-01 18:48 ` Andrew Morton [this message]
2006-11-01 20:13 ` Greg KH
2006-11-01 21:15 ` Mike Galbraith
2006-10-31 7:30 ` Martin J. Bligh
2006-10-31 7:58 ` Greg KH
2006-10-31 15:52 ` Martin J. Bligh
2006-10-31 16:46 ` Cornelia Huck
2006-10-31 17:09 ` Martin J. Bligh
2006-10-31 17:29 ` Cornelia Huck
2006-10-31 17:55 ` Andy Whitcroft
2006-11-01 1:39 ` Martin Bligh
2006-11-01 2:08 ` Greg KH
2006-11-01 2:11 ` Martin Bligh
2006-11-01 16:43 ` Greg KH
2006-11-02 5:24 ` Greg KH
2006-11-02 5:26 ` Martin J. Bligh
2006-11-02 5:49 ` Greg KH
2006-11-02 5:54 ` Mike Galbraith
2006-11-02 6:02 ` Greg KH
2006-11-02 6:07 ` Andrew Morton
2006-11-02 6:42 ` Greg KH
2006-11-02 6:49 ` Andrew Morton
2006-11-02 6:56 ` Greg KH
2006-11-02 9:22 ` Andy Whitcroft
2006-11-02 10:26 ` Cornelia Huck
2006-11-03 0:57 ` Greg KH
2006-11-02 6:32 ` Martin J. Bligh
2006-11-02 6:41 ` Andrew Morton
2006-11-01 10:00 ` Andy Whitcroft
2006-10-31 21:31 ` Greg KH
2006-11-01 4:44 ` Mike Galbraith
2006-10-31 7:36 ` Mike Galbraith
2006-10-31 8:03 ` Cornelia Huck
2006-10-30 20:38 ` Andy Whitcroft
2006-10-31 1:03 ` Andy Whitcroft
2006-10-31 1:26 ` [2.6.19-rc3-mm1] BUG at arch/i386/mm/pageattr.c:165 Andrew James Wade
2006-10-31 2:04 ` Andrew Morton
2006-10-31 3:03 ` Andrew James Wade
2006-10-31 3:13 ` Andrew Morton
2006-10-31 3:58 ` Andrew James Wade
2006-10-31 4:11 ` Andrew Morton
2006-10-31 4:20 ` Greg KH
2006-10-31 5:09 ` Andrew James Wade
2006-11-01 16:25 ` Andrew James Wade
2006-10-31 5:10 ` Andrew Morton
2006-10-31 6:31 ` Mike Galbraith
2006-10-31 7:03 ` Greg KH
2006-10-31 7:34 ` Andrew Morton
2006-10-31 7:48 ` Andrew Morton
2006-10-31 8:01 ` Greg KH
2006-10-31 8:12 ` Andrew Morton
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=20061101104853.4e5e6c64.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=apw@shadowen.org \
--cc=cornelia.huck@de.ibm.com \
--cc=drfickle@us.ibm.com \
--cc=efault@gmx.de \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@google.com \
/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