Bug#600487: Invalid GART PTE entry errors during bulk data transfers

2011-07-25 Thread Ben Hutchings
On Mon, Jul 25, 2011 at 12:23:13AM +0200, Jaap Hoetmer wrote:
 Thanks, Ben.
 I am not too familiar with non-stock kernels.

I am referring to Debian kernel package version 2.6.32-35, which
is the current version in stable (Debian 6.0.2).  The command
'dpkg -s linux-image-2.6.32-5-amd64' will show the current package
version (among other things).

[...]
 Where can I find the release notes of the 2.6.32-35 kernel?
 
In the Debian changelog.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
  - Albert Camus


signature.asc
Description: Digital signature


Bug#600487: Invalid GART PTE entry errors during bulk data transfers

2011-07-25 Thread Bastian Blank
On Mon, Jul 25, 2011 at 10:21:31AM +0100, Ben Hutchings wrote:
 On Mon, Jul 25, 2011 at 12:23:13AM +0200, Jaap Hoetmer wrote:
  Thanks, Ben.
  I am not too familiar with non-stock kernels.
 I am referring to Debian kernel package version 2.6.32-35, which
 is the current version in stable (Debian 6.0.2).  The command
 'dpkg -s linux-image-2.6.32-5-amd64' will show the current package
 version (among other things).

And /proc/version contains informations about the running kernel.

Bastian

-- 
We have found all life forms in the galaxy are capable of superior
development.
-- Kirk, The Gamesters of Triskelion, stardate 3211.7



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110725093531.ga13...@wavehammer.waldi.eu.org



Bug#600487: Invalid GART PTE entry errors during bulk data transfers

2011-07-24 Thread Jaap Hoetmer

Hello,

Recently I installed Debian Linux 6 (Squeeze, kernel 2.6.32-5-amd64 #1 
SMP) via netinst on an IBM eServer platform. The system has dual AMD 
Opteron processors.


While transferring lots of data from the original server this server was 
expected to replace, I noticed errors appearing repeatedly every 4 
minutes or so in the ssh sessions:


Message from syslogd@jupiter at Jul 24 07:30:07 ...
kernel:[43618.440106]  Northbridge Error, node 0

Message from syslogd@jupiter at Jul 24 07:30:07 ...
kernel:[43618.440304] Invalid GART PTE entry during table walk.

The errors appeared regularly, and it seemed only during very large data 
transfers across the network. As soon as the file transfers (using 
rsync) were completed, the errors stopped appearing. These messages show 
on all ssh sessions I had open to that server.


After some searching, I found a Linux kernel patch from Borislav Petkov 
at AMD where the exact error message was listed.
I also searched the Debian lists and found this bug report (600487) but 
that seemed related to X which I don't use on this particular machine, 
plus, the symptoms I see are triggered by data transfers via the network 
interface.


The following document from AMD however gave me the best information, 
but doesn't yet explain why the errors appear in the ssh sessions, much 
less why this appears during bulk data transfers. AMD states these 
messages should be suppressed.


http://support.amd.com/us/Processor_TechDocs/26094.PDF

On Page 333 I read:

--

12.10.1 GART Table Walk Error Reporting

This error is typically caused by a software graphics driver that 
improperly reserves or allocates aperture pages in the GART, resulting 
in benign visual artifacts
which are often undetected on other platforms.Setting MC4_CTL[10] allows 
software developers to
debug this error; the resulting benign machine check errors can, 
however, confuse an end user. For
this reason, AMD recommends that the BIOS developers disable this 
function by setting bit 10 of
MC4_CTL_MASK register (MSR C001_0048h) to a value of 1. This bit must be 
set before
MC4_CTL[10] bit is set. AMD also recommends adding a setup option to the 
BIOS setup menu. The

following should be displayed in the setup option:

Gart Table Walk Error MC reporting: Disabled/Enabled.

The default setting is disabled. The device driver developer may enable 
this function for
implementation and testing purposes. Also, a help message should be 
added with this setup option.

An example of the help message is:

This option should remain disabled for normal operation.

---

It doesn't seem to be a real problem to me, but does anyone here have 
any further knowledge on this issue?


root@jupiter:~# lspci
00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev 07)
00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev 05)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE (rev 03)
00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0 (rev 02)
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge 
(rev 12)

00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01)
00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge 
(rev 12)

00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Miscellaneous Control
00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
HyperTransport Technology Configuration
00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Address Map
00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
DRAM Controller
00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Miscellaneous Control
01:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB OHCI 
(rev 0b)
01:00.1 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB OHCI 
(rev 0b)

01:05.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
01:06.0 Mass storage controller: Silicon Image, Inc. SiI 3512 
[SATALink/SATARaid] Serial ATA Controller (rev 01)
02:01.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 
Gigabit Ethernet (rev 03)
02:01.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 
Gigabit Ethernet (rev 03)


grep -i gart /var/log/syslog, the times listed coincide with the data 
transfers I performed:

Jul 23 19:23:16 jupiter kernel: [0.558019] PCI-DMA: using GART IOMMU.
Jul 23 19:23:16 jupiter kernel: [0.572745] Linux agpgart interface 

Bug#600487: Invalid GART PTE entry errors during bulk data transfers

2011-07-24 Thread Ben Hutchings
On Sun, 2011-07-24 at 17:19 +0200, Jaap Hoetmer wrote:
 Hello, 
 
 Recently I installed Debian Linux 6 (Squeeze, kernel 2.6.32-5-amd64 #1
 SMP) via netinst on an IBM eServer platform. The system has dual AMD
 Opteron processors. 
 
 While transferring lots of data from the original server this server
 was expected to replace, I noticed errors appearing repeatedly every 4
 minutes or so in the ssh sessions: 
 
 Message from syslogd@jupiter at Jul 24 07:30:07 ... 
 kernel:[43618.440106]  Northbridge Error, node 0 
 
 Message from syslogd@jupiter at Jul 24 07:30:07 ... 
 kernel:[43618.440304] Invalid GART PTE entry during table walk. 
[...]

I think this should be fixed in 2.6.32-35.

Which package version do you have installed?

Ben.

-- 
Ben Hutchings
I'm always amazed by the number of people who take up solipsism because
they heard someone else explain it. - E*Borg on alt.fan.pratchett


signature.asc
Description: This is a digitally signed message part


Bug#600487: Invalid GART PTE entry errors during bulk data transfers

2011-07-24 Thread Jaap Hoetmer

Thanks, Ben.
I am not too familiar with non-stock kernels. I did have a look at all 
the kernel.org release notes, but could not find the specific error in 
any of them. Anyway, as my note mentioned, I suspected it to be needing 
a later kernel and it didn't seem to have any negative impact on the 
running of the machine.

Where can I find the release notes of the 2.6.32-35 kernel?

Thanks, regards, Jaap

Le 24.07.2011 19:00, Ben Hutchings a écrit :

[...]
I think this should be fixed in 2.6.32-35.

Which package version do you have installed?

Ben.






--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e2c9b51.1030...@comtechnique.ch