Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2020 15:18:23 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        Grzegorz Junka <list1@gjunka.com>, freebsd-ports@freebsd.org
Subject:   Re: amdgpu panics
Message-ID:  <SL2PR06MB3225FC8438C9D2193579D885FAC10@SL2PR06MB3225.apcprd06.prod.outlook.com>
In-Reply-To: <063de84b-c994-fafa-268f-f7b890a3382e@gjunka.com>
References:  <be363a85-cf11-f0d9-b6ca-39f0013322c7@gjunka.com> <d9f2137e-8e23-b00f-fe82-a1f83a6fe778@selasky.org> <6b0092f3-8d90-f1bc-b2ae-cf2fa2f029e0@gjunka.com> <d037e4dd-75a1-dcab-74f6-0cbfde452b7d@selasky.org> <47774b7a-0a6d-8806-6dee-4f0036651ace@gjunka.com> <20200312163447.GB42880@phouka1.phouka.net> <e880d6b2-92a5-ed60-5ef8-21812f193aa3@gjunka.com> <8d8ae2c8-1ecd-5c8c-2437-4e47cf48bd60@gmx.de> <96c03c59-b28e-3af1-e98b-e95517c20010@gjunka.com> <83bfb6f7-0a84-2905-7849-e4e93d9f6fb1@selasky.org> <9426b9bb-4fe6-37ba-ecb4-13a1ade47f92@gjunka.com> <9bc766aa-b17f-e8bc-bea2-11431972cf5d@selasky.org> <c5a5a71e-a1e2-2efd-b45d-d68daa893fa4@gjunka.com> <2ddfe444-7a20-9835-0875-6f93aa0f6ab3@gmx.de> <5fb0aa95-9aa1-e170-15fe-ba5ce77869db@gjunka.com> <SL2PR06MB32250E7922C51635B3E77BA6FAC20@SL2PR06MB3225.apcprd06.prod.outlook.com> <063de84b-c994-fafa-268f-f7b890a3382e@gjunka.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Grzegorz Junka wrote on 2020/04/09 06:54:
> 
> On 06/04/2020 22:08, Tatsuki Makino wrote:
>> Sorry, I derail from this topic.
>>
>> I have cloned the host to poudriere with the following command.
>>
>> poudriere jail -c -j src -m 'src=/usr/src' -v `make -C /usr/src/release/
>> -V VERSION VERSION=\$\{REVISION:Q\}-\$\{BRANCH:Q\}`
>>
>> Since the name of this jail is src, create src.conf as follows.
>>
>> ln -s /etc/src.conf /usr/local/etc/poudriere.d/src-src.conf
>>
>> Probably, this reproduces the same environment as the host... maybe :)
> 
> 
> Just trying this now. Poudriere's help says that -v only makes sense for
> method ftp and svn. For other methods, especially for src that you are
> using, the value is only for display.
> 
> Also, I don't think specifying src.conf for jail created with method src
> makes sense? It assumes that the world and kernel is already build. I
> would expect this to only take any effect when creating with -b or with
> method svn?
> 

I wrote the -v jumble because it was troublesome when 12.1-STABLE was
changed to 12.2-PRERELEASE. If -v is omitted, an error may have occurred.
I don't know what's being used internally...

-m src=... will install files that already exist in /usr/obj. If
/etc/src.conf prevents builds of unnecessary files, some files will be
missing.
...However, I do not know if the created symlink to /etc/src.conf solves
the problem :)

The poudriere jail created in this way can be updated immediately after
buildworld+buildkernel+installkernel+installworld(+reboot) the host with
the following command.

poudriere jail -u -j src




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