Intel Chipset Error? OpenBSD 5.4

2013-11-03 Thread Lakosimi
# dmesg

OpenBSD 5.4 (GENERIC) #37: Tue Jul 30 12:05:01 MDT 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.53GHz (GenuineIntel 686-class) 2.53 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,CNXT-ID,xTPR,PERF
real mem  = 796389376 (759MB)
avail mem = 771928064 (736MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/30/02, BIOS32 rev. 0 @ 0xeba00, 
SMBIOS rev. 2.3 @ 0xfb360 (46 entries)
bios0: vendor Compaq version 686O2 v2.20 date 12/30/2002
bios0: Compaq Evo D510 SFF
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT SSDT SSDT APIC SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices PCI0(S4) HUB_(S4) COM1(S4) COM2(S4) USB1(S3) USB2(S3) 
USB3(S3) EUSB(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpiprt0 at acpi0: bus 5 (HUB_)
acpiprt1 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpibtn0 at acpi0: PBTN
bios0: ROM list: 0xc/0xac00! 0xcac00/0x1800 0xe1c00/0x9000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82845G Host rev 0x01
vga1 at pci0 dev 2 function 0 Intel 82845G Video rev 0x01
intagp0 at vga1
agp0 at intagp0: aperture at 0xf000, size 0x800
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: applying pipe a force quirk
inteldrm0: 1280x1024
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: apic 8 int 16
uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: apic 8 int 19
ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: 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
ppb0 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x81
pci1 at ppb0 bus 5
fxp0 at pci1 dev 8 function 0 Intel PRO/100 VM rev 0x81, i82562: apic 8 int 
20, address 00:08:02:e3:15:a4
inphy0 at fxp0 phy 1: i82562EM 10/100 PHY, rev. 0
ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x01
pciide0 at pci0 dev 31 function 1 Intel 82801DB IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: Maxtor 6E040L0
wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: Optiarc, DVD RW AD-5170A, 1.11 ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: apic 8 int 17, 
ICH4 AC97
ac97: codec id 0x41445372 (Analog Devices AD1981A)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
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
isa0 at ichpcib0
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
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
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets


root on wd0a (afee739ec89f7302.a) swap on wd0b dump on wd0b

error: [drm:pid21332:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
error: [drm:pid1035:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
error: [drm:pid3:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
error: [drm:pid3:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
error: [drm:pid18152:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
error: [drm:pid18152:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1


:((

-- 
Üdv.: Imre

_
  $ uname -a
  imi.pool.hdsnet.hu, OpenBSD 4.9, GENERIC#671 i386
¨¨
 



Re: Intel Chipset Error? OpenBSD 5.4

2013-11-03 Thread Jonathan Gray
On Sat, Nov 02, 2013 at 10:20:54PM +0100, Lakosimi wrote:
 
 error: [drm:pid21332:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
 error: [drm:pid1035:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
 error: [drm:pid3:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
 error: [drm:pid3:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
 error: [drm:pid18152:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1
 error: [drm:pid18152:i915_get_vblank_timestamp] *ERROR* Invalid crtc 1

I'm not entirely sure what is going wrong with these old 845 parts.
You could try disable vblank timestamping with the following diff
(against -current, might work on 5.4 though)

Index: i915_irq.c
===
RCS file: /cvs/src/sys/dev/pci/drm/i915/i915_irq.c,v
retrieving revision 1.9
diff -u -p -r1.9 i915_irq.c
--- i915_irq.c  30 Oct 2013 02:11:32 -  1.9
+++ i915_irq.c  4 Nov 2013 03:23:12 -
@@ -2707,7 +2707,7 @@ void intel_irq_init(struct drm_device *d
dev-driver-get_vblank_counter = gm45_get_vblank_counter;
}
 
-   if (drm_core_check_feature(dev, DRIVER_MODESET))
+   if (drm_core_check_feature(dev, DRIVER_MODESET)  !IS_GEN2(dev))
dev-driver-get_vblank_timestamp = i915_get_vblank_timestamp;
else
dev-driver-get_vblank_timestamp = NULL;