Bug 199561

Summary: sungem: RX MAC fifo overflow smac[03910440]
Product: Drivers Reporter: Erhard F. (erhard_f)
Component: NetworkAssignee: drivers_network (drivers_network)
Status: NEW ---    
Severity: normal CC: davem, linuxppc-dev
Priority: P1    
Hardware: PPC-32   
OS: Linux   
Kernel Version: 5.6.2 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg (G4 MDD, kernel 4.19.19)
dmesg (5.1-rc1, G5 7,3)
dmesg (5.6.2, PowerMac G4 DP)
kernel .config (5.6.2, PowerMac G4 DP)

Description Erhard F. 2018-04-29 12:36:18 UTC
On my PowerMac G5 7,3 I keep getting those:
gem 0001:04:0f.0 enP1p4s15f0: RX MAC fifo overflow smac[03910440]

The machine and network transfer stays usable however (I think). These errors seem to pop up more often when doing large file transfers over NFS.

[...]
[   17.444429] sungem_phy: PHY ID: 2062e0, addr: 1
[   17.444686] gem 0001:04:0f.0 enP1p4s15f0: Found BCM5421-K2 PHY
[   17.445337] IPv6: ADDRCONF(NETDEV_UP): enP1p4s15f0: link is not ready
[   22.327581] gem 0001:04:0f.0 enP1p4s15f0: Link is up at 1000 Mbps, full-duplex
[   22.327893] gem 0001:04:0f.0 enP1p4s15f0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632)
[   22.328124] IPv6: ADDRCONF(NETDEV_CHANGE): enP1p4s15f0: link becomes ready
[   23.216720] NET: Registered protocol family 17
[   23.813218] RPC: Registered named UNIX socket transport module.
[   23.813384] RPC: Registered udp transport module.
[   23.813482] RPC: Registered tcp transport module.
[   23.813584] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   24.240416] Key type dns_resolver registered
[   24.575859] NFS: Registering the id_resolver key type
[   24.576034] Key type id_resolver registered
[   24.583516] Key type id_legacy registered
[ 1367.699100] gem 0001:04:0f.0 enP1p4s15f0: RX MAC fifo overflow smac[03910440]
[ 1367.799123] gem 0001:04:0f.0 enP1p4s15f0: RX MAC fifo overflow smac[03810440]
Comment 1 Erhard F. 2019-02-02 13:55:53 UTC
Still a problem on 4.19.19.
Comment 2 Erhard F. 2019-02-02 13:59:00 UTC
Created attachment 280931 [details]
dmesg (G4 MDD, kernel 4.19.19)

PowerMac G4 MDDs sungem is also effected:

[...]
[   19.294940] sungem_phy: PHY ID: 2060e1, addr: 0
[   19.295210] gem 0002:20:0f.0 enP2p32s15f0: Found BCM5421 PHY
[   19.295749] IPv6: ADDRCONF(NETDEV_UP): enP2p32s15f0: link is not ready
[   20.321602] IPv6: ADDRCONF(NETDEV_UP): enP2p32s15f0: link is not ready
[   20.369894] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  129.184818] [drm] fb mappable at 0xA0040000
[  129.184849] [drm] vram apper at 0xA0000000
[  129.184864] [drm] size 8294400
[  129.184876] [drm] fb depth is 24
[  129.184888] [drm]    pitch is 7680
[  129.235839] Console: switching to colour frame buffer device 240x67
[  129.291174] radeon 0000:00:10.0: fb0: radeondrmfb frame buffer device
[  175.068165] gem 0002:20:0f.0 enP2p32s15f0: Link is up at 1000 Mbps, full-duplex
[  175.068575] gem 0002:20:0f.0 enP2p32s15f0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632)
[  175.068955] IPv6: ADDRCONF(NETDEV_CHANGE): enP2p32s15f0: link becomes ready
[  357.861689] RPC: Registered named UNIX socket transport module.
[  357.861928] RPC: Registered udp transport module.
[  357.862071] RPC: Registered tcp transport module.
[  357.862212] RPC: Registered tcp NFSv4.1 backchannel transport module.
[  358.200627] Key type dns_resolver registered
[  358.276018] NFS: Registering the id_resolver key type
[  358.276245] Key type id_resolver registered
[  358.276371] Key type id_legacy registered
[  411.889990] gem 0002:20:0f.0 enP2p32s15f0: RX MAC fifo overflow smac[03910440]
[ 1272.453096] gem 0002:20:0f.0 enP2p32s15f0: RX MAC fifo overflow smac[03810440]
[ 1273.405821] gem 0002:20:0f.0 enP2p32s15f0: RX MAC fifo overflow smac[02010440]
[ 1273.431930] gem 0002:20:0f.0 enP2p32s15f0: RX MAC fifo overflow smac[02010440]
[ 1273.452705] gem 0002:20:0f.0 enP2p32s15f0: RX MAC fifo overflow smac[02010440]
[ 1273.506203] gem 0002:20:0f.0 enP2p32s15f0: RX MAC fifo overflow smac[03810440]
[ 1274.066086] gem 0002:20:0f.0 enP2p32s15f0: RX MAC fifo overflow smac[02010440]
[...]
Comment 3 Erhard F. 2019-03-20 13:48:01 UTC
Created attachment 281923 [details]
dmesg (5.1-rc1, G5 7,3)

Still around in 5.1-rc1.

[...]
[ 3451.999674] gem 0001:04:0f.0 enP1p4s15f0: RX MAC fifo overflow smac[03910440]
[ 3452.025242] gem 0001:04:0f.0 enP1p4s15f0: RX MAC fifo overflow smac[03810440]
[...]
Comment 4 Erhard F. 2019-10-21 19:11:03 UTC
On 5.4-rc4 I am getting now:

[   43.822417] sungem_phy: PHY ID: 2060e1, addr: 0
[   43.831184] gem 0002:20:0f.0 enP2p32s15f0: Found BCM5421 PHY
[   47.502223] gem 0002:20:0f.0 enP2p32s15f0: Link is up at 1000 Mbps, full-duplex
[   47.502697] gem 0002:20:0f.0 enP2p32s15f0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632)
[   47.503173] IPv6: ADDRCONF(NETDEV_CHANGE): enP2p32s15f0: link becomes ready
[...]
[  423.097905] gem 0002:20:0f.0 enP2p32s15f0: Memory squeeze, deferring packet
[  423.125951] gem 0002:20:0f.0 enP2p32s15f0: Memory squeeze, deferring packet
[  423.148828] gem 0002:20:0f.0 enP2p32s15f0: Memory squeeze, deferring packet
[  423.156830] gem 0002:20:0f.0 enP2p32s15f0: RX MAC fifo overflow smac[00910440]
[  423.243823] gem 0002:20:0f.0 enP2p32s15f0: Memory squeeze, deferring packet
Comment 5 Erhard F. 2020-04-05 21:58:18 UTC
Created attachment 288223 [details]
dmesg (5.6.2, PowerMac G4 DP)

Still in recent kernels (5.6.2).
Comment 6 Erhard F. 2020-04-05 22:00:13 UTC
Created attachment 288225 [details]
kernel .config (5.6.2, PowerMac G4 DP)