I wrote:...When I power the PC down there are lots of messages scrolling by
which look somewhat like lockdep spew. I can't reproduce this merely by
module unloading though. So don't put this patch into production yet.
/...a few hundreds reboots later.../
No, it is not this patch. It is something else. And whatever it is, it is already present in 2.6.25-rc3.
To reproduce it, I need to plug an SBP-2 device in and out, then shut the machine down (e.g. shutdown -h now, whereas shutdown -r now does not seem to trigger the bug).
I am now gradually removing debug options from the kernel to see which debug facility is making the fuzz...