Date: Tue, 27 Mar 2018 11:07:22 -1000 (HST) From: Jeff Roberson <jroberson@jroberson.net> To: Li-Wen Hsu <lwhsu@FreeBSD.org> Cc: "O. Hartmann" <o.hartmann@walstatt.org>, Jeff Roberson <jeff@FreeBSD.org>, pho@freebsd.org, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r331606 - in head/sys: amd64/include i386/include x86/x86 x86/xen Message-ID: <alpine.BSF.2.21.1803271105550.2307@desktop> In-Reply-To: <20180327101309.GA75720@freefall.freebsd.org> References: <201803270337.w2R3b4iv035285@repo.freebsd.org> <20180327081535.0dacffcb@freyja.zeit4.iv.bundesimmobilien.de> <20180327082651.28258a8c@freyja.zeit4.iv.bundesimmobilien.de> <alpine.BSF.2.21.1803262032260.2307@desktop> <20180327101309.GA75720@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2547152148-430465068-1522184844=:2307 Content-Type: text/plain; charset=US-ASCII; format=flowed On Tue, 27 Mar 2018, Li-Wen Hsu wrote: > On Mon, Mar 26, 2018 at 20:35:12 -1000, Jeff Roberson wrote: >> The patch has been on my branch for weeks and has been tested by a half >> dozen people. I'm sorry it does not work for you. If you reverted 331605 >> the change that followed should not have built properly. Did you build >> cleanly? Can you share your kernel config? >> >> I tried with and without EARLY_AP_STARTUP and with and without NUMA. I'm >> not having any trouble booting. Did you make cleandepend && make depend? > > It also hangs in our testing system: > > https://ci.freebsd.org/job/FreeBSD-head-amd64-test/6817/console > https://ci.freebsd.org/job/FreeBSD-head-i386-test/1000/console > > It is built cleanly and uses unmodified GENERIC config. > > The artifacts used are available here: > > https://artifact.ci.freebsd.org/snapshot/head/r331606/amd64/amd64/ > https://artifact.ci.freebsd.org/snapshot/head/r331606/i386/i386/ > > Hope these information help. Could someone who was experiencing the hang try the enclosed patch? I can only verify that it continues to boot for me but I believe this fixes the bug on other systems. I believe the issue was that cpuset_domain[0] was initialized too late on some systems. It depended on what kind of hardware was present and which sysinit with SI_ORDER_ANY ran first. Thanks, Jeff > > Li-Wen > > -- > Li-Wen Hsu <lwhsu@FreeBSD.org> > https://lwhsu.org > --2547152148-430465068-1522184844=:2307 Content-Type: text/plain; charset=US-ASCII; name=intr.diff Content-Transfer-Encoding: BASE64 Content-ID: <alpine.BSF.2.21.1803271107220.2307@desktop> Content-Description: Content-Disposition: attachment; filename=intr.diff SW5kZXg6IGFtZDY0L2luY2x1ZGUvaW50cl9tYWNoZGVwLmgNCj09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT0NCi0tLSBhbWQ2NC9pbmNsdWRlL2ludHJfbWFjaGRl cC5oCShyZXZpc2lvbiAzMzE2MTApDQorKysgYW1kNjQvaW5jbHVkZS9pbnRy X21hY2hkZXAuaAkod29ya2luZyBjb3B5KQ0KQEAgLTEzMiw2ICsxMzIsNyBA QCBzdHJ1Y3QgaW50c3JjIHsNCiAJdV9sb25nICppc19zdHJheWNvdW50Ow0K IAl1X2ludCBpc19pbmRleDsNCiAJdV9pbnQgaXNfaGFuZGxlcnM7DQorCXVf aW50IGlzX2RvbWFpbjsNCiAJdV9pbnQgaXNfY3B1Ow0KIH07DQogDQpAQCAt MTY4LDcgKzE2OSw3IEBAIHZvaWQJaW50cl9hZGRfY3B1KHVfaW50IGNwdSk7 DQogI2VuZGlmDQogaW50CWludHJfYWRkX2hhbmRsZXIoY29uc3QgY2hhciAq bmFtZSwgaW50IHZlY3RvciwgZHJpdmVyX2ZpbHRlcl90IGZpbHRlciwgDQog CQkJIGRyaXZlcl9pbnRyX3QgaGFuZGxlciwgdm9pZCAqYXJnLCBlbnVtIGlu dHJfdHlwZSBmbGFncywgDQotCQkJIHZvaWQgKipjb29raWVwKTsgICAgDQor CQkJIHZvaWQgKipjb29raWVwLCBpbnQgZG9tYWluKTsgICAgDQogI2lmZGVm IFNNUA0K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X2ludHJfYWRkX2hhbmRsZXI6IGludHJfYWRkX2hhbmRsZXIgZmFpbGVk OiAlZFxuIiwNCg== --2547152148-430465068-1522184844=:2307--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.1803271105550.2307>