Skip to contentSkip to conversation

AMD 768 erratum 10 (solved: AMD 760MPX DMA lockup)

DISCUSSION Manfred Spraul 3 participants 3 messages Sep 26, 2002 – Sep 30, 2002

lore
Share & tools
lore
#0 lore raw

The errata is not PS/2 mouse specific:
it says that the io apic doesn't implement masking interrupts correctly.

Linux uses masking aggressively - disable_irq() is implemented by masking the interrupt in the io apic. I'm surprised that this doesn't cause frequent problems. Perhaps the problem only occurs if an invalid cpu id is written into the target register, as done by Netware?

Is someone around with a ne2k-pci card and a AMD-760MPX based system?

Regarding Jan's problem: I'm not sure if his problems are related to this errata. It says that using a PS/2 mouse instead of a serial mouse with Novell Netward avoids the hang during shutdown, probably because then netware doesn't mask the irq.

--
Manfred

#1 lore raw

Manfred Spraul wrote:
: The errata is not PS/2 mouse specific:
: it says that the io apic doesn't implement masking interrupts correctly.

Yes, but it says that problem has not been observed when running
with PS/2 mouse. Which is exactly what I observe on my system. :
: Linux uses masking aggressively - disable_irq() is implemented by : masking the interrupt in the io apic. I'm surprised that this doesn't : cause frequent problems.

The errata does not say that the interrupt masking in the IO-APIC
does not work in all situations. I read it as the lock-up (caused by nonfunctional IRQ masking) sometimes occurs, nobody knows when, and it has been observed on some Netware boxes w/o the PS/2 mouse. Maybe even AMD does not know exactly what is going on there.

: Regarding Jan's problem: I'm not sure if his problems are related to : this errata. It says that using a PS/2 mouse instead of a serial mouse : with Novell Netward avoids the hang during shutdown, probably because : then netware doesn't mask the irq.

Yes, it may be a faulty board as well, but I think it is
too close to this AMD errata.

-Yenya

Signature · 5 lines
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/   Czech Linux Homepage: http://www.linux.cz/ |
|----------- If you want the holes in your knowledge showing up -----------|
|----------- try teaching someone.                  -- Alan Cox -----------|
#2 lore raw

Does this mouse have to be actively used...

Could one plug a cheap ps/2 mouse into that port and yet continue to use a USB mouse if X is configured to use it?

What is actually happening that causes the ps/2 mouse to cure this or any other problem of this nature?

Curious.

Quoted 22 lines · Jan Kasprzak

Manfred Spraul wrote:
: The errata is not PS/2 mouse specific:
: it says that the io apic doesn't implement masking interrupts correctly.

Yes, but it says that problem has not been observed when running
with PS/2 mouse. Which is exactly what I observe on my system. :
: Linux uses masking aggressively - disable_irq() is implemented by : masking the interrupt in the io apic. I'm surprised that this doesn't : cause frequent problems.

The errata does not say that the interrupt masking in the IO-APIC
does not work in all situations. I read it as the lock-up (caused by nonfunctional IRQ masking) sometimes occurs, nobody knows when, and it has been observed on some Netware boxes w/o the PS/2 mouse. Maybe even AMD does not know exactly what is going on there.

: Regarding Jan's problem: I'm not sure if his problems are related to : this errata. It says that using a PS/2 mouse instead of a serial mouse : with Novell Netward avoids the hang during shutdown, probably because : then netware doesn't mask the irq.

Quoted 17 lines

Yes, it may be a faulty board as well, but I think it is
too close to this AMD errata.

-Yenya

Signature · 10 lines
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/   Czech Linux Homepage: http://www.linux.cz/ |
|----------- If you want the holes in your knowledge showing up -----------|
|----------- try teaching someone.                  -- Alan Cox -----------|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

-- ---------------------------------------------------------------------------- Maxwell Spangler
Program Writer
Greenbelt, Maryland, U.S.A.
Washington D.C. Metropolitan Area