Re: [Bug 7505] Linux-2.6.19 fails to boot on AMD64 machine



bugme-daemon@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxx>
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@xxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

: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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: BULK COLLECT - Can it be implemented for a few rows .
    ... So we designed a NEW PROC using BULK COLLECT. ... CURSOR CUR2IS SELECT DISTINCT ... COMMIT; ... FOR I IN CUR1LOOP ...
    (comp.databases.oracle.tools)
  • Re: Straight SQL always put perform PL/SQL?
    ... end loop; ... CURSOR test_cur IS ... PL/SQL procedure successfully completed. ...
    (comp.databases.oracle.server)
  • Re: Asynchronous Commit in Oracle Database 10g R2
    ... >> end loop; ... > This is soley due to the lack of a two phase commit between these data ... Jonathan Lewis ...
    (comp.databases.oracle.server)
  • Re: [PATCH] x86: Reduce the default HZ value
    ... A simple tight loop experiment showed that with HZ=1000 we took about ... I can see at least one immediate downside: ... also talks about where these HZ based timeouts be used and ... Also the default HZ value was 250 before this commit ...
    (Linux-Kernel)
  • Re: 01555 and select statement
    ... end loop ... more than 1 million record and I think "rec" need a lot space to ... Oracle puts the before image in the undo segments or rollback ... However, as soon as you commit, the before image is a candidate to be ...
    (comp.databases.oracle.server)