Skip to contentSkip to conversation

PSYCHO0 PBMA: PCI streaming byte hole error asserted.

DISCUSSION Josh Grebe 3 participants 4 messages Jan 8, 2004 – Jan 9, 2004

lore
Share & tools
lore

Josh Grebe

author
#0 lore raw

Hi All,

I'm getting a log message of:

PSYCHO0 PBMA: PCI streaming byte hole error asserted.

Pretty frequently. So frequently in fact, that I think it may be logging one every packet that crosses my gigabit network card. I have an E450 with two Intel E1000 cards in it, here is my lspci (sorry for bad formatting):

00:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module 01:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module 02:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module 03:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module 03:01.0 Ethernet controller: Intel Corp. 82542 Gigabit Ethernet Controller (rev 03) 04:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module 04:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
04:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01) 04:02.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 03) 04:03.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 03) 04:04.0 Display controller: 3DLabs Permedia II 2D+3D (rev 01)
05:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module 05:01.0 PCI bridge: Digital Equipment Corporation DECchip 21154 (rev 05) 06:04.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08) 06:05.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08) 06:06.0 Ethernet controller: Intel Corp. 82542 Gigabit Ethernet Controller (rev 03)

This machine is a quad 400mhz box, with one gig interface to the internet and one to a netapp filer. I am running kernel 2.4.24. This problem started when I added a second e1000 card to it earlier today. My startup messages for the detection of the e1000 cards:

Jan  7 15:44:16 syslogger Intel(R) PRO/1000 Network Driver - version 5.2.20-k1
Jan  7 15:44:16 syslogger Copyright (c) 1999-2003 Intel Corporation.
Jan  7 15:44:16 syslogger eth3: Dropping NETIF_F_SG since no checksum feature.
Jan  7 15:44:16 syslogger eth3: Intel(R) PRO/1000 Network Connection
Jan  7 15:44:16 syslogger eth4: Dropping NETIF_F_SG since no checksum feature.
Jan  7 15:44:16 syslogger eth4: Intel(R) PRO/1000 Network Connection

Any thoughts? I searched the archives and google and didn't come up with anything.

Thanks,

Josh

#1 lore raw
Quoted 8 lines · On Thu, 08 Jan 2004 12:16:03 -0600 Josh Grebe <[email protected]> wrote:

I'm getting a log message of:

PSYCHO0 PBMA: PCI streaming byte hole error asserted.

Pretty frequently. So frequently in fact, that I think it may be logging one every packet that crosses my gigabit network card. I have an E450 with two Intel E1000 cards in it, here is my lspci (sorry for bad formatting):

Scott, does the DMA engine of the e1000 do read/write of PCI cache lines with not all the byte enables on? In particular, with descriptor reads/writes?

That's not allowed on many RISC platform PCI controllers due to how they implement caching of DMA traffic, sparc64 is one such instance.

If there is some way to tweak the config of the e1000 such that it will not generate these transactions, we should do so on sparc64 at least.

#2 lore raw
In reply to Josh Grebe
Quoted 3 lines

Scott, does the DMA engine of the e1000 do read/write of PCI cache lines with not all the byte enables on? In particular, with descriptor reads/writes?

82542/82543/82544 only update the status byte of the Tx desc on write-back. Only the status byte would be byte-enabled. Every other 8254x controller write backs the entire Tx desc (16-bytes) with full byte-enables.

Quoted 3 lines

That's not allowed on many RISC platform PCI controllers due to how they implement caching of DMA traffic, sparc64 is one such instance.

I'm pretty sure we could make 82543/82544 do the full desc writeback, but 82542 doesn't have that capability. So it sounds like 82542 is basically incompatible with RISC (unless we come up with some no-Tx-desc-write-back scheme).

Quoted 3 lines

If there is some way to tweak the config of the e1000 such that it will not generate these transactions, we should do so on sparc64 at least.

Not for 82542. For 82543/82544, look for the keyword "policy" in e1000_hw.c, and change the conditional to (mac > 82542). I can't try any of this out today. Our lab is shut down because of weather.

-scott

#3 lore raw
In reply to Josh Grebe
Quoted 8 lines · Scott
Quoted 3 lines

Scott, does the DMA engine of the e1000 do read/write of PCI cache lines with not all the byte enables on? In particular, with descriptor reads/writes?

82542/82543/82544 only update the status byte of the Tx desc on write-back. Only the status byte would be byte-enabled. Every other 8254x controller write backs the entire Tx desc (16-bytes) with full byte-enables.

I take back what I said, this can't possible be happening for the descriptors since they are allocated with pci_alloc_consistent() which does not use streaming DMA mappings.

It must, therefore be occuring on the packet data itself.