Box freezes if I enable "AMD 76x native power management"
Hello!
Starting from 2.4.20 until now (including 2.4.21-pre4 and 2.4.21-pre4-ac5", whenever I enable "AMD 76x native power management" in my kernel config, I get kernel that hangs at boot after reporting elevator stuff about my IDE drives. Is anybody interested?
I have dual-cpu Athlon-1700+ on some Tyan MB:
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller (rev 17).
Master Capable. Latency=64.
Prefetchable 32 bit memory at 0xf4000000 [0xf7ffffff].
Prefetchable 32 bit memory at 0xf0101000 [0xf0101fff].
I/O at 0x1430 [0x1433]. Bus 0, device 1, function 0:
PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP Bridge (rev 0).
Master Capable. Latency=99. Min Gnt=12.
Bus 0, device 7, function 0:
ISA bridge: Advanced Micro Devices [AMD] AMD-766 [ViperPlus] ISA (rev 2).
Bus 0, device 7, function 1:
IDE interface: Advanced Micro Devices [AMD] AMD-766 [ViperPlus] IDE (rev 1).
Master Capable. Latency=64.
I/O at 0xf000 [0xf00f].
Bus 0, device 7, function 3:
Bridge: Advanced Micro Devices [AMD] AMD-766 [ViperPlus] ACPI (rev 1).
Master Capable. Latency=64.
Bus 0, device 7, function 4:
USB Controller: Advanced Micro Devices [AMD] AMD-766 [ViperPlus] USB (rev 7).
IRQ 11.
Master Capable. Latency=16. Max Lat=80.
Non-prefetchable 32 bit memory at 0xdc000 [0xdcfff].
Bye,
Oleg
Quoted 7 lines · Oleg Drokin
Hello!
Starting from 2.4.20 until now (including 2.4.21-pre4 and 2.4.21-pre4-ac5", whenever I enable "AMD 76x native power management" in my kernel config, I get kernel that hangs at boot after reporting elevator stuff about my IDE drives. Is anybody interested?
It doesnt work with some tyan boards. I've never found out why. Most of them you load the module, it stops, you poke the button and it wakes up again and then works
Hello!
Quoted 6 lines · Alan Cox
Quoted 4 lines
Starting from 2.4.20 until now (including 2.4.21-pre4 and 2.4.21-pre4-ac5", whenever I enable "AMD 76x native power management" in my kernel config, I get kernel that hangs at boot after reporting elevator stuff about my IDE drives. Is anybody interested?
It doesnt work with some tyan boards. I've never found out why. Most of them you load the module, it stops, you poke the button and it wakes up again and then works
This is not my case it seems. No matter what I press, it is dead. But I compile it statically into kernel, though. Have not tried with a module yet, though.
Bye,
Oleg
Quoted 6 lines · Oleg Drokin
Hello!
Starting from 2.4.20 until now (including 2.4.21-pre4 and 2.4.21-pre4-ac5", whenever I enable "AMD 76x native power management" in my kernel config, I get kernel that hangs at boot after reporting elevator stuff about my IDE drives. Is anybody interested?
I am. This sounds suspiciously like the bug I reported.
But you haven't given quite enough information for me to compare. Can you send:
1) Exact Mother board (Tyan what? Tiger MPX 2466N . . . ?)
2) Do you have DMA turned on for your IDE drives?
3) Are you enabling the AMD chip support for IDE?
. . . and anything else you can find out about the box?
Most importantly . . . does the problem go away if you turn off DMA support for IDE?
Thanks,
John S.
Quoted 11 lines · John W. M. Stevens
Quoted 5 lines · Oleg Drokin
Starting from 2.4.20 until now (including 2.4.21-pre4 and
2.4.21-pre4-ac5", whenever I enable "AMD 76x native power management" in my kernel config, I get kernel that hangs at boot after reporting elevator stuff about my IDE drives. Is anybody interested?[..]
1) Exact Mother board (Tyan what? Tiger MPX 2466N . . . ?)
2) Do you have DMA turned on for your IDE drives?
3) Are you enabling the AMD chip support for IDE?
Quoted 4 lines
. . . and anything else you can find out about the box?
Most importantly . . . does the problem go away if you turn off DMA support for IDE?
I have some problems with this hardware, too. Maybe I can provide some useful bugreports - I'd gladly do some tests with the 2.4.x kernels if someone is interested (I only tried 2.4.19 and 2.4.20 with this hardware so far).
I have a Tyan S2466N-4M (Tiger MPX, Chipset AMD 760MPX, 762, 768), 2x Athlon MP 2000+,
512MB Reg. ECC SDRAM
2-3 IDE drives and a DVD-ROM on the onboard channels
DMA support enabled (I don't like to disable this, because when I copy over 100MB from the DVD to a harddrive with DMA disabled the cpu-usage wents well above 50% and then the machine _freezes_.)
With 2.4.19, the power-switch didn't work after shutdown (It works now with 2.4.20). Automatic power-off (halt -p) doesn't work with neighter 2.4.19 nor 2.4.20.
With "AMD 76x native power management" I experienced freezes under X11 when the system was idle for about 30 min that usually went away when I typed on the keyboard. Using the (USB) mouse had no effect. But I had no problems at boot-time.
Thomas.
Quoted 4 lines · Thomas Hofer
With "AMD 76x native power management" I experienced freezes under X11 when the system was idle for about 30 min that usually went away when I typed on the keyboard. Using the (USB) mouse had no effect. But I had no problems at boot-time.
I've seen this too, but only in certain kernels. Someone needs to take the time to binary search the pre patches to track down which one introduced the problem...
-ben
Signature · 1 line
Don't email: <a href=mailto:"[email protected]">[email protected]</a>
Hello!
Quoted 5 lines · John W. M. Stevens
Quoted 4 lines
Starting from 2.4.20 until now (including 2.4.21-pre4 and 2.4.21-pre4-ac5", whenever I enable "AMD 76x native power management" in my kernel config, I get kernel that hangs at boot after reporting elevator stuff about my IDE drives. Is anybody interested?
I am. This sounds suspiciously like the bug I reported.
Hm.
Quoted 3 lines
But you haven't given quite enough information for me to compare. Can you send:
1) Exact Mother board (Tyan what? Tiger MPX 2466N . . . ?)
Tyan Tiger MP (bios v1.03)
Quoted 1 line
2) Do you have DMA turned on for your IDE drives?
Yes. Tried to boot with "ide=nodma". It hung too, but first emitted about set_drive_speed_blah: ... error messages.
Quoted 1 line
3) Are you enabling the AMD chip support for IDE?
Yes. I tried to disable "AMD Viper" IDE support in kernel, but that did not help.
Quoted 1 line
. . . and anything else you can find out about the box?
Well, dual cpu athlon 1700+, 1G RAM. 2 IDE disks on primary channel. Geforce3 video card. Some cheap cmpci sound board.
That's it.
Quoted 2 lines
Most importantly . . . does the problem go away if you turn off DMA support for IDE?
No.
Bye,
Oleg