APM problem after 2.6.13.5
Hi, I've found a problem with kernels after 2.6.13.5.
I have an old (2001) laptop. Any kernel I tried:
2.6.14
2.6.14.7
2.6.15.7
2.6.16.2
2.6.16.9
2.6.16.16
2.6.16.20
2.6.17-rc6
if I enable "APM support" I get a freeze at the very beginning of the boot, without any explicit erro message, just after the PCI stuff. If you need a transcript of the messages at boot, let me know, I will have to write them by hand).
2.6.13.5 is ok. I need APM support to let the "Fn" key and the battery meter work!
I'm not subscribed to the lkml so please, CC me.
Thank you
Alessio Sangalli
Hi,
Quoted 6 lines · Alessio Sangalli
if I enable "APM support" I get a freeze at the very beginning of the boot, without any explicit erro message, just after the PCI stuff. If you need a transcript of the messages at boot, let me know, I will have to write them by hand).
2.6.13.5 is ok. I need APM support to let the "Fn" key and the battery meter work!
There's a lot of changes between 2.6.13 and 2.6.14. It would be helpful if you could narrow down the exact changeset that broke your setup. Please see the following URL for details:
http://www.kernel.org/pub/software/scm/git/docs/howto/isolate-bugs-with-bisect.txt
Pekka
Quoted 10 lines · Pekka Enberg
Hi,
Quoted 6 lines · Alessio Sangalli
if I enable "APM support" I get a freeze at the very beginning of the boot, without any explicit erro message, just after the PCI stuff. If you need a transcript of the messages at boot, let me know, I will have to write them by hand).
2.6.13.5 is ok. I need APM support to let the "Fn" key and the battery meter work!
Quoted 2 lines
There's a lot of changes between 2.6.13 and 2.6.14. It would be helpful if you could narrow down the exact changeset that broke your
done:
4196c3af25d98204216a5d6c37ad2cb303a1f2bf is first bad commit diff-tree 4196c3af25d98204216a5d6c37ad2cb303a1f2bf (from 9092b20803e4b3b3a480592794a73030f17370b3)
Author: Linus Torvalds <[email protected]> Date: Sun Oct 23 16:31:16 2005 -0700
cardbus: limit IO windows to 256 bytes
That's what we've always historically done, and bigger windows seem to confuse some cardbus bridges. Or something.
Alan reports that this makes the ThinkPad 600x series work properly
again: the 4kB IO window for some reason made IDE DMA not work, which makes IDE painfully slow even if it works after DMA timeouts.
:040000 040000 629d4d303048bffa610017e81e0e744bae08660d33e154ffe96822d09f37ae2d433de5152216501b M drivers
let me know any other test I should do to help find a solution to this problem, thank you!
Alessio Sangalli
Hi Alessio,
Quoted 6 lines · Alessio Sangalli
Quoted 6 lines
Quoted 6 lines
if I enable "APM support" I get a freeze at the very beginning of the boot, without any explicit erro message, just after the PCI stuff. If you need a transcript of the messages at boot, let me know, I will have to write them by hand).
2.6.13.5 is ok. I need APM support to let the "Fn" key and the battery meter work!
Quoted 2 lines · Pekka Enberg
Quoted 2 lines
There's a lot of changes between 2.6.13 and 2.6.14. It would be helpful if you could narrow down the exact changeset that broke your
Quoted 17 lines · Alessio Sangalli
done:
4196c3af25d98204216a5d6c37ad2cb303a1f2bfis first bad commit diff-tree4196c3af25d98204216a5d6c37ad2cb303a1f2bf(from9092b20803e4b3b3a480592794a73030f17370b3)Author: Linus Torvalds <[email protected]> Date: Sun Oct 23 16:31:16 2005 -0700cardbus: limit IO windows to 256 bytes
That's what we've always historically done, and bigger windows seem to confuse some cardbus bridges. Or something.
Alan reports that this makes the ThinkPad 600x series work properly
again: the 4kB IO window for some reason made IDE DMA not work, which makes IDE painfully slow even if it works after DMA timeouts.
Quoted 8 lines
Signed-off-by Linus Torvalds <[email protected]>:040000 040000
629d4d303048bffa610017e81e0e744bae08660d33e154ffe96822d09f37ae2d433de5152216501bM driverslet me know any other test I should do to help find a solution to this problem, thank you!
So reverting the above commit from git head makes your box boot again? Linus, any thoughts?
Pekka
Quoted 38 lines · Pekka Enberg
Hi Alessio,
Quoted 6 lines · Alessio Sangalli
Quoted 6 lines
Quoted 6 lines
if I enable "APM support" I get a freeze at the very beginning of the boot, without any explicit erro message, just after the PCI stuff. If you need a transcript of the messages at boot, let me know, I will have to write them by hand).
2.6.13.5 is ok. I need APM support to let the "Fn" key and the battery meter work!Quoted 2 lines · Pekka Enberg
Quoted 2 lines
There's a lot of changes between 2.6.13 and 2.6.14. It would be helpful if you could narrow down the exact changeset that broke your
Quoted 23 lines · Alessio Sangalli
done:
4196c3af25d98204216a5d6c37ad2cb303a1f2bfis first bad commit diff-tree4196c3af25d98204216a5d6c37ad2cb303a1f2bf(from9092b20803e4b3b3a480592794a73030f17370b3)Author: Linus Torvalds <[email protected]> Date: Sun Oct 23 16:31:16 2005 -0700cardbus: limit IO windows to 256 bytes
That's what we've always historically done, and bigger windows seem to confuse some cardbus bridges. Or something.
Alan reports that this makes the ThinkPad 600x series work properly
again: the 4kB IO window for some reason made IDE DMA not work, which makes IDE painfully slow even if it works after DMA timeouts.Signed-off-by Linus Torvalds <[email protected]>:040000 040000
629d4d303048bffa610017e81e0e744bae08660d33e154ffe96822d09f37ae2d433de5152216501bM drivers
Quoted 5 lines
Quoted 2 lines
let me know any other test I should do to help find a solution to this problem, thank you!
So reverting the above commit from git head makes your box boot again? Linus, any thoughts?
Yes, exactly. I can run 2.6.17-rc6 with only that commit reverted.
The mahcine is a notebook COMPAQ Presario 800 Model 80XL4 Pentium3@700MHz 256MB ram etc
Thank you
ciao
Alessio Sangalli
Quoted 8 lines · Alessio Sangalli
Quoted 8 lines
Quoted 8 lines
done:
4196c3af25d98204216a5d6c37ad2cb303a1f2bfis first bad commit diff-tree4196c3af25d98204216a5d6c37ad2cb303a1f2bf(from9092b20803e4b3b3a480592794a73030f17370b3)Author: Linus Torvalds <[email protected]> Date: Sun Oct 23 16:31:16 2005 -0700
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
cardbus: limit IO windows to 256 bytes
So reverting the above commit from git head makes your box boot again? Linus, any thoughts?
Yes, exactly. I can run 2.6.17-rc6 with only that commit reverted.
Any news about this problem?
Thank you
Alessio Sangalli