ArmV7 Kernel Build Issue "Process (pid 1) got signal 11"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ArmV7 Kernel Build Issue "Process (pid 1) got signal 11"

Simon Fryer-2
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

InitSegFault_Dmesg_Issues.txt (14K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ArmV7 Kernel Build Issue "Process (pid 1) got signal 11"

Jonathan Gray-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:   <ethaddr> 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 0x82000000 ...
> 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 0x88000000
> 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
>     [hidden email]:/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.1
> cpsw0 at simplebus0: version 1.12 (0), address b0:d5:cc:f3:a1:d9
> ukphy0 at cpsw0 phy 0: Generic IEEE 802.3u media interface, rev. 1: OUI 0x0001f0, model 0x000f
> scsibus0 at sdmmc0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <SD/MMC, SL08G, 0080> SCSI2 0/direct fixed
> sd0: 7580MB, 512 bytes/sector, 15523840 sectors
> scsibus1 at sdmmc1: 2 targets, initiator 0
> sd1 at scsibus1 targ 1 lun 0: <Kingston, S10004, 0000> SCSI2 0/direct fixed
> sd1: 3648MB, 512 bytes/sector, 7471104 sectors
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> boot device: sd0
> root on sd0a (d0b925ba0966281b.a) swap on sd0b dump on sd0b
> WARNING: CHECK AND RESET THE DATE!
> Process (pid 1) got signal 11
> Process (pid 1) got signal 11
> Process (pid 1) got signal 11
> Process (pid 1) got signal 11
> Process (pid 1) got signal 11
> Process (pid 1) got signal 11
> Process (pid 1) got signal 11
> [... Lots and lots of the error message deleted. You get the idea ...]
> Process (pid 1) got signal 11
> Process (pid 1) got signal 11
> Process (pid 1) got signal 11
> Process (pid 1) got signal 11
> Process (pid 1) got signal 11
> Process (pid 1) got signa?
> 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:   <ethaddr> 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 8 ms (3.9 MiB/s)
> Found EFI removable media binary efi/boot/bootarm.efi
> reading efi/boot/bootarm.efi
> 65212 bytes read in 11 ms (5.7 MiB/s)
> ## Starting EFI application at 0x82000000 ...
> 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> obsd
> /-\|/-\booting sd0a:obsd: |/-\|3706752/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+147716|/-\|/-\|+494840 [80+504464/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+237870|/-\|/-\|/-\|/]=0x4e23a8
>
> OpenBSD/armv7 booting ...
> arg0 0xc07e23a8 arg1 0xe05 arg2 0x88000000
> Allocating page tables
> freestart = 0x807e3000, free_pages = 129053 (0x0001f81d)
> IRQ stack: p0x80811000 v0xc0811000
> ABT stack: p0x80812000 v0xc0812000
> UND stack: p0x80813000 v0xc0813000
> SVC stack: p0x80814000 v0xc0814000
> Creating L1 page table at 0x807e4000
> Mapping kernel
> Constructing L2 page tables
> undefined page pmap [ using 742828 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.  https://www.OpenBSD.org
>
> OpenBSD 6.0-current (GENERIC) #66: Wed Oct  5 07:07:59 MDT 2016
>     [hidden email]:/usr/src/sys/arch/armv7/compile/GENERIC
> real mem  = 536870912 (512MB)
> avail mem = 517869568 (493MB)
> 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
> omap0: device edma unit 0 not configured
> dmtimer0 at omap0 rev 3.1
> dmtimer1 at omap0 rev 3.1
> simplebus0 at mainbus0: "ocp"
> simplebus1 at simplebus0: "l4_wkup"
> simplebus2 at simplebus1: "scm"
> ompinmux0 at simplebus2
> intc0 at simplebus0 rev 5.0
> omgpio0 at simplebus0: rev 0.1
> gpio0 at omgpio0: 32 pins
> omgpio1 at simplebus0: rev 0.1
> gpio1 at omgpio1: 32 pins
> omgpio2 at simplebus0: rev 0.1
> gpio2 at omgpio2: 32 pins
> omgpio3 at simplebus0: rev 0.1
> gpio3 at omgpio3: 32 pins
> 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.1
> cpsw0 at simplebus0: version 1.12 (0), address b0:d5:cc:f3:a1:d9
> ukphy0 at cpsw0 phy 0: Generic IEEE 802.3u media interface, rev. 1: OUI 0x0001f0, model 0x000f
> scsibus0 at sdmmc0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <SD/MMC, SL08G, 0080> SCSI2 0/direct fixed
> sd0: 7580MB, 512 bytes/sector, 15523840 sectors
> scsibus1 at sdmmc1: 2 targets, initiator 0
> sd1 at scsibus1 targ 1 lun 0: <Kingston, S10004, 0000> SCSI2 0/direct fixed
> sd1: 3648MB, 512 bytes/sector, 7471104 sectors
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> boot device: sd0
> root on sd0a (d0b925ba0966281b.a) swap on sd0b dump on sd0b
> WARNING: CHECK AND RESET THE DATE!
> Automatic boot in progress: starting file system checks.
> /dev/sd0a (d0b925ba0966281b.a): file system is clean; not checking
> /dev/sd0d (d0b925ba0966281b.d): file system is clean; not checking
> /dev/sd0g (d0b925ba0966281b.g): file system is clean; not checking
> /dev/sd0f (d0b925ba0966281b.f): file system is clean; not checking
> /dev/sd0e (d0b925ba0966281b.e): file system is clean; not checking
> setting tty flags
> pf enabled
> starting network
> reordering libraries: done.
> starting early daemons: syslogd pflogd ntpd.
> starting RPC daemons:.
> savecore: no core dump
> checking quotas: done.
> clearing /tmp
> kern.securelevel: 0 -> 1
> creating runtime link editor directory cache.
> preserving editor files.
> starting network daemons: sshd smtpd sndiod.
> starting local daemons: cron.
> Sun Oct 16 17:59:12 AEST 2016
>
> OpenBSD/armv7 (Henry.tld) (console)
>
> login:

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ArmV7 Kernel Build Issue "Process (pid 1) got signal 11"

Simon Fryer-2
On 16 October 2016 at 18:36, Jonathan Gray <[hidden email]> 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
Loading...