2022-01-25 17:26:29

by Jeffrin Thalakkottoor

[permalink] [raw]
Subject: review for 5.16.3-rc2

hello greg,

compile failed for 5.16.3-rc2 related.
a relevent file attached.

Tested-by : Jeffrin Jose T <[email protected]>


--
software engineer
rajagiri school of engineering and technology - autonomous



Attachments:
5.16.3-rc2.txt (1.01 kB)

2022-01-25 20:21:36

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: review for 5.16.3-rc2

On Tue, Jan 25, 2022 at 06:15:46PM +0530, Jeffrin Jose T wrote:
> hello greg,
>
> compile failed for 5.16.3-rc2 related.
> a relevent file attached.
>
> Tested-by : Jeffrin Jose T <[email protected]>

But it failed for you, how did you test it?

>
>
> --
> software engineer
> rajagiri school of engineering and technology - autonomous
>
>

> char * typetab; /* 24 8 */
>
> /* size: 32, cachelines: 1, members: 4 */
> /* sum members: 28, holes: 1, sum holes: 4 */
> /* last cacheline: 32 bytes */
> };
> struct klp_modinfo {
> Elf64_Ehdr hdr; /* 0 64 */
> /* --- cacheline 1 boundary (64 bytes) --- */
> Elf64_Shdr * sechdrs; /* 64 8 */
> char * secstrings; /* 72 8 */
> unsigned int symndx; /* 80 4 */
>
> /* size: 88, cachelines: 2, members: 4 */
> /* padding: 4 */
> /* last cacheline: 24 bytes */
> };
> Segmentation fault

What "faulted"? Look higher up in the log please.

thanks,

greg k-h

2022-01-25 23:02:21

by Jeffrin Thalakkottoor

[permalink] [raw]
Subject: Re: review for 5.16.3-rc2

On Tue, Jan 25, 2022 at 8:04 PM Greg KH <[email protected]> wrote:
>
> On Tue, Jan 25, 2022 at 06:15:46PM +0530, Jeffrin Jose T wrote:
> > hello greg,
> >
> > compile failed for 5.16.3-rc2 related.
> > a relevent file attached.
> >
> > Tested-by : Jeffrin Jose T <[email protected]>
>
> But it failed for you, how did you test it?

i compiled 5.16.3-rc2 related to "make localmodconfig" and "make -j4"


>
> >
> >
>
> > char * typetab; /* 24 8 */
> >
> > /* size: 32, cachelines: 1, members: 4 */
> > /* sum members: 28, holes: 1, sum holes: 4 */
> > /* last cacheline: 32 bytes */
> > };
> > struct klp_modinfo {
> > Elf64_Ehdr hdr; /* 0 64 */
> > /* --- cacheline 1 boundary (64 bytes) --- */
> > Elf64_Shdr * sechdrs; /* 64 8 */
> > char * secstrings; /* 72 8 */
> > unsigned int symndx; /* 80 4 */
> >
> > /* size: 88, cachelines: 2, members: 4 */
> > /* padding: 4 */
> > /* last cacheline: 24 bytes */
> > };
> > Segmentation fault
>
> What "faulted"? Look higher up in the log please.

a top view...

CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
AR init/built-in.a
LD vmlinux.o
MODPOST vmlinux.symvers
MODINFO modules.builtin.modinfo
GEN modules.builtin
LD .tmp_vmlinux.btf
BTF .btf.vmlinux.bin.o
struct list_head {
struct list_head * next; /* 0 8 */
struct list_head * prev; /* 8 8 */

/* size: 16, cachelines: 1, members: 2 */
/* last cacheline: 16 bytes */
};
struct hlist_head {
struct hlist_node * first; /* 0 8 */

/* size: 8, cachelines: 1, members: 1 */
/* last cacheline: 8 bytes */
};
struct hlist_node {
struct hlist_node * next; /* 0 8 */
struct hlist_node * * pprev; /* 8 8 */

/* size: 16, cachelines: 1, members: 2 */
/* last cacheline: 16 bytes */
};
struct callback_head {
struct callback_head * next; /* 0 8 */
void (*func)(struct callback_head *); /*
8 8 */
.
.
.
.
.
.


$

--
software engineer
rajagiri school of engineering and technology

2022-01-25 23:04:58

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: review for 5.16.3-rc2

On Tue, Jan 25, 2022 at 09:49:00PM +0530, Jeffrin Thalakkottoor wrote:
> On Tue, Jan 25, 2022 at 8:04 PM Greg KH <[email protected]> wrote:
> >
> > On Tue, Jan 25, 2022 at 06:15:46PM +0530, Jeffrin Jose T wrote:
> > > hello greg,
> > >
> > > compile failed for 5.16.3-rc2 related.
> > > a relevent file attached.
> > >
> > > Tested-by : Jeffrin Jose T <[email protected]>
> >
> > But it failed for you, how did you test it?
>
> i compiled 5.16.3-rc2 related to "make localmodconfig" and "make -j4"

So it somehow failed?

> >
> > >
> > >
> >
> > > char * typetab; /* 24 8 */
> > >
> > > /* size: 32, cachelines: 1, members: 4 */
> > > /* sum members: 28, holes: 1, sum holes: 4 */
> > > /* last cacheline: 32 bytes */
> > > };
> > > struct klp_modinfo {
> > > Elf64_Ehdr hdr; /* 0 64 */
> > > /* --- cacheline 1 boundary (64 bytes) --- */
> > > Elf64_Shdr * sechdrs; /* 64 8 */
> > > char * secstrings; /* 72 8 */
> > > unsigned int symndx; /* 80 4 */
> > >
> > > /* size: 88, cachelines: 2, members: 4 */
> > > /* padding: 4 */
> > > /* last cacheline: 24 bytes */
> > > };
> > > Segmentation fault
> >
> > What "faulted"? Look higher up in the log please.
>
> a top view...
>
> CALL scripts/atomic/check-atomics.sh
> CALL scripts/checksyscalls.sh
> CHK include/generated/compile.h
> GEN .version
> CHK include/generated/compile.h
> UPD include/generated/compile.h
> CC init/version.o
> AR init/built-in.a
> LD vmlinux.o
> MODPOST vmlinux.symvers
> MODINFO modules.builtin.modinfo
> GEN modules.builtin
> LD .tmp_vmlinux.btf
> BTF .btf.vmlinux.bin.o
> struct list_head {
> struct list_head * next; /* 0 8 */
> struct list_head * prev; /* 8 8 */
>
> /* size: 16, cachelines: 1, members: 2 */
> /* last cacheline: 16 bytes */
> };
> struct hlist_head {
> struct hlist_node * first; /* 0 8 */
>
> /* size: 8, cachelines: 1, members: 1 */
> /* last cacheline: 8 bytes */
> };
> struct hlist_node {
> struct hlist_node * next; /* 0 8 */
> struct hlist_node * * pprev; /* 8 8 */
>
> /* size: 16, cachelines: 1, members: 2 */
> /* last cacheline: 16 bytes */
> };
> struct callback_head {
> struct callback_head * next; /* 0 8 */
> void (*func)(struct callback_head *); /*
> 8 8 */
> .
> .
> .
> .
> .
> .

I do not know what is failing, there is no error message here. Does
5.16.2 build properly for you?

thanks,

greg k-h

2022-01-26 01:22:49

by Jeffrin Thalakkottoor

[permalink] [raw]
Subject: Re: review for 5.16.3-rc2

On Tue, Jan 25, 2022 at 9:57 PM Greg KH <[email protected]> wrote:
>
> On Tue, Jan 25, 2022 at 09:49:00PM +0530, Jeffrin Thalakkottoor wrote:
> > On Tue, Jan 25, 2022 at 8:04 PM Greg KH <[email protected]> wrote:
> > >
> > > On Tue, Jan 25, 2022 at 06:15:46PM +0530, Jeffrin Jose T wrote:
> > > > hello greg,
> > > >
> > > > compile failed for 5.16.3-rc2 related.
> > > > a relevent file attached.
> > > >
> > > > Tested-by : Jeffrin Jose T <[email protected]>
> > >
> > > But it failed for you, how did you test it?
> >
> > i compiled 5.16.3-rc2 related to "make localmodconfig" and "make -j4"
>
> So it somehow failed?

Yes i think so

>
> > >
> > > >
> > > >
> > >
> > > > char * typetab; /* 24 8 */
> > > >
> > > > /* size: 32, cachelines: 1, members: 4 */
> > > > /* sum members: 28, holes: 1, sum holes: 4 */
> > > > /* last cacheline: 32 bytes */
> > > > };
> > > > struct klp_modinfo {
> > > > Elf64_Ehdr hdr; /* 0 64 */
> > > > /* --- cacheline 1 boundary (64 bytes) --- */
> > > > Elf64_Shdr * sechdrs; /* 64 8 */
> > > > char * secstrings; /* 72 8 */
> > > > unsigned int symndx; /* 80 4 */
> > > >
> > > > /* size: 88, cachelines: 2, members: 4 */
> > > > /* padding: 4 */
> > > > /* last cacheline: 24 bytes */
> > > > };
> > > > Segmentation fault
> > >
> > > What "faulted"? Look higher up in the log please.
> >
> > a top view...
> >
> > CALL scripts/atomic/check-atomics.sh
> > CALL scripts/checksyscalls.sh
> > CHK include/generated/compile.h
> > GEN .version
> > CHK include/generated/compile.h
> > UPD include/generated/compile.h
> > CC init/version.o
> > AR init/built-in.a
> > LD vmlinux.o
> > MODPOST vmlinux.symvers
> > MODINFO modules.builtin.modinfo
> > GEN modules.builtin
> > LD .tmp_vmlinux.btf
> > BTF .btf.vmlinux.bin.o
> > struct list_head {
> > struct list_head * next; /* 0 8 */
> > struct list_head * prev; /* 8 8 */
> >
> > /* size: 16, cachelines: 1, members: 2 */
> > /* last cacheline: 16 bytes */
> > };
> > struct hlist_head {
> > struct hlist_node * first; /* 0 8 */
> >
> > /* size: 8, cachelines: 1, members: 1 */
> > /* last cacheline: 8 bytes */
> > };
> > struct hlist_node {
> > struct hlist_node * next; /* 0 8 */
> > struct hlist_node * * pprev; /* 8 8 */
> >
> > /* size: 16, cachelines: 1, members: 2 */
> > /* last cacheline: 16 bytes */
> > };
> > struct callback_head {
> > struct callback_head * next; /* 0 8 */
> > void (*func)(struct callback_head *); /*
> > 8 8 */
> > .
> > .
> > .
> > .
> > .
> > .
>
> I do not know what is failing, there is no error message here. Does
> 5.16.2 build properly for you?

stderr has captured the following...


-------------x-----------------x--------------x---
FAILED: load BTF from vmlinux: No such file or directory
make: *** [Makefile:1161: vmlinux] Error 255
make: *** Deleting file 'vmlinux'
------------x----------------x------------x--
5.16.2-rc1 builds for me.

Will the following link help...

https://unix.stackexchange.com/questions/616392/failed-load-btf-from-vmlinux-unknown-error-2make-makefile1162-vmlinu

--
software engineer
rajagiri school of engineering and technology

2022-01-26 06:35:04

by Jeffrin Thalakkottoor

[permalink] [raw]
Subject: Re: review for 5.16.3-rc2

a
> > Does
> > 5.16.2 build properly for you?

anyway 5.16.2 does not build properly for me now.
may be this build error issue started when i
plugged in a usb transmitter for my new wireless keyboard and mouse.

--
software engineer
rajagiri school of engineering and technology

2022-01-26 21:05:09

by Salvatore Bonaccorso

[permalink] [raw]
Subject: Re: review for 5.16.3-rc2

Hi,

On Tue, Jan 25, 2022 at 10:32:26PM +0530, Jeffrin Thalakkottoor wrote:
> On Tue, Jan 25, 2022 at 9:57 PM Greg KH <[email protected]> wrote:
> >
> > On Tue, Jan 25, 2022 at 09:49:00PM +0530, Jeffrin Thalakkottoor wrote:
> > > On Tue, Jan 25, 2022 at 8:04 PM Greg KH <[email protected]> wrote:
> > > >
> > > > On Tue, Jan 25, 2022 at 06:15:46PM +0530, Jeffrin Jose T wrote:
> > > > > hello greg,
> > > > >
> > > > > compile failed for 5.16.3-rc2 related.
> > > > > a relevent file attached.
> > > > >
> > > > > Tested-by : Jeffrin Jose T <[email protected]>
> > > >
> > > > But it failed for you, how did you test it?
> > >
> > > i compiled 5.16.3-rc2 related to "make localmodconfig" and "make -j4"
> >
> > So it somehow failed?
>
> Yes i think so
>
> >
> > > >
> > > > >
> > > > >
> > > >
> > > > > char * typetab; /* 24 8 */
> > > > >
> > > > > /* size: 32, cachelines: 1, members: 4 */
> > > > > /* sum members: 28, holes: 1, sum holes: 4 */
> > > > > /* last cacheline: 32 bytes */
> > > > > };
> > > > > struct klp_modinfo {
> > > > > Elf64_Ehdr hdr; /* 0 64 */
> > > > > /* --- cacheline 1 boundary (64 bytes) --- */
> > > > > Elf64_Shdr * sechdrs; /* 64 8 */
> > > > > char * secstrings; /* 72 8 */
> > > > > unsigned int symndx; /* 80 4 */
> > > > >
> > > > > /* size: 88, cachelines: 2, members: 4 */
> > > > > /* padding: 4 */
> > > > > /* last cacheline: 24 bytes */
> > > > > };
> > > > > Segmentation fault
> > > >
> > > > What "faulted"? Look higher up in the log please.
> > >
> > > a top view...
> > >
> > > CALL scripts/atomic/check-atomics.sh
> > > CALL scripts/checksyscalls.sh
> > > CHK include/generated/compile.h
> > > GEN .version
> > > CHK include/generated/compile.h
> > > UPD include/generated/compile.h
> > > CC init/version.o
> > > AR init/built-in.a
> > > LD vmlinux.o
> > > MODPOST vmlinux.symvers
> > > MODINFO modules.builtin.modinfo
> > > GEN modules.builtin
> > > LD .tmp_vmlinux.btf
> > > BTF .btf.vmlinux.bin.o
> > > struct list_head {
> > > struct list_head * next; /* 0 8 */
> > > struct list_head * prev; /* 8 8 */
> > >
> > > /* size: 16, cachelines: 1, members: 2 */
> > > /* last cacheline: 16 bytes */
> > > };
> > > struct hlist_head {
> > > struct hlist_node * first; /* 0 8 */
> > >
> > > /* size: 8, cachelines: 1, members: 1 */
> > > /* last cacheline: 8 bytes */
> > > };
> > > struct hlist_node {
> > > struct hlist_node * next; /* 0 8 */
> > > struct hlist_node * * pprev; /* 8 8 */
> > >
> > > /* size: 16, cachelines: 1, members: 2 */
> > > /* last cacheline: 16 bytes */
> > > };
> > > struct callback_head {
> > > struct callback_head * next; /* 0 8 */
> > > void (*func)(struct callback_head *); /*
> > > 8 8 */
> > > .
> > > .
> > > .
> > > .
> > > .
> > > .
> >
> > I do not know what is failing, there is no error message here. Does
> > 5.16.2 build properly for you?
>
> stderr has captured the following...
>
>
> -------------x-----------------x--------------x---
> FAILED: load BTF from vmlinux: No such file or directory
> make: *** [Makefile:1161: vmlinux] Error 255
> make: *** Deleting file 'vmlinux'
> ------------x----------------x------------x--
> 5.16.2-rc1 builds for me.
>
> Will the following link help...
>
> https://unix.stackexchange.com/questions/616392/failed-load-btf-from-vmlinux-unknown-error-2make-makefile1162-vmlinu

What version of pahole are you using? Are you using Debian
downstream's 1.22-2? If so please check if it's just the same issue as
reported in https://bugs.debian.org/1004311

Regards,
Salvatore

2022-01-26 21:15:44

by Jeffrin Thalakkottoor

[permalink] [raw]
Subject: Re: review for 5.16.3-rc2

> What version of pahole are you using? Are you using Debian
> downstream's 1.22-2? If so please check if it's just the same issue as
> reported in https://bugs.debian.org/1004311
>
> Regards,
> Salvatore
i was using 1.22-2.
i think it is the debian issue as you pointed.anyway thanks

--
software engineer
rajagiri school of engineering and technology

2022-01-26 21:34:54

by Jeffrin Thalakkottoor

[permalink] [raw]
Subject: Re: review for 5.16.3-rc2

On Wed, Jan 26, 2022 at 6:06 PM Jeffrin Thalakkottoor
<[email protected]> wrote:
>
> > What version of pahole are you using? Are you using Debian
> > downstream's 1.22-2? If so please check if it's just the same issue as
> > reported in https://bugs.debian.org/1004311
> >
> > Regards,
> > Salvatore
> i was using 1.22-2.
> i think it is the debian issue as you pointed.anyway thanks
>

i downloaded pahole 1.23 from kernel.org and
the problem is fixed
i will test 5.16.3-rc2 and send another mail
--
software engineer
rajagiri school of engineering and technology