tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: X vs serial console?



>> AFAIK X requires a wsdisplay to run on - which you don't seem to get
>> with a serial console.

The boot-time autoconf messages disagree:

	i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product 5912 (rev. 0x04)
	...
	i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)
	...
	intelfb0 at i915drmkms0
	...
	wsdisplay0 at intelfb0 kbdmux 1

Mind you, the above does differ from the video-console version:

	i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product 5912 (rev. 0x04)
	...
	i915drmkms0: interrupting at ioapic0 pin 16 (i915drmkms0)
	...
	intelfb0 at i915drmkms0
	intelfb0: framebuffer at 0xffff8380676fc000, size 1280x1024, depth 32, stride 5120
	wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0

Notably, the serial-console version has no "framebuffer at ..." line
(after seeing the above, I specifically went looking for one).  At that
point, the serial-console output says

	intelfb0 at i915drmkms0
	kern error: [drm:(/sys/external/bsd/drm2/dist/drm/i915/intel_fifo_underrun.c:363)intel_cpu_fifo_underrun_irq_handler] *ERROR* CPU pipe A FIFO underrun
	warning: /sys/external/bsd/drm2/dist/drm/drm_irq.c:1510: vblank wait timed out on crtc 0
	wsdisplay0 at intelfb0 kbdmux 1

two lines of which I quoted earlier.  (There are numerous other
error-ish messages from the drm code; I didn't quote them all because
even the video version produces numerous such messages.  I certainly
can if you like.)

> Yes.  Mouse, can post the output of this:

> $ ls -l $(which Xorg)

$ ls -l $(which Xorg)
-rws--x--x  1 root  wheel  2973352 Nov 17 12:32 /usr/X11R7/bin/Xorg
$ 

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index