On 2/11/19 6:36 PM, Steve Kargl wrote: > On Mon, Feb 11, 2019 at 06:05:03PM +0100, Niclas Zeising wrote: >> On 2/11/19 5:20 PM, Steve Kargl wrote: >>> On Mon, Feb 11, 2019 at 08:12:05AM -0800, Steve Kargl wrote: >>>> Anyone have any idea which recent change broke the >>>> drm-legacy-kmod port. This is why I raised an issue >>>> with removal of drm2 from src/sys. How is suppose >>>> to be fixed? >>>> >>> >>> It was r343567. The merging of PAE and NO PAE pmap.h >>> by kib removed all of the missing macros. :( >>> >> >> Can you give attached patch a spin? >> Thanks! >> Regards >> -- >> Niclas > > The patch allows the port to be built. > > kldloading the i915kms module causes a 'black screen > of death' > > I'll note that there seems to be a race condition in > booting a kernel (with or without the drm2 stuff). > During boot the kernel hangs (see below) : > > ---<<BOOT>>--- > Copyright (c) 1992-2019 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 13.0-CURRENT r343477 MOBILE i386 > FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) > VT(vga): resolution 640x480 > CPU: Intel(R) Core(TM)2 Duo CPU T7250 _at_ 2.00GHz (1995.05-MHz 686-class CPU) > Origin="GenuineIntel" Id=0x6fd Family=0x6 Model=0xf Stepping=13 > 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=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM> > AMD Features=0x20100000<NX,LM> > AMD Features2=0x1<LAHF> > VT-x: (disabled in BIOS) HLT,PAUSE > TSC: P-state invariant, performance statistics > real memory = 4294967296 (4096 MB) > avail memory = 3659202560 (3489 MB) > Event timer "LAPIC" quality 100 > ACPI APIC Table: <DELL M08 > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) > Firmware Warning (ACPI): Incorrect checksum in table [TCPA] - 0x80, should be 0x24 (20190108/tbprint-337) > ioapic0: Changing APIC ID to 2 > ioapic0 <Version 2.0> irqs 0-23 on motherboard > Launching APs: 1 > > *** kernel hangs here sometimes *** > > Timecounter "TSC" frequency 1995048460 Hz quality 1000 > random: entropy device external interface > kbd1 at kbdmux0 > > Hi! I assume you load the kernel module either manually with kldload or using kld_list in rc.conf, not by loading it from the loader? So there is two bugs? One bug is that the kernel hangs while booting, and the other is that you get a black screen when loading the drm module after the kernel is mostly done booting? Regards -- NiclasReceived on Mon Feb 11 2019 - 16:42:33 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC