> >Synopsis:    inteldrm: black screen since boot if external monitor not 
> >connected
> >Category:    kernel
> >Environment:
>       System      : OpenBSD 5.4
>       Details     : OpenBSD 5.4 (GENERIC.MP) #37: Sat Jul 20 23:10:27 MDT 2013
>                        
> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.i386
>       Machine     : i386
> >Description:
>       This problem present ~ since end of march 2013.
> 
>       If no external monitor connected (via VGA connector) at kernel boot 
> time,
>       then laptop screen remains black since inteldrm_attach.
>       When I start Xorg, screen remains black.
> 
>       First it goes black at
>               
> inteldrm_attach->i915_load_modeset_init->intel_modeset_init->i915_disable_vga,
>       then in
>               inteldrm_attach->intel_fb_restore_mode
> 
>       If external monitor connected during kernel boot, then I see
>       framebuffer console instead of black screen, and Xorg works fine.
> 
> dmesg:
> OpenBSD 5.4 (GENERIC.MP) #37: Sat Jul 20 23:10:27 MDT 2013
>     dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel(R) Atom(TM) CPU N570 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF
> real mem  = 2135588864 (2036MB)
> avail mem = 2089234432 (1992MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 02/05/10, SMBIOS rev. 2.6 @ 0xeae60 (52 
> entries)
> bios0: vendor American Megatrends Inc. version "P10QD0.43" date 02/08/2012
> bios0: INTEL Corporation Tiger Hill
> acpi0 at bios0: rev 3
> acpi0: sleep states S0 S1 S3 S4 S5
> acpi0: tables DSDT FACP APIC MCFG HPET SLIC
> acpi0: wakeup devices P0P8(S4) P0P9(S4) P0PA(S4) P0PB(S4) P0PC(S4) SLPB(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: apic clock running at 166MHz
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Atom(TM) CPU N570 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz
> cpu1: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Atom(TM) CPU N570 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz
> cpu2: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Atom(TM) CPU N570 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz
> cpu3: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,LAHF,PERF
> ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xe0000000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 1 (P0P9)
> acpiprt2 at acpi0: bus -1 (P0PA)
> acpiprt3 at acpi0: bus 2 (P0PB)
> acpiprt4 at acpi0: bus -1 (P0PC)
> acpiec0 at acpi0
> acpicpu0 at acpi0:, C3, C2, C1, PSS
> acpicpu1 at acpi0:, C3, C2, C1, PSS
> acpicpu2 at acpi0:, C3, C2, C1, PSS
> acpicpu3 at acpi0:, C3, C2, C1, PSS
> acpiac0 at acpi0: AC unit offline
> acpibat0 at acpi0: BAT0 not present
> acpibtn0 at acpi0: PWRB
> acpibtn1 at acpi0: SLPB
> acpibtn2 at acpi0: LID0
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: DD02
> bios0: ROM list: 0xc0000/0xda00!
> cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1334, 1000 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02
> vga1 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
> inteldrm0 at vga1
> drm0 at inteldrm0
> intel_overlay_map_regs partial stub
> inteldrm0: 1024x600
> wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> "Intel Pineview Video" rev 0x02 at pci0 dev 2 function 1 not configured
> azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
> azalia0: codecs: Realtek ALC269
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 4 int 16
> pci1 at ppb0 bus 1
> athn0 at pci1 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 4 int 16
> athn0: AR9285 rev 2 (1T1R), ROM rev 14, address 00:08:ca:59:be:3f
> ppb1 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 4 int 18
> pci2 at ppb1 bus 2
> re0 at pci2 dev 0 function 0 "Realtek 8101E" rev 0x02: RTL8102EL (0x2480), 
> apic 4 int 18, address 00:23:81:13:ef:f2
> rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
> uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 4 int 23
> uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 4 int 19
> uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 4 int 18
> uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 4 int 16
> ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 4 int 23
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
> pci3 at ppb2 bus 3
> pcib0 at pci0 dev 31 function 0 "Intel NM10 LPC" rev 0x02
> ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x02: msi, AHCI 1.1
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, Hitachi HTS54755, JE3O> SCSI3 0/direct 
> fixed naa.5000cca63bd6e2a1
> sd0: 476940MB, 512 bytes/sector, 976773168 sectors
> ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 4 int 
> 19
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci3: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> mtrr: Pentium Pro MTRR support
> ugen0 at uhub3 port 1 "Atheros Communications AR3011" rev 1.10/2.00 addr 2
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on sd0a (2ddb085a4cc5eb6f.a) swap on sd0b dump on sd0b
> 
> usbdevs:
> Controller /dev/usb0:
> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
> Intel(0x8086), rev 1.00
>  port 1 powered
>  port 2 powered
>  port 3 powered
>  port 4 powered
>  port 5 powered
>  port 6 powered
>  port 7 powered
>  port 8 powered
> Controller /dev/usb1:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
> Intel(0x8086), rev 1.00
>  port 1 powered
>  port 2 powered
> Controller /dev/usb2:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
> Intel(0x8086), rev 1.00
>  port 1 powered
>  port 2 powered
> Controller /dev/usb3:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
> Intel(0x8086), rev 1.00
>  port 1 addr 2: full speed, power 100 mA, config 1, AR3011(0x3000), Atheros 
> Communications(0x0cf3), rev 2.00
>  port 2 powered
> Controller /dev/usb4:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
> Intel(0x8086), rev 1.00
>  port 1 powered
>  port 2 powered

I use fake VGA plug (3 resistors of ~75 Ohm) to work around this.

Best regards, Alexander.

Reply via email to