Ubuntu 18.04.1, "Bad packet length nnnn."

Bug #1812271 reported by whoknows
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
openssh (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

It happens when fetching Android project files by "repo sync" through ssh.

More logs:
Bad packet length 38201470.
Finished discarding for 10.65.180.40 port 29418^M
packet_process_incoming: Connection to 10.65.180.40 port 29418: message authentication code incorrect^M
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

I realized the error message like "Bad packet length 230911661." comes from ssh source file packet.c thus tried different SSH version but the issue is still there.

$ ssh -V
OpenSSH_7.6p1 Ubuntu-4ubuntu0.1, OpenSSL 1.0.2n 7 Dec 2017
...
$ ssh -V
OpenSSH_7.5p1 Ubuntu-10, OpenSSL 1.1.0g 2 Nov 2017

In addition, I've tried workaround for NIC as:
$ sudo ethtool -K enp3s0 rx off
...
$ sudo ethtool -K enp3s0 rx off tx off
but this doesn't work either.

Here is the Network card information:
$ sudo lshw -c network
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 0c
       serial: f8:b1:56:d0:39:fd
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=10.42.20.117 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:44 ioport:e000(size=256) memory:f7b00000-f7b00fff memory:f0000000-f0003fff

No aware of any warning message from dmesg.
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ywu 2584 F.... pulseaudio
 /dev/snd/controlC0: ywu 2584 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=/dev/mapper/ubuntu--vg-swap_1
IwConfig:
 lo no wireless extensions.

 enp3s0 no wireless extensions.
MachineType: Dell Inc. XPS 8700
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-43-generic root=/dev/mapper/ubuntu--vg-root ro splash quiet vt.handoff=1
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-43-generic N/A
 linux-backports-modules-4.15.0-43-generic N/A
 linux-firmware 1.173.3
RfKill:

Tags: bionic
Uname: Linux 4.15.0-43-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 02/05/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A12
dmi.board.name: 0KWVT8
dmi.board.vendor: Dell Inc.
dmi.board.version: A02
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA12:bd02/05/2018:svnDellInc.:pnXPS8700:pvr:rvnDellInc.:rn0KWVT8:rvrA02:cvnDellInc.:ct3:cvr:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: XPS 8700
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ywu 2238 F.... pulseaudio
 /dev/snd/controlC1: ywu 2238 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.04
IwConfig:
 eno1 no wireless extensions.

 lo no wireless extensions.
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
 Bus 001 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. OptiPlex 7060
Package: openssh
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-43-generic root=UUID=57306e0b-a893-4ac1-ad8f-3359578e7e83 ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-43-generic N/A
 linux-backports-modules-4.15.0-43-generic N/A
 linux-firmware 1.173.3
RfKill:

Tags: bionic
Uname: Linux 4.15.0-43-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 10/09/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.2.17
dmi.board.name: 0C96W1
dmi.board.vendor: Dell Inc.
dmi.board.version: A02
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.2.17:bd10/09/2018:svnDellInc.:pnOptiPlex7060:pvr:rvnDellInc.:rn0C96W1:rvrA02:cvnDellInc.:ct3:cvr:
dmi.product.family: OptiPlex
dmi.product.name: OptiPlex 7060
dmi.sys.vendor: Dell Inc.

Revision history for this message
Seth Forshee (sforshee) wrote :

Do you have a reason to think this is a firmware issue? Otherwise the bug should probably be against the linux package.

Changed in linux-firmware (Ubuntu):
status: New → Incomplete
Revision history for this message
whoknows (adv8888) wrote :

@sforshee
Sorry I don't know how to categorize it into a firmware issue or package.
Checked the links (Read our guide or take a tour) but didn't find a clue.
But I should have mentioned it happened on a DELL XPS 8700 but not on any other computers like ThinkCentre M92P or Dell OptiPlex 7060 I've been using for years.

whoknows (adv8888)
Changed in linux-firmware (Ubuntu):
status: Incomplete → New
Revision history for this message
Seth Forshee (sforshee) wrote :

I've changed it to affect the linux package. Please run 'apport-collect 1812271' in a terminal after seeing this issue to attach logs and system information to this bug to aid in diagnosing your issue. Thanks!

affects: linux-firmware (Ubuntu) → linux (Ubuntu)
Revision history for this message
Seth Forshee (sforshee) wrote :

Sorry, I just read comment #3 and realized I wasn't very clear. Please make sure you've reproduced the issue on your system before running apport-collect to ensure that logs will contain any information relevant to your issue.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1812271

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
whoknows (adv8888) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected bionic
description: updated
Revision history for this message
whoknows (adv8888) wrote : CRDA.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : CurrentDmesg.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : Lspci.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : Lsusb.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : ProcInterrupts.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : ProcModules.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : PulseList.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : UdevDb.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : WifiSyslog.txt

apport information

Revision history for this message
whoknows (adv8888) wrote :

@sforshee

Just ran the command. Not all logs are collected but there were a bunch of them already uploaded. Here is the console prints for this command.

ywu@BB3036753115:~$ apport-collect 1812271
The authorization page:
 (https://launchpad.net/+authorize-token?oauth_token=Cq1R06DJN51RGLP6VNtv&allow_permission=DESKTOP_INTEGRATION)
should be opening in your browser. Use your browser to authorize
this program to access Launchpad on your behalf.
Waiting to hear from Launchpad about your decision...

(/usr/lib/firefox/firefox:3709): dconf-WARNING **: 11:23:43.552: Unable to open /var/lib/snapd/desktop/dconf/profile/user: Permission denied
dpkg-query: no packages found matching linux

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
whoknows (adv8888) wrote :

The same issue happened on another DELL desktop model OptiPlex 7060.
Running apport-collect 1812271 now.

description: updated
Revision history for this message
whoknows (adv8888) wrote : AlsaInfo.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : CRDA.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : CurrentDmesg.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : Lspci.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : ProcInterrupts.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : ProcModules.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : PulseList.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : UdevDb.txt

apport information

Revision history for this message
whoknows (adv8888) wrote : WifiSyslog.txt

apport information

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Since this appears to be a kernel issue I'm marking the openssh task as Invalid for now. If there's any reason to think it's a problem in userspace, please change its status back to New.

Changed in openssh (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.