Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2017 13:25:52 +0100
From:      Alexander Leidinger <Alexander@leidinger.net>
To:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r311849 - in head: . sys/amd64/conf sys/arm64/conf sys/conf sys/dev/e1000 sys/i386/conf sys/mips/conf sys/modules sys/modules/em sys/modules/igb sys/powerpc/conf
Message-ID:  <20170217132552.Horde.SczQt99sizXK97JkemhpebV@webmail.leidinger.net>
In-Reply-To: <20170215100637.2xsyyu46odzig4c4@dhcp-3-221.uk.xensource.com>
References:  <201701100323.v0A3NMAI045868@repo.freebsd.org> <20170215100637.2xsyyu46odzig4c4@dhcp-3-221.uk.xensource.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format and has been PGP signed.

--=_FrbVJON3okjEUJQBCLQtOcb
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Quoting Roger Pau Monn=C3=A9 <roger.pau@citrix.com> (from Wed, 15 Feb 2017=
=20=20
10:06:37=20+0000):

> On Tue, Jan 10, 2017 at 03:23:22AM +0000, Sean Bruno wrote:
>> Author: sbruno
>> Date: Tue Jan 10 03:23:22 2017
>> New Revision: 311849
>> URL: https://svnweb.freebsd.org/changeset/base/311849
>>
>> Log:
>>   Migrate e1000 to the IFLIB framework:
>>   - em(4) igb(4) and lem(4)
>>   - deprecate the igb device from kernel configurations
>>   - create a symbolic link in /boot/kernel from if_em.ko to if_igb.ko
>
> This linking causes mfsBSD to choke when building an image from=20=20
>=20HEAD. It tries
> to issue the following command:
>
> ${_v}${CP} -rp ${_BOOTDIR}/kernel ${WRKDIR}/disk/boot
>
> Which fails when finding the symbol link. I can send a patch to=20=20
>=20change that to
> -Rp, which would work fine, but wouldn't it be better to either completel=
y
> remove if_igb.ko, or simply copy if_em.ko to if_igb.ko?
>
> I'm wondering if for example anyone strips down it's /boot/kernel/=20=20
>=20manually, by
> removing unused modules, and what would happen if if_em.ko is removed but=
 not
> if_igb.ko.

We need to add here, that a symlink is not loaded by loader. What=20=20
about=20a hardlink instead?

Bye,
Alexander.

--=20
http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

--=_FrbVJON3okjEUJQBCLQtOcb
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iQIcBAABAgAGBQJYpuvQAAoJEKrxQhqFIICENuQQAJOrgEJmjc+dKlEDd0/CwHlk
snPEgNx+SRtIcAyGQmtc46TeCWFnllaF+AxZsNbVegrSmilvbRyCfIHyFkTDEnhx
+BpWQOvL13ux8Ay0tBwGnwD+7/f2Jec9xIVfZwS86Zzu2mRIbA76mvC91CgrY6ej
UMD4BdmQ//jH2+ZsQVhJMcl8PWtCVmLq2ghY+5ATS8tAlLoxLw8LAU82wqHzlhsp
OGPxDoljFVFVxV5ncK1U99UYgOnuHh2bil5mxN8n7Ua/qY2jWxlBEdOwmrg+Pa2z
Yy6yv5l2txksnXr+gTd94a2xWrrcuBRH+alflteKRWAyMpxmMCfcf6GhUlofby3X
9Lvjr3jxLqKiU05YrmwC/eLRG7rT9RyLrI+8LpG8X3/KkufVuMdULioNTGlLiw8o
bWtW5ZmREDsGdf8ODeZCnO8EpCQ2jzRh/QgWc1zAYkhVjuvueybWmtx4iDwOakQM
MWOkDgiRjA9KCWIrguuqo0Ghy7GxmSbd3DrbjCosjnhCVwkEMSrwahXe00CSC9/E
wNPhCuM/WzW/jKP5ed9UU7Eq9VMkvIWVM+A+Jx8N+vwN8139cmdlRgBDVwoVoc/W
csEuwSkvA34Qbp4f2NELNvIvsWtcX0qAHEhWMnuNAeu+CNEEn5pPgPGbrWW3uyuB
GBJUqlGeJCX/MlKXu6gO
=HXJk
-----END PGP SIGNATURE-----

--=_FrbVJON3okjEUJQBCLQtOcb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170217132552.Horde.SczQt99sizXK97JkemhpebV>