All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: Xen-devel <xen-devel@lists.xenproject.org>,
	Wei Liu <wei.liu2@citrix.com>,
	ian.jackson@eu.citrix.com
Subject: Re: [OSSTEST PATCH v2 07/19] ts-host-install: don't use the new nic naming scheme
Date: Fri, 19 Jan 2018 14:21:24 +0000	[thread overview]
Message-ID: <20180119142124.h2ldgdssch7duy4s@citrix.com> (raw)
In-Reply-To: <3c780892-4aac-1532-d09a-f5e2ce803fdf@linaro.org>

On Fri, Dec 15, 2017 at 03:45:06PM +0000, Julien Grall wrote:
> 
> 
> On 12/12/17 15:15, Julien Grall wrote:
> > Hi Wei/Ian,
> 
> Hi,
> 
> > I have tried this series on Arm64 hardware. I am able to boot and
> > install Debian on AMD Seattle (laxton{0,1}). But I don't get network
> > when using Cavium Thunder-X (rochester{0,1}) after reboot.
> > 
> > Looking into more details, the interface naming is not the same between
> > the installer and after reboot. In the former, eth4 is used whilst the
> > latter uses eth5 for the same interface (USB network dongle).
> > 
> > I have tried to use 'interface force' property to impose eth4, without
> > much luck. The interface naming is still eth5 after reboot.
> > 
> > I was wondering if you have any idea how to solve the naming scheme issue?
> 
> I dug a bit more, so 'force interface' will create the
> /etc/udev/rules.d/70-persistent-net.rules for the installer initrd.
> 
> However, it does not get copied to the installed Debian. For the moment, I
> workaround this by copying the file in overlay/ so it get installed.
> 

I tried that as well, but that's wrong.

That would make the generated rule get copied in to the host initrd,
which ends up being used as the guests initrd (at least on x86), then
the guest will hijack the host's IP address (!).

> With that, I manage to get the network in the installed Debian. I guess this
> is not the right way. What would be the right way?
> 

See v3 of this series, which has a patch named:

Set mac address in interfaces(5) if force-mac-address is set

That should work on ARM, too. 

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2018-01-19 14:21 UTC|newest]

Thread overview: 168+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-31 13:51 [OSSTEST PATCH v2 00/19] Upgrade to Stretch Wei Liu
2017-10-31 13:51 ` [OSSTEST PATCH v2 01/19] gitignore: ignore vim swap file Wei Liu
2017-10-31 13:51 ` [OSSTEST PATCH v2 02/19] ts-xen-build-prep: only install w3c-dtd-xhtml for suites <Stretch Wei Liu
2018-03-07 14:34   ` Ian Jackson
2017-10-31 13:51 ` [OSSTEST PATCH v2 03/19] ts-xen-build-prep: install packages for suites >jessie Wei Liu
2017-10-31 13:51 ` [OSSTEST PATCH v2 04/19] ts-xen-install: install some packages on stretch Wei Liu
2018-03-07 14:36   ` Ian Jackson
2017-10-31 13:51 ` [OSSTEST PATCH v2 05/19] Debian.pm: use sysvinit-core instead of systemd Wei Liu
2018-03-07 14:57   ` Ian Jackson
2017-10-31 13:51 ` [OSSTEST PATCH v2 06/19] ts-leak-check: suppress systemd-shim, which leaks in stretch Wei Liu
2017-10-31 13:51 ` [OSSTEST PATCH v2 07/19] ts-host-install: don't use the new nic naming scheme Wei Liu
     [not found]   ` <bca1c4ed-c061-3510-e80d-69802a8ac806@linaro.org>
2017-12-15 15:45     ` Julien Grall
2018-01-19 14:21       ` Wei Liu [this message]
2018-01-19 17:08         ` Ian Jackson
2018-01-19 17:12           ` Wei Liu
2018-01-19 17:56             ` Ian Jackson
2018-01-19 17:58               ` Wei Liu
2018-01-19 18:39                 ` Ian Jackson
2018-03-07 15:43                   ` Ian Jackson
2017-10-31 13:51 ` [OSSTEST PATCH v2 08/19] ts-guests-nbd-mirror: use target_{get, put}file_root to transfter cfg Wei Liu
2018-03-07 15:04   ` Ian Jackson
2018-05-08  8:14     ` Wei Liu
2017-10-31 13:51 ` [OSSTEST PATCH v2 09/19] ts-debian-fixup: merge origin extra= to our own Wei Liu
2018-03-07 15:06   ` Ian Jackson
2018-03-15 17:00     ` Wei Liu
2017-10-31 13:51 ` [OSSTEST PATCH v2 10/19] ts-debian-fixup: use correct resume device Wei Liu
2018-03-07 15:08   ` Ian Jackson
2017-10-31 13:51 ` [OSSTEST PATCH v2 11/19] ts-debian-hvm-install: disable new nic naming scheme Wei Liu
2018-03-07 15:09   ` Ian Jackson
2017-10-31 13:51 ` [OSSTEST PATCH v2 12/19] ts-xen-build-prep: install e2fslibs-dev Wei Liu
2018-03-07 15:10   ` Ian Jackson
2017-10-31 13:51 ` [OSSTEST PATCH v2 13/19] TestSupport: add dpkg option when installing packages Wei Liu
2018-03-07 15:11   ` Ian Jackson
2018-05-08  9:11     ` Wei Liu
2017-10-31 13:51 ` [OSSTEST PATCH v2 14/19] ts-guests-nbd-mirror: make it work with stretch Wei Liu
2018-03-07 14:45   ` Ian Jackson
2018-05-08  9:20     ` Wei Liu
2018-05-08  9:23       ` Wei Liu
2017-10-31 13:51 ` [OSSTEST PATCH v2 15/19] Add clk_ignore_unused for stretch for arm hosts Wei Liu
2017-10-31 13:52 ` [OSSTEST PATCH v2 16/19] Set mac address in interfaces(5) if force-mac-address is set Wei Liu
2018-03-07 15:13   ` Ian Jackson
2017-10-31 13:52 ` [OSSTEST PATCH v2 17/19] Skip bootloader installation for arm32 in Stretch Wei Liu
2018-03-07 14:48   ` Ian Jackson
2017-10-31 13:52 ` [OSSTEST PATCH v2 18/19] make-flight: don't test pvgrub for Xen XXX Wei Liu
2017-11-03 14:06   ` [OSSTEST PATCH 0/2] Keep pvgrub tests Wei Liu
2017-11-03 14:06     ` [OSSTEST PATCH 1/2] ts-debian-di-install: use gho to pick d-i Wei Liu
2017-11-03 14:45       ` Ian Jackson
2017-11-03 14:06     ` [OSSTEST PATCH 2/2] make-flight: guest should use jessie to test pvgrub Wei Liu
2017-11-03 19:29       ` Ian Jackson
2018-03-07 15:14   ` [OSSTEST PATCH v2 18/19] make-flight: don't test pvgrub for Xen XXX Ian Jackson
2017-10-31 13:52 ` [OSSTEST PATCH v2 19/19] Switch to Debian Stretch Wei Liu
2018-03-07 14:50   ` Ian Jackson
2017-10-31 18:42 ` [OSSTEST PATCH v2 00/19] Upgrade to Stretch Wei Liu
2017-11-01 10:05   ` Wei Liu
2018-02-20 13:38 ` Julien Grall
2018-02-20 14:40   ` Wei Liu
2018-02-20 15:13     ` Ian Jackson
  -- strict thread matches above, loose matches on Subject: below --
2014-10-29 10:41 [PATCH OSSTEST v2 00/20] support for ARM32 arndale and cubietruck platforms Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 01/20] standalone: Provide a helper to clear the host runvar Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 02/20] mg-debian-installer-update: Include any device tree blobs in the tftp dir Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 03/20] mg-debian-installer-update: Add more modules when creating initrd overlay Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 04/20] ts-host-install: Add fdtdir to PXE stanza if dtbs directory exists Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 05/20] ts-host-install: Refactor code to construct a Linux console= for a host Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 06/20] ts-host-install: include console before *and* after the -- marker Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 07/20] ts-host-install: Add option to boot debian-installer in rescue mode Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 08/20] ts-host-install: Add force-mac-address host flag Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 09/20] make-flight: Run a basic test on each arm platform Ian Campbell
2014-10-29 16:17   ` Ian Jackson
2014-10-29 10:41 ` [PATCH OSSTEST v2 10/20] standalone: Introduce "HostGroups" for use in OSSTEST_CONFIG Ian Campbell
2014-10-29 16:22   ` Ian Jackson
2014-10-29 16:34     ` Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 11/20] Osstest/PDU: Add eth008.pm method to control the ARM rack PDU Ian Campbell
2014-10-29 16:27   ` Ian Jackson
2014-10-29 16:39     ` Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 12/20] Osstest/Debian: Refactor code to set bootargs in u-boot script Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 13/20] Osstest/Debian: Install dtbs into target filesystem in /boot/dtbs Ian Campbell
2014-10-29 16:30   ` Ian Jackson
2014-10-29 10:41 ` [PATCH OSSTEST v2 14/20] Osstest/Debian: Support for loading an FDT from u-boot script Ian Campbell
2014-10-29 16:33   ` Ian Jackson
2014-10-29 10:41 ` [PATCH OSSTEST v2 15/20] Osstest/Debian: Add support for "ExtraInitramfsModules" host property Ian Campbell
2014-10-29 16:34   ` Ian Jackson
2014-10-29 10:41 ` [PATCH OSSTEST v2 16/20] Osstest/Debian: support adding a rootdelay property to bootargs Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 17/20] Osstest/Debian: Remove hardcoded midway specific addresses from boot.scr Ian Campbell
2014-10-10 12:00   ` [PATCH OSSTEST RFC 00/19] support for ARM32 arndale and cubietruck platforms Ian Campbell
2014-10-10 12:02     ` [PATCH RFC OSSTEST 01/19] standalone: Provide a helper to clear the host runvar Ian Campbell
2014-10-10 13:51       ` Ian Jackson
2014-10-10 13:53         ` Ian Campbell
2014-10-10 12:02     ` [PATCH RFC OSSTEST 02/19] Osstest/PDU: Add eth008.pm method to control the ARM rack PDU Ian Campbell
2014-10-10 13:56       ` Ian Jackson
2014-10-10 14:05         ` Ian Campbell
2014-10-10 12:02     ` [PATCH RFC OSSTEST 03/19] mg-debian-installer-update: Include any device tree blobs in the tftp dir Ian Campbell
2014-10-10 13:57       ` Ian Jackson
2014-10-10 12:02     ` [PATCH RFC OSSTEST 04/19] mg-debian-installer-update: Add more modules when creating initrd overlay Ian Campbell
2014-10-10 13:58       ` Ian Jackson
2014-10-10 14:08         ` Ian Campbell
2014-10-10 12:02     ` [PATCH RFC OSSTEST 05/19] ts-host-install: Add fdtdir to PXE stanza if dtbs directory exists Ian Campbell
2014-10-10 14:01       ` Ian Jackson
2014-10-10 14:08         ` Ian Campbell
2014-10-10 12:02     ` [PATCH RFC OSSTEST 06/19] ts-host-install: Refactor code to construct a Linux console= for a host Ian Campbell
2014-10-10 14:02       ` Ian Jackson
2014-10-10 12:02     ` [PATCH RFC OSSTEST 07/19] ts-host-install: include console before *and* after the -- marker Ian Campbell
2014-10-10 14:05       ` Ian Jackson
2014-10-10 12:02     ` [PATCH RFC OSSTEST 08/19] ts-host-install: Add option to boot debian-installer in rescue mode Ian Campbell
2014-10-10 14:06       ` Ian Jackson
2014-10-10 12:02     ` [PATCH RFC OSSTEST 09/19] ts-host-install: Add force-mac-address host flag Ian Campbell
2014-10-10 14:09       ` Ian Jackson
2014-10-10 14:12         ` Ian Campbell
2014-10-10 14:55           ` Ian Jackson
2014-10-10 12:02     ` [PATCH RFC OSSTEST 10/19] make-flight: Run a basic test on each arm platform Ian Campbell
2014-10-10 14:20       ` Ian Jackson
2014-10-10 14:27         ` Ian Campbell
2014-10-10 15:03           ` Ian Jackson
2014-10-27 13:20         ` Ian Campbell
2014-10-10 12:02     ` [PATCH RFC OSSTEST 11/19] standalone: Introduce "HostGroups" for use in OSSTEST_CONFIG Ian Campbell
2014-10-10 14:44       ` Ian Jackson
2014-10-10 14:48         ` Ian Campbell
2014-10-10 15:09           ` Ian Jackson
2014-10-10 12:02     ` [PATCH RFC OSSTEST 12/19] Osstest/Debian: Refactor code to set bootargs in u-boot script Ian Campbell
2014-10-10 14:31       ` Ian Jackson
2014-10-10 12:02     ` [PATCH RFC OSSTEST 13/19] Osstest/Debian: Install dtbs into target filesystem in /boot/dtbs Ian Campbell
2014-10-10 14:45       ` Ian Jackson
2014-10-10 14:49         ` Ian Campbell
2014-10-10 15:10           ` Ian Jackson
2014-10-10 15:14             ` Ian Campbell
2014-10-10 16:03               ` Ian Jackson
2014-10-10 12:02     ` [PATCH RFC OSSTEST 14/19] Osstest/Debian: Support for loading an FDT from u-boot script Ian Campbell
2014-10-10 14:29       ` Ian Jackson
2014-10-10 14:37         ` Ian Campbell
2014-10-10 15:05           ` Ian Jackson
2014-10-10 12:02     ` [PATCH RFC OSSTEST 15/19] Osstest/Debian: Add support for "ExtraInitramfsModules" host property Ian Campbell
2014-10-10 14:47       ` Ian Jackson
2014-10-10 14:50         ` Ian Campbell
2014-10-10 12:02     ` [PATCH RFC OSSTEST 16/19] Osstest/Debian: support adding a rootdelay property to bootargs Ian Campbell
2014-10-10 14:49       ` Ian Jackson
2014-10-10 12:02     ` [PATCH RFC OSSTEST 17/19] Osstest/Debian: Remove hardcoded midway specific addresses from boot.scr Ian Campbell
2014-10-10 14:30       ` Ian Jackson
2014-10-10 14:32         ` Ian Campbell
2014-10-29 16:37           ` [PATCH RFC OSSTEST 17/19] Osstest/Debian: Remove hardcoded midway specific addresses from boot.scr [and 1 more messages] Ian Jackson
2014-10-29 16:41             ` Ian Campbell
2014-10-10 12:02     ` [PATCH RFC OSSTEST 18/19] ts-kernel-build: Enable CONFIG_PHY_EXYNOS5250_SATA Ian Campbell
2014-10-10 14:31       ` Ian Jackson
2014-10-10 12:02     ` [PATCH RFC OSSTEST 19/19] Osstest/Debian: Workaround oddities in the u-boot script parser Ian Campbell
2014-10-10 14:48       ` Ian Jackson
2014-10-29 10:41 ` [PATCH OSSTEST v2 18/20] Osstest/Debian: Add "clk_ignore_unused" to default command line Ian Campbell
2014-10-29 16:39   ` Ian Jackson
2014-10-30 12:33     ` Ian Campbell
2014-10-30 12:45       ` Processed: " xen
2014-10-30 13:46       ` Ian Jackson
2014-11-11 16:50       ` Julien Grall
2014-11-12 10:07         ` Ian Campbell
2014-11-12 14:26           ` Julien Grall
2018-03-07 14:50             ` [OSSTEST PATCH v2 15/19] Add clk_ignore_unused for stretch for arm hosts Ian Jackson
2014-10-29 10:41 ` [PATCH OSSTEST v2 19/20] Osstest/Debian: Add 0x prefix to $filesize Ian Campbell
2014-10-29 16:40   ` Ian Jackson
2014-10-30 14:01     ` Ian Campbell
2014-10-30 14:22       ` Ian Campbell
2014-10-30 14:49       ` Ian Jackson
2014-10-30 14:51         ` Ian Campbell
2014-10-30 14:54           ` Ian Jackson
2014-10-30 15:03             ` Ian Campbell
2014-10-29 10:41 ` [PATCH OSSTEST v2 20/20] ts-kernel-build: Enable CONFIG_PHY_EXYNOS5250_SATA Ian Campbell
2014-10-29 16:51 ` [PATCH OSSTEST v2 00/20] support for ARM32 arndale and cubietruck platforms Ian Campbell
2014-10-29 17:13   ` Ian Jackson
2014-10-29 17:15     ` Ian Campbell
2014-10-30 11:30       ` Ian Jackson
2014-10-30 11:43         ` Ian Campbell
2014-10-30 12:07           ` Ian Jackson
2014-11-03 10:23       ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180119142124.h2ldgdssch7duy4s@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=julien.grall@linaro.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.