Re: Boot regression in Linux v6.4-rc3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Song Liu <song@xxxxxxxxxx>
- Subject: Re: Boot regression in Linux v6.4-rc3
- From: Frank Scheiner <frank.scheiner@xxxxxx>
- Date: Fri, 26 May 2023 20:30:08 +0200
- Cc: linux-ia64@xxxxxxxxxxxxxxx, mcgrof@xxxxxxxxxx, debian-ia64 <debian-ia64@xxxxxxxxxxxxxxxx>, John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>
- In-reply-to: <CAPhsuW7phunDnFo8RmqvdZ+fOQmexxhaGdeA086xsOpez65izw@mail.gmail.com>
- References: <abb1166d-27a9-fbae-59cd-841480fba78a@web.de> <CAPhsuW7phunDnFo8RmqvdZ+fOQmexxhaGdeA086xsOpez65izw@mail.gmail.com>
- Ui-outboundreport: notjunk:1;M01:P0:qwd0ZeWmH4g=;Vjvpgr8EoUIpRzdl2syzHTc5hCT AX6xNp9HNfALgfugkEvujvJ7Om1d3Uk5CqUOKhGVhiek2LZkD/3wED1fKWLmQiOIsGuvB+wgy UXn/D3Svgk/vWr82LM8hDbZCUEw+x3cR0MvCwCw/xPvYMMERcQjwbhp0vHMqKiXRFAEMd0ZbT flkFWu/1B6YomK6mLLItS0UNZBC2x1wsDWfPs+3L+qrzUJ97LDaVW/ZxVIf1tR0u3c/NZ8YNs zc/DpHCHPBScXAynKG3V2iynXzMgsj6qKvDpp4qvlKdjF1cUabKA8lj6UripW3nSPAJdGHohd A8BMScD1jQvs5N732HrNhL4S/FjdlP5T+KKomt/9j4sIcjJZB9yxyqD+0wdflHvHEFT2ZT//h KGSOmyNgc7iBoXmvYIIFoRc0Z0iP3qmE7cT6KQssRdmjKM+gY++uutVL1UX+iBTfbgdAe0QMg 1IYguZypf7C17GP3t/SMKil2Z0WceZn/FBt8msr9w8hlTxjOAcdwHa0miMykYjcZVkomWuLgp Y+rrUgadBifeShwfNO993YlE5BVOVaaaGOSOxgBQLtJJ2xb5KXDeDs3fXkJa3kwC1d54rGjLp tRWrBSuml/w7jPZhzEx1kpc/7Lrg3QP8O+Tut0hBBgmeane9U5Pm+X7/XlWvRNqkMvLutzKwx AdpH0O230ejNlnKY9eQlblgNoGIrKIWu/6rNmuWKLt3rmMGSNC0vZW9lxxgajllOAAkm2lNsB zHmzXCN79yK00B5oirt7owQMqcbOKwDsqWm7Luzk75EWNqvs2fjK0Y/gffdoIHIaLgb9CjtMD GwS02Xdovon+pIluKC7KZ1SJHc5QnBqLO/odFFpE88dqCnSVvr+dxwv2d6bACNIihmalx3PZU C6p2BNyTtaVj+sWb+FPIATo+SeW5TJzFF/Vwp1PqfxvatVEPr8Wmnh1hTKioOviscFtcsrHuB jgVNklDbm0HysLiEo2O+70Vlwew=
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
Hi Song,
On 26.05.23 18:49, Song Liu wrote:
Hi Frank,
Thanks for the report.
Sure, thanks for your help in this.
It seems the error happened during the WARN_ON_ONCE. Could you
please try whether something like the following fixes it?
diff --git i/kernel/module/main.c w/kernel/module/main.c
index 0f9183f1ca9f..ae42dfc1a815 100644
--- i/kernel/module/main.c
+++ w/kernel/module/main.c
@@ -1537,7 +1537,7 @@ static void __layout_sections(struct module
*mod, struct load_info *info, bool i
|| is_init != module_init_layout_section(sname))
continue;
- if (WARN_ON_ONCE(type == MOD_INVALID))
+ if (type == MOD_INVALID)
continue;
s->sh_entsize =
module_get_offset_and_type(mod, type, s, i);
Ok, tried that as -patch1 on top of v6.4-rc3, but didn't help, see [1].
[1]: https://pastebin.com/UK9v30Ae
If that doesn't work, maybe we need something like this:
diff --git i/arch/ia64/kernel/module.c w/arch/ia64/kernel/module.c
index 3661135da9d9..4e9a7f0498e2 100644
--- i/arch/ia64/kernel/module.c
+++ w/arch/ia64/kernel/module.c
@@ -815,7 +815,7 @@ apply_relocate_add (Elf64_Shdr *sechdrs, const
char *strtab, unsigned int symind
uint64_t gp;
struct module_memory *mod_mem;
- mod_mem = &mod->mem[MOD_DATA];
+ mod_mem = &mod->mem[MOD_TEXT];
if (mod_mem->size > MAX_LTOFF)
/*
* This takes advantage of fact that
SHF_ARCH_SMALL gets allocated
Tried that one as -patch2 on top of v6.4-rc3, but didn't help, see [2].
[2]: https://pastebin.com/gLupBndU
I also tried both patches as -patch1plus2 on top of v6.4-rc3 with a
similar result, see [3].
[3]: https://pastebin.com/7pXBG5vx
Cheers,
Frank
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]