[Bug 1631474] Re: No networking with initramfs-tools 0.122ubuntu8.3 and ip=dhcp boot option
scotte
1631474 at bugs.launchpad.net
Fri Oct 7 18:45:19 UTC 2016
Here's the initial portion of console output, with only a couple of
minor redactions related to keys, hostname, MAC address.
The most important bit is:
ip: SIOCGIFFLAGS: No such device
Error getting hardware address for "dhcp": No such device
Where the "ip=dhcp" kernel is not being processed correctly per kernel
documentation - see
https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt
=== CUT HERE===
[ 2.179049] registered taskstats version 1
[ 2.179074] Loading compiled-in X.509 certificates
[ 2.179821] Loaded X.509 cert 'Build time autogenerated kernel key: REDACTED'
[ 2.179848] zswap: loaded using pool lzo/zbud
[ 2.190763] Key type trusted registered
[ 2.195735] Key type encrypted registered
[ 2.195747] AppArmor: AppArmor sha1 policy hashing enabled
[ 2.195753] ima: No TPM chip found, activating TPM-bypass!
[ 2.195778] evm: HMAC attrs: 0x1
[ 2.213710] blkfront: xvda1: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: enabled;
[ 2.218079] blkfront: xvdb: flush diskcache: enabled; persistent grants: disabled; indirect descriptors: enabled;
[ 2.292145] Magic number: 1:252:3141
[ 2.292190] hctosys: unable to open rtc device (rtc0)
[ 2.292239] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 2.292244] EDD information not available.
[ 2.292964] Freeing unused kernel memory: 1480K (ffffffff81f41000 - ffffffff820b3000)
[ 2.292973] Write protecting the kernel read-only data: 14336k
[ 2.296529] Freeing unused kernel memory: 1868K (ffff88000182d000 - ffff880001a00000)
[ 2.296620] Freeing unused kernel memory: 176K (ffff880001dd4000 - ffff880001e00000)
Loading, please wait...
starting version 229
[ 2.337933] random: udevadm urandom read with 7 bits of entropy available
[ 2.595423] SSE version of gcm_enc/dec engaged.
Begin: Loading essential drivers ...
[ 3.942253] md: linear personality registered for level -1
[ 3.954483] md: multipath personality registered for level -4
[ 3.957749] md: raid0 personality registered for level 0
[ 3.975096] md: raid1 personality registered for level 1
[ 4.059760] raid6: sse2x1 gen() 3697 MB/s
[ 4.124589] raid6: sse2x1 xor() 3003 MB/s
[ 4.192058] raid6: sse2x2 gen() 4609 MB/s
[ 4.260062] raid6: sse2x2 xor() 3242 MB/s
[ 4.335089] raid6: sse2x4 gen() 5511 MB/s
[ 4.400055] raid6: sse2x4 xor() 3912 MB/s
[ 4.400061] raid6: using algorithm sse2x4 gen() 5511 MB/s
[ 4.400064] raid6: .... xor() 3912 MB/s, rmw enabled
[ 4.400068] raid6: using ssse3x2 recovery algorithm
[ 4.407087] xor: measuring software checksum speed
[ 4.468056] prefetch64-sse: 8536.000 MB/sec
[ 4.524066] generic_sse: 8099.000 MB/sec
[ 4.524076] xor: using function: prefetch64-sse (8536.000 MB/sec)
[ 4.527357] async_tx: api initialized (async)
[ 4.548551] md: raid6 personality registered for level 6
[ 4.548560] md: raid5 personality registered for level 5
[ 4.548564] md: raid4 personality registered for level 4
[ 4.595063] md: raid10 personality registered for level 10
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ...
[ 4.687584] Btrfs loaded
Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
[ 4.809766] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... 0
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
ip: SIOCGIFFLAGS: No such device
Error getting hardware address for "dhcp": No such device
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging..
exiting.
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
ip: SIOCGIFFLAGS: No such device
ip: either "dev" is duplicate, or "permanent" is garbage
no link-local IPv6 address for dhcp
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging..
exiting.
0
Warning: overlayroot: debug is busted
done.
[ 5.649291] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[ 5.649334] systemd[1]: Detected virtualization xen.
[ 5.649344] systemd[1]: Detected architecture x86-64.
Welcome to Ubuntu 16.04 LTS!
[ 5.667973] systemd[1]: Set hostname to <REDACTED>.
[ 6.134524] systemd[1]: Listening on LVM2 metadata daemon socket.
[ OK ] Listening on LVM2 metadata daemon socket.
[ 6.134703] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 6.134840] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 6.134971] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 6.135439] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 6.135817] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 6.135944] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 6.136029] systemd[1]: Reached target Encrypted Volumes.
[ OK ] Reached target Encrypted Volumes.
[ 6.136146] systemd[1]: Listening on LVM2 poll daemon socket.
[ OK ] Listening on LVM2 poll daemon socket.
[ 6.136268] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 6.136341] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 6.136457] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 6.137777] systemd[1]: Starting Uncomplicated firewall...
Starting Uncomplicated firewall...
[ 6.165280] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 6.168581] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 6.170211] systemd[1]: Mounting Huge Pages File System...
Mounting Huge Pages File System...
[ 6.174990] systemd[1]: Mounting Debug File System...
Mounting Debug File System...
[ 6.214473] systemd[1]: Starting Nameserver information manager...
Starting Nameserver information manager...
[ 6.215869] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 6.217367] systemd[1]: Starting Create list of required static device nodes for the current kernel...
Starting Create list of required st... nodes for the current kernel...
[ 6.231132] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ OK ] Listening on Device-mapper event daemon FIFOs.
[ 6.233429] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
Starting Monitoring of LVM2 mirrors... dmeventd or progress polling...
[ 6.233652] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 6.233995] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point.
[ 6.235807] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 6.348798] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 6.357792] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 6.359141] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 6.359248] systemd[1]: Reached target User and Group Name Lookups.
[ OK ] Reached target User and Group Name Lookups.
[ 6.359414] systemd[1]: Listening on fsck to fsckd communication Socket.
[ OK ] Listening on fsck to fsckd communication Socket.
[ 6.359533] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 6.359929] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ 6.374008] systemd[1]: Mounted Huge Pages File System.
[ OK ] Mounted Huge Pages File System.
[ 6.374790] systemd[1]: Started Uncomplicated firewall.
[ OK ] Started Uncomplicated firewall.
[ 6.388849] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 6.389077] systemd[1]: Mounted Debug File System.
[ OK ] Mounted Debug File System.
[ 6.390854] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ 6.410285] Loading iSCSI transport class v2.0-870.
[ 6.450186] EXT4-fs (xvda1): re-mounted. Opts: discard
[ 6.455870] systemd[1]: Started Remount Root and Kernel File Systems.
[ OK ] Started Remount Root and Kernel File Systems.
[ 6.457163] systemd[1]: Started Nameserver information manager.
[ OK ] Started Nameserver information manager.
[ 6.564596] iscsi: registered transport (tcp)
[ 6.575947] systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
[ 6.578624] systemd[1]: Starting Load/Save Random Seed...
Starting Load/Save Random Seed...
[ 6.592129] systemd[1]: Starting Create Static Device Nodes in /dev...
Starting Create Static Device Nodes in /dev...
[ 6.658178] systemd[1]: Started LVM2 metadata daemon.
[ OK ] Started LVM2 metadata daemon.
[ 6.692951] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ 6.757637] systemd-journald[384]: Received request to flush runtime journal from PID 1
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started udev Coldplug all Devices.
[ 6.888413] iscsi: registered transport (iser)
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Started Load Kernel Modules.
Mounting FUSE Control File System...
Starting Apply Kernel Variables...
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting Tell Plymouth To Write Out Runtime Data...
Starting Set console keymap...
Starting Create Volatile Files and Directories...
Starting Initial cloud-init job (pre-networking)...
Starting LSB: AppArmor initialization...
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Found device /dev/xvdb.
Starting File System Check on /dev/xvdb...
[ OK ] Started File System Check Daemon to report status.
[ OK ] Started Set console keymap.
[ OK ] Started File System Check on /dev/xvdb.
Mounting /mnt...
[ OK ] Mounted /mnt.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Found device /dev/hvc0.
[ OK ] Started LSB: AppArmor initialization.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
Starting LXD - unix socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
Starting Socket activation for snappy daemon.
[ OK ] Started Daily apt activities.
[ OK ] Reached target Timers.
[ OK ] Started ACPI Events Check.
Starting Seed the pseudo random number generator on first boot...
[ OK ] Listening on UUID daemon activation socket.
[ OK ] Started Trigger resolvconf update for networkd DNS.
[ OK ] Reached target Paths.
[ OK ] Listening on ACPID Listen Socket.
[ OK ] Listening on LXD - unix socket.
[ OK ] Listening on Socket activation for snappy daemon.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started ACPI event daemon.
Starting System Logging Service...
[ OK ] Started D-Bus System Message Bus.
[ OK ] Started FUSE filesystem for LXC.
Starting LSB: Record successful boot for GRUB...
Starting Accounts Service...
Starting Login Service...
Starting LSB: MD monitoring daemon...
[ OK ] Started Deferred execution scheduler.
[ OK ] Started Regular background program processing daemon.
Starting LXD - container startup/shutdown...
[ OK ] Started System Logging Service.
[ OK ] Started Login Service.
[ OK ] Started LSB: MD monitoring daemon.
[ OK ] Started LSB: Record successful boot for GRUB.
Starting Authenticate and Authorize Users to Run Privileged Tasks...
[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Started Accounts Service.
[ OK ] Started LXD - container startup/shutdown.
[ OK ] Started Seed the pseudo random number generator on first boot.
[ 12.460014] cloud-init[481]: Cloud-init v. 0.7.7 running 'init-local' at Fri, 07 Oct 2016 17:54:52 +0000. Up 11.40 seconds.
[ OK ] Started Initial cloud-init job (pre-networking).
[ OK ] Reached target Network (Pre).
Starting Raise network interfaces...
[ OK ] Started Raise network interfaces.
[ OK ] Reached target Network.
Starting Initial cloud-init job (metadata service crawler)...
[ 14.966038] cloud-init[908]: Cloud-init v. 0.7.7 running 'init' at Fri, 07 Oct 2016 17:54:54 +0000. Up 13.72 seconds.
[ 14.966404] cloud-init[908]: ci-info: +++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++
[ 14.966707] cloud-init[908]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+
[ 14.967005] cloud-init[908]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 14.967306] cloud-init[908]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+
[ 14.967594] cloud-init[908]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . | . |
[ 14.967940] cloud-init[908]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 14.968247] cloud-init[908]: ci-info: | eth0 | False | . | . | . | RE:DA:CT:ED:XX:XX |
[ 14.968529] cloud-init[908]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+
[...]
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1631474
Title:
No networking with initramfs-tools 0.122ubuntu8.3 and ip=dhcp boot
option
Status in initramfs-tools package in Ubuntu:
New
Bug description:
initramfs-tools 0.122ubuntu8.3 introduced a serious regression where
networking is not initialized when the boot option "ip=dhcp" is
provided. We are seeing this problem in AWS, but cannot confirm if
this issue is specific to AWS or will occur with different hardware or
in different environments.
Removing "ip=dhcp" from the boot options with 0.122ubuntu8.3 results
in networking being configured.
The issue does not occur with 0.122ubuntu8.2 or previous versions when
"ip=dhcp" is set.
AWS has no console so debugging is not a trivial task. I do have a
console log with some output, and will update this bug shortly with
it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1631474/+subscriptions
More information about the foundations-bugs
mailing list