[Touch-packages] [Bug 1568560] Re: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed

2017-08-16 Thread Michael F Winthrop
I am receiving numerous NM errors on startup, that I captured from
/var/log for one boot on Aug 16 18:10: I ask if the preserved ".files in
the home/user/ directories could be responsible for these errors?

In the captured "fail" list, NM is the main event per this thread 
(nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed)

The problem got more pronounced after:

sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt update

This was added after plasma repeatedly dropped the window ornaments.

sudo /var/log# grep fail *log| grep 'Aug 16 18:10'

kern.log:Aug 16 18:10:35 dad314159 kernel: [0.173985] acpi PNP0A03:00: _OSC 
failed (AE_NOT_FOUND); disabling ASPM
kern.log:Aug 16 18:10:35 dad314159 kernel: [4.392621] wl: module 
verification failed: signature and/or required key missing - tainting kernel
kern.log:Aug 16 18:10:36 dad314159 NetworkManager[997]: 
nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed
kern.log:Aug 16 18:10:36 dad314159 NetworkManager[997]:   
[1502921436.6054] failed to enumerate oFono devices: 
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was 
not provided by any .service files
kern.log:Aug 16 18:10:43 dad314159 NetworkManager[997]:   
[1502921443.7380] device (wlp12s0): state change: need-auth -> failed (reason 
'no-secrets') [60 120 7]
kern.log:Aug 16 18:10:43 dad314159 NetworkManager[997]:   
[1502921443.7388] device (wlp12s0): Activation: failed for connection 'Disco'
kern.log:Aug 16 18:10:43 dad314159 NetworkManager[997]:   
[1502921443.7426] device (wlp12s0): state change: failed -> disconnected 
(reason 'none') [120 30 0]
syslog:Aug 16 18:10:35 dad314159 kernel: [0.173985] acpi PNP0A03:00: _OSC 
failed (AE_NOT_FOUND); disabling ASPM
syslog:Aug 16 18:10:35 dad314159 kernel: [4.392621] wl: module verification 
failed: signature and/or required key missing - tainting kernel
syslog:Aug 16 18:10:35 dad314159 avahi-daemon[988]: chroot.c: open() failed: No 
such file or directory
syslog:Aug 16 18:10:35 dad314159 thermald[961]: THD engine start failed
syslog:Aug 16 18:10:36 dad314159 NetworkManager[997]: 
nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed
syslog:Aug 16 18:10:36 dad314159 wpa_supplicant[1334]: dbus: 
wpa_dbus_get_object_properties: failed to get object properties: (none) none
syslog:Aug 16 18:10:36 dad314159 NetworkManager[997]:   [1502921436.6054] 
failed to enumerate oFono devices: 
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was 
not provided by any .service files
syslog:Aug 16 18:10:36 dad314159 systemd[1]: networking.service: Unit entered 
failed state.
syslog:Aug 16 18:10:36 dad314159 systemd[1]: ctdb.service: Unit entered failed 
state.
syslog:Aug 16 18:10:36 dad314159 colord[1188]: (colord:1188): Cd-WARNING **: 
failed to get session [pid 1021]: No such device or address
syslog:Aug 16 18:10:39 dad314159 systemd[1]: sddm.service: Unit entered failed 
state.
syslog:Aug 16 18:10:41 dad314159 colord[1188]: (colord:1188): Cd-WARNING **: 
failed to get session [pid 1494]: No such device or address
syslog:Aug 16 18:10:42 dad314159 systemd[1]: sddm.service: Unit entered failed 
state.
syslog:Aug 16 18:10:43 dad314159 NetworkManager[997]:   [1502921443.7380] 
device (wlp12s0): state change: need-auth -> failed (reason 'no-secrets') [60 
120 7]
syslog:Aug 16 18:10:43 dad314159 NetworkManager[997]:   [1502921443.7388] 
device (wlp12s0): Activation: failed for connection 'Disco'
syslog:Aug 16 18:10:43 dad314159 NetworkManager[997]:   [1502921443.7426] 
device (wlp12s0): state change: failed -> disconnected (reason 'none') [120 30 
0]

I had made the unfortunate "upgrade" from kubuntu 14.04 with kxstudio
and decided to do a clean install to clean up the previous mess, leaving
kxstudio out (because kxstudio is skipping 16.04 in favor of 18.04):

I re-installed kubuntu 16.04,3 from disk downloaded 5 days ago
(1.562.112KB) preserving the /home/dad partition as well as a copy of
the fstab: (shows what was preserved during install on /dev/sd8

 sudo /etc# cat fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
# / was on /dev/sda8 during installation
UUID=27aec088-dbbf-44f9-9c61-ab3c933e054e /   ext3
errors=remount-ro 0   1

# /home was on /dev/sda6 during installation
UUID=cfb5d746-bb65-4061-ba5b-02f60d574c27 /home   ext4defaults  
  0   2

# swap was on /dev/sda5 during installation
UUID=540c3467-7148-463e-858a-cb1435e4503f noneswapsw
  0   0

# mount Windows-Linux Share or /dev/sda3 on /media/sda3  
UUID=62587745587716CF/media/sda3  ntfs  
nls=iso8859-1,rw,umask=000  0  0

# mount usb as execuitable at /media/usb
# /dev/sde1 /me

[Touch-packages] [Kernel-packages] [Bug 1652348] [NEW] initrd dhcp fails / ignores valid response

2017-06-06 Thread Michael F Winthrop
Paul,


  [Kernel-packages] [Bug 1652348] [NEW] initrd dhcp fails / ignores
  valid response
  
<https://www.mail-archive.com/search?l=kernel-packa...@lists.launchpad.net&q=subject:%22%5C%5BKernel%5C-packages%5C%5D+%5C%5BBug+1652348%5C%5D+%5C%5BNEW%5C%5D+initrd+dhcp+fails+%5C%2F+ignores%09valid+response%22&o=newest>

https://www.mail-archive.com/kernel-
packa...@lists.launchpad.net/msg211650.html

I also have this bug

IP-Config: no response after 2 secs - giving up
IP-Config: ens2f0 hardware address 90:e2:ba:d1:36:38 mtu 1500 DHCP RARP
etc., etc., etc. ...

and tracked it to:

c

I set the countdown to "2 3 4 6 9" and saw the count of failures match 
appropriately.

I note that there are no problems if I attach an Ethernet cable from my 
router to the PC. A probable solution is to use wlan (to get a 
connectible device) or to test and see if the eth actually has a 
connected cable. Perhaps both.

Text requiring attention from /usr/share/initramfs-
tools/scripts/functions

 # support ip options see linux sources
 # Documentation/filesystems/nfs/nfsroot.txt
 # Documentation/frv/booting.txt

 #for ROUNDTTT in 2 3 4 6 9 16 25 36 64 100; do
  for ROUNDTTT in 2 3 4 6 9; do

 # The NIC is to be configured if this file does not exist.
 # Ip-Config tries to create this file and when it succeds
 # creating the file, ipconfig is not run again.
 for x in /run/net-"${DEVICE}".conf /run/net-*.conf ; do
 if [ -e "$x" ]; then
 IP=done
 break
 fi
 done

 for x in /run/net6-"${DEVICE}".conf /run/net6-*.conf ; do
 if [ -e "$x" ]; then
 IP6=done
 break
 fi

 done

 # if we've reached a point where both IP and IP6 are 
"done",
 # then we're finished with network configuration.
 if [ "$IP" = done ] && [ "$IP6" = done ]; then
 break
 fi

 case ${IP} in
 none|done|off)
 # Do nothing
 IP=done
 ;;
 ""|on|any)
 # Bring up device
 ipconfig -t ${ROUNDTTT} "${DEVICE}"
 ;;
 dhcp|bootp|rarp|both)
 ipconfig -t ${ROUNDTTT} -c ${IP} -d "${DEVICE}"
 ;;
 *)
 ipconfig -t ${ROUNDTTT} -d $IP

 # grab device entry from ip option
 NEW_DEVICE=${IP#*:*:*:*:*:*}
 if [ "${NEW_DEVICE}" != "${IP}" ]; then
 NEW_DEVICE=${NEW_DEVICE%%:*}
 else
 # wrong parse, possibly only a partial 
string
 NEW_DEVICE=
 fi
 if [ -n "${NEW_DEVICE}" ]; then
 DEVICE="${NEW_DEVICE}"
 fi
 ;;
 esac

 case ${IP6} in
 ""|none|done|off)
 # Do nothing
 IP6=done
 ;;
 *)
 # if this is not the first loop, sleep to 
provide the backoff.
 [ "$(($ROUNDTTT-2))" = "0" ] || sleep $ROUNDTTT

 # check the content of IP6, if we have 
something other
 # than a device name there and BOOTIF isn't 
set, clear
 # DEVICE6 and we'll try all available devices.
 if echo "${IP6}" | grep -qv 
'^\(on\|dhcp\|any\)$'; then
 DEVICE6="$IP6"
 fi

 # if we don't have a device specified, try to 
bring up

 # any eligible device.
 if [ -z "${DEVICE6}" ]; then
 DEVICE6=$(all_netbootable_devices)
 fi

         # Bring up device
 for dev in ${DEVICE6} ; do
 dhclient -6 -1 -v "${dev}"
 done
 ;;
 esac
 done

-- 
Cordially Yours,
/*Michael F Winthrop*/
Member: Sterling Lions Club, VA
Membe