Bug 228675 - 11.2-RC1 hangs during boot on RPI2 Model B Ver. 1.2
Summary: 11.2-RC1 hangs during boot on RPI2 Model B Ver. 1.2
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.1-STABLE
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-arm mailing list
Keywords: regression
Depends on:
Reported: 2018-06-02 13:04 UTC by Hiroki Tagato
Modified: 2018-06-18 13:32 UTC (History)
2 users (show)

See Also:

Output log on a serial console (4.79 KB, text/plain)
2018-06-02 13:04 UTC, Hiroki Tagato
no flags Details
Output log from RPI2 B V1.1 (9.71 KB, text/plain)
2018-06-06 11:46 UTC, Hiroki Tagato
no flags Details
Output log with debug-enabled kernel (41.58 KB, text/plain)
2018-06-18 13:32 UTC, Hiroki Tagato
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hiroki Tagato 2018-06-02 13:04:15 UTC
Created attachment 193913 [details]
Output log on a serial console

I tried to boot 11.2-RC1 RPI2 image with RPI2 B V1.2 and it hangs during boot.
BETA3 image does not have this problem.
Comment 1 Hiroki Tagato 2018-06-06 11:46:25 UTC
Created attachment 194043 [details]
Output log from RPI2 B V1.1

I tried the same 11.2-RC1 image with RPI2 B **V1.1**, too.
This time it booted up without a problem.
Comment 2 Hiroki Tagato 2018-06-17 10:48:16 UTC
I tried the RC3 image with an RPI2 B 1.2.

It still hangs at the same location, just after printing the line:
cryptosoft0: <software crypto>
Comment 3 Hiroki Tagato 2018-06-18 13:32:51 UTC
Created attachment 194358 [details]
Output log with debug-enabled kernel

I replaced kernel files in the RC3 image with those with debug functions enabled.

The following options were added to RPI2 kernel config:
# For full debugger support use (turn off in stable branch):
options 	DDB			# Support DDB
options 	DEADLKRES		# Enable the deadlock resolver
options 	INVARIANTS		# Enable calls of extra sanity checking
options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
options 	WITNESS			# Enable checks to detect deadlocks and cycles
options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
options 	ALT_BREAK_TO_DEBUGGER	# Enter debugger on keyboard escape sequence
options 	USB_DEBUG		# Enable usb debug support code

# Optional extras, never enabled by default:
options 	DEBUG			# May result in extreme spewage
options 	KTR
options 	KTR_ENTRIES=16384
options 	KTR_MASK=(KTR_SPARE2)
options 	KTR_VERBOSE=0
options 	USB_REQ_DEBUG
options 	USB_VERBOSE
options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages

The output from the debugging kernel is attached.