Bug 235017 - 12.0-RELEASE (12.1 too) hangs at boot from official iso
Summary: 12.0-RELEASE (12.1 too) hangs at boot from official iso
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2019-01-17 05:52 UTC by Denis Polygalov
Modified: 2020-11-04 05:40 UTC (History)
3 users (show)

See Also:


Attachments
dmesg and pciconf -lv outputs (11.2-RELEASE) (13.63 KB, text/plain)
2019-01-17 05:52 UTC, Denis Polygalov
no flags Details
dmesg (10.67 KB, text/plain)
2019-01-27 19:26 UTC, Alfred Schmidt
no flags Details
pciconf -lv (6.41 KB, text/plain)
2019-01-27 19:27 UTC, Alfred Schmidt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Polygalov 2019-01-17 05:52:35 UTC
Created attachment 201205 [details]
dmesg and pciconf -lv outputs (11.2-RELEASE)

Hardware: HP ProLiant ML350-G4 (yes, it is quite old).
Boot from: FreeBSD-12.0-RELEASE-amd64-disc1.iso
Verbose boot: enabled
ACPI: enabled or disabled - doesn't matter, the result is the same.

On the screen:

Loading kernel...
/boot/kernel/kernel text=0x1678a ... (SKIPPED)
+0x19224a]
Loading configured modules...
can't find '/boot/entropy'
<-- nothing printed after the line above -->

The CD disk and USB CD drive are OK, both tested on other machines.
This machine have no problems booting and running 11.2-RELEASE.

This behavior was dicovered during attempt of updating from 
11.2-RELEASE to 12.0-RELEASE (using freebsd-update).
Interestingly, during hang after freebsd-update the
line (can't find '/boot/entropy') was _not_ printed.

Output of dmesg and pciconf (when booted in 11.2-RELEASE) are attached.

Regards,
Denis
Comment 1 Alfred Schmidt 2019-01-27 19:26:52 UTC
Created attachment 201459 [details]
dmesg

dmesg on SuperMicro X6DH8-G2+
Comment 2 Alfred Schmidt 2019-01-27 19:27:38 UTC
Created attachment 201460 [details]
pciconf -lv

pciconf on SuperMicro X6DH8-G2+
Comment 3 Alfred Schmidt 2019-01-27 19:29:23 UTC
Same thing here with an SuperMicro X6DH8-G2+. Dmesg and pciconf -lv also attached, created using FreeBSD 11.2.
Comment 4 roel 2019-05-21 10:47:22 UTC
Same issue here on a Dell SC1425:

CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3200.17-MHz K8-class CPU) Origin="GenuineIntel"  Id=0xf4a  Family=0xf  Model=0x4  Stepping=10
 
12.0-RELEASE i386 will boot, amd64 will not. PXE or local harddisk makes no difference. Booting on serial console. I am using the release bootonly images from ftp.freebsd.org.

This seems to be the same issue as is being reported here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234676 and on the forum at https://forums.freebsd.org/threads/freebsd-12-cant-find-boot-entropy.68265/

Tried both efi.rt.disabled=1 and hint.apic.0.disabled="1" as these were mentioned, but no difference.

BTW: 11.2 panics on boot with hint.apic.0.disabled="1":

panic: No usable event timer found!
cpuid = 0
KDB: stack backtrace:
#0 0xffffffff80b3d567 at kdb_backtrace+0x67
#1 0xffffffff80af6b07 at vpanic+0x177
#2 0xffffffff80af6983 at panic+0x43
#3 0xffffffff810af4bd at cpu_initclocks_bsp+0x3dd
#4 0xffffffff810ddf65 at cpu_initclocks+0x15
#5 0xffffffff80a96130 at initclocks+0x20
#6 0xffffffff80a92898 at mi_startup+0x118
#7 0xffffffff8031002c at btext+0x2c

But anyway, that is not related to this bug. Verbose boot shows nothing more than the "entropy not found" error, after which console stays empty.
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2019-11-17 02:38:12 UTC
Try 12.1.
Comment 6 Denis Polygalov 2019-11-18 07:28:02 UTC
>> VVD
I did. Same result. 12.1-RELEASE hangs at boot.
I guess my hardware is too old :(...
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2019-11-23 18:14:52 UTC
(In reply to Denis Polygalov from comment #6)
Weird, your CPU is almost same:
CPU: Intel(R) Xeon(TM) CPU 3.40GHz (3400.19-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0xf43  Family=0xf  Model=0x4  Stepping=3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x649d<SSE3,DTES64,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR>
  AMD Features=0x20000800<SYSCALL,LM>

My:
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3033.73-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0xf43  Family=0xf  Model=0x4  Stepping=3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x649d<SSE3,DTES64,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR>
  AMD Features=0x20100800<SYSCALL,NX,LM>

Difference is NX only.
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2020-02-23 20:22:20 UTC
Try to turn on NX-bit in BIOS: Execute Disable Bit, No-Execute Memory Protect, Execute Disable Function.
Comment 9 Denis Polygalov 2020-03-19 01:40:55 UTC
(In reply to VVD from comment #8)

Just FYI.
Unfortunately enabling 'No-Execute Memory Protect'
bit did not change the situation...
Comment 10 Alfred Schmidt 2020-10-31 15:36:08 UTC
Created a boot media for 12.2-RELEASE and tried it on my SuperMicro X6DH8-G2+ last night: Boots up without any problems. 

Could someone who was also affected (Denis, Roel) confirm, please?

Probably time to say "Thank you for fixing" and to schedule an upgrade.
Comment 11 Denis Polygalov 2020-11-04 05:40:21 UTC
Than you for fixing!

Just boot from official 12.2-RELEASE iso without any problems.
Also binary upgrade (booting 11.4-RELEASE and using freebsd-update)
went well on this machine.