Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: BEAGLEBONE 8.0_BETA kernel fails
Forgot to reply-all...
On Sun, 6 Aug 2017, John D. Baker wrote:
> Confirmed. BEAGLEBONE kernels w/o any of DIAGNOSTIC, DEBUG, or
> PAX_{ASLR,MPROTECT}_DEBUG (i.e., present state of netbsd-8 branch) fail
> as originally reported. Workaround is to re-enable DIAGNOSTIC until
> the problem code is found.
VERBOSE_INIT_ARM output for working kernel (i.e., w/DIAGNOSTIC), in case
it helps find what's actually broken:
U-Boot SPL 2015.10-00001-g143c9ee (Nov 06 2015 - 15:27:19)
bad magic
U-Boot 2015.10-00001-g143c9ee (Nov 06 2015 - 15:27:19 -0600), Build: jenkins-github_Bootloader-Builder-274
Watchdog enabled
I2C: ready
DRAM: 512 MiB
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot: 0
=> dhcp
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.17.69 (67 ms)
Using cpsw device
TFTP from server 192.168.17.242; our IP address is 192.168.17.69
Filename 'netbsd-BEAGLEBONE.ub'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#
1.7 MiB/s
done
Bytes transferred = 4777556 (48e654 hex)
=> setenv bootargs root=cpsw0
=> bootm
## Booting kernel from Legacy Image at 82000000 ...
Image Name: NetBSD/beagle 8.0_BETA
Created: 2017-08-06 5:19:07 UTC
Image Type: ARM NetBSD Kernel Image (uncompressed)
Data Size: 4777492 Bytes = 4.6 MiB
Load Address: 80300000
Entry Point: 80300000
Verifying Checksum ... OK
Loading Kernel Image ... OK
## Transferring control to NetBSD stage-2 loader (at address 80300000) ...
@BCCDFG01H1IJKLMZ
defgam335x_cpu_clk: 1000000000: sys_clk=24000000 m=1000 n=23 (24) m2=1
h
uboot arg = 0x9ef40fb0, 0, 0x9ffa21eb, 0x9ef442f0
NetBSD/evbarm (beagle) booting ...
initarm: Configuring system ...
sdram_config = 0x61c05332, memsize = 512MB
arm32_bootmem_init: memstart=0x80000000, memsize=0x20000000, kernelstart=0x80300000
arm32_bootmem_init: kernelend=0x80abc000
arm32_bootmem_init: adding 64162 free pages: [0x80abc000..0x9fffffff] (VA 0x80abc000)
arm32_bootmem_init: adding 384 free pages: [0x80000000..0x802fffff] (VA 0x80000000)
arm32_kernel_vm_init: 2 L2 pages are needed to map 0xaee000 kernel bytes
arm32_kernel_vm_init: allocating page tables for kerneladd_pages: adding pv 0x8078ed50 (pa 0x80abc000, va 0x80abc000, 2 pages) at tail
add_pages: appending pv 0x8078eed0 (0x80ac0000..0x80ac1fff) to 0x80abc000..0x80abffff
add_pages: appending pv 0x8078eee4 (0x80ac2000..0x80ac3fff) to 0x80abc000..0x80ac1fff
vmadd_pages: appending pv 0x8078eef8 (0x80ac4000..0x80ac5fff) to 0x80abc000..0x80ac3fff
add_pages: appending pv 0x8078ef0c (0x80ac6000..0x80ac7fff) to 0x80abc000..0x80ac5fff
add_pages: appending pv 0x8078ef20 (0x80ac8000..0x80ac9fff) to 0x80abc000..0x80ac7fff
add_pages: appending pv 0x8078ef34 (0x80aca000..0x80acbfff) to 0x80abc000..0x80ac9fff
add_pages: appending pv 0x8078ef48 (0x80acc000..0x80acdfff) to 0x80abc000..0x80acbfff
add_pages: appending pv 0x8078ef5c (0x80ace000..0x80acffff) to 0x80abc000..0x80acdfff
add_pages: appending pv 0x8078ef70 (0x80ad0000..0x80ad1fff) to 0x80abc000..0x80acffff
add_pages: appending pv 0x8078ef84 (0x80ad2000..0x80ad3fff) to 0x80abc000..0x80ad1fff
arm32_kernel_vm_init: allocating stacks
add_pages: appending pv 0x8078f598 (0x80ad4000..0x80ad5fff) to 0x80abc000..0x80ad3fff
add_pages: appending pv 0x8078f584 (0x80ad6000..0x80ad7fff) to 0x80abc000..0x80ad5fff
add_pages: appending pv 0x8078f570 (0x80ad8000..0x80ad9fff) to 0x80abc000..0x80ad7fff
add_pages: appending pv 0x8078f55c (0x80ada000..0x80adbfff) to 0x80abc000..0x80ad9fff
add_pages: appending pv 0x8078f548 (0x80adc000..0x80addfff) to 0x80abc000..0x80adbfff
add_pages: appending pv 0x8078f5ac (0x80ade000..0x80adffff) to 0x80abc000..0x80addfff
add_pages: appending pv 0x8078ed90 (0x80ae0000..0x80ae3fff) to 0x80abc000..0x80adffff
Creating L1 page table at 0x80abc000
arm32_kernel_vm_init: adding L2 pt (VA 0x80ac0000, PA 0x80ac0000) for VA 0x80000000 (kernel)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ac2000, PA 0x80ac2000) for VA 0x80800000 (kernel)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ac4000, PA 0x80ac4000) for VA 0xc0000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ac6000, PA 0x80ac6000) for VA 0xc0800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ac8000, PA 0x80ac8000) for VA 0xc1000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80aca000, PA 0x80aca000) for VA 0xc1800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80acc000, PA 0x80acc000) for VA 0xc2000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ace000, PA 0x80ace000) for VA 0xc2800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ad0000, PA 0x80ad0000) for VA 0xc3000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ad2000, PA 0x80ad2000) for VA 0xc3800000 (vm)
Mapping kernel
arm32_kernel_vm_init: adding chunk for kernel text 0x80300000..0x80695fff (VA 0x80300000)
add_pages: adding pv 0x8078ed3c (pa 0x80300000, va 0x80300000, 459 pages) before pa 0x80abc000
arm32_kernel_vm_init: adding chunk for kernel data/bss 0x80696000..0x80abbfff (VA 0x80696000)
add_pages: adding pv 0x8078ed28 (pa 0x80696000, va 0x80696000, 531 pages) before pa 0x80abc000
Listing Chunks
arm32_kernel_vm_init: pv 0x8078ed3c: chunk VA 0x80300000..0x80695fff (PA 0x80300000, prot 7, cache 1)
arm32_kernel_vm_init: pv 0x8078ed28: chunk VA 0x80696000..0x80abbfff (PA 0x80696000, prot 3, cache 1)
arm32_kernel_vm_init: pv 0x8078ed50: chunk VA 0x80abc000..0x80ae3fff (PA 0x80abc000, prot 3, cache 1)
Mapping Chunks
arm32_kernel_vm_init: mapping chunk VA 0x80000000..0x802fffff (PA 0x80000000, prot 3, cache 1)
pmap_map_chunk: pa=0x80000000 va=0x80000000 size=0x300000 resid=0x300000 prot=0x3 cache=1
SSS
arm32_kernel_vm_init: mapping chunk VA 0x80300000..0x80695fff (PA 0x80300000, prot 7, cache 1)
pmap_map_chunk: pa=0x80300000 va=0x80300000 size=0x396000 resid=0x396000 prot=0x7 cache=1
SSSLLLLLLLLLPPP
arm32_kernel_vm_init: mapping last chunk VA 0x80696000..0x9fffffff (PA 0x80696000, prot 3, cache 1)
pmap_map_chunk: pa=0x80696000 va=0x80696000 size=0x1f96a000 resid=0x1f96a000 prot=0x3 cache=1
PPPPPLLLLLLSSSSSSSSSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsS
devmap: 44c00000 -> 44ffffff @ e2100000
pmap_map_chunk: pa=0x44c00000 va=0xe2100000 size=0x400000 resid=0x400000 prot=0x3 cache=0
SSSS
devmap: 48000000 -> 48ffffff @ e0000000
pmap_map_chunk: pa=0x48000000 va=0xe0000000 size=0x1000000 resid=0x1000000 prot=0x3 cache=0
sS
devmap: 4a000000 -> 4affffff @ e1000000
pmap_map_chunk: pa=0x4a000000 va=0xe1000000 size=0x1000000 resid=0x1000000 prot=0x3 cache=0
sS
devmap: 4c000000 -> 4c0fffff @ e2000000
pmap_map_chunk: pa=0x4c000000 va=0xe2000000 size=0x100000 resid=0x100000 prot=0x3 cache=0
S
Physical Virtual Num
Starting Ending Starting Ending Pages
SDRAM: 0x80000000 0x9fffffff 0x80000000 0x9fffffff 65536
text section: 0x80300000 0x80695fff 0x80300000 0x80695fff 459
data section: 0x80700000 0x8078e618 0x80700000 0x8078e618 72
bss section: 0x8078e618 0x80abaad8 0x8078e618 0x80abaad8 407
L1 page directory: 0x80abc000 0x80abffff 0x80abc000 0x80abffff 2
ABT stack (CPU 0): 0x80ad4000 0x80ad5fff 0x80ad4000 0x80ad5fff 1
FIQ stack (CPU 0): 0x80ad6000 0x80ad7fff 0x80ad6000 0x80ad7fff 1
IRQ stack (CPU 0): 0x80ad8000 0x80ad9fff 0x80ad8000 0x80ad9fff 1
UND stack (CPU 0): 0x80ada000 0x80adbfff 0x80ada000 0x80adbfff 1
IDLE stack (CPU 0): 0x80adc000 0x80addfff 0x80adc000 0x80addfff 1
SVC stack: 0x80ade000 0x80adffff 0x80ade000 0x80adffff 1
Message Buffer: 0x80ae0000 0x80ae3fff 0x80ae0000 0x80ae3fff 2
Free Memory: 0x80ae4000 0x9fffffff 64142
Free Memory: 0x80000000 0x802fffff 384
TTBR0=0x87ffc01b TTBR1=0x87ffc01b TTBCR=0x1 CONTEXTIDR=0
switching to new L1 page table @0x80abc000... ttb (TTBCR=0x11 TTBR0=0x80abc01b TTBR1=0x80abc01b) OK
nfreeblocks = 2, free_pages = 64526 (0xfc0e)
bootstrap done.
vectors vbar=0x80317a80 0x80317a80
init subsystems: stacks vectors undefined page pmap_physload pmap kpm tlb0 locks l1pt cache(l1pt) specials pools [ Kernel symbol table missing! ]
done.
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 8.0_BETA (BEAGLEBONE) #0: Sun Aug 6 00:19:03 CDT 2017
sysop%x3650.technoskunk.fur@localhost:/r1/build/netbsd-8/obj/evbearmv7hf-el/sys/arch/evbarm/compile/BEAGLEBONE
total memory = 512 MB
avail memory = 498 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0 core 0: 1000 MHz Cortex-A8 r3p2 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/64B 4-way L1 VIPT Instruction cache
cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu0: 256KB/64B 8-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
obio0 at mainbus0 base 0x44c00000-0x44ffffff: On-Board IO
prcm0 at obio0 addr 0x44e00000-0x44e01fff: Power, Reset and Clock Management
sitaracm0 at obio0 addr 0x44e10000-0x44e11fff: control module, rev 1.0
sitaracm0: AM3358 Silicon Revision 2.1: 0x20fd0383<ICSS,CPSW,DCAN,ICSS_FEA EtherCAT functionality=0x0=disabled,ICSS_FEA TX_AUTO_SEQUENCE=0x0=disabled>
obio1 at mainbus0 base 0x48000000-0x48ffffff: On-Board IO
omapicu0 at obio1 addr 0x48200000-0x48200fff intrbase 0
omapgpio1 at obio1 addr 0x4804c000-0x4804cfff
gpio1 at omapgpio1: 32 pins
omapgpio2 at obio1 addr 0x481ac000-0x481acfff
gpio2 at omapgpio2: 32 pins
omapgpio3 at obio1 addr 0x481ae000-0x481aefff
gpio3 at omapgpio3: 32 pins
obio2 at mainbus0 base 0x4a000000-0x4affffff: On-Board IO
gpmc0 at mainbus0 base 0x50000000: General Purpose Memory Controller, rev 6.0
gpmc0: CS#0 valid, addr 0x00000000, size 16MB
edma0 at mainbus0 base 0x49000000-0x490fffff
tiotg0 at mainbus0 base 0x47400000-0x47404fff: TI dual-port USB controller: version v1.0.0.13
motg0 at tiotg0 port 0: 0x4ea20800 version v0.0.0
motg0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
usb0 at motg0: USB revision 2.0
motg1 at tiotg0 port 1: 0x4ea20800 version v0.0.0
motg1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
usb1 at motg1: USB revision 2.0
com0 at obio0 addr 0x44e09000-0x44e09fff intr 72: OMAP UART, working fifo
com0: console
omapgpio0 at obio0 addr 0x44e07000-0x44e07fff
gpio0 at omapgpio0: 32 pins
tiiic0 at obio0 addr 0x44e0b000-0x44e0bfff intr 70: rev 0.11, scheme 1
tiiic0: 32-bytes FIFO
iic0 at tiiic0: I2C bus
seeprom0 at iic0 addr 0x50: AT24Cxx or compatible EEPROM: size 32768
tps65217pmic0 at iic0 addr 0x24: TPS65217C Power Management Multi-Channel IC (rev 1.2)
tps65217pmic0: power sources USB max 1800 mA, [AC] max 2500 mA
tps65217pmic0: [LDO1: 1800 mV] [LDO2: 3300 mV] [LDO3: 1800 mV] [LDO4: 3300 mV] [DCDC1: 1500 mV] [DCDC2: 1325 mV] [DCDC3: 1125 mV]
omapdmtimer1 at obio0 addr 0x44e31000-0x44e31fff intr 67: DMTIMER1ms
omapwdt32k0 at obio0 addr 0x44e35000-0x44e35fff: rev 0.1
sdhc0 at obio1 addr 0x48060000-0x48060fff intr 64: SDHC controller
sdhc0: EDMA tx channel 24, rx channel 25
sdhc0: SDHC 2.0, rev 49, platform DMA, 96000 kHz, HS 1.8V 3.0V, 1024 byte blocks
sdmmc0 at sdhc0 slot 0
sdhc1 at obio1 addr 0x481d8000-0x481d8fff intr 28: SDHC controller
sdhc1: EDMA tx channel 2, rx channel 3
sdhc1: SDHC 2.0, rev 49, platform DMA, 96000 kHz, HS 1.8V 3.0V, 1024 byte blocks
sdmmc1 at sdhc1 slot 0
omapdmtimer0 at obio1 addr 0x48040000-0x48040fff intr 68: DMTIMER2
omapdmtimer2 at obio1 addr 0x48044000-0x48044fff intr 92: DMTIMER4
trng0 at obio1 addr 0x48310000-0x48311fff intr 111
cpsw0 at obio2 addr 0x4a100000-0x4a107fff intrbase 40: TI Layer 2 3-Port Switch
cpsw0: Ethernet address xx:xx:xx:xx:xx:xx
ukphy0 at cpsw0 phy 0: OUI 0x00800f, model 0x000f, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "dmtimer" frequency 24000000 Hz quality 100
uhub0 at usb0: Mentor Graphics (0000) MOTG root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub0: 1 port with 1 removable, self powered
uhub1 at usb1: Mentor Graphics (0000) MOTG root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub1: 1 port with 1 removable, self powered
IPsec: Initialized Security Association Processing.
ld1 at sdmmc1: <0xfe:0x014e:P1XXXX:0x00:0x42ff59d3:0x000>
ld1: 3688 MB, 1873 cyl, 64 head, 63 sec, 512 bytes/sect x 7553024 sectors
ld1: 8-bit width, 32 KB cache, 52.000 MHz
sdmmc0: SD card status: 4-bit, C4
ld0 at sdmmc0: <0x02:0x544d:SD08G:0x38:0xc39e23a4:0x08a>
ld0: 7600 MB, 3860 cyl, 64 head, 63 sec, 512 bytes/sect x 15564800 sectors
ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
crypto: assign driver 0, flags 2
crypto: driver 0 registers alg 1 flags 0 maxoplen 0
crypto: driver 0 registers alg 2 flags 0 maxoplen 0
crypto: driver 0 registers alg 3 flags 0 maxoplen 0
crypto: driver 0 registers alg 4 flags 0 maxoplen 0
crypto: driver 0 registers alg 5 flags 0 maxoplen 0
crypto: driver 0 registers alg 26 flags 0 maxoplen 0
crypto: driver 0 registers alg 27 flags 0 maxoplen 0
crypto: driver 0 registers alg 29 flags 0 maxoplen 0
crypto: driver 0 registers alg 33 flags 0 maxoplen 0
crypto: driver 0 registers alg 17 flags 0 maxoplen 0
crypto: driver 0 registers alg 6 flags 0 maxoplen 0
crypto: driver 0 registers alg 19 flags 0 maxoplen 0
crypto: driver 0 registers alg 7 flags 0 maxoplen 0
crypto: driver 0 registers alg 20 flags 0 maxoplen 0
crypto: driver 0 registers alg 15 flags 0 maxoplen 0
crypto: driver 0 registers alg 24 flags 0 maxoplen 0
crypto: driver 0 registers alg 25 flags 0 maxoplen 0
crypto: driver 0 registers alg 8 flags 0 maxoplen 0
crypto: driver 0 registers alg 21 flags 0 maxoplen 0
crypto: driver 0 registers alg 16 flags 0 maxoplen 0
crypto: driver 0 registers alg 9 flags 0 maxoplen 0
crypto: driver 0 registers alg 10 flags 0 maxoplen 0
crypto: driver 0 registers alg 13 flags 0 maxoplen 0
crypto: driver 0 registers alg 14 flags 0 maxoplen 0
crypto: driver 0 registers alg 28 flags 0 maxoplen 0
crypto: driver 0 registers alg 30 flags 0 maxoplen 0
crypto: driver 0 registers alg 31 flags 0 maxoplen 0
crypto: driver 0 registers alg 32 flags 0 maxoplen 0
crypto: driver 0 registers alg 11 flags 0 maxoplen 0
crypto: driver 0 registers alg 18 flags 0 maxoplen 0
crypto: driver 0 registers alg 23 flags 0 maxoplen 0
crypto: driver 0 registers alg 22 flags 0 maxoplen 0
boot device: <unknown>
root on cpsw0
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index