Hello all, I'm having issues installing OpenBSD 6.0 (-current) on my old Apple MacBook (Early 2008). The builtin screen is broken so I'm using a mini-DVI to VGA connector and external monitor to do the install. I'm under the impression that it's better to install / boot from EFI instead of the BIOS mode because the computer won't display the SATA controller in BIOS mode but will in EFI mode. I don't know if this is actually true or not but I remember something on undeadly.org about a dev's experience with a MacBook Air with a similar story.
Anyways, so I do the install as a BIOS boot and it works just fine. I did the GPT route and rebooted. Now if the laptop lid is open it boots just fine (but I need to boot the Mac with it closed so the external video starts) but if the lid is closed it will boot until this line: efifb at mainbus0 not configured and then the screen goes blank. I believe it's a hang too, I setup networking and was unable to ping it after it should have booted up. With the screen open however, it boots up just fine. I've included a full dmesg from a sucessful boot below. I've tried enabling verbose mode in boot -c but it seems the graphics drivers don't initialize until after that (I just get a blank screen). With config -e I've tried to turn off a few features (efifb, uvideo, etc.) with no luck. My feeling is the graphics drivers don't see the attatched external screen or there is a failure handing off between the EFI and the kernel but I'm not really sure. Can someone try to receate this issue? (Boot up an amd64 Mac with lid closed in EFI mode) Also, does anyone have a guess as to where the code might be that controls this? I want to take a look before I file a formal bug report. Thanks, Pete Zabagel OpenBSD 6.0-current (GENERIC.MP) #2480: Wed Sep 21 11:18:24 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2107633664 (2009MB) avail mem = 2039320576 (1944MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x7eec3000 (41 entries) bios0: vendor Apple Inc. version "MB41.88Z.00C1.B00.0802091535" date 02/09/08 bios0: Apple Inc. MacBook4,1 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT SSDT acpi0: wakeup devices ADP1(S3) LID0(S3) ARPT(S3) GIGE(S3) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) UHC5(S3) EHC1(S3) EHC2(S3) EC__(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz, 1197.21 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CV,PAT,PSE36,CFLUSH, DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2, SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR cpu0: 3MB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz, 1197.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM 2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR cpu1: 3MB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf0000000, bus 0-255 acpiec0 at acpi0 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP05) acpiprt2 at acpi0: bus 3 (RP06) acpiprt3 at acpi0: bus 4 (PCIB) acpicpu0 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1 mwait), PSS acpicpu1 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1 mwait), PSS acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID0 "APP0002" at acpi0 not configured acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB "APP0001" at acpi0 not configured "APP0003" at acpi0 not configured "ACPI0002" at acpi0 not configured acpibat0 at acpi0: BAT0 not present acpivideo0 at acpi0: GFX0 cpu0: Enhanced SpeedStep 1197 MHz: speeds: 2400, 2200, 2000, 1800, 1600, 1400, 1200, 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x03 inteldrm0 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x03 drm0 at inteldrm0 intagp0 at inteldrm0 agp0 at intagp0: aperture at 0x80000000, size 0x10000000 inteldrm0: msi inteldrm0: 1280x800 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel GM965 Video" rev 0x03 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x04: apic 1 int 20 uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x04: apic 1 int 16 ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x04: apic 1 int 21 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x04: msi azalia0: codecs: Realtek ALC885 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x04: msi pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x04: msi pci2 at ppb1 bus 2 "Broadcom BCM4321" rev 0x03 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x04: msi pci3 at ppb2 bus 3 mskc0 at pci3 dev 0 function 0 "Marvell Yukon 88E8058" rev 0x13, Yukon-2 EC Ultra rev. B0 (0x3): apic 1 int 17 msk0 at mskc0 port A: address 00:22:41:3d:01:30 eephy0 at msk0 phy 0: 88E1149 Gigabit PHY, rev. 1 uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x04: apic 1 int 16 uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x04: apic 1 int 18 uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x04: apic 1 int 21 ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x04: apic 1 int 20 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf4 pci4 at ppb3 bus 4 "AT&T/Lucent FW322 1394" rev 0x61 at pci4 dev 3 function 0 not configured pcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x04 pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x04: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using apic 1 int 21 for native-PCI interrupt atapiscsi0 at pciide0 channel 0 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVDRW GSA-S10N, BP10> ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x04: msi, AHCI 1.1 ahci0: port 0: 1.5Gb/s scsibus2 at ahci0: 32 targets sd0 at scsibus2 targ 0 lun 0: <ATA, ST9500420AS, 0003> SCSI3 0/direct fixed naa.5000c5002ebdc896 sd0: 476940MB, 512 bytes/sector, 976773168 sectors ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x04: apic 1 int 20 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM usb2 at uhci0: USB revision 1.0 uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 asmc0 at isa0 port 0x300/32: rev 1.31f531, 220 keys efifb at mainbus0 not configured uvideo0 at uhub1 port 4 configuration 1 interface 0 "Apple Computer Bluetooth" rev 2.00/0.0c addr 2 uhidev0 at uhub2 port 1 configuration 1 interface 0 "Apple Computer HID-proxy" rev 2.00/19.65 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd0 at ukbd0 mux 1 wskbd0: connecting to wsdisplay0 uhidev1 at uhub2 port 1 configuration 1 interface 1 "Apple Computer HID-proxy" rev 2.00/19.65 addr 2 uhidev1: iclass 3/1 ums0 at uhidev1: 5 buttons wsmouse0 at ums0 mux 0 uhidev2 at uhub4 port 1 configuration 1 interface 0 "CHICONY USB NetVista Full Width Keyboard" rev 1.10/1.02 addr 2 uhidev2: iclass 3/1 ukbd1 at uhidev2: 8 variable keys, 6 key codes wskbd1 at ukbd1 mux 1 wskbd1: connecting to wsdisplay0 uhidev3 at uhub6 port 1 configuration 1 interface 0 "Apple Computer, Inc. IR Receiver" rev 2.00/0.16 addr 2 uhidev3: iclass 3/0, 38 report ids uhid0 at uhidev3 reportid 36: input=4, output=0, feature=0 uhid1 at uhidev3 reportid 37: input=4, output=0, feature=0 uhid2 at uhidev3 reportid 38: input=4, output=0, feature=0 uhidev4 at uhub6 port 2 configuration 1 interface 0 "Apple Computer Apple Internal Keyboard / Trackpad" rev 2.00/0.07 addr 3 uhidev4: iclass 3/1 ukbd2 at uhidev4: 8 variable keys, 5 key codes, country code 33 wskbd2 at ukbd2 mux 1 wskbd2: connecting to wsdisplay0 uhidev5 at uhub6 port 2 configuration 1 interface 1 "Apple Computer Apple Internal Keyboard / Trackpad" rev 2.00/0.07 addr 3 uhidev5: iclass 3/1, 5 report ids ums1 at uhidev5 reportid 2: 3 buttons wsmouse1 at ums1 mux 0 ums2 at uhidev5 reportid 5 ums2: mouse has no X report uhidev6 at uhub6 port 2 configuration 1 interface 2 "Apple Computer Apple Internal Keyboard / Trackpad" rev 2.00/0.07 addr 3 uhidev6: iclass 3/0 uhid3 at uhidev6: input=1, output=0, feature=0 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd0a (4d0f57aa9fbb8871.a) swap on sd0b dump on sd0b uvideo0: loadfirmware error=2!