Re: Why openbsd use only 2 of my 4 CPU ?

2018-07-25 Thread Callum Davies

On 25/07/2018 19:01, vincent delft wrote:
Hello,  > > I've migrated to -current to test the auto-join, but since then, 
my > system is slow. Specially with libreoffice, firefox, ... > > By 
looking at top, I've saw that only 2 CPU are actually running. > > 
(Should I say that with OpenBSD-6.3 this was not the case.) > > What can 
I do ? In which direction could I search for a solution ? > > [snip]

SMT was disabled in current about a month ago for speculative security
reasons. You can turn it back on using the sysctl hw.smt.  Refer to the
commit message for revision 1.178 of src/sys/sys/sysctl.h for more
details and rationale.



Add Bay Trail EHCI controller to pcidevs

2015-12-06 Thread Callum Davies
Doesn't work, but at least it makes the dmesg look better.

Index: sys/dev/pci/pcidevs
===
RCS file: /cvs/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1780
diff -u -p -u -r1.1780 pcidevs
--- sys/dev/pci/pcidevs 28 Nov 2015 14:11:33 -  1.1780
+++ sys/dev/pci/pcidevs 6 Dec 2015 20:38:06 -
@@ -3102,6 +3102,7 @@ product INTEL BAYTRAIL_LPA0x0f28  Bay Tr
 product INTEL BAYTRAIL_IGD_1   0x0f31  Bay Trail Video
 product INTEL BAYTRAIL_IGD_2   0x0f32  Bay Trail Video
 product INTEL BAYTRAIL_IGD_3   0x0f33  Bay Trail Video
+product INTEL BAYTRAIL_EHCI0x0f34  Bay Trail EHCI
 product INTEL BAYTRAIL_XHCI0x0f35  Bay Trail xHCI
 product INTEL BAYTRAIL_82370x0f40  Bay Trail I2C DMA
 product INTEL BAYTRAIL_I2C_1   0x0f41  Bay Trail I2C



Re: Failure to boot install media using bootia32.efi

2015-12-02 Thread Callum Davies
On 2 December 2015 at 12:11, YASUOKA Masahiko <yasu...@openbsd.org> wrote:
> On Tue, 1 Dec 2015 20:41:15 +
> Callum Davies <calrog...@gmail.com> wrote:
>> I have two "devices" using IA32 UEFI firmware with 64-bit
>> hardware.  An Asus EeeBook X502TA and qemu-system-x86_64 with
>> an IA32 TianoCore firmware.  Neither of these will boot from
>> snapshots/amd64/install58.fs.
>>
>> Attempting to run bootia32.efi from the UEFI shell of the qemu system
>> simply tells me "Command Error Status: Not Found".
>>
>> The EeeBook is deficient, and doesn't provide an UEFI shell, but I
>> suspect it fails for the same reason.
>
> Fixed some issues on ia32 on the CVS tree.  Can you try that by
> replacing BOOTIA32.EFI in install58.fs?

Happy to report that the EeeBook boots bsd.rd with these changes; thank you!

Less happy to report that the keyboard is unresponsive after the kernel is
booted.  Here are dmesgs for a boot with the EHCI controller enabled,and one
with the XHCI controller enabled.

Boot stuff:
probing pc0 mem[572K 56K 511M 1469M 2M]
disk: hd0 hd1* hd2* hd3*
>> OpenBSD/amd64 EFIBOOT 3.29
boot>
cannot open hd0a:/etc/random.seed: No such file or directory
booting hd0a:/5.8/amd64/bsd.rd: 3264684+1395280+2409472+0+569344 [72+365040+2380
95]=0x7de6c8
entry point at 0xf000160 [7205c766, 3404, 24448b12, 1680a304]

===EHCI===:
kbc: cmd word write error
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All right reserved.
Copyright (c) 1995-2015 OpenBSD. All right reserved.  http://www.OpenBSD.org

OpenBSD 5.8-current (RAMDISK_CD) #1529: Mon Nov 30 14:08:11 MST 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
RTC BIOS diagnostic error 3f<config_unit,memory_size,fixed_disk,invalid_time>
real mem = 2863134720 (1967MB)
avail mem = 1998950400 (1986MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7c31a010 (16 entries)
bios0: vendor American Megatrends Inc. version "X205TA.208" date 12/18/2014
bios0: ASUSTeK COMPUTER INC. X205TA
acpi0 at bios0: rev 2, ACPI contl unavailable
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz, 1333.50 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCE,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE
,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu0: 1MB 64b/line 16-way L2 cache
cpu0: mwait min=64 max=64 C-substates=0.2.0.0.0.0.3.3, IBE
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Bay Trail Host" rev 0x0f
"Intel Bay Trail Video" rev 0x0f at pci0 dev 2 function 0 not configured
"Intel Bay Trail TXE" rev 0x0f at pci0 dev 26 function 0 not configured
ehci0 at pci0 dev 29 function 0 vendor "Intel", unknown product 0x0f34 rev 0x0f:
couldn't map interrupt
"Intel Bay Trail LPC" rev 0x0f at pci0 dev 31 function 0 not configured
isa0 at mainbus0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
efifb0 at mainbus0
wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation)
softraid0 at root
scsibus0 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b

===XHCI===:
kbc: cmd word write error
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All right reserved.
Copyright (c) 1995-2015 OpenBSD. All right reserved.  http://www.OpenBSD.org

OpenBSD 5.8-current (RAMDISK_CD) #1529: Mon Nov 30 14:08:11 MST 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
RTC BIOS diagnostic error 3f<config_unit,memory_size,fixed_disk,invalid_time>
real mem = 2863134720 (1967MB)
avail mem = 1998950400 (1986MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7c31a010 (16 entries)
bios0: vendor American Megatrends Inc. version "X205TA.208" date 12/18/2014
bios0: ASUSTeK COMPUTER INC. X205TA
acpi0 at bios0: rev 2, ACPI contl unavailable
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz, 1333.58 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCE,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE
,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT
cpu0: 1MB 64b/line 16-way L2 cache
cpu0: mwait min=64 max=64 C-substates=0.2.0.0.0.0.3.3, IBE
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Bay Trail Host" rev 0x0f
"Intel Bay Trail Video" rev 0x0f at pci0 dev 2 function 0 not configured
xhci0 at pci0 dev 20 function 0 "Intel Bay Trail xHCI" rev 0x0f: couldn't map in
terrupt
"Intel Bay Trail TXE" rev 0x0f at pci0 dev 26 function 0 not confi

Failure to boot install media using bootia32.efi

2015-12-01 Thread Callum Davies
I have two "devices" using IA32 UEFI firmware with 64-bit
hardware.  An Asus EeeBook X502TA and qemu-system-x86_64 with
an IA32 TianoCore firmware.  Neither of these will boot from
snapshots/amd64/install58.fs.

Attempting to run bootia32.efi from the UEFI shell of the qemu system
simply tells me "Command Error Status: Not Found".

The EeeBook is deficient, and doesn't provide an UEFI shell, but I
suspect it fails for the same reason.



Re: X or cwm got slower

2013-06-25 Thread Callum Davies

On 25/06/2013 08:58, Philip Guenther wrote

I'm no X hacker, but I think the 'nv' driver was affected by Xorg
removing the XAA acceleration framework from the core server.  It was
an evolutionary dead-end, apparently, so don't expect X-server-side
acceleration to be coming back like that; client side, direct
rendering is the path forward.  The reasons for *not* buying NVIDIA
have gotten even stronger.

I'm also not an X hacker but nv should use EXA since ~2007?