[Bug 1772461] Re: chzdev behaviour change in bionic
Frank Heimes
1772461 at bugs.launchpad.net
Thu Jul 5 11:13:45 UTC 2018
** Changed in: ubuntu-z-systems
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1772461
Title:
chzdev behaviour change in bionic
Status in Ubuntu on IBM z Systems:
Confirmed
Status in s390-tools package in Ubuntu:
Confirmed
Bug description:
This may be less of a bug, and more of a change of usage:
Using preseeds for xenial I was successfully able to configure
bridge_role=primary on a qeth device, using this command:
chzdev --no-root-update -pVe ${NIC_ID} layer2=1 bridge_role=primary
However, this no longer works - upon reboot, bridge_role is set to
none.
Running this command manually, on the built lpar, without --no-root-
update, returns:
QETH device 0.0.c003:0.0.c004:0.0.c005 already configured
Running sudo chzdev -Ve 0.0.c003 layer2=1 bridge_role=primary
returns
Error: Cannot set layer2='1' while online='1' (*)
Running with --force still complains about being online, so first i
take the dev offline, and rerun the command, but get this:
Error: Settings bridge_role and vnicc/rx_bcast are in conflict (*)
ubuntu at s4lp5:/sys/devices/qeth/0.0.c003$ cat vnicc/rx_bcast
n/a
ubuntu at s4lp5:/sys/devices/qeth/0.0.c003$
The only combination that seems to work is:
ubuntu at s4lp5:/sys/devices/qeth/0.0.c003$ sudo chzdev -Ve 0.0.c003 layer2=1 bridge_role=primary online=0 --force
Scanning for devices in all configurations:
ECKD DASD : 268
Loading required kernel module: dasd_fba_mod
Failed to load kernel module: dasd_fba_mod
FBA DASD : 0
FCP device : 20
zFCP LUN : 0
QETH device : 42
Loading required kernel module: ctcm
Failed to load kernel module: ctcm
CTC device : 0
Loading required kernel module: lcs
Failed to load kernel module: lcs
LCS device : 0
Generic CCW device : 1
Total : 331
QETH device 0.0.c003:0.0.c004:0.0.c005 configured
Changes: online=0 bridge_role=primary
Network interface: encc003
Warning: Settings bridge_role and vnicc/rx_bcast are in conflict
ubuntu at s4lp5:/sys/devices/qeth/0.0.c003$ cat bridge_role
primary
ubuntu at s4lp5:/sys/devices/qeth/0.0.c003$ sudo chzdev -Ve 0.0.c003 online=1
Scanning for devices in all configurations:
ECKD DASD : 268
Loading required kernel module: dasd_fba_mod
Failed to load kernel module: dasd_fba_mod
FBA DASD : 0
FCP device : 20
zFCP LUN : 0
QETH device : 42
Loading required kernel module: ctcm
Failed to load kernel module: ctcm
CTC device : 0
Loading required kernel module: lcs
Failed to load kernel module: lcs
LCS device : 0
Generic CCW device : 1
Total : 331
QETH device 0.0.c003:0.0.c004:0.0.c005 configured
Changes: online=1
Network interface: encc003
ubuntu at s4lp5:/sys/devices/qeth/0.0.c003$ cat bridge_role
none
ubuntu at s4lp5:/sys/devices/qeth/0.0.c003$
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1772461/+subscriptions
More information about the foundations-bugs
mailing list