gdwnldsKSC / es40

[Patches] AlphaServer ES40 emulator
GNU General Public License v2.0
19 stars 2 forks source link

After a while, networking becomes notworking #4

Open athornton opened 5 months ago

athornton commented 5 months ago

The emulator logs look like:

CPacketQueue(rx_queue):add() packet lost! Size = 60.. dst: ff-ff-ff-ff-ff-ff .. src: 54-af-97-01-ca-f4
CPacketQueue(rx_queue):add() packet lost! Size = 92.. dst: ff-ff-ff-ff-ff-ff .. src: 00-11-32-2f-a3-11

It's not always broadcast packets.

This is Ubuntu 22.04 LTS on x86_64.

lsmod:

Module                  Size  Used by
cpuid                  12288  0
exfat                 102400  0
uas                    28672  0
usb_storage            86016  1 uas
tls                   151552  0
vboxnetadp             28672  0
vboxnetflt             36864  0
vboxdrv               692224  2 vboxnetadp,vboxnetflt
bridge                413696  0
stp                    12288  1 bridge
llc                    16384  2 bridge,stp
snd_soc_avs           184320  0
snd_soc_hda_codec      24576  1 snd_soc_avs
snd_hda_ext_core       36864  2 snd_soc_avs,snd_soc_hda_codec
snd_hda_codec_hdmi     94208  1
snd_soc_core          446464  2 snd_soc_avs,snd_soc_hda_codec
snd_compress           28672  2 snd_soc_avs,snd_soc_core
ac97_bus               12288  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_codec_realtek   192512  1
intel_rapl_msr         20480  0
snd_hda_codec_generic   122880  1 snd_hda_codec_realtek
ledtrig_audio          12288  1 snd_hda_codec_generic
intel_rapl_common      40960  1 intel_rapl_msr
intel_tcc_cooling      12288  0
x86_pkg_temp_thermal    20480  0
intel_powerclamp       24576  0
coretemp               24576  0
kvm_intel             487424  2
snd_hda_intel          61440  2
binfmt_misc            24576  1
snd_intel_dspcfg       32768  2 snd_soc_avs,snd_hda_intel
kvm                  1409024  1 kvm_intel
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
snd_hda_codec         212992  6 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          147456  8 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek
irqbypass              12288  1 kvm
crct10dif_pclmul       12288  1
snd_hwdep              20480  1 snd_hda_codec
polyval_clmulni        12288  0
polyval_generic        12288  1 polyval_clmulni
ghash_clmulni_intel    16384  0
sha256_ssse3           32768  0
sha1_ssse3             32768  0
snd_pcm               196608  8 snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
aesni_intel           356352  0
crypto_simd            16384  1 aesni_intel
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
mei_pxp                16384  0
mei_hdcp               28672  0
nls_iso8859_1          12288  1
snd_seq_midi           24576  0
snd_seq_midi_event     16384  1 snd_seq_midi
i915                 4157440  6
rapl                   20480  0
snd_rawmidi            57344  1 snd_seq_midi
intel_cstate           20480  0
hp_wmi                 28672  0
sparse_keymap          12288  1 hp_wmi
drm_buddy              20480  1 i915
snd_seq               118784  2 snd_seq_midi,snd_seq_midi_event
ttm                   110592  1 i915
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              49152  2 snd_seq,snd_pcm
drm_display_helper    241664  1 i915
ee1004                 16384  0
platform_profile       12288  1 hp_wmi
cec                    94208  2 drm_display_helper,i915
mei_me                 53248  2
snd                   143360  17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
rc_core                77824  1 cec
wmi_bmof               12288  0
soundcore              16384  1 snd
drm_kms_helper        274432  2 drm_display_helper,i915
mei                   167936  5 mei_hdcp,mei_pxp,mei_me
i2c_algo_bit           16384  1 i915
intel_pch_thermal      20480  0
tpm_infineon           16384  0
mac_hid                12288  0
acpi_pad              184320  0
sch_fq_codel           24576  7
msr                    12288  0
parport_pc             53248  0
ppdev                  24576  0
lp                     28672  0
parport                77824  3 parport_pc,lp,ppdev
drm                   765952  9 drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm
efi_pstore             12288  0
ip_tables              36864  0
x_tables               69632  1 ip_tables
autofs4                57344  2
i2c_i801               36864  0
crc32_pclmul           12288  0
i2c_smbus              16384  1 i2c_i801
ahci                   49152  3
libahci                57344  1 ahci
e1000e                352256  0
xhci_pci               24576  0
xhci_pci_renesas       20480  1 xhci_pci
video                  73728  1 i915
wmi                    40960  3 hp_wmi,video,wmi_bmof

Kernel is:

Linux something-host 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr  4 14:39:20 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
athornton commented 5 months ago

I kinda suspect it's a more general backplane bus issue, though.

When I shut down the system before the NIC goes out to lunch and never comes back, it doesn't take long before I get to the P00>>> prompt...but if it's already crashed (I can still log on to the console and run @sys$system:shutdown), shutdown never finishes and I have to interrupt the emulator process.