Is the card type at all exposed anywhere? E.g: cat /sys/bus/ccwgroup/devices/0.0.0600/card_type
For me says - Virt.NIC QDIO, which sounds like case 3 (this is z/VM). I don't think i have access to OSA-card direct, or Hipersockets. I guess we could sense on card_type and use it in the question. However there are a few, aren't there looking at the source code there are a few: https://git.launchpad.net/~ubuntu- kernel/ubuntu/+source/linux/+git/unstable/tree/drivers/s390/net/qeth_core_main.c#n137 Virt.NIC QDIO Virt.NIC Hiper Virt.NIC OSM Virt.NIC OSX unknown OSD_100 HSTR OSD_1000 OSD_10GIG OSD_FE_LANE OSD_TR_LANE OSD_GbE_LANE OSD_ATM_LANE OSD_Express HiperSockets OSN OSM_1000 OSX_10GIG I guess layer2 is a good default for most of them. Which of the above do you believe layer3 is a better guess? And then working that into the question would be good: (In d-i "question" comes first, then decription, then answers. This particular question is a boolean yes/no question -> true (l2) or false (l3), changing this will result in breaking compatibility with preseed files) """ -> Select layer for Virt.Nic Hiper card The qeth network driver is about to be configured for the Virt.Nic Hiper card. The driver and the card can use either OSI model Layer 2 or Layer 3 modes. And this setting should match the network configuration this card is attached to. Using the card in Layer 2 mode will make it keep the MAC addresses of the IPv4 packets. Alternative is to use Layer 3 mode, in that mode LLC headers are removed from the incoming IPv4 packets. Incorrect mode may lead to lack of connectivity. Use this card in Layer 2 mode? Default [Y]: Yes / No "" The Virt.Nic Hiper card is just an example, as actually variable will be replaced with the contents of card_type sysfs property, which should be available at that point. The full list of possible card types, from current kernel sources, is shown above. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1541544 Title: ubuntu-installer makes a contradictional statement regarding layer2/layer3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1541544/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs