Heyo.
dmesg attached at end of email. Short version: I've got an Intel
D2500CCE mini-ITX board (Atom 2500; Atom D2000/N2000 Video; DVI and VGA
outputs; attached to DVI; driving an Apple Cinema Display). The machine
is mostly to be configured as a home (and work-from-home)
router/firewall, so virtual terminal only is fine, but I also wanted to
experiment with X figuring that I might bring some other machines up on
OpenBSD. I'm running 5.8 installed from CD, AMD64, multiprocessor
(matching the CPU).
My problem: I start X (startx), and it comes up fine (well, it hates
the Intel chipset, I think, but it comes up VESA, which is good enough
for getting on with), but it clobbers the virtual terminals. That is,
if I Ctrl-Alt-F1 (or -F2, etc.) from the X session, I have a "black"
screen (it's more a dark gray: there's some power in, because if that
display is up when I reboot, the change to no power is noticeable). The
same is true for all the virtual consoles if I quit X (from the menu,
or via Ctrl-Alt-Bksp, or ssh in and kill it by PID).
I don't see mentions of exactly this on OpenBSD lists (MARC: misc,
tech, bugs), or googling, but I might not have come up with the right
search terms, so if there's an easy/obvious answer, please let me know,
okay?
I've got two theories about what's happening.
Some of the hits that I found, googling, were from Linux (mostly
Ubuntu) users who had a conflict between a graphical boot mode (splash
screen and stuff) and their X display mode. It's possible that invoking
startx puts the video card into a mode that makes it impossible to
display the default 80x25 text mode (the virtual terminals go black-ish
whether I'm already logged in there or not). If that's the case, is
there some magic that would fix it? Changing the kernel's notion of
video mode to more nearly match what the VESA driver has decided to
use? (it's using 1600x1200 (0x15a), although it correctly recognizes
the monitor at 1920x1200 ... should I spend time making X behave better
first? but I'd rather have the virtual terminals) That's possibility
one.
Second possibility is that somehow, when it turns on X, it tries to
switch the terminals over to the VGA connector. This seems less likely
(I spent most of my time chasing this wild hare, though), because if
that were the case, then the X display would go black as well, right?
Well, and it's also possible that I've stupidly managed to overlook a
firmware loading requirement.
Any hints? Sorry to be annoying, but I'm hoping this is something that
someone has experience of, so that I can be pointed at documentation
that I should have been able to find on my own. Thanks for your time.
Amy!
(dmesg follows)
OpenBSD 5.8 (GENERIC.MP) #1229: Wed Aug 5 08:08:22 MDT 2015
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80<clock_battery>
real mem = 8554905600 (8158MB)
avail mem = 8291741696 (7907MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb8d0 (28 entries)
bios0: vendor Intel Corp. version "CCCDT10N.86A.0037.2012.1217.1723"
date 12/17/2012
bios0: Intel Corporation D2500CC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC MCFG HPET
acpi0: wakeup devices SLT1(S4) PS2M(S4) PS2K(S4) UAR1(S3) UAR2(S3)
UAR3(S4) UAR4(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB7(S3) PXSX(S4)
RP01(S4) PXSX(S4) RP02(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU D2500 @ 1.86GHz, 1867.01 MHz
cpu0:
FPU,VME,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,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 512KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU D2500 @ 1.86GHz, 1866.73 MHz
cpu1:
FPU,VME,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,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu1: 512KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P0P1)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 1 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Atom D2000/N2000 Host" rev 0x04
vga1 at pci0 dev 2 function 0 "Intel Atom D2000/N2000 Video" rev 0x0b
intagp at vga1 not configured
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC888
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: msi
pci1 at ppb0 bus 2
em0 at pci1 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address
00:22:4d:ac:e6:d6
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: msi
pci2 at ppb1 bus 1
em1 at pci2 dev 0 function 0 "Intel 82574L" rev 0x00: msi, address
00:22:4d:ac:e6:da
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 8
int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 8
int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 8
int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 8
int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 8
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
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, ST500LM021-1KJ15, 0002> SCSI3
0/direct fixed naa.5000c50082401cb7
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
cd0 at scsibus1 targ 1 lun 0: <HL-DT-ST, DVDRAM GTB0N, 1.00> ATAPI
5/cdrom removable
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic
8 int 19
iic0 at ichiic0
lm1 at iic0 addr 0x2d: W83627DHG
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-8500 SO-DIMM
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-8500 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
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83627UHG rev 0x32
lm2 at wbsio0 port 0x290/8: W83627DHG
lm1: disabling sensors due to alias with lm2
uhub5 at uhub0 port 3 "Genesys Logic USB2.0 Hub" rev 2.00/77.63 addr 2
uhidev0 at uhub5 port 1 configuration 1 interface 0 "No brand Combo
Free KVM" rev 1.10/0.00 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub5 port 1 configuration 1 interface 1 "No brand Combo
Free KVM" rev 1.10/0.00 addr 3
uhidev1: iclass 3/1, 3 report ids
ums0 at uhidev1 reportid 1: 5 buttons, Z dir
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=2, output=0, feature=0
uhub6 at uhub5 port 2 "Apple Computer product 0x911c" rev 2.00/1.01
addr 4
uhidev2 at uhub6 port 2 configuration 1 interface 0 "Apple Computer,
Inc. Apple Cinema HD Display" rev 1.10/1.15 addr 5
uhidev2: iclass 3/0, 232 report ids
uhid2 at uhidev2 reportid 16: input=0, output=0, feature=1
uhid3 at uhidev2 reportid 214: input=0, output=0, feature=1
uhid4 at uhidev2 reportid 225: input=0, output=0, feature=1
uhid5 at uhidev2 reportid 228: input=1, output=0, feature=0
uhid6 at uhidev2 reportid 231: input=0, output=0, feature=1
uhid7 at uhidev2 reportid 232: input=0, output=0, feature=1
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (339559fac70f348c.a) swap on sd0b dump on sd0b