Xenial doesn't see all cores nor usb network dongle

Bug #1552378 reported by Scott Croft
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
maas-images
Fix Released
Medium
Scott Moser
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

When commissioning intel NUC's with MAAS 1.10 and the 16.04 Xenial image, the systems report in with only 1 core, on a 4 core system, and the secondary network interface (usb dongle), doesn't appear at all.
Note: When loading 16.04 desktop onto node0 (control node), all the cores are seen and both secondary and tertiary usb network dongles are seen by the system.
---
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 33 Mar 3 16:22 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
DistroRelease: Ubuntu 16.04
IwConfig: Error: [Errno 2] No such file or directory
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 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=username/amd64/generic/xenial/daily/boot-kernel nomodeset iscsi_target_name=iqn.2004-05.com.username:maas:ephemeral-username-amd64-generic-xenial-daily iscsi_target_ip=172.27.32.1 iscsi_target_port=3260 iscsi_initiator=hostname ip=::::hostname:BOOTIF ro root=/dev/disk/by-path/ip-172.27.32.1:3260-iscsi-iqn.2004-05.com.username:maas:ephemeral-username-amd64-generic-xenial-daily-lun-1 overlayroot=tmpfs cloud-config-url=http://172.27.32.1/MAAS/metadata/latest/by-id/node-3cd3363c-e0ba-11e5-90c9-8cae4cfda638/?op=get_preseed log_host=172.27.32.1 log_port=514 BOOTIF=01-b8:ae:ed:7b:f3:e7
ProcVersionSignature: User Name 4.4.0-9.24-generic 4.4.3
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-9-generic N/A
 linux-backports-modules-4.4.0-9-generic N/A
 linux-firmware N/A
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial uec-images
Uname: Linux 4.4.0-9-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dialout dip floppy netdev plugdev sudo video
_MarkForUpload: True
dmi.bios.date: 08/20/2015
dmi.bios.vendor: Intel Corporation
dmi.bios.version: MYBDWi5v.86A.0026.2015.0820.1501
dmi.board.name: NUC5i5MYBE
dmi.board.vendor: Intel Corporation
dmi.board.version: H47797-205
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorporation:bvrMYBDWi5v.86A.0026.2015.0820.1501:bd08/20/2015:svn:pn:pvr:rvnIntelCorporation:rnNUC5i5MYBE:rvrH47797-205:cvn:ct3:cvr:

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Scott Moser (smoser) wrote :

the lack of usb nic is because the xenial image does not have a "full kernel" inside it . 14.04 maas images had linux-generic installed. So if you were commissioning with hwe-t (ie, you had no need for a newer hwe kernel) then your commissioning would get all the drivers in linux-generic at its disposal.

We can add drivers/net/usb to the boot-intird and we'd have more drivers at the disposal.

Can you try using this attached 'boot-kernel' and 'boot-initrd' ?

To do that, on the maas server:
 kdir=/var/lib/maas/boot-resources/current/ubuntu/amd64/hwe-x/xenial/daily
 for x in boot-initrd boot-kernel; do
    [ -f "$kdir/$x.dist" ] || cp "$kdir/$x" "$kdir/$x.dist"
 done
 tar -C $kdir -xf test-kernel.txz

then restart maas cluster controller and try commission again.

For reference, the diff that produced this in maas-images was just: http://paste.ubuntu.com/15270144/

Revision history for this message
Scott Moser (smoser) wrote :
Changed in maas-images:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Scott Moser (smoser) wrote :

Also, the kernel team would probably appreciate you running 'apport-collect 1552378'

Revision history for this message
Scott Croft (secroft) wrote :

I tested the code provided, fails commissioning now and can't deploy 16.04 either, but will test further today. Another colleague tested the deploy of the daily image and it failed deployment, but I'll run the commands for the kernel team once I get a node built

Revision history for this message
Scott Croft (secroft) wrote :

This is a screenshot from a failed commissioning with the regular daily download. The patch provided didn't even boot up, but will continue working on it

Revision history for this message
Scott Moser (smoser) wrote : apport information

AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 33 Mar 3 16:22 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
DistroRelease: Ubuntu 16.04
IwConfig: Error: [Errno 2] No such file or directory
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=ubuntu/amd64/generic/xenial/daily/boot-kernel nomodeset iscsi_target_name=iqn.2004-05.com.ubuntu:maas:ephemeral-ubuntu-amd64-generic-xenial-daily iscsi_target_ip=172.27.32.1 iscsi_target_port=3260 iscsi_initiator=hostname ip=::::hostname:BOOTIF ro root=/dev/disk/by-path/ip-172.27.32.1:3260-iscsi-iqn.2004-05.com.ubuntu:maas:ephemeral-ubuntu-amd64-generic-xenial-daily-lun-1 overlayroot=tmpfs cloud-config-url=http://172.27.32.1/MAAS/metadata/latest/by-id/node-3cd3363c-e0ba-11e5-90c9-8cae4cfda638/?op=get_preseed log_host=172.27.32.1 log_port=514 BOOTIF=01-b8:ae:ed:7b:f3:e7
ProcVersionSignature: Ubuntu 4.4.0-9.24-generic 4.4.3
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-9-generic N/A
 linux-backports-modules-4.4.0-9-generic N/A
 linux-firmware N/A
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial uec-images
Uname: Linux 4.4.0-9-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 08/20/2015
dmi.bios.vendor: Intel Corporation
dmi.bios.version: MYBDWi5v.86A.0026.2015.0820.1501
dmi.board.name: NUC5i5MYBE
dmi.board.vendor: Intel Corporation
dmi.board.version: H47797-205
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorporation:bvrMYBDWi5v.86A.0026.2015.0820.1501:bd08/20/2015:svn:pn:pvr:rvnIntelCorporation:rnNUC5i5MYBE:rvrH47797-205:cvn:ct3:cvr:

tags: added: apport-collected uec-images xenial
Revision history for this message
Scott Moser (smoser) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Scott Moser (smoser) wrote : JournalErrors.txt

apport information

Revision history for this message
Scott Moser (smoser) wrote : Lspci.txt

apport information

Revision history for this message
Scott Moser (smoser) wrote : Lsusb.txt

apport information

Revision history for this message
Scott Moser (smoser) wrote : PciMultimedia.txt

apport information

Scott Croft (secroft)
description: updated
Revision history for this message
Scott Moser (smoser) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Scott Croft (secroft) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Scott Moser (smoser) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Scott Croft (secroft) wrote : JournalErrors.txt

apport information

Revision history for this message
Scott Moser (smoser) wrote : ProcModules.txt

apport information

Revision history for this message
Scott Croft (secroft) wrote : Lspci.txt

apport information

Revision history for this message
Scott Croft (secroft) wrote : Lsusb.txt

apport information

Revision history for this message
Scott Moser (smoser) wrote : UdevDb.txt

apport information

Revision history for this message
Scott Croft (secroft) wrote : PciMultimedia.txt

apport information

Revision history for this message
Scott Moser (smoser) wrote : WifiSyslog.txt

apport information

Revision history for this message
Scott Croft (secroft) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Scott Croft (secroft) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Scott Croft (secroft) wrote : ProcModules.txt

apport information

Revision history for this message
Scott Croft (secroft) wrote : UdevDb.txt

apport information

Revision history for this message
Scott Croft (secroft) wrote : WifiSyslog.txt

apport information

Revision history for this message
Scott Moser (smoser) wrote :

maas images newer than 20160303 should have usb network drivers inside now.
that was fixed in revno 286 of lp:maas-images.

Please re-test when there are some there and I suspet you'll get your network device found.

Changed in maas-images:
assignee: nobody → Scott Moser (smoser)
status: Triaged → Fix Committed
Changed in linux (Ubuntu):
importance: Undecided → High
Scott Moser (smoser)
Changed in maas-images:
status: Fix Committed → Fix Released
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.