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]
Message-ID: <CA+G9fYu7mJ6X3_xhboODP_cjABE4QTJCON_NMduQ60x4Z7N78Q@mail.gmail.com>
Date:   Thu, 14 Jul 2022 01:07:32 +0530
From:   Naresh Kamboju <naresh.kamboju@...aro.org>
To:     Mark Brown <broonie@...nel.org>
Cc:     open list <linux-kernel@...r.kernel.org>,
        Linux-Next Mailing List <linux-next@...r.kernel.org>,
        Linux ARM <linux-arm-kernel@...ts.infradead.org>,
        lkft-triage@...ts.linaro.org, regressions@...ts.linux.dev,
        Catalin Marinas <catalin.marinas@....com>,
        Will Deacon <will@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Arnd Bergmann <arnd@...db.de>,
        Anders Roxell <anders.roxell@...aro.org>,
        Aishwarya TCV <Aishwarya.TCV@....com>
Subject: Re: FVP: kernel BUG at arch/arm64/kernel/traps.c:497 - Internal
 error: Oops - BUG: 0

On Tue, 12 Jul 2022 at 17:24, Mark Brown <broonie@...nel.org> wrote:
>
> On Tue, Jul 12, 2022 at 03:27:09PM +0530, Naresh Kamboju wrote:
>
> > FVP boot failed with linux next 20220712.
>
> I can't reproduce this, including with your kernel binary, which
> suggests that this an issue with your FVP usage and firmware.
>
> > Boot log:
> > Starting kernel ...
> >
> > [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd0f0]
> > [    0.000000] Linux version 5.19.0-rc6-next-20220711
>
> How are you invoking the FVP, what firmware are you using and how is it
> configured?
>
> > [    0.500709] kernel BUG at arch/arm64/kernel/traps.c:497!
>
> This is an undefined instruction, my first thought there would be that
> you have some feature enabled for the kernel which requires enablement
> at EL3 but your EL3 firmware is not configured to enable it.

Thanks for investigating the reported issue and providing details.
We will do the needful to update / configure EL3 firmware.


>
> > [    0.503562]  el1_undef+0x30/0x60
> > [    0.503709]  el1h_64_sync_handler+0x84/0xd0
> > [    0.503811]  el1h_64_sync+0x64/0x68
> > [    0.503909]  net_sysctl_init+0x8/0x7c
>
> This is where the undef came from.

Here I am providing the available data.
Let me know what I am missing here, so that I will update my setup.
Thanks in advance.

Fast Models 11.17.21 (Feb 16 2022)

https://storage.tuxboot.com/fvp-aemva/tf-bl1.bin
https://storage.tuxboot.com/fvp-aemva/fvp-base-revc.dtb
https://storage.tuxboot.com/fvp-aemva/fip-uboot.bin
https://builds.tuxbuild.com/2BnQMpJj3kDTJXoCwd2pY5gW9CN/Image.gz
https://builds.tuxbuild.com/2BnQMpJj3kDTJXoCwd2pY5gW9CN/modules.tar.xz


docker run
  --rm
  --interactive
  --tty
  --hostname lava
  --name tuxrun-r4_1075p-lava-1
  --volume /var/lib/lava/dispatcher/tmp/tuxrun-r4_1075p-1/url-repo-action-3h1oa_zl/url_repo/https___storage.tuxboot.com_test-definitions_2022.01.tar:/tuxrun-r4_1075p-lava-1/https___storage.tuxboot.com_test-definitions_2022.01.tar
  --volume /var/lib/lava/dispatcher/tmp/tuxrun-r4_1075p-1/fvp-deploy-w_qt5qgt/bl1/tf-bl1.bin:/tuxrun-r4_1075p-lava-1/tf-bl1.bin
  --volume /var/lib/lava/dispatcher/tmp/tuxrun-r4_1075p-1/fvp-deploy-w_qt5qgt/dtb/fvp-base-revc.dtb:/tuxrun-r4_1075p-lava-1/fvp-base-revc.dtb
  --volume /var/lib/lava/dispatcher/tmp/tuxrun-r4_1075p-1/fvp-deploy-w_qt5qgt/fip/fip-uboot.bin:/tuxrun-r4_1075p-lava-1/fip-uboot.bin
  --volume /var/lib/lava/dispatcher/tmp/tuxrun-r4_1075p-1/fvp-deploy-w_qt5qgt/kernel/Image:/tuxrun-r4_1075p-lava-1/Image
  --volume /var/lib/lava/dispatcher/tmp/tuxrun-r4_1075p-1/fvp-deploy-w_qt5qgt/rootfs/https___storage.lkft.org_rootfs_oe-sumo_20220219_juno_rpb-console-image-lkft-juno-20220219023239.rootfs.ext4:/tuxrun-r4_1075p-lava-1/https___storage.lkft.org_rootfs_oe-sumo_20220219_juno_rpb-console-image-lkft-juno-20220219023239.rootfs.ext4
  --volume /var/lib/lava/dispatcher/tmp/tuxrun-r4_1075p-1/fvp-deploy-w_qt5qgt/rootfs.modules/modules.tar:/tuxrun-r4_1075p-lava-1/modules.tar
fvp:aemva-11.17.21



/opt/model/FVP_AEMvA/models/Linux64_GCC-9.3/FVP_Base_RevC-2xAEMvA
  --plugin /opt/model/FVP_AEMvA/plugins/Linux64_GCC-9.3/ScalableVectorExtension.so
  --data cluster0.cpu0=/tuxrun-r4_1075p-lava-1/fvp-base-revc.dtb@...6000000
  --data cluster0.cpu0=/tuxrun-r4_1075p-lava-1/Image@...0080000
   -C pctl.startup=0.0.0.0
   -C bp.secure_memory=0
   -C cluster0.NUM_CORES=4
   -C cluster1.NUM_CORES=4
   -C cache_state_modelled=0
   -C bp.smsc_91c111.enabled=true
   -C bp.pl011_uart0.untimed_fifos=1
   -C bp.pl011_uart0.unbuffered_output=1
   -C bp.secureflashloader.fname='/tuxrun-r4_1075p-lava-1/tf-bl1.bin'
   -C bp.flashloader0.fname='/tuxrun-r4_1075p-lava-1/fip-uboot.bin'
   -C bp.ve_sysregs.mmbSiteDefault=0
   -C bp.ve_sysregs.exit_on_shutdown=1
   -C bp.virtioblockdevice.image_path='/tuxrun-r4_1075p-lava-1/https___storage.lkft.org_rootfs_oe-sumo_20220219_juno_rpb-console-image-lkft-juno-20220219023239.rootfs.ext4'
   -C pci.pcidevice0.bus=0xFF
   -C pci.pcidevice1.bus=0xFF
   -C cluster0.has_large_system_ext=1
   -C cluster1.has_large_system_ext=1
   -C cluster0.has_16k_granule=1
   -C cluster1.has_16k_granule=1
   -C cluster0.has_branch_target_exception=1
   -C cluster1.has_branch_target_exception=1
   -C cluster0.has_rndr=1
   -C cluster1.has_rndr=1
   -C cluster0.has_arm_v8-1=1
   -C cluster1.has_arm_v8-1=1
   -C cluster0.has_arm_v8-2=1
   -C cluster1.has_arm_v8-2=1
   -C cluster0.has_arm_v8-3=1
   -C cluster1.has_arm_v8-3=1
   -C cluster0.has_arm_v8-4=1
   -C cluster1.has_arm_v8-4=1
   -C cluster0.has_arm_v8-5=1
   -C cluster1.has_arm_v8-5=1
   -C cluster0.has_arm_v8-6=1
   -C cluster1.has_arm_v8-6=1

- Naresh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ