Hi, Eugene! In most cases it's just wrong info passed from UEFI firmware about FB. try to hardcode FrameBuffer params into vt_efb driver, to know exatly.
Thanks. чт, 6 груд. 2018 о 15:52 Eugene Grosbein <eu...@grosbein.net> пише: > Hi! > > I ran across several systems based on AMI Aptio CRB CLBTM210 equiped with > Intel J1900 processor > that hang early at boot in the moment of kernel initialisation unless > forced to use syscons(4) console driver > instead of default vt(4). Here is screen photo of one of such systems in > such dead state > started with vt(4), boot_verbose and verbose_loading enabled: > > http://www.grosbein.net/freebsd/11hang.jpg > > It boots and works just fine with syscons. The system in question is > 11.2-STABLE/amd64 r341225. > > One of such boxes is ready to produce additional debug output, if needed, > test patches etc. > for about a week, then it will go in production to some remote site. > > It processes nextboot.conf as expected even if started with vt(4), if this > matters. > > Here is its kernel config file: > > include GENERIC > ident Base11 > options IPDIVERT > options IPFIREWALL > options IPFIREWALL_VERBOSE > options IPFIREWALL_VERBOSE_LIMIT=100 > options IPFIREWALL_DEFAULT_TO_ACCEPT > device enc > #EOF > > According to kern.conftxt, it has options VESA and > > device vt > device vt_vga > device vt_efifb > > Its dmesg.boot and pciconf output follow (started with syscons): > > Copyright (c) 1992-2018 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 11.2-STABLE #0 r341225: Thu Nov 29 21:47:09 MSK 2018 > a...@base11.zonov.ru:/data/obj/data/src/sys/Base11 amd64 > FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM > 6.0.1) > CPU: Intel(R) Celeron(R) CPU J1900 @ 1.99GHz (2000.05-MHz K8-class CPU) > Origin="GenuineIntel" Id=0x30678 Family=0x6 Model=0x37 Stepping=8 > > 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=0x41d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,RDRAND> > AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> > AMD Features2=0x101<LAHF,Prefetch> > Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS,NFPUSG> > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > TSC: P-state invariant, performance statistics > real memory = 4294967296 (4096 MB) > avail memory = 3962818560 (3779 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: <ALASKA A M I > > WARNING: L1 data cache covers less APIC IDs than a core > 0 < 1 > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > FreeBSD/SMP: 1 package(s) x 4 core(s) > Security policy loaded: TrustedBSD MAC/portacl (mac_portacl) > Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: 128/32 > (20171214/tbfadt-748) > WARNING: Bogus Interrupt Trigger Mode. Assume CONFORMS. > WARNING: Bogus Interrupt Polarity. Assume CONFORMS > ioapic0 <Version 2.0> irqs 0-86 on motherboard > SMP: AP CPU #3 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #1 Launched! > Timecounter "TSC" frequency 2000054736 Hz quality 1000 > random: entropy device external interface > kbd0 at kbdmux0 > netmap: loaded module > random: registering fast source Intel Secure Key RNG > random: fast provider: "Intel Secure Key RNG" > nexus0 > cryptosoft0: <software crypto> on motherboard > acpi0: <ALASKA A M I > on motherboard > acpi0: Power Button (fixed) > unknown: I/O range not supported > cpu0: <ACPI CPU> on acpi0 > cpu1: <ACPI CPU> on acpi0 > cpu2: <ACPI CPU> on acpi0 > cpu3: <ACPI CPU> on acpi0 > atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0 > atrtc0: Warning: Couldn't map I/O. > atrtc0: registered as a time-of-day clock, resolution 1.000000s > Event timer "RTC" frequency 32768 Hz quality 0 > hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 8 on > acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 450 > Event timer "HPET1" frequency 14318180 Hz quality 440 > Event timer "HPET2" frequency 14318180 Hz quality 440 > attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > pcib0: _OSC returned error 0x10 > pci0: <ACPI PCI bus> on pcib0 > vgapci0: <VGA-compatible display> port 0xf080-0xf087 mem > 0xd0000000-0xd03fffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0 > vgapci0: Boot video device > ahci0: <AHCI SATA controller> port > 0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf020-0xf03f mem > 0xd0a16000-0xd0a167ff irq 19 at device 19.0 on pci0 > ahci0: AHCI v1.30 with 2 3Gbps ports, Port Multiplier not supported > ahcich0: <AHCI channel> at channel 0 on ahci0 > xhci0: <Intel BayTrail USB 3.0 controller> mem 0xd0a00000-0xd0a0ffff irq > 20 at device 20.0 on pci0 > xhci0: 32 bytes context size, 64-bit DMA > xhci0: Port routing mask set to 0xffffffff > usbus0 on xhci0 > usbus0: 5.0Gbps Super Speed USB v3.0 > pci0: <encrypt/decrypt> at device 26.0 (no driver attached) > hdac0: <Intel BayTrail HDA Controller> mem 0xd0a10000-0xd0a13fff irq 22 at > device 27.0 on pci0 > pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0 > pcib1: [GIANT-LOCKED] > pci1: <ACPI PCI bus> on pcib1 > igb0: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port > 0xe000-0xe01f mem 0xd0900000-0xd091ffff,0xd0920000-0xd0923fff irq 16 at > device 0.0 on pci1 > igb0: Using MSIX interrupts with 3 vectors > igb0: Ethernet address: 40:62:31:02:18:41 > igb0: Bound queue 0 to cpu 0 > igb0: Bound queue 1 to cpu 1 > igb0: netmap queues/slots: TX 2/4096, RX 2/4096 > pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0 > pcib2: [GIANT-LOCKED] > pci2: <ACPI PCI bus> on pcib2 > igb1: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port > 0xd000-0xd01f mem 0xd0800000-0xd081ffff,0xd0820000-0xd0823fff irq 17 at > device 0.0 on pci2 > igb1: Using MSIX interrupts with 3 vectors > igb1: Ethernet address: 40:62:31:02:18:42 > igb1: Bound queue 0 to cpu 2 > igb1: Bound queue 1 to cpu 3 > igb1: netmap queues/slots: TX 2/4096, RX 2/4096 > pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0 > pcib3: [GIANT-LOCKED] > pci3: <ACPI PCI bus> on pcib3 > igb2: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port > 0xc000-0xc01f mem 0xd0700000-0xd071ffff,0xd0720000-0xd0723fff irq 18 at > device 0.0 on pci3 > igb2: Using MSIX interrupts with 3 vectors > igb2: Ethernet address: 40:62:31:02:18:43 > igb2: Bound queue 0 to cpu 0 > igb2: Bound queue 1 to cpu 1 > igb2: netmap queues/slots: TX 2/4096, RX 2/4096 > pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0 > pcib4: [GIANT-LOCKED] > pci4: <ACPI PCI bus> on pcib4 > igb3: <Intel(R) PRO/1000 Network Connection, Version - 2.5.3-k> port > 0xb000-0xb01f mem 0xd0600000-0xd061ffff,0xd0620000-0xd0623fff irq 19 at > device 0.0 on pci4 > igb3: Using MSIX interrupts with 3 vectors > igb3: Ethernet address: 40:62:31:02:18:44 > igb3: Bound queue 0 to cpu 2 > igb3: Bound queue 1 to cpu 3 > igb3: netmap queues/slots: TX 2/4096, RX 2/4096 > isab0: <PCI-ISA bridge> at device 31.0 on pci0 > isa0: <ISA bus> on isab0 > acpi_button0: <Power Button> on acpi0 > acpi_button1: <Sleep Button> on acpi0 > acpi_tz0: <Thermal Zone> on acpi0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ppc0: cannot reserve I/O port range > est0: <Enhanced SpeedStep Frequency Control> on cpu0 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 7c000000183e > device_attach: est0 attach returned 6 > est1: <Enhanced SpeedStep Frequency Control> on cpu1 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 7c000000183e > device_attach: est1 attach returned 6 > est2: <Enhanced SpeedStep Frequency Control> on cpu2 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 7c000000183e > device_attach: est2 attach returned 6 > est3: <Enhanced SpeedStep Frequency Control> on cpu3 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 7c000000183e > device_attach: est3 attach returned 6 > Timecounters tick every 1.000 msec > ipfw2 (+ipv6) initialized, divert enabled, nat loadable, default to > accept, logging disabled > DUMMYNET 0 with IPv6 initialized (100409) > load_dn_sched dn_sched FIFO loaded > load_dn_sched dn_sched QFQ loaded > load_dn_sched dn_sched RR loaded > load_dn_sched dn_sched WF2Q+ loaded > load_dn_sched dn_sched PRIO loaded > load_dn_sched dn_sched FQ_CODEL loaded > load_dn_sched dn_sched FQ_PIE loaded > load_dn_aqm dn_aqm CODEL loaded > load_dn_aqm dn_aqm PIE loaded > hdacc0: <Intel (0x2882) HDA CODEC> at cad 2 on hdac0 > hdaa0: <Intel (0x2882) Audio Function Group> at nid 1 on hdacc0 > pcm0: <Intel (0x2882) (HDMI/DP 8ch)> at nid 4 on hdaa0 > ugen0.1: <0x8086 XHCI root HUB> at usbus0 > uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > ada0: <WDC WD5000LPCX-22VHAT1 02.01A02> ACS-3 ATA SATA 3.x device > ada0: Serial Number WD-WXB1A186TS37 > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > ada0: Command Queueing enabled > ada0: 476940MB (976773168 512 byte sectors) > ada0: quirks=0x1<4K> > Trying to mount root from ufs:/dev/ufs/root [rw]... > Root mount waiting for: GMIRROR usbus0 > uhub0: 7 ports with 7 removable, self powered > Root mount waiting for: GMIRROR usbus0 > ugen0.2: <vendor 0x05e3 USB2.0 Hub> at usbus0 > uhub1 on uhub0 > uhub1: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/88.32, addr 1> on > usbus0 > uhub1: 4 ports with 4 removable, self powered > Root mount waiting for: GMIRROR usbus0 > ugen0.3: <vendor 0x0835 USB KVM> at usbus0 > ukbd0 on uhub1 > ukbd0: <USB Keyboard> on usbus0 > kbd1 at ukbd0 > Root mount waiting for: GMIRROR > GEOM_MIRROR: Force device gm0 start due to timeout. > GEOM_MIRROR: Device mirror/gm0 launched (1/2). > mountroot: waiting for device /dev/ufs/root... > WARNING: / was not properly dismounted > random: unblocking device. > lo0: link state changed to UP > uhid0 on uhub1 > uhid0: <USB Mouse> on usbus0 > > > Output of pciconf -lvvv: > > hostb0@pci0:0:0:0: class=0x060000 card=0x0f318086 chip=0x0f008086 > rev=0x0e hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom Processor Z36xxx/Z37xxx Series SoC Transaction > Register' > class = bridge > subclass = HOST-PCI > vgapci0@pci0:0:2:0: class=0x030000 card=0x0f318086 chip=0x0f318086 > rev=0x0e hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom Processor Z36xxx/Z37xxx Series Graphics & Display' > class = display > subclass = VGA > ahci0@pci0:0:19:0: class=0x010601 card=0x0f238086 chip=0x0f238086 > rev=0x0e hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom Processor E3800 Series SATA AHCI Controller' > class = mass storage > subclass = SATA > xhci0@pci0:0:20:0: class=0x0c0330 card=0x0f358086 chip=0x0f358086 > rev=0x0e hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB > xHCI' > class = serial bus > subclass = USB > none0@pci0:0:26:0: class=0x108000 card=0x0f188086 chip=0x0f188086 > rev=0x0e hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom Processor Z36xxx/Z37xxx Series Trusted Execution > Engine' > class = encrypt/decrypt > hdac0@pci0:0:27:0: class=0x040300 card=0x0f048086 chip=0x0f048086 > rev=0x0e hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom Processor Z36xxx/Z37xxx Series High Definition > Audio Controller' > class = multimedia > subclass = HDA > pcib1@pci0:0:28:0: class=0x060400 card=0x0f488086 chip=0x0f488086 > rev=0x0e hdr=0x01 > vendor = 'Intel Corporation' > device = 'Atom Processor E3800 Series PCI Express Root Port 1' > class = bridge > subclass = PCI-PCI > pcib2@pci0:0:28:1: class=0x060400 card=0x0f4a8086 chip=0x0f4a8086 > rev=0x0e hdr=0x01 > vendor = 'Intel Corporation' > device = 'Atom Processor E3800 Series PCI Express Root Port 2' > class = bridge > subclass = PCI-PCI > pcib3@pci0:0:28:2: class=0x060400 card=0x0f4c8086 chip=0x0f4c8086 > rev=0x0e hdr=0x01 > vendor = 'Intel Corporation' > device = 'Atom Processor E3800 Series PCI Express Root Port 3' > class = bridge > subclass = PCI-PCI > pcib4@pci0:0:28:3: class=0x060400 card=0x0f4e8086 chip=0x0f4e8086 > rev=0x0e hdr=0x01 > vendor = 'Intel Corporation' > device = 'Atom Processor E3800 Series PCI Express Root Port 4' > class = bridge > subclass = PCI-PCI > isab0@pci0:0:31:0: class=0x060100 card=0x0f1c8086 chip=0x0f1c8086 > rev=0x0e hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom Processor Z36xxx/Z37xxx Series Power Control Unit' > class = bridge > subclass = PCI-ISA > none1@pci0:0:31:3: class=0x0c0500 card=0x0f128086 chip=0x0f128086 > rev=0x0e hdr=0x00 > vendor = 'Intel Corporation' > device = 'Atom Processor E3800 Series SMBus Controller' > class = serial bus > subclass = SMBus > igb0@pci0:1:0:0: class=0x020000 card=0x00008086 chip=0x15398086 > rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = 'I211 Gigabit Network Connection' > class = network > subclass = ethernet > igb1@pci0:2:0:0: class=0x020000 card=0x00008086 chip=0x15398086 > rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = 'I211 Gigabit Network Connection' > class = network > subclass = ethernet > igb2@pci0:3:0:0: class=0x020000 card=0x00008086 chip=0x15398086 > rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = 'I211 Gigabit Network Connection' > class = network > subclass = ethernet > igb3@pci0:4:0:0: class=0x020000 card=0x00008086 chip=0x15398086 > rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = 'I211 Gigabit Network Connection' > class = network > subclass = ethernet > > Eugene Grosbein > -- WBW ------- Rybalko Aleksandr <r...@ddteam.net> _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"