Re: ArmV7 Kernel Build Issue "Process (pid 1) got signal 11"
On 16 October 2016 at 18:36, Jonathan Gray wrote: > On Sun, Oct 16, 2016 at 06:29:36PM +1000, Simon Fryer wrote: > [...] > Is this a problem that someone recognised may result from a recent change > > or am I up for some educational evenings debugging this? > > You are trying to run a 6.0 kernel with a -current userland. > Thank you. Now that I reread the dmesg's it is obvious. I am feeling suitably embarrassed for such a simple mistake. > Run cvs up -PAd to remove any tags in your cvs checkout. > > Be aware that the way kernels are built has recently changed as well: > http://www.openbsd.org/faq/current.html > > I am running the update now and thank you for the pointer on the new kernel build procedure. Simon -- "Well, an engineer is not concerned with the truth; that is left to philosophers and theologians: the prime concern of an engineer is the utility of the final product." Lectures on the Electrical Properties of Materials, L.Solymar, D.Walsh
Re: ArmV7 Kernel Build Issue "Process (pid 1) got signal 11"
On Sun, Oct 16, 2016 at 06:29:36PM +1000, Simon Fryer wrote: > Hi, > > I am building GENERIC on an Element 14 Beagle Board Black using the October > 5 snapshot. On rebooting with the new kernel I get, "Process (pid 1) got > signal 11" which seems to point to a memory management problem. > > I have been updating my source and retrying the build every few days for > the past couple of weeks. The reboot after the kernel always has the same > problem. > > The dmesg of the newly built kernel is attached along with the reboot and > dmesg of the latest snapshot kernel (obsd). > > My build environment has /usr/src and /usr/obj sym linked into an NFS > mounted filesystem. > > Is this a problem that someone recognised may result from a recent change > or am I up for some educational evenings debugging this? You are trying to run a 6.0 kernel with a -current userland. Run cvs up -PAd to remove any tags in your cvs checkout. Be aware that the way kernels are built has recently changed as well: http://www.openbsd.org/faq/current.html > > Simon > > -- > > "Well, an engineer is not concerned with the truth; that is left to > philosophers and theologians: the prime concern of an engineer is > the utility of the final product." > Lectures on the Electrical Properties of Materials, L.Solymar, D.Walsh > U-Boot SPL 2016.07 (Aug 05 2016 - 23:28:55) > Trying to boot from MMC1 > MMC partition switch failed > *** Warning - MMC partition switch failed, using default environment > > reading u-boot.img > reading u-boot.img > > > U-Boot 2016.07 (Aug 05 2016 - 23:28:55 -0600) > >Watchdog enabled > I2C: ready > DRAM: 512 MiB > MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 > *** Warning - bad CRC, using default environment > > Net:not set. Validating first E-fuse MAC > cpsw, usb_ether > Press SPACE to abort autoboot in 2 seconds > switch to partitions #0, OK > mmc0 is current device > SD/MMC found on device 0 > reading boot.scr > ** Unable to read file boot.scr ** > reading uEnv.txt > ** Unable to read file uEnv.txt ** > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > reading /am335x-boneblack.dtb > 32777 bytes read in 9 ms (3.5 MiB/s) > Found EFI removable media binary efi/boot/bootarm.efi > reading efi/boot/bootarm.efi > 65212 bytes read in 12 ms (5.2 MiB/s) > ## Starting EFI application at 0x8200 ... > Scanning disks on usb... > Scanning disks on mmc... > MMC Device 2 not found > MMC Device 3 not found > Found 6 disks > >> OpenBSD/armv7 BOOTARM 0.3 > |/-\|boot> > /-\|/-\booting sd0a:/bsd: > |/-\|3675000/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+100924-\|/-\+485532 > > [80+491568|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+230305-\|/-\|/-\|/-\]=0x4c7898 > > OpenBSD/armv7 booting ... > arg0 0xc07c7898 arg1 0xe05 arg2 0x8800 > Allocating page tables > freestart = 0x807c8000, free_pages = 129080 (0x0001f838) > IRQ stack: p0x807f6000 v0xc07f6000 > ABT stack: p0x807f7000 v0xc07f7000 > UND stack: p0x807f8000 v0xc07f8000 > SVC stack: p0x807f9000 v0xc07f9000 > Creating L1 page table at 0x807c8000 > Mapping kernel > Constructing L2 page tables > undefined page pmap [ using 722368 bytes of bsd ELF symbol table ] > board type: 3589 > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org > > OpenBSD 6.0 (GENERIC) #0: Sun Oct 16 17:53:21 AEST 2016 > fry...@henry.tld:/mnt/stage/src/sys/arch/armv7/compile/GENERIC > real mem = 536870912 (512MB) > avail mem = 518004736 (494MB) > mainbus0 at root: TI AM335x BeagleBone Black > cpu0 at mainbus0: ARM Cortex A8 R3 rev 2 (ARMv7 core) > cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled > cpu0: 32KB(64b/l,4way) I-cache, 32KB(64b/l,4way) wr-back D-cache > omap0 at mainbus0 > prcm0 at omap0 rev 0.2 > sitaracm0 at omap0: control module, rev 1.0 > intc0 at omap0 rev 5.0 > edma0 at omap0 rev 0.0 > dmtimer0 at omap0 rev 3.1 > dmtimer1 at omap0 rev 3.1 > omgpio0 at omap0: rev 0.1 > gpio0 at omgpio0: 32 pins > omgpio1 at omap0: rev 0.1 > gpio1 at omgpio1: 32 pins > omgpio2 at omap0: rev 0.1 > gpio2 at omgpio2: 32 pins > omgpio3 at omap0: rev 0.1 > gpio3 at omgpio3: 32 pins > simplebus0 at mainbus0: "ocp" > simplebus1 at simplebus0: "l4_wkup" > simplebus2 at simplebus1: "scm" > com0 at simplebus0: ti16750, 64 byte fifo > com0: console > tiiic0 at simplebus0 rev
ArmV7 Kernel Build Issue "Process (pid 1) got signal 11"
Hi, I am building GENERIC on an Element 14 Beagle Board Black using the October 5 snapshot. On rebooting with the new kernel I get, "Process (pid 1) got signal 11" which seems to point to a memory management problem. I have been updating my source and retrying the build every few days for the past couple of weeks. The reboot after the kernel always has the same problem. The dmesg of the newly built kernel is attached along with the reboot and dmesg of the latest snapshot kernel (obsd). My build environment has /usr/src and /usr/obj sym linked into an NFS mounted filesystem. Is this a problem that someone recognised may result from a recent change or am I up for some educational evenings debugging this? Simon -- "Well, an engineer is not concerned with the truth; that is left to philosophers and theologians: the prime concern of an engineer is the utility of the final product." Lectures on the Electrical Properties of Materials, L.Solymar, D.Walsh U-Boot SPL 2016.07 (Aug 05 2016 - 23:28:55) Trying to boot from MMC1 MMC partition switch failed *** Warning - MMC partition switch failed, using default environment reading u-boot.img reading u-boot.img U-Boot 2016.07 (Aug 05 2016 - 23:28:55 -0600) Watchdog enabled I2C: ready DRAM: 512 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - bad CRC, using default environment Net:not set. Validating first E-fuse MAC cpsw, usb_ether Press SPACE to abort autoboot in 2 seconds switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 reading boot.scr ** Unable to read file boot.scr ** reading uEnv.txt ** Unable to read file uEnv.txt ** switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... reading /am335x-boneblack.dtb 32777 bytes read in 9 ms (3.5 MiB/s) Found EFI removable media binary efi/boot/bootarm.efi reading efi/boot/bootarm.efi 65212 bytes read in 12 ms (5.2 MiB/s) ## Starting EFI application at 0x8200 ... Scanning disks on usb... Scanning disks on mmc... MMC Device 2 not found MMC Device 3 not found Found 6 disks >> OpenBSD/armv7 BOOTARM 0.3 |/-\|boot> /-\|/-\booting sd0a:/bsd: |/-\|3675000/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+100924-\|/-\+485532 [80+491568|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+230305-\|/-\|/-\|/-\]=0x4c7898 OpenBSD/armv7 booting ... arg0 0xc07c7898 arg1 0xe05 arg2 0x8800 Allocating page tables freestart = 0x807c8000, free_pages = 129080 (0x0001f838) IRQ stack: p0x807f6000 v0xc07f6000 ABT stack: p0x807f7000 v0xc07f7000 UND stack: p0x807f8000 v0xc07f8000 SVC stack: p0x807f9000 v0xc07f9000 Creating L1 page table at 0x807c8000 Mapping kernel Constructing L2 page tables undefined page pmap [ using 722368 bytes of bsd ELF symbol table ] board type: 3589 Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 6.0 (GENERIC) #0: Sun Oct 16 17:53:21 AEST 2016 fry...@henry.tld:/mnt/stage/src/sys/arch/armv7/compile/GENERIC real mem = 536870912 (512MB) avail mem = 518004736 (494MB) mainbus0 at root: TI AM335x BeagleBone Black cpu0 at mainbus0: ARM Cortex A8 R3 rev 2 (ARMv7 core) cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled cpu0: 32KB(64b/l,4way) I-cache, 32KB(64b/l,4way) wr-back D-cache omap0 at mainbus0 prcm0 at omap0 rev 0.2 sitaracm0 at omap0: control module, rev 1.0 intc0 at omap0 rev 5.0 edma0 at omap0 rev 0.0 dmtimer0 at omap0 rev 3.1 dmtimer1 at omap0 rev 3.1 omgpio0 at omap0: rev 0.1 gpio0 at omgpio0: 32 pins omgpio1 at omap0: rev 0.1 gpio1 at omgpio1: 32 pins omgpio2 at omap0: rev 0.1 gpio2 at omgpio2: 32 pins omgpio3 at omap0: rev 0.1 gpio3 at omgpio3: 32 pins simplebus0 at mainbus0: "ocp" simplebus1 at simplebus0: "l4_wkup" simplebus2 at simplebus1: "scm" com0 at simplebus0: ti16750, 64 byte fifo com0: console tiiic0 at simplebus0 rev 0.11 iic0 at tiiic0 "ti,tps65217" at iic0 addr 0x24 not configured "at,24c256" at iic0 addr 0x50 not configured "nxp,tda998x" at iic0 addr 0x70 not configured tiiic1 at simplebus0 rev 0.11 iic1 at tiiic1 "at,24c256" at iic1 addr 0x54 not configured "at,24c256" at iic1 addr 0x55 not configured "at,24c256" at iic1 addr 0x56 not configured "at,24c256" at iic1 addr 0x57 not configured ommmc0 at simplebus0 sdmmc0 at ommmc0: 1-bit, mmc high-speed ommmc1 at simplebus0 sdmmc1 at ommmc1: 1-bit, mmc high-speed omdog0 at simplebus0 rev 0.