Re: BUG in 2.6.18.1?

From: John Richard Moser
Date: Sun Oct 15 2006 - 20:04:46 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Larry Finger wrote:
> Running 2.6.18.1, I got the following warning in my log:
>
> Oct 15 16:24:38 larrylap kernel: BUG: warning at
> kernel/lockdep.c:565/print_infinite_recursion_bug()
> Oct 15 16:24:38 larrylap kernel: [<c0103b3f>]
> show_trace_log_lvl+0x1af/0x1d0
> Oct 15 16:24:38 larrylap kernel: [<c0104f4b>] show_trace+0x1b/0x20
> Oct 15 16:24:38 larrylap kernel: [<c0104f76>] dump_stack+0x26/0x30
> Oct 15 16:24:38 larrylap kernel: [<c0131099>]
> print_infinite_recursion_bug+0x49/0x50
> Oct 15 16:24:38 larrylap kernel: [<c01311d5>]
> find_usage_backwards+0x65/0xd0
> Oct 15 16:24:38 larrylap kernel: [<c0131210>]
> find_usage_backwards+0xa0/0xd0
> Oct 15 16:24:38 larrylap kernel: [<c0131210>]
> find_usage_backwards+0xa0/0xd0
> Oct 15 16:24:38 larrylap kernel: [<c0131210>]
> find_usage_backwards+0xa0/0xd0
> Oct 15 16:24:38 larrylap kernel: [<c0131210>]
> find_usage_backwards+0xa0/0xd0
> Oct 15 16:24:38 larrylap kernel: [<c0131210>]
> find_usage_backwards+0xa0/0xd0
> Oct 15 16:24:38 larrylap kernel: [<c0131210>]
> find_usage_backwards+0xa0/0xd0

....

Hmmm... 21 is infinite? Interesting.

I find that it would be interesting to me personally if the kernel was
smart enough to spit out something like:

Oct 15 16:24:38 larrylap kernel: [<c0131210>] find_[...]+0xa0/0xd0
[21 times]

(of course, with find_usage_backwards spelled out)

After all, what if it's practical that a specific recursion would run
3000 times and it gets caught at 5000 times? ("f**king bad design")

Just a pet peeve of mine though.
- --
We will enslave their women, eat their children and rape their
cattle!
-- Bosc, Evil alien overlord from the fifth dimension
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBRTLMSgs1xW0HCTEFAQLvmQ/+I0ya8tRmqMjzYlqHSzOT7jBP0ExCrmQo
elC3TYyfyGL6GJwlG9MdB5Fklf4DTB7p1Wn89+tua0VgfVJp7E045qCVeoyA/74u
vAYaw2MHS/d2wacZN9SWXyqDvE6lnTbVnU1dQXoiSXYCu8mNQAgC0H2sW14e4qrL
OJQdNTcJ9tV7gwoIbyuGFEP4iUQvNKBqShhtjBn10bvwuX4g+AKGkkbw0P43B2ss
9q6eoNEdfgNNQ+oCUlUr8UauuAkP633SL7Zym8AQ99KQLztne0PG6MfW5BAa6s+X
86hW8Y/6HEbqFJWMs8O3S2aUSnEqvzV/y5DirbdOynjDFi8OdWjMDr5XG4PFuGqP
OhCenxfW+W7YTflHnqnB7Y0cQDvhFL9JrItaBDgfL/DkqF0ThiXjwbEYiid+wRRh
758AuYqlx6HYaHn2s1qqQSNRSuKSUj9YddvQknQgQtkq68vQsZ1v8qezwpJnmkKt
39jSUGV6s/1NHW3VOVrC/b2VThq7JT1qFG/LNuFpjHRs39gj/MK+vTZScHMJDTJe
0g9urF205RJPd2OgHsjhqRx0r+XaTUJtaJltpjcmC09jROTBYADWhGXP9m6lxaLE
liQ3PiX1kePex0rWtH7dgaJMPJJKvUnLuW0w50TYoFY7R02sYseyWtxKLaU0vmaG
w2P0InYQ00E=
=YhSr
-----END PGP SIGNATURE-----
-
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/