lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 26 Jan 2022 11:45:58 +0100
From:   Salvatore Bonaccorso <carnil@...ian.org>
To:     Jeffrin Thalakkottoor <jeffrin@...agiritech.edu.in>
Cc:     Greg KH <gregkh@...uxfoundation.org>,
        lkml <linux-kernel@...r.kernel.org>,
        "stable@...r.kernel.org" <stable@...r.kernel.org>
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 <gregkh@...uxfoundation.org> 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 <gregkh@...uxfoundation.org> 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 <jeffrin@...agiritech.edu.in>
> > > >
> > > > 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ