[Bug 1572620] Re: OSA Interface will shown during installation as unknown devices

Dimitri John Ledkov launchpad at surgut.co.uk
Fri May 20 05:01:51 UTC 2016


Hello,

Please consult Ubuntu Installation Guide, Appendix B. Automating the
installation using preseeding, B.4. Contents of the preconfiguration
file (for xenial), B.4.2. Network configuration.

https://help.ubuntu.com/16.04/installation-guide/s390x/apbs04.html
#preseed-network

The question that is asked is netcfg/choose_interfaces, that is not
currently preseeded. By default, if there is only one interface this
question is not asked at all.

However on this system it appears that you have multiple interfaces
available. And the PCI interfaces have probably detected link too.

Therefore preseeding "auto" will probably end up using the interface you
do not want.

Instead you should preseed:
netcfg/choose_interface=encf500

in the param file, or if using preseed.cfg appended to the initramfs:
d-i netcfg/choose_interface select encf500

Given multiple activated and available interfaces on the system, one
must pressed which one to use.

On a side note - does installation work at all with PCI networking only?
(and no qeth devices activated?!)

I am inclined to mark this bug report as invalid, as the described
behavior is normal for pressed installation with multiple available
network cards, on any supported architectures on ubuntu.

Extract of guidance from section B.4.2:
"""
# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
d-i netcfg/choose_interface select auto

# To pick a particular interface instead:
#d-i netcfg/choose_interface select eth1
"""

** Changed in: s390-netdevice (Ubuntu)
       Status: New => Invalid

** Changed in: debian-installer (Ubuntu)
       Status: New => Incomplete

** Changed in: debian-installer (Ubuntu)
     Assignee: Dimitri John Ledkov (xnox) => (unassigned)

** Changed in: ubuntu-z-systems
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-netdevice in Ubuntu.
https://bugs.launchpad.net/bugs/1572620

Title:
  OSA Interface will shown during installation as unknown devices

Status in Ubuntu on IBM z Systems:
  Incomplete
Status in debian-installer package in Ubuntu:
  Incomplete
Status in s390-netdevice package in Ubuntu:
  Invalid

Bug description:
  == Comment: #0 - Helmut Grauer - 2016-04-20 07:52:51 ==
  Hi,
  if you have a system where PCI Interfaces are attached , after loading parmfile OS show 
  the following information

  Uncompressing Linux...
  Ok, booting the kernel.
  [ 0.759610] Initializing cgroup subsys cpuset
  [ 0.759614] Initializing cgroup subsys cpu
  [ 0.759615] Initializing cgroup subsys cpuacct
  [ 0.759619] Linux version 4.4.0-21-generic (buildd at z13-019) (gcc version 5.3.
  1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 18:31:26 UTC 201
  6 (Ubuntu 4.4.0-21.37-generic 4.4.6)
  [ 0.759626] setup: Linux is running natively in 64-bit mode
  [ 0.759992] setup: Max memory size: 411648MB
  [ 0.760022] numa: NUMA mode: plain
  [ 0.787360] Zone ranges:
  [ 0.787364] DMA [mem 0x0000000000000000-0x000000007fffffff]
  [ 0.787366] Normal [mem 0x0000000080000000-0x000000647fffffff]
  [ 0.787367] Movable zone start for each node
  [ 0.787368] Early memory node ranges
  [ 0.787370] node 0: [mem 0x0000000000000000-0x00000002ffffffff]
  [ 0.787372] Initmem setup node 0 [mem 0x0000000000000000-0x00000002ffffffff]
  [ 0.824109] PERCPU: Embedded 17 pages/cpu @00000002f2c00000 s30208 r8192 d312
  32 u69632
  [ 0.824325] Built 1 zonelists in Node order, mobility grouping on. Total pag
  es: 3096576
  [ 0.824326] Policy zone: Normal
  [ 0.824328] Kernel command line: ro locale=C cio_ignore=all,!f500-f502,!af06
  DEBCONF_DEBUG=5
  [ 0.824328] s390-netdevice/choose_networktype=qeth
  [ 0.824328] s390-netdevice/qeth/choose=0.0.f500-0.0.f501-0.0.f502
  [ 0.824328] s390-netdevice/qeth/port=0 s390-netdevice/qeth/layer2=true
  [ 0.824328] netcfg/confirm_static=true netcfg/disable_dhcp=true
  [ 0.824328] netcfg/get_ipaddress=9.152.109.2 netcfg/get_netmask=255.255.252.0
  [ 0.824328] netcfg/get_gateway=9.152.108.1 netcfg/get_nameservers=9.152.120.2
  41
  [ 0.824328] netcfg/get_hostname=s35lp02 netcfg/get_domain=boeblingen.de.ibm.c
  om
  [ 0.824328] network-console/password=123123123 network-console/password-again
  =123123123
  [ 0.825304] log_buf_len individual max cpu contribution: 4096 bytes
  [ 0.825304] log_buf_len total cpu_extra contributions: 1044480 bytes
  [ 0.825305] log_buf_len min size: 131072 bytes
  [ 0.825587] log_buf_len: 2097152 bytes
  [ 0.825589] early log buf free: 124488(94%)
  [ 0.825593] PID hash table entries: 4096 (order: 3, 32768 bytes)
  [ 0.847286] Memory: 12342380K/12582912K available (6946K kernel code, 466K rw
  data, 3480K rodata, 588K init, 824K bss, 240532K reserved, 0K cma-reserved)
  [ 0.847288] Write protected kernel read-only data: 0x100000 - 0xb2efff
  [ 0.847528] SLUB: HWalign=256, Order=0-3, MinObjects=0, CPUs=256, Nodes=16
  [ 0.847680] Hierarchical RCU implementation.
  [ 0.847681] Build-time adjustment of leaf fanout to 64.
  [ 0.849450] NR_IRQS:259
  [ 0.851101] clocksource: tod: mask: 0xffffffffffffffff max_cycles: 0x3b0a9be8
  03b0a9, max_idle_ns: 1805497147909793 ns
  [ 0.959771] console [ttyS0] enabled
  [ 1.142393] pid_max: default: 262144 minimum: 2048
  [ 1.142448] Security Framework initialized
  [ 1.142450] Yama: becoming mindful.
  [ 1.142598] AppArmor: AppArmor initialized
  [ 1.143257] Dentry cache hash table entries: 2097152 (order: 12, 16777216 byt
  es)
  [ 1.151111] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes
  )
  [ 1.154700] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes)
  [ 1.154711] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 byte
  s)
  [ 1.155241] Initializing cgroup subsys io
  [ 1.155244] Initializing cgroup subsys memory
  [ 1.155276] Initializing cgroup subsys devices
  [ 1.155278] Initializing cgroup subsys freezer
  [ 1.155280] Initializing cgroup subsys net_cls
  [ 1.155283] Initializing cgroup subsys perf_event
  [ 1.155290] Initializing cgroup subsys net_prio
  [ 1.155292] Initializing cgroup subsys hugetlb
  [ 1.155293] Initializing cgroup subsys pids
  [ 1.155321] ftrace: allocating 21617 entries in 85 pages
  [ 1.232182] cpu: 4 configured CPUs, 0 standby CPUs
  [ 1.232222] cpu: The CPU configuration topology of the machine is: 0 0 0 8 3
  8 / 3
  [ 1.234006] Brought up 4 CPUs
  [ 1.234861] devtmpfs: initialized
  [ 1.235448] evm: security.selinux
  [ 1.235449] evm: security.SMACK64
  [ 1.235450] evm: security.SMACK64EXEC
  [ 1.235451] evm: security.SMACK64TRANSMUTE
  [ 1.235452] evm: security.SMACK64MMAP
  [ 1.235466] evm: security.ima
  [ 1.235467] evm: security.capability
  [ 1.235621] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
  x_idle_ns: 19112604462750000 ns
  [ 1.235907] NET: Registered protocol family 16
  [ 1.271699] SCSI subsystem initialized
  [ 1.292022] NetLabel: Initializing
  [ 1.292023] NetLabel: domain hash size = 128
  [ 1.292024] NetLabel: protocols = UNLABELED CIPSOv4
  [ 1.292032] NetLabel: unlabeled traffic allowed by default
  [ 1.296451] PCI host bridge to bus 0000:00
  [ 1.296454] pci_bus 0000:00: root bus resource [mem 0x8000000000000000-0x8000
  0000007fffff 64bit pref]
  [ 1.296456] pci_bus 0000:00: No busn resource found for root bus, will use [b
  us 00-ff]
  [ 1.299301] iommu: Adding device 0000:00:00.0 to group 0
  [ 1.301960] PCI host bridge to bus 0001:00
  [ 1.301962] pci_bus 0001:00: root bus resource [mem 0x8001000000000000-0x8001
  0000007fffff 64bit pref]
  [ 1.301964] pci_bus 0001:00: No busn resource found for root bus, will use [b
  us 00-ff]
  [ 1.304776] iommu: Adding device 0001:00:00.0 to group 1
  [ 1.919813] AppArmor: AppArmor Filesystem Enabled
  [ 1.920090] NET: Registered protocol family 2
  [ 1.920630] TCP established hash table entries: 131072 (order: 8, 1048576 byt
  es)
  [ 1.921209] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
  [ 1.921657] TCP: Hash tables configured (established 131072 bind 65536)
  [ 1.921712] UDP hash table entries: 8192 (order: 6, 262144 bytes)
  [ 1.921849] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
  [ 1.922298] NET: Registered protocol family 1
  [ 1.922335] Trying to unpack rootfs image as initramfs...
  [ 2.059203] Freeing initrd memory: 10356K (0000000001476000 - 0000000001e9300
  0)
  [ 2.063066] futex hash table entries: 65536 (order: 12, 16777216 bytes)
  [ 2.065234] audit: initializing netlink subsys (disabled)
  [ 2.065255] audit: type=2000 audit(1461152757.608:1): initialized
  [ 2.065401] Initialise system trusted keyring
  [ 2.065574] HugeTLB registered 1 MB page size, pre-allocated 0 pages
  [ 2.066616] zbud: loaded
  [ 2.066790] VFS: Disk quotas dquot_6.6.0
  [ 2.066847] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
  [ 2.067312] fuse init (API version 7.23)
  [ 2.067437] Key type big_key registered
  [ 2.067838] Key type asymmetric registered
  [ 2.067840] Asymmetric key parser 'x509' registered
  [ 2.067886] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
  52)
  [ 2.067951] io scheduler noop registered
  [ 2.067953] io scheduler deadline registered (default)
  [ 2.067981] io scheduler cfq registered
  [ 2.068009] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
  [ 2.068013] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
  [ 2.068048] hvc_iucv: The z/VM IUCV HVC device driver cannot be used without
  z/VM
  [ 2.071849] brd: module loaded
  [ 2.073954] loop: module loaded
  [ 2.074012] tun: Universal TUN/TAP device driver, 1.6
  [ 2.074013] tun: (C) 1999-2004 Max Krasnyansky
  [ 2.074043] md: multipath personality registered for level -4
  [ 2.074201] device-mapper: uevent: version 1.0.3
  [ 2.074268] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-d
  evel at redhat.com
  [ 2.074300] cio: Channel measurement facility initialized using format extend
  ed (mode autodetected)
  [ 2.342430] sclp_cmd: Standby memory at 0x300000000 (399360M of 399360M usabl
  e)
  [ 4.330650] NET: Registered protocol family 10
  [ 4.331315] NET: Registered protocol family 17
  [ 4.331326] Key type dns_resolver registered
  [ 4.331530] registered taskstats version 1
  [ 4.331541] Loading compiled-in X.509 certificates
  [ 4.332375] Loaded X.509 cert 'Build time autogenerated kernel key: 50241365f
  679a4b46f13316862d3d564e7a84d80'
  [ 4.332396] zswap: loaded using pool lzo/zbud
  [ 4.334136] Key type trusted registered
  [ 4.336769] Key type encrypted registered
  [ 4.336774] AppArmor: AppArmor sha1 policy hashing enabled
  [ 4.336779] ima: No TPM chip found, activating TPM-bypass!
  [ 4.336803] evm: HMAC attrs: 0x1
  [ 4.337400] Freeing unused kernel memory: 588K (0000000000c5c000 - 0000000000
  cef000)
  [ 4.344147] random: systemd-udevd urandom read with 21 bits of entropy availa
  ble
  [ 4.376987] ccwgroup: module verification failed: signature and/or required k
  ey missing - tainting kernel
  [ 4.378286] qeth: loading core functions
  [ 4.382694] mlx4_core: Mellanox ConnectX core driver v2.2-1 (Feb, 2014)
  [ 4.382712] mlx4_core: Initializing 0000:00:00.0
  [ 4.382774] mlx4_core 0000:00:00.0: enabling device (0000 -> 0002)
  [ 4.383820] mlx4_core 0000:00:00.0: Detected virtual function - running in sl
  ave mode
  [ 4.383863] mlx4_core 0000:00:00.0: Sending reset
  [ 4.392580] mlx4_core 0000:00:00.0: Sending vhcr0
  [ 4.450808] mlx4_core 0000:00:00.0: Requested number of MACs is too much for
  port 1, reducing to 64
  [ 4.450811] mlx4_core 0000:00:00.0: Requested number of VLANs is too much for
  port 1, reducing to 1
  [ 4.456076] mlx4_core 0000:00:00.0: HCA minimum page size:512
  [ 4.481429] mlx4_core 0000:00:00.0: Timestamping is not supported in slave mo
  de
  [ 4.723876] mlx4_core: Initializing 0001:00:00.0
  [ 4.723936] mlx4_core 0001:00:00.0: enabling device (0000 -> 0002)
  [ 4.725000] mlx4_core 0001:00:00.0: Detected virtual function - running in sl
  ave mode
  [ 4.725039] mlx4_core 0001:00:00.0: Sending reset
  [ 4.730704] mlx4_core 0001:00:00.0: Sending vhcr0
  [ 4.796587] mlx4_core 0001:00:00.0: Requested number of MACs is too much for
  port 1, reducing to 64
  [ 4.796589] mlx4_core 0001:00:00.0: Requested number of VLANs is too much for
  port 1, reducing to 1
  [ 4.801829] mlx4_core 0001:00:00.0: HCA minimum page size:512
  [ 4.826852] mlx4_core 0001:00:00.0: Timestamping is not supported in slave mo
  de
  [ 5.061876] pps_core: LinuxPPS API ver. 1 registered
  [ 5.061878] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
  tti
  [ 5.062014] PTP clock support registered
  [ 5.063328] mlx4_en: Mellanox ConnectX HCA Ethernet driver v2.2-1 (Feb 2014)
  [ 5.077936] mlx4_en 0000:00:00.0: Activating port:1
  [ 6.024571] mlx4_en: 0000:00:00.0: Port 1: Using 32 TX rings
  [ 6.024573] mlx4_en: 0000:00:00.0: Port 1: Using 4 RX rings
  [ 6.024575] mlx4_en: 0000:00:00.0: Port 1: frag:0 - size:1522 prefix:0 stri
  de:1536
  [ 6.029000] mlx4_en: 0000:00:00.0: Port 1: Initializing port
  [ 6.036024] mlx4_en 0000:00:00.0: Activating port:2
  [ 6.583740] mlx4_en: 0000:00:00.0: Port 2: Using 32 TX rings
  [ 6.583742] mlx4_en: 0000:00:00.0: Port 2: Using 4 RX rings
  [ 6.583744] mlx4_en: 0000:00:00.0: Port 2: frag:0 - size:1522 prefix:0 stri
  de:1536
  [ 6.588245] mlx4_en: 0000:00:00.0: Port 2: Initializing port
  [ 6.600597] mlx4_en 0001:00:00.0: Activating port:1
  [ 7.176809] mlx4_en: 0001:00:00.0: Port 1: Using 32 TX rings
  [ 7.176811] mlx4_en: 0001:00:00.0: Port 1: Using 4 RX rings
  [ 7.176813] mlx4_en: 0001:00:00.0: Port 1: frag:0 - size:1522 prefix:0 stri
  de:1536
  [ 7.181528] mlx4_en: 0001:00:00.0: Port 1: Initializing port
  [ 7.188231] mlx4_en 0001:00:00.0: Activating port:2
  [ 7.721187] mlx4_en: 0001:00:00.0: Port 2: Using 32 TX rings
  [ 7.721189] mlx4_en: 0001:00:00.0: Port 2: Using 4 RX rings
  [ 7.721190] mlx4_en: 0001:00:00.0: Port 2: frag:0 - size:1522 prefix:0 stri
  de:1536
  [ 7.727904] mlx4_en: 0001:00:00.0: Port 2: Initializing port
  [ 7.739419] mlx4_core 0001:00:00.0 enP1p0s0d1: renamed from eth3
  [ 7.801285] mlx4_core 0000:00:00.0 enp0s0: renamed from eth0
  [ 7.851219] mlx4_core 0000:00:00.0 enp0s0d1: renamed from eth1
  [ 7.891210] mlx4_core 0001:00:00.0 enP1p0s0: renamed from eth2
  Starting system log daemon: syslogd, klogd.
  [1;24r[4l(B)0[m[1;24r[H[J[24;1H[m
  Configure the network
  ---------------------
  Your system has multiple network interfaces. Choose the one to use as the
  primary network interface during the installation. If possible, the first
  connected network interface found has been selected.
  Primary network interface:
  1: enP1p0s0: Unknown interface [*], 4: enp0s0: Unknown interface,
  2: enP1p0s0d1: Unknown interface, 5: enp0s0d1: Unknown interface,
  3: encf500: Unknown interface,
  Prompt: '?' for help, default=1> 

  Interface encf500 is the OSA Interface which will be used for installation and is defined in parmfile.
  If you do not have PCI Interface on LPAR OSA Interface will not shown as Unknown interface

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1572620/+subscriptions



More information about the foundations-bugs mailing list