Re: Zenocara Intel Crestline Graphics

2014-10-12 Thread Doug Hogan
On Sat, Oct 11, 2014 at 02:13:05PM -0700, Raymond Lillard wrote:
 I have the opportunity to purchase a Dell laptop
 with Intel Crestline Graphics hardware. Crestline
 appears to be marketing speak for:
 
 intel GM965/GMA X3100
 
 Can someone advice me as to the likelihood of using
 the h/w or will I be limitied to the framebuffer?

I think Crestline means the GMA X3100 core but not necessarily the
GM965.  According to Intel's ARK, it could be GM965, GME965, GL960 or
GLE960.  In practice, I don't think it will matter.
http://ark.intel.com/products/codename/2672/Crestline

One of my old laptops has a GM965 and it works fine in X.  It's a
Dell Inspiron 1525 that was advertised as having Crestline graphics.
The only problem that I've run into on the laptop is that
suspend/resume is flaky.

I have 106x36 characters in the console and 1280x800 resolution in X.
It uses inteldrm as Chris mentioned so you can leave
machdep.allowaperture=0 and still run X.  It's currently running the
latest i386 snapshot.


dmesg:

OpenBSD 5.6-current (GENERIC.MP) #380: Sat Oct 11 15:49:59 MDT 2014
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
...
pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c
vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
composite sync not supported
composite sync not supported
inteldrm0: 1280x800
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured


/var/log/Xorg.0.log:

[67.307] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
(Operation not permitted)
Check that you have set 'machdep.allowaperture=1'
in /etc/sysctl.conf and reboot your machine
refer to xf86(4) for details
[67.307]linear framebuffer access unavailable
[67.325] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode 
(version 3.32)
[68.366] 
X.Org X Server 1.16.1
Release Date: 2014-09-21
[68.366] X Protocol Version 11, Revision 0
[68.366] Build Operating System: OpenBSD 5.6 i386 
[68.366] Current Operating System: OpenBSD test.my.domain 5.6 
GENERIC.MP#380 i386
[68.367] Build Date: 08 October 2014  07:48:45AM
[68.367]  
[68.367] Current version of pixman: 0.32.6
[68.367]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[68.367] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[68.367] (==) Log file: /var/log/Xorg.0.log, Time: Sat Oct 11 21:25:51 
2014
[68.370] (==) Using system config directory 
/usr/X11R6/share/X11/xorg.conf.d
[68.372] (==) No Layout section.  Using the first Screen section.
[68.372] (==) No screen section available. Using defaults.
[68.372] (**) |--Screen Default Screen Section (0)
[68.372] (**) |   |--Monitor default monitor
[68.373] (==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
[68.373] (==) Disabling SIGIO handlers for input devices
[68.373] (==) Automatically adding devices
[68.373] (==) Automatically enabling devices
[68.373] (==) Not automatically adding GPU devices
[68.373] (==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
[68.373] (==) ModulePath set to /usr/X11R6/lib/modules
[68.374] (II) The server relies on wscons to provide the list of input 
devices.
If no devices become available, reconfigure wscons or disable 
AutoAddDevices.
[68.374] (II) Loader magic: 0x35fa1920
[68.374] (II) Module ABI versions:
[68.374]X.Org ANSI C Emulation: 0.4
[68.374]X.Org Video Driver: 18.0
[68.374]X.Org XInput driver : 21.0
[68.374]X.Org Server Extension : 8.0
[68.375] (--) PCI:*(0:0:2:0) 8086:2a02:1028:022f rev 12, Mem @ 
0xfea0/1048576, 0xe000/268435456, I/O @ 0xeff8/8
[68.375] (--) PCI: (0:0:2:1) 8086:2a03:1028:022f rev 12, Mem @ 
0xfeb0/1048576
[68.375] (II) LoadModule: glx
[68.377] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[68.413] (II) Module glx: vendor=X.Org Foundation
[68.413]compiled for 1.16.1, module version = 1.0.0
[68.413]ABI class: X.Org Server Extension, version 8.0
[68.413] (==) AIGLX enabled
[68.413] (==) Matched intel as autoconfigured driver 0
[68.413] (==) Matched vesa as autoconfigured driver 1
[68.413] (==) Assigned the driver to the xf86ConfigLayout
[68.413] (II) LoadModule: 

apm not having any effect on real watt usage

2014-10-12 Thread Julian Andrej
I'm using an amd64 snapshot from saturday.

I measure power consumed by my desktop using a watt-meter.
Before updating i could reduce watt usage with using 'apm -C'.
Now there is NO difference regarding watt usage using either
'apm -C' or 'apm -H' or disabling apm completely. The watt-meter
always stays around the same number.

dmesg is attached.
OpenBSD 5.6-current (GENERIC.MP) #413: Sat Oct 11 15:59:03 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8257769472 (7875MB)
avail mem = 8029241344 (7657MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xef370 (26 entries)
bios0: vendor American Megatrends Inc. version P2.10 date 05/07/2012
bios0: ASRock Z68 Pro3
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC ASF! MCFG AAFT HPET SSDT SSDT SSDT BGRT
acpi0: wakeup devices CIR_(S3) PS2K(S4) PS2M(S4) UAR1(S4) P0P1(S4) USB1(S3) 
USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) USB7(S3) RP01(S4) RP02(S4) 
RP03(S4) RP04(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3093.41 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3092.97 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3092.97 MHz
cpu2: 
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3092.97 MHz
cpu3: 
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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus 2 (RP05)
acpiprt7 at acpi0: bus 3 (PE2P)
acpiprt8 at acpi0: bus 4 (RP06)
acpiprt9 at acpi0: bus 5 (RP07)
acpiprt10 at acpi0: bus -1 (RP08)
acpiprt11 at acpi0: bus -1 (PEG0)
acpiprt12 at acpi0: bus -1 (PEG1)
acpiprt13 at acpi0: bus -1 (PEG2)
acpiprt14 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0: not present
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
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 3093 MHz: speeds: 3101, 3100, 3000, 2900, 2800, 2700, 
2600, 2500, 2300, 2200, 2100, 2000, 1900, 1800, 1700, 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 2000 rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
drm: Memory usable by graphics device = 2048M
inteldrm0: 1920x1200
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x05: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 6 Series HD Audio rev 0x05: msi
azalia0: codecs: Realtek/0x0892, Intel/0x2805, using Realtek/0x0892
audio0 at azalia0
ppb0 at pci0 dev 

cvs kills connections

2014-10-12 Thread Stefan Wollny
Oh dear ... cvs w/ OpenBSD-amd64-current is a PITA at present.

I describe my setup, the issue I noticed and what I tried and provide
some informmation like dmesg at the end.

I have this IBM/Lenovo T60 running OpenBSD's amd64-current:
OpenBSD 5.6-current (GENERIC.MP) #413: Sat Oct 11 15:59:03 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

(But the issue is hunting me for the least two weeks now. The system has
been set up from scratch - I have the last dmesg's as well...)

On misc@ I found two hints that show up in the information provided at
the end: I have set 'net.inet.ip.ifq.maxlen' to 1024 and
added 'set optimization conservative' to pf.conf.

I use 'adsuck', so resolv.conf lives in /var/adsuck/files while
/etc/resolv.conf only has the one line
nameservers 127.0.0.1

(And YES - the issue arises as well without adsuck!)

No matter if I connect to the router via dhcp (either dhcp up in
hostname.em0 or trunk0) or if I use an outright hostname.em0
(inet 192.168.178.31 255.255.255.0 NONE) after a few seconds trying to
GET or to UPdate cvs the connection is lost.

I use this system as my day2day-workhorse with a Fluxbox-based desktop.
Firefox, Thunderbird, libreoffice, gimp. Nothing fancy,
nothing to bother as the issue comes up already the console-level: The
moment I run 'cvs -q up -Pd' the system looses it's connection and I get
the note
ssh: connect to host ftp.hostserver.de port 22: No route to host
 cvs [update aborted]: end of file from server (consult above messages
if any)

 or
/usr/ports $ sudo cvs -q up -Pd
 cannot create_adm_p /tmp/cvs-serv32110/net/py-flowtools/pkg
 No space left on device

No space left on device - WTF???

~ $ df -h /
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0a  4.9G   66.9M4.6G 1%/
~ $ df -h /tmp
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0d  4.9G   18.0K4.7G 0%/tmp
~ $ df -h /var
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0e  9.8G258M9.1G 3%/var
~ $ df -h /usr
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0f 29.5G8.4G   19.6G30%/usr
~ $ df -h /home
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0g  397G   45.4G332G12%/home

pfctl -s states shows plenty of
all tcp 192.168.178.31:17141 - 217.31.80.35:80   TIME_WAIT:TIME_WAIT

(whois 217.31.80.35 tells that it is actually the mirror-site
ftp.hostserver.de)

routes for the default to gateway go up from 68 after start to 38700 at
the moment the connection is lost ('route show' at the very end of this
mail).

The hardware is unchanged, the network is doing fine with a windooze-box.

Below I provide the dmesg, pf.conf, output of sysctl -a, pfctl -s
all and route show from right after startup and from the moment the
connection is lost. (I am lost as well ... :-( in particular I'd like to
have my ports-tree up2date for ~current)

Can anybody help me, please?

TIA!

Cheers,
STEFAN




#
#
DMESG
#
#

OpenBSD 5.6-current (GENERIC.MP) #413: Sat Oct 11 15:59:03 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3203203072 (3054MB)
avail mem = 3109289984 (2965MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ETC9WW (2.09 ) date 12/22/2006
bios0: LENOVO 2007VG2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT SSDT
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4)
EXP1(S4) EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3)
HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1994.60 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
cpu0: 4MB 64b/line 16-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 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1994.33 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
cpu1: 4MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped 

Re: cvs kills connections

2014-10-12 Thread Nick Holland
On 10/12/14 07:43, Stefan Wollny wrote:
...
  The
 moment I run 'cvs -q up -Pd' the system looses it's connection and I get
 the note
 ssh: connect to host ftp.hostserver.de port 22: No route to host
  cvs [update aborted]: end of file from server (consult above messages
 if any)

that's pretty clear, isn't it?  The SSH connection is failing.
Troubleshoot it at that level, or even traceroute.  Don't complain about
CVS when the SSH transport is failing...and not sure I'd talk about SSH
when you have a no route to host message.

You've got some funky stuff in your pf.conf, including apparently
blocking your local subnet (which appears to be 192.168.178.0/??,
blocked with your broken table).  Shouldn't be a problem, but not sure
what your firewall/router and/or DHCP server will do with a machine that
doesn't appear to be there.

  or
 /usr/ports $ sudo cvs -q up -Pd
  cannot create_adm_p /tmp/cvs-serv32110/net/py-flowtools/pkg
  No space left on device
 
 No space left on device - WTF???

almost always means ...on the CVS server.  cvs has a nasty habit of
leaving trash laying around in the /tmp directory if someone aborts a
connection, and by trash, I mean hundreds of MB sometimes.  Also...cvs
is one of the few apps I've seen burn inodes faster than disk space --
if the anoncvs tmp directory is its own partition, it generally needs
more-than-normal number of inodes, and a nightly erasure of anything
older than say 24 hours.  Notify the anoncvs mirror administrator.

Nick.



Re: cvs kills connections

2014-10-12 Thread Stefan Wollny
Am 10/12/14 um 16:28 schrieb Nick Holland:
 On 10/12/14 07:43, Stefan Wollny wrote: ...
 The moment I run 'cvs -q up -Pd' the system looses it's
 connection and I get the note ssh: connect to host
 ftp.hostserver.de port 22: No route to host cvs [update aborted]:
 end of file from server (consult above messages if any)

 that's pretty clear, isn't it?  The SSH connection is failing.
 Troubleshoot it at that level, or even traceroute.  Don't complain
 about CVS when the SSH transport is failing...and not sure I'd talk
 about SSH when you have a no route to host message.


Hi Nick,

thanks for replying.

My guess on cvs is due to only when trying to update /usr/src,
/usr/ports and /usr/xenocara. Even though I usually use
ftp.hostserver.de for being the closest I have tried with others as
well: openbsd.cs.fau.de, ftp.bytemine.net and ftp.openbsd.org.

Moreover I can ssh into any other machine in my net without trouble -
even though I have to admit that I did so only to one
~current/i386-machine.

But of course I am interested in following your thoughts: What can I
do to investigate further? Or is this s.th. libressl-related that will
be cured in a few days with some of the next snapshots?


 You've got some funky stuff in your pf.conf, including apparently
 blocking your local subnet (which appears to be 192.168.178.0/??,
 blocked with your broken table).  Shouldn't be a problem, but not
 sure what your firewall/router and/or DHCP server will do with a
 machine that doesn't appear to be there.

I did not deliberately block my subnet, of course, as my subnet is not
part of the tabel blockes_zones (but 192.168.0.0 is).
But could this be a result fromn the following rule:
block in quick from { $broken urpf-failed no-route } to any

The moment the route is lost the block-rules matches - correct?

Otherwise may I ask you to give me an other clue on where my rules are
'suboptimal'?


 or /usr/ports $ sudo cvs -q up -Pd cannot create_adm_p
 /tmp/cvs-serv32110/net/py-flowtools/pkg No space left on device

 No space left on device - WTF???

 almost always means ...on the CVS server.  cvs has a nasty habit
 of leaving trash laying around in the /tmp directory if someone
 aborts a connection, and by trash, I mean hundreds of MB
 sometimes.  Also...cvs is one of the few apps I've seen burn inodes
 faster than disk space -- if the anoncvs tmp directory is its own
 partition, it generally needs more-than-normal number of inodes,
 and a nightly erasure of anything older than say 24 hours.  Notify
 the anoncvs mirror administrator.

 Nick.

Thanks - I will notify the admins, Sebastian Benoit and Florian Obser.

Cheers,
STEFAN



Re: Zenocara Intel Crestline Graphics

2014-10-12 Thread Raymond Lillard

On 10/12/2014 12:35 AM, Doug Hogan wrote:

On Sat, Oct 11, 2014 at 02:13:05PM -0700, Raymond Lillard wrote:

I have the opportunity to purchase a Dell laptop
with Intel Crestline Graphics hardware. Crestline
appears to be marketing speak for:

intel GM965/GMA X3100

Can someone advice me as to the likelihood of using
the h/w or will I be limitied to the framebuffer?


I think Crestline means the GMA X3100 core but not necessarily the
GM965.  According to Intel's ARK, it could be GM965, GME965, GL960 or
GLE960.  In practice, I don't think it will matter.
http://ark.intel.com/products/codename/2672/Crestline

One of my old laptops has a GM965 and it works fine in X.  It's a
Dell Inspiron 1525 that was advertised as having Crestline graphics.
The only problem that I've run into on the laptop is that
suspend/resume is flaky.


Thanks to Doug  Chris for the information.  It is good news.

The machine in question is a Latitude D830.  It has a T9500
processor (64-bit @2.6GHz), a 1920x1200 display and a
serial port. I should have possession of the machine in
about a week and will report my progress/results.

I hope to get accelerated graphics working so I can use it as
my personal workstation.  I have been using OBSD for infrastructure
since 3.0, and Linux for my daily driver desktop.  I have tried
moving my workstation to OBSD but always moved back because
I needed functionality only available on Linux.  I so very much
want to be done with Linux even though I have been using it
since 0.9* kernels.

If suspend/resume doesn't work, I can live with that.  I will
be chasing -current so maybe it can be sorted out if need be.
I'm looking forward to this.

Later,
Ray



Re: Zenocara Intel Crestline Graphics

2014-10-12 Thread Mike Larkin
On Sun, Oct 12, 2014 at 09:20:09AM -0700, Raymond Lillard wrote:
 On 10/12/2014 12:35 AM, Doug Hogan wrote:
 On Sat, Oct 11, 2014 at 02:13:05PM -0700, Raymond Lillard wrote:
 I have the opportunity to purchase a Dell laptop
 with Intel Crestline Graphics hardware. Crestline
 appears to be marketing speak for:
 
 intel GM965/GMA X3100
 
 Can someone advice me as to the likelihood of using
 the h/w or will I be limitied to the framebuffer?
 
 I think Crestline means the GMA X3100 core but not necessarily the
 GM965.  According to Intel's ARK, it could be GM965, GME965, GL960 or
 GLE960.  In practice, I don't think it will matter.
 http://ark.intel.com/products/codename/2672/Crestline
 
 One of my old laptops has a GM965 and it works fine in X.  It's a
 Dell Inspiron 1525 that was advertised as having Crestline graphics.
 The only problem that I've run into on the laptop is that
 suspend/resume is flaky.
 
 Thanks to Doug  Chris for the information.  It is good news.
 
 The machine in question is a Latitude D830.  It has a T9500
 processor (64-bit @2.6GHz), a 1920x1200 display and a
 serial port. I should have possession of the machine in
 about a week and will report my progress/results.
 
 I hope to get accelerated graphics working so I can use it as
 my personal workstation.  I have been using OBSD for infrastructure
 since 3.0, and Linux for my daily driver desktop.  I have tried
 moving my workstation to OBSD but always moved back because
 I needed functionality only available on Linux.  I so very much
 want to be done with Linux even though I have been using it
 since 0.9* kernels.
 
 If suspend/resume doesn't work, I can live with that.  I will
 be chasing -current so maybe it can be sorted out if need be.
 I'm looking forward to this.
 
 Later,
 Ray
 

zzz/ZZZ should work fine on the machine. I have a D820 here that I test on
pretty regularly and I think those machines are pretty close. Let me know
if otherwise.

-ml



Re: apm not having any effect on real watt usage

2014-10-12 Thread Juan Francisco Cantero Hurtado
On Sun, Oct 12, 2014 at 07:56:59AM -0400, Julian Andrej wrote:
 I'm using an amd64 snapshot from saturday.
 
 I measure power consumed by my desktop using a watt-meter.
 Before updating i could reduce watt usage with using 'apm -C'.
 Now there is NO difference regarding watt usage using either
 'apm -C' or 'apm -H' or disabling apm completely. The watt-meter
 always stays around the same number.

The code in charge of the cpu scaling was updated recently. Now
OpenBSD is so sensible that your CPU is almost always running at the
highest speed when firefox is running or you are using any modern
desktop :)

The change makes sense for a lot of type of workloads (like servers)
but desktops with inefficient software will waste a lot watts.

 
 dmesg is attached.
 OpenBSD 5.6-current (GENERIC.MP) #413: Sat Oct 11 15:59:03 MDT 2014
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 8257769472 (7875MB)
 avail mem = 8029241344 (7657MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xef370 (26 entries)
 bios0: vendor American Megatrends Inc. version P2.10 date 05/07/2012
 bios0: ASRock Z68 Pro3
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S1 S3 S4 S5
 acpi0: tables DSDT FACP APIC ASF! MCFG AAFT HPET SSDT SSDT SSDT BGRT
 acpi0: wakeup devices CIR_(S3) PS2K(S4) PS2M(S4) UAR1(S4) P0P1(S4) USB1(S3) 
 USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) USB7(S3) RP01(S4) RP02(S4) 
 RP03(S4) RP04(S4) [...]
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3093.41 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: smt 0, core 0, package 0
 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
 cpu0: apic clock running at 99MHz
 cpu1 at mainbus0: apid 2 (application processor)
 cpu1: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3092.97 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
 cpu1: 256KB 64b/line 8-way L2 cache
 cpu1: smt 0, core 1, package 0
 cpu2 at mainbus0: apid 4 (application processor)
 cpu2: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3092.97 MHz
 cpu2: 
 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
 cpu2: 256KB 64b/line 8-way L2 cache
 cpu2: smt 0, core 2, package 0
 cpu3 at mainbus0: apid 6 (application processor)
 cpu3: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3092.97 MHz
 cpu3: 
 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,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
 cpu3: 256KB 64b/line 8-way L2 cache
 cpu3: smt 0, core 3, package 0
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P1)
 acpiprt2 at acpi0: bus 1 (RP01)
 acpiprt3 at acpi0: bus -1 (RP02)
 acpiprt4 at acpi0: bus -1 (RP03)
 acpiprt5 at acpi0: bus -1 (RP04)
 acpiprt6 at acpi0: bus 2 (RP05)
 acpiprt7 at acpi0: bus 3 (PE2P)
 acpiprt8 at acpi0: bus 4 (RP06)
 acpiprt9 at acpi0: bus 5 (RP07)
 acpiprt10 at acpi0: bus -1 (RP08)
 acpiprt11 at acpi0: bus -1 (PEG0)
 acpiprt12 at acpi0: bus -1 (PEG1)
 acpiprt13 at acpi0: bus -1 (PEG2)
 acpiprt14 at acpi0: bus -1 (PEG3)
 acpiec0 at acpi0: not present
 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
 acpibat0 at acpi0: BAT0 not present
 acpibat1 at acpi0: BAT1 not present
 acpibat2 at acpi0: BAT2 not present
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: LID0
 acpivideo0 at acpi0: GFX0
 acpivout0 at acpivideo0: DD02
 cpu0: Enhanced SpeedStep 3093 MHz: speeds: 3101, 3100, 3000, 2900, 2800, 
 2700, 2600, 2500, 2300, 2200, 2100, 2000, 1900, 1800, 1700, 1600 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
 vga1 at pci0 dev 2 function 0 Intel HD Graphics 2000 rev 0x09
 intagp at vga1 not configured
 inteldrm0 at vga1
 drm0 at inteldrm0
 drm: Memory usable by graphics device = 2048M
 inteldrm0: 1920x1200
 wsdisplay0 at 

New hardware? Remember to send us your dmesg(8) and dumps!

2014-10-12 Thread Bryan Steele
If you have new hardware and would like to run OpenBSD on it, send in your
dmesgs and device dumps to dmesg@. Developers don't always have access to the
latest stuff, so it helps to know what works and what doesn't. Bug reports
go to the public bugs@ list.

Set $model to something specific, like the model of your machine. Also
check for typos below, mine or yours.

On OpenBSD (i386/amd64):
 $ sudo pkg_add usbutils
 $ mkdir $model; cd $model
 $ sudo acpidump -o $model
 $ for i in *; do b64encode $i $i  $model_dump.txt; done;
 $ dmesg  $model_dmesg.txt
 $ sudo pcidump -vxxx  $model_pcidump.txt
 $ sudo lsusb -v  $model_lsusb.txt

On Linux:
(..install pciutils usbutils sharutils acpidump)
 $ mkdir $model; cd $model
 $ sudo acpidump -o $model.hexdump
 $ acpixtract -a $model.hexdump  rm -f $model.hexdump
 $ dmesg  $model_lindmesg.txt
 $ for i in *; do uuencode -m $i $model.$i  $model_dump.txt; done;
 $ sudo lspci -vvxxx  $model_lspci.txt
 $ sudo lsusb -v  $model_lsusb.txt

Mail the resulting text files and your dmesg uncompressed and inline. A
descriptive subject with a few words in the message body are appreciated.

If you're in a position to donate, developers are always looking for
various things, including replacement laptops. Which helps to get
unsupported hardware into the hands of someone capable of fixing it.

http://www.openbsd.org/want.html
http://www.openbsd.org/donations.html

:-)

-Bryan.



Re: kernel problem?

2014-10-12 Thread Philip Guenther
On Sun, Oct 12, 2014 at 10:51 AM, ferto ferto fert...@yandex.com wrote:
 I have a small box ( GENERIC i386 5.2) which acts as a mail server and it was 
 running fine since quite some time now. Since few days, the machine gets 
 unresponsive and a  cold restart is needed. The console doesn't display any 
 error message, except, when I was running a gtar command, following messages 
 appeared on the screen:

 uvm_fault(0xd932704,0x0,0,3) -e
 kernel: page fault trap, code=0
 stopped at mi_switch+0x6d:movl %edx,0xffec(%ebp)
 ddb

 please notice that the the screen freezes and the keyboard becomes 
 unresponsive. A cold restart is needed.

There have been some improvements and fixes since 5.2; you're long
past the time to upgrade.


Philip Guenther



kernel problem?

2014-10-12 Thread ferto ferto
Dear group,

I have a small box ( GENERIC i386 5.2) which acts as a mail server and it was 
running fine since quite some time now. Since few days, the machine gets 
unresponsive and a  cold restart is needed. The console doesn't display any 
error message, except, when I was running a gtar command, following messages 
appeared on the screen:

uvm_fault(0xd932704,0x0,0,3) -e
kernel: page fault trap, code=0
stopped at mi_switch+0x6d:movl %edx,0xffec(%ebp)
ddb

please notice that the the screen freezes and the keyboard becomes 
unresponsive. A cold restart is needed.

Thank you for your help.



Keyboard through IPMI lag/skipping keys

2014-10-12 Thread Justin Winch
I have a very irritating problem with the keyboard lag through IPMI on a
supermicro X9DRT.  If i install centos I do not have the lag/missed keystrokes
and also I do not have this problem with any of my other hardware running
openbsd.  Some keystrokes dont get logged others are logged twice.

System--
http://www.supermicro.com/products/system/2U/6027/SYS-6027TR-DTRF.cfm
dmesg --
http://img.photobucket.com/albums/v641/2muchricemakesmesick/dmesgmaster.png~o
riginal

Can someone please tell me how I can fix this?  It pretty much makes the
system useless.

Thanks in advance



Re: Keyboard through IPMI lag/skipping keys

2014-10-12 Thread mxb
Tried upgrade to a newer IPMI firmware?


 On 13 okt 2014, at 02:11, Justin Winch flas...@hotmail.com wrote:
 
 I have a very irritating problem with the keyboard lag through IPMI on a
 supermicro X9DRT.  If i install centos I do not have the lag/missed keystrokes
 and also I do not have this problem with any of my other hardware running
 openbsd.  Some keystrokes dont get logged others are logged twice.
 
 System--
 http://www.supermicro.com/products/system/2U/6027/SYS-6027TR-DTRF.cfm
 dmesg --
 http://img.photobucket.com/albums/v641/2muchricemakesmesick/dmesgmaster.png~o
 riginal
 
 Can someone please tell me how I can fix this?  It pretty much makes the
 system useless.
 
 Thanks in advance