Re: Boot regression in Linux v6.4-rc3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Boot regression in Linux v6.4-rc3
- From: Frank Scheiner <frank.scheiner@xxxxxx>
- Date: Sat, 27 May 2023 20:34:50 +0200
- Cc: Guenter Roeck <linux@xxxxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, song@xxxxxxxxxx, debian-ia64 <debian-ia64@xxxxxxxxxxxxxxxx>, John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>, Luis Chamberlain <mcgrof@xxxxxxxxxx>, Konstantin Ryabitsev <konstantin@xxxxxxxxxxxxxxxxxxx>
- In-reply-to: <CAHk-=whv0Mr_Gnwbm00vi76oTTw16KviVhC33segbjjZbxOswA@mail.gmail.com>
- References: <abb1166d-27a9-fbae-59cd-841480fba78a@web.de> <ZHErssbUSbSznTVA@bombadil.infradead.org> <CAHk-=whuaCqh0RJk1F+SKqdEHPzANoVVP5OU=c9wgogVLCQTVQ@mail.gmail.com> <c4ef98ad-cc4e-2949-179d-7edbc3c2a1b5@web.de> <CAHk-=whv0Mr_Gnwbm00vi76oTTw16KviVhC33segbjjZbxOswA@mail.gmail.com>
- Ui-outboundreport: notjunk:1;M01:P0:lDP7MOUlOTA=;TnhCn5p+Fe/illnk5UeEkJSmJ3C es0Y4BMREmMZvFPP+UX6svBm9lgKqAQlQSGKrI7v1D4fdYr9tqBddcYTm53Ee0bcWAbNc85cW ScdK40foUNSvPQgVjMEmxUvvBRDCVKyNwYJCp9QFNH4D2TWFgKlRE2BA7mlQzdOkK6IIgSz4J 0+0yffiRn0TeM1byCNUUtssCxz2thXLfkpf34DpIfGWBGuZxeXmxJQ9vTtb48g3RB+IGS6rQO V3Mw5X8A3hAtnDepqXGv5PsVwphPQ7RmhQG//GpRiAqC85R4UxbIzpEIL++VrrTiGtlFmxs8s 8vzAnF3nYCNOVSzhy+m/PhPV4jsWQq3xcx8TmRMSzjBz/cBbD0vQxiH/5sesWrWA0WkfRy4Z/ OYDG9LvioeTB+VYQmg8jLGX6dXgT7n73WjAfIVikwIWiQ+j7+vv0lHVU57OV2ITtajNzuHYxl PPv0avmmny8S4gbeRjYuhfYZY54zjci6rGhIvCkIINchXElc9YkFyLKcyagwmrk2DfKuTBnk/ jcucmtliW1OKghE2oZgWMTzF4TdYi1E08ehSRz+R06Le202+4phfG+9UliMs3kgmp2phq1Qdc 1C4Bqs+klPqrjE+3aBnB3ONoucaPFFfM7sz59m2q6jJ37lGLvwwrWsDGR0v/gphqE269AKY49 QYFwxEbyfMasvArgNotvGHH2FDkRZbcMPyrvNSajj1oOWD+th6M1E2kzEn7TFh2VAviCUWmKX kulpdx1N40V7fxrikUwfwXNySX8m69MMHQpGTl5iMS9BWBNMkAS4llL2/DATC0VGnzSqYlW13 FjDmqa/PkEucGDt2G0wOkNAL/I61MT76jKWPie+UoC6G/PE5Fquk4gPD1KC1jfBiSve4dr7Jr K5w18kibv6Lmm33Xv5ZaV0UkTh4hAtF6xnXxPlfsGN8UavjyoxVJhpFO25KoFKGObDkcISLTh TjnV6A==
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
Hi,
On 27.05.23 19:08, Linus Torvalds wrote:
Anyway, the WARN_ON() is likely related, but the bug is clearly an
unexpected page fault in __copy_user() when called by load_module().
The ia64 oops output is nasty, presumably because ia64 aggressively
inlines things. It would help a lot if you enabled debug info (maybe
you already do?)
I believe it is enabled - I have at least CONFIG_DEBUG_KERNEL=y and
CONFIG_DEBUG_INFO=y - my kernel config is on [1] for reference.
[1]: https://pastebin.com/HRQtZ9vb
and then run the oops through
./scripts/decode_stacktrace.sh which will figure out line numbers,
inlining etc.
Because I don't even see why it would call __copy_user() in the first
place. This is 'finit_module()' that loads the module data from a
file, not user space.
So I guess it must be the strndup_user() in
mod->args = strndup_user(uargs, ~0UL >> 1);
but that doesn't look like it should even care about any module
layout. Plus I would have expected to see strndup_user() in the call
trace, but whatever.
End result: that ia64 trace is very hard to read, and _maybe_ running
it through the decode script might give more information about what it
is that triggers...
Ok, I put the decoded console messages on [2].
[2]: https://pastebin.com/dLYMijfS
Cheers,
Frank
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]