* Re: [Bug 7505] Linux-2.6.19 fails to boot on AMD64 machine
[not found] <200611302111.kAULBugP011242@fire-2.osdl.org>
@ 2006-11-30 21:46 ` Eric W. Biederman
2006-12-01 7:09 ` Andrew Morton
2006-12-02 8:54 ` Stefano Takekawa
0 siblings, 2 replies; 3+ messages in thread
From: Eric W. Biederman @ 2006-11-30 21:46 UTC (permalink / raw)
To: Alexander Galanin, take
Cc: linux-kernel, Andi Kleen, benh, Greg Kroah-Hartman, Zhang Yanmin
bugme-daemon@bugzilla.kernel.org writes:
> http://bugzilla.kernel.org/show_bug.cgi?id=7505
> one. I think this was a better bisection and I got this
> Bisecting: 1 revisions left to test after this
> [d71374dafbba7ec3f67371d3b7e9f6310a588808] PCI: fix race with pci_walk_bus and
> pci_destroy_dev
> d71374dafbba7ec3f67371d3b7e9f6310a588808 is first bad commit
> commit d71374dafbba7ec3f67371d3b7e9f6310a588808
> Author: Zhang Yanmin <yanmin.zhang@intel.com>
> Date: Fri Jun 2 12:35:43 2006 +0800
>
> [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev
>
> pci_walk_bus has a race with pci_destroy_dev. When cb is called
> in pci_walk_bus, pci_destroy_dev might unlink the dev pointed by next.
> Later on in the next loop, pointer next becomes NULL and cause
> kernel panic.
>
> Below patch against 2.6.17-rc4 fixes it by changing pci_bus_lock (spin_lock)
> to pci_bus_sem (rw_semaphore).
>
> Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
>
> :040000 040000 570ec0423dac5f57a4b7db859e4f502fab422b4d
> 3fbe35bcc512418894e9ae3862f44363b8b0ab4e M drivers
>
Let's try and discussing this someplace where people are watching. Bugzilla
seems to be a horrible medium for tracking down bugs.
Does reverting the above commit allow later kernels to boot? Or do you
still get the impossible oops?
Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bug 7505] Linux-2.6.19 fails to boot on AMD64 machine
2006-11-30 21:46 ` [Bug 7505] Linux-2.6.19 fails to boot on AMD64 machine Eric W. Biederman
@ 2006-12-01 7:09 ` Andrew Morton
2006-12-02 8:54 ` Stefano Takekawa
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2006-12-01 7:09 UTC (permalink / raw)
To: Eric W. Biederman
Cc: Alexander Galanin, take, linux-kernel, Andi Kleen, benh,
Greg Kroah-Hartman, Zhang Yanmin
On Thu, 30 Nov 2006 14:46:48 -0700
ebiederm@xmission.com (Eric W. Biederman) wrote:
> Let's try and discussing this someplace where people are watching. Bugzilla
> seems to be a horrible medium for tracking down bugs.
You can certainly do that, but please cc bugme-daemon@kernel-bugs.osdl.org
as well, so bugzilla records the discussion.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bug 7505] Linux-2.6.19 fails to boot on AMD64 machine
2006-11-30 21:46 ` [Bug 7505] Linux-2.6.19 fails to boot on AMD64 machine Eric W. Biederman
2006-12-01 7:09 ` Andrew Morton
@ 2006-12-02 8:54 ` Stefano Takekawa
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Takekawa @ 2006-12-02 8:54 UTC (permalink / raw)
To: Eric W. Biederman
Cc: Alexander Galanin, linux-kernel, Andi Kleen, benh,
Greg Kroah-Hartman, Zhang Yanmin, bugme-daemon
> Il giorno gio, 30/11/2006 alle 14.46 -0700, Eric W. Biederman ha
> scritto:
> bugme-daemon@bugzilla.kernel.org writes:
>
> > http://bugzilla.kernel.org/show_bug.cgi?id=7505
>
> > one. I think this was a better bisection and I got this
>
> > Bisecting: 1 revisions left to test after this
> > [d71374dafbba7ec3f67371d3b7e9f6310a588808] PCI: fix race with pci_walk_bus and
> > pci_destroy_dev
> > d71374dafbba7ec3f67371d3b7e9f6310a588808 is first bad commit
> > commit d71374dafbba7ec3f67371d3b7e9f6310a588808
> > Author: Zhang Yanmin <yanmin.zhang@intel.com>
> > Date: Fri Jun 2 12:35:43 2006 +0800
> >
> > [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev
> >
> > pci_walk_bus has a race with pci_destroy_dev. When cb is called
> > in pci_walk_bus, pci_destroy_dev might unlink the dev pointed by next.
> > Later on in the next loop, pointer next becomes NULL and cause
> > kernel panic.
> >
> > Below patch against 2.6.17-rc4 fixes it by changing pci_bus_lock (spin_lock)
> > to pci_bus_sem (rw_semaphore).
> >
> > Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
> >
> > :040000 040000 570ec0423dac5f57a4b7db859e4f502fab422b4d
> > 3fbe35bcc512418894e9ae3862f44363b8b0ab4e M drivers
> >
>
> Let's try and discussing this someplace where people are watching. Bugzilla
> seems to be a horrible medium for tracking down bugs.
>
> Does reverting the above commit allow later kernels to boot? Or do you
> still get the impossible oops?
>
> Eric
I tried to revert the commit:
$ git revert d71374dafbba7ec3f67371d3b7e9f6310a588808
First trying simple merge strategy to revert.
Simple revert fails; trying Automatic revert.
Auto-merging drivers/pci/bus.c
merge: warning: conflicts during merge
ERROR: Merge conflict in drivers/pci/bus.c
Auto-merging drivers/pci/pci.h
Auto-merging drivers/pci/probe.c
Auto-merging drivers/pci/remove.c
Auto-merging drivers/pci/search.c
fatal: merge program failed
Automatic revert failed. After resolving the conflicts,
mark the corrected paths with 'git-update-index <paths>'
and commit the result.
I don't know how to go on. Could someone help me?
(I'm leaving tomorrow, I'll be back in 4 days.)
--
Stefano Takekawa <take@libero.it>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-02 8:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200611302111.kAULBugP011242@fire-2.osdl.org>
2006-11-30 21:46 ` [Bug 7505] Linux-2.6.19 fails to boot on AMD64 machine Eric W. Biederman
2006-12-01 7:09 ` Andrew Morton
2006-12-02 8:54 ` Stefano Takekawa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®