[Kernel-packages] [Bug 1832472] CRDA.txt

2019-06-12 Thread Ernst Ahlers
apport information

** Attachment added: "CRDA.txt"
   https://bugs.launchpad.net/bugs/1832472/+attachment/5270319/+files/CRDA.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1832472

Title:
  cdc_ncm floods syslog unneccessarily

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Upon plugging in a USB adapter for NBase-T ethernet with an Realtek
  chip RTL8156 the kernel module cdc_ncm starts flooding /var/log/syslog
  with unneccessary status info.

  The status lines either say that there's no ethernet link or show the
  interface as connected and state the link speed.

  The relevant parts from /var/log/syslog after attaching the adapter
  without ethernet link read like this:

  [...]
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.398485] usb 2-3: new SuperSpeed Gen 
1 USB device number 5 using xhci_hcd
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.419463] usb 2-3: New USB device 
found, idVendor=0bda, idProduct=8156, bcdDevice=30.00
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.419469] usb 2-3: New USB device 
strings: Mfr=1, Product=2, SerialNumber=6
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.419472] usb 2-3: Product: USB 
10/100/1G/2.5G LAN
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.419475] usb 2-3: Manufacturer: 
Realtek
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.419477] usb 2-3: SerialNumber: 
1
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.447769] cdc_ncm 2-3:2.0: 
MAC-Address: 00:13:3b:68:00:e9
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.447775] cdc_ncm 2-3:2.0: setting 
rx_max = 16384
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.447929] cdc_ncm 2-3:2.0: setting 
tx_max = 16384
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.448901] cdc_ncm 2-3:2.0 usb0: 
register 'cdc_ncm' at usb-:00:14.0-3, CDC NCM, 00:13:3b:68:00:e9
  Jun 12 10:48:58 resdz-v13 NetworkManager[916]:   [1560329338.1872] 
manager: (usb0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/8)
  Jun 12 10:48:58 resdz-v13 mtp-probe: checking bus 2, device 5: 
"/sys/devices/pci:00/:00:14.0/usb2/2-3"
  Jun 12 10:48:58 resdz-v13 mtp-probe: bus: 2, device: 5 was not an MTP device
  Jun 12 10:48:58 resdz-v13 systemd-udevd[4299]: Using default interface naming 
scheme 'v240'.
  Jun 12 10:48:58 resdz-v13 systemd-udevd[4299]: link_config: autonegotiation 
is unset or enabled, the speed and duplex are not writable.
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.466476] cdc_ncm 2-3:2.0 
enx00133b6800e9: renamed from usb0
  Jun 12 10:48:58 resdz-v13 NetworkManager[916]:   [1560329338.2315] 
device (usb0): interface index 7 renamed iface from 'usb0' to 'enx00133b6800e9'
  Jun 12 10:48:58 resdz-v13 systemd-udevd[4299]: Process 
'vlan-network-interface UDEV' failed with exit code 1.
  Jun 12 10:48:58 resdz-v13 NetworkManager[916]:   [1560329338.2431] 
device (enx00133b6800e9): state change: unmanaged -> unavailable (reason 
'managed', sys-iface-state: 'external')
  Jun 12 10:48:58 resdz-v13 charon: 12[KNL] interface enx00133b6800e9 activated
  Jun 12 10:48:58 resdz-v13 mtp-probe: checking bus 2, device 5: 
"/sys/devices/pci:00/:00:14.0/usb2/2-3"
  Jun 12 10:48:58 resdz-v13 mtp-probe: bus: 2, device: 5 was not an MTP device
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.524052] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: disconnected
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.556109] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: disconnected
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.588054] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: disconnected
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.620383] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: disconnected
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.652415] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: disconnected
  [...]

  Upon plugging in the ethernet cable I see
  [...]
  Jun 12 10:49:01 resdz-v13 kernel: [ 4243.372273] cdc_ncm 2-3:2.0 
enx00133b6800e9: 1000 mbit/s downlink 1000 mbit/s uplink
  Jun 12 10:49:01 resdz-v13 kernel: [ 4243.404278] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: connected
  [...]
  and Network Manager starts its work. 

  After the interface is up the flooding continues:
  [...]
  Jun 12 10:49:01 resdz-v13 kernel: [ 4243.564056] cdc_ncm 2-3:2.0 
enx00133b6800e9: 1000 mbit/s downlink 1000 mbit/s uplink
  Jun 12 10:49:01 resdz-v13 kernel: [ 4243.596051] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: connected
  Jun 12 10:49:01 resdz-v13 whoopsie[1530]: [10:49:01] The default IPv4 route 
is: /org/freedesktop/NetworkManager/ActiveConnection/4
  Jun 12 10:49:01 resdz-v13 whoopsie[1530]: [10:49:01] Not a paid data plan: 
/org/freedesktop/NetworkManager/ActiveConnection/4
  Jun 12 10:49:01 resdz-v13 whoopsie[1530]: [10:49:01] Found usable connection: 
/org/freedesktop/NetworkManager/ActiveConnection/4
  Jun 12 10:49:01 resdz-v13 whoopsie[1530]: [10:49:01] online
  Jun 12 10:49:01 

[Kernel-packages] [Bug 1832472] CRDA.txt

2019-06-12 Thread Ernst Ahlers
apport information

** Attachment added: "CRDA.txt"
   https://bugs.launchpad.net/bugs/1832472/+attachment/5270304/+files/CRDA.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1832472

Title:
  cdc_ncm floods syslog unneccessarily

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Upon plugging in a USB adapter for NBase-T ethernet with an Realtek
  chip RTL8156 the kernel module cdc_ncm starts flooding /var/log/syslog
  with unneccessary status info.

  The status lines either say that there's no ethernet link or show the
  interface as connected and state the link speed.

  The relevant parts from /var/log/syslog after attaching the adapter
  without ethernet link read like this:

  [...]
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.398485] usb 2-3: new SuperSpeed Gen 
1 USB device number 5 using xhci_hcd
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.419463] usb 2-3: New USB device 
found, idVendor=0bda, idProduct=8156, bcdDevice=30.00
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.419469] usb 2-3: New USB device 
strings: Mfr=1, Product=2, SerialNumber=6
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.419472] usb 2-3: Product: USB 
10/100/1G/2.5G LAN
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.419475] usb 2-3: Manufacturer: 
Realtek
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.419477] usb 2-3: SerialNumber: 
1
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.447769] cdc_ncm 2-3:2.0: 
MAC-Address: 00:13:3b:68:00:e9
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.447775] cdc_ncm 2-3:2.0: setting 
rx_max = 16384
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.447929] cdc_ncm 2-3:2.0: setting 
tx_max = 16384
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.448901] cdc_ncm 2-3:2.0 usb0: 
register 'cdc_ncm' at usb-:00:14.0-3, CDC NCM, 00:13:3b:68:00:e9
  Jun 12 10:48:58 resdz-v13 NetworkManager[916]:   [1560329338.1872] 
manager: (usb0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/8)
  Jun 12 10:48:58 resdz-v13 mtp-probe: checking bus 2, device 5: 
"/sys/devices/pci:00/:00:14.0/usb2/2-3"
  Jun 12 10:48:58 resdz-v13 mtp-probe: bus: 2, device: 5 was not an MTP device
  Jun 12 10:48:58 resdz-v13 systemd-udevd[4299]: Using default interface naming 
scheme 'v240'.
  Jun 12 10:48:58 resdz-v13 systemd-udevd[4299]: link_config: autonegotiation 
is unset or enabled, the speed and duplex are not writable.
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.466476] cdc_ncm 2-3:2.0 
enx00133b6800e9: renamed from usb0
  Jun 12 10:48:58 resdz-v13 NetworkManager[916]:   [1560329338.2315] 
device (usb0): interface index 7 renamed iface from 'usb0' to 'enx00133b6800e9'
  Jun 12 10:48:58 resdz-v13 systemd-udevd[4299]: Process 
'vlan-network-interface UDEV' failed with exit code 1.
  Jun 12 10:48:58 resdz-v13 NetworkManager[916]:   [1560329338.2431] 
device (enx00133b6800e9): state change: unmanaged -> unavailable (reason 
'managed', sys-iface-state: 'external')
  Jun 12 10:48:58 resdz-v13 charon: 12[KNL] interface enx00133b6800e9 activated
  Jun 12 10:48:58 resdz-v13 mtp-probe: checking bus 2, device 5: 
"/sys/devices/pci:00/:00:14.0/usb2/2-3"
  Jun 12 10:48:58 resdz-v13 mtp-probe: bus: 2, device: 5 was not an MTP device
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.524052] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: disconnected
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.556109] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: disconnected
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.588054] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: disconnected
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.620383] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: disconnected
  Jun 12 10:48:58 resdz-v13 kernel: [ 4240.652415] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: disconnected
  [...]

  Upon plugging in the ethernet cable I see
  [...]
  Jun 12 10:49:01 resdz-v13 kernel: [ 4243.372273] cdc_ncm 2-3:2.0 
enx00133b6800e9: 1000 mbit/s downlink 1000 mbit/s uplink
  Jun 12 10:49:01 resdz-v13 kernel: [ 4243.404278] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: connected
  [...]
  and Network Manager starts its work. 

  After the interface is up the flooding continues:
  [...]
  Jun 12 10:49:01 resdz-v13 kernel: [ 4243.564056] cdc_ncm 2-3:2.0 
enx00133b6800e9: 1000 mbit/s downlink 1000 mbit/s uplink
  Jun 12 10:49:01 resdz-v13 kernel: [ 4243.596051] cdc_ncm 2-3:2.0 
enx00133b6800e9: network connection: connected
  Jun 12 10:49:01 resdz-v13 whoopsie[1530]: [10:49:01] The default IPv4 route 
is: /org/freedesktop/NetworkManager/ActiveConnection/4
  Jun 12 10:49:01 resdz-v13 whoopsie[1530]: [10:49:01] Not a paid data plan: 
/org/freedesktop/NetworkManager/ActiveConnection/4
  Jun 12 10:49:01 resdz-v13 whoopsie[1530]: [10:49:01] Found usable connection: 
/org/freedesktop/NetworkManager/ActiveConnection/4
  Jun 12 10:49:01 resdz-v13 whoopsie[1530]: [10:49:01] online
  Jun 12 10:49:01