Re: pkg_add multiple package install weird output

2021-07-07 Thread Mihai Popescu
I have another instance of this, maybe someone can look if it really is of
interest. Somehow, the current package name is messed up.

geda-0.1p1:gerbv-2.7.0p0: 184/194
geda-0.1p1:tcl-8.5.19p4: 185/199
geda-0.1p1:tk-8.5.19p1: 186/199
geda-0.1p1:gtkglext-1.2.0.20191219: 187/199
geda-0.1p1:gd-2.3.2: 188/199
geda-0.1p1:libsigsegv-2.12: 189/200
geda-0.1p1:m4-1.4.18p1: 190/200
geda-0.1p1:pcb-4.3.0v0: 191/200
geda-0.1p1:gnucap-0.35p9: 192/200
geda-0.1p1:iverilog-11.0p0: 193/200
geda-0.1p1:gtkwave-3.3.108: 194/200
geda-0.1p1:slib-3b4p0: 195/202
geda-0.1p1:guile-1.8.8p9: 196/202
geda-0.1p1:geda-gaf-1.6.0p21: 197/202
geda-0.1p1:ngspice-31: 198/202
geda-0.1p1: 199/202
qucs-s-0.0.22p0:qt4-4.8.7p25: 200/203
qucs-s-0.0.22p0: 201/203
avr-0.1p0:avr-binutils-2.30: 202/209
avr-0.1p0:libmpc-1.1.0: 203/210
avr-0.1p0:avr-gcc-5.4.0p3: 204/210
avr-0.1p0:avr-libc-2.0.0: 205/210
avr-0.1p0:libconfuse-3.2.2: 206/214
avr-0.1p0:libusb1-1.0.23p2: 207/214
avr-0.1p0:libftdi1-1.5: 208/214
avr-0.1p0:libusb-compat-0.1.5p0: 209/214
avr-0.1p0:avrdude-6.3: 210/214
avr-0.1p0:arduino-1.8.10v0: 211/214
avr-0.1p0:avr-gdb-6.8p10: 212/214
geda-0.1p1:simulavr-0.1.2.7p0: 213/214
^^^ here is invoked another package name
avr-0.1p0: 213/214

Old post included:

>
Hello,

I use to run pkg_add with multiple package names, something like:

pkg_add -vV gimp libreoffice geeqie audacity inkscape vlc mupdf

I am sure gimp is ahead of vlc in the command line. I saw something strange
in output:
[ ... ]
gimp-2.10.22p1:aalib-1.4p7: 63/78
gimp-2.10.22p1:OpenEXR-2.5.4: 64/78
gimp-2.10.22p1:py3-cairo-1.20.0p0: 65/81
gimp-2.10.22p1:py3-gobject3-3.38.0p1: 66/81
gimp-2.10.22p1:exiv2-0.27.2v0: 67/81
gimp-2.10.22p1:libgexiv2-0.12.1p2: 68/81
gimp-2.10.22p1: 69/81
^ < gimp finish
 [ ... ]
inkscape-1.0.1p0:aspell-0.60.6.1p10: 151/160
inkscape-1.0.1p0:liberation-fonts-2.00.1p1: 152/160
inkscape-1.0.1p0:potrace-1.16: 153/160
inkscape-1.0.1p0:double-conversion-3.1.5: 154/160
inkscape-1.0.1p0:gcc-libs-8.4.0p1: 155/164
inkscape-1.0.1p0:blas-3.8.0p0: 156/164
inkscape-1.0.1p0:lapack-3.8.0p1: 157/164
inkscape-1.0.1p0:cblas-1.0p7: 158/164
inkscape-1.0.1p0:py3-numpy-1.16.5p1: 159/164
inkscape-1.0.1p0: 160/164
vlc-3.0.11.1p0:libcddb-1.3.2p0: 161/184
vlc-3.0.11.1p0:sdl-1.2.15p10: 162/184
vlc-3.0.11.1p0:libtar-1.2.20: 163/184
vlc-3.0.11.1p0:libnfs-4.0.0: 164/184
vlc-3.0.11.1p0:libebml-1.4.0: 165/184
vlc-3.0.11.1p0:libdvdcss-1.4.2p1: 166/185
vlc-3.0.11.1p0:libdvdread-6.1.1: 167/185
vlc-3.0.11.1p0:dbus-glib-0.110p1v0: 168/189
vlc-3.0.11.1p0:geoclue-0.12.99p9: 169/189
vlc-3.0.11.1p0:libxkbcommon-1.0.3: 170/189
vlc-3.0.11.1p0:pcre2-10.35: 171/189
gimp-2.10.22p1:iodbc-3.52.12p1: 172/189
^
vlc-3.0.11.1p0:qtbase-5.13.2p0: 172/189
vlc-3.0.11.1p0:qtsvg-5.13.2: 173/189
vlc-3.0.11.1p0:libsmb2-3.0.0: 174/189
vlc-3.0.11.1p0:libdvdnav-6.1.0v0: 175/189
vlc-3.0.11.1p0:libplacebo-2.72.2: 176/189
vlc-3.0.11.1p0:qtx11extras-5.13.2: 177/189
vlc-3.0.11.1p0:libdvbpsi-1.3.3: 178/189
vlc-3.0.11.1p0:libb2-0.98.1v0: 179/190
vlc-3.0.11.1p0:libarchive-3.5.1: 180/190
vlc-3.0.11.1p0:sdl-image-1.2.12p4: 181/190
vlc-3.0.11.1p0:libbluray-1.2.1: 182/190
vlc-3.0.11.1p0:libidn-1.36: 183/190
vlc-3.0.11.1p0:protobuf-3.13.0: 184/190
vlc-3.0.11.1p0:taglib-1.11.1p3: 185/190
vlc-3.0.11.1p0:libmatroska-1.6.2: 186/190
vlc-3.0.11.1p0: 187/190
[ ... ]

Long after gimp install finish, there is an entry about gimp in the middle
of vlc install. Is this fine?
<


Re: snapshot miniroot69.img not bootable anymore

2021-07-04 Thread Mihai Popescu
Update: the issue was solved by one of the developers. It looks like the
wrong partition was marked active on the USB stick, partition zero instead
of 3. It can be done manually with fdisk.
And yes, the non-EFI boot is affected only.

All the actions was fast. Thank you.


Re: snapshot miniroot69.img not bootable anymore

2021-07-04 Thread Mihai Popescu
I tried another USB disk with newer snapshots, same problem, the image does
not boot

Using drive 0, partition 0

Nos-system disk
Press any key to reboot.

Is it something changed?

Thanks


snapshot miniroot69.img not bootable anymore

2021-06-29 Thread Mihai Popescu
Hello,

I was using miniroot69.img to create an USB bootable stick using the FAQ
method:
dd if=miniroot69.img of=/dev/rsd1c bs=1m

When I boot, using this USB stick i get this:
Using drive 0, partition 0

Nos-system disk
Press any key to reboot.

I tried another USB stick, same problem. Old images are able to boot.

Build date: 1624861129 - Mon Jun 28 06:18:49 UTC 2021 for the troublesome
image.

OpenBSD 6.9-current (GENERIC.MP) #95: Mon Jun 28 00:10:20 MDT 2021
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8029429760 (7657MB)
avail mem = 7770615808 (7410MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeebc0 (57 entries)
bios0: vendor LENOVO version "9VKT33AUS" date 09/11/2013
bios0: LENOVO 1990RZ2
acpi0 at bios0: ACPI 4.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC TCPA MCFG SLIC MCFG HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4)
PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) P0PC(S4) PE20(S4) PE21(S4)
PE22(S4) PE23(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) II X2 B26 Processor, 3194.58 MHz, 10-06-03
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully
associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully
associative
cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) II X2 B26 Processor, 3192.02 MHz, 10-06-03
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully
associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully
associative
cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 3 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, bus 0-255
acpimcfg1 at acpi0
acpimcfg1: addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus -1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE9)
acpiprt9 at acpi0: bus -1 (PCEA)
acpiprt10 at acpi0: bus 2 (P0PC)
acpiprt11 at acpi0: bus 3 (PE20)
acpiprt12 at acpi0: bus -1 (PE21)
acpiprt13 at acpi0: bus -1 (PE22)
acpiprt14 at acpi0: bus 4 (PE23)
acpipci0 at acpi0 PCI0
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
cpu0: 3194 MHz: speeds: 3200 2500 1900 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD RS880 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 vendor "Lenovo", unknown product 0x9602 rev
0x00
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 4250" rev 0x00
drm0 at radeondrm0
radeondrm0: apic 3 int 18
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 3 int 19,
AHCI 1.2
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: 
naa.50014ee1018094dc
sd0: 305245MB, 512 bytes/sector, 625142448 sectors
cd0 at scsibus1 targ 1 lun 0:  removable
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 3 int 18,
version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 3 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00
addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 3 int 18,
version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 3 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00
addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: SMI
iic0 at piixpm0
spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x53: 4GB DDR3 SDRAM PC3-10600
azalia0 at pci0 dev 20 

snapshot odds: mail for root and xenodm

2021-03-25 Thread Mihai Popescu
Hello,

I just installed an amd64 snapshot and spotted 2 odd things. I see there is
a mail for root, but when i run mail command i get the text No mail for
root.
The other is I login in xenodm to use cwm for the fisrt time after install
and the xenodm is restarted. Second login and future logins are fine.

xenodm.log

xenodm info (pid 4448): Starting
xenodm info (pid 4448): Starting X server on :0

X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 6.9 amd64
Current Operating System: OpenBSD thinkc.my.domain 6.9 GENERIC.MP#428 amd64
Build Date: 24 March 2021  11:38:20AM

Current version of pixman: 0.38.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar 25 20:37:02 2021
(==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
xenodm info (pid 35358): consolePath: ttyC4
xenodm info (pid 35358): sourcing /etc/X11/xenodm/Xsetup_0
xenodm info (pid 35358): sourcing /etc/X11/xenodm/GiveConsole
xenodm error (pid 13087): can't lock authorization file
/home/umihp/.Xauthority
xenodm info (pid 13087): executing session /etc/X11/xenodm/Xsession
xenodm info (pid 35358): sourcing /etc/X11/xenodm/TakeConsole
xenodm info (pid 4448): Starting X server on :0
xenodm info (pid 98067): consolePath: ttyC4
xenodm info (pid 98067): sourcing /etc/X11/xenodm/Xsetup_0
xenodm info (pid 98067): sourcing /etc/X11/xenodm/GiveConsole
xenodm info (pid 32210): executing session /etc/X11/xenodm/Xsession


Window Manager performance impact on applications

2021-03-03 Thread Mihai Popescu
Hello,

Technically speaking, is it possible for a window manager to have a
performance impact on running applications in the GUI area?

Real case: i had to run firefox very fast on a fresh snapshot install, so i
used the default fvwm instead of cwm. The graphical response is instant,
much much better than cwm. I tried twm, firefox was slow moving too. The
configuration for firefox is the same on all WM.
Is it possible, or is it my imagination?

If that's the case, is it advisable to run fvwm from base? Is it too old
and should be avoided?

Thank you/


Re: baresip-gtk

2021-02-24 Thread Mihai Popescu
> How do you use baresip-gtk?

If I recall correctly, all you get is an icon in the system tray bar if you
have one. You can click there and get a not very rich GUI.


DHCP client always no lease message but got IP

2021-02-19 Thread Mihai Popescu
Hello,

Most recent snaphots. amd64, DHCP client for interface is always displaying
no lease . sleeping. It actually gets the IP address, but this message
is always there. I tried with more routers, same thing.

Thanks


Re: auto-boot

2021-01-25 Thread Mihai Popescu
That short with a metallic wire was just for quick check. It is not
recommended for prolonged usage! It will block any communication on the
RS232 cable. For future usage you still need a resistor.


Re: FDE disk setup instructions are misleading when installing from USB

2021-01-24 Thread Mihai Popescu
> I am therefore extremely grateful to Cullum Smith and the other "OpenBSD
on a
> laptop" howtos for making it feasible to get this far.

Go get grateful on that blog's address and stop spamming here, please.
Your point is totally wrong. Totally!


Re: auto-boot

2021-01-21 Thread Mihai Popescu
Correction: pin 3 and pin 5 must be connected.


Re: auto-boot

2021-01-21 Thread Mihai Popescu
 [ ... ]

That serial port is a plug (male connector), so not so easy to put
resistors on it.
Plug the null modem cable in it, so you will get a socket (female
connector) on the other. Grab the socket from the other end, and stick a
plain metallic wire in pin 5 (GND) and 2 (RXD). Then check your boot
sequence. No need for solder, adapters, rocket science schematics, etc.
I doubt very much the noise is the problem, but it will not hurt to check.

One can check the control pins of serial in code, so you need to be sure
the bootcode doesn't check for some assert/deassert control lines. I
remember about a serial connection between 2 OpenBSD machines that refused
to work with RX, TX and GND only, I had to do a _proper_ null modem cable.


pkg_add multiple package install weird output

2021-01-18 Thread Mihai Popescu
Hello,

I use to run pkg_add with multiple package names, something like:

pkg_add -vV gimp libreoffice geeqie audacity inkscape vlc mupdf

I am sure gimp is ahead of vlc in the command line. I saw something strange
in output:
[ ... ]
gimp-2.10.22p1:aalib-1.4p7: 63/78
gimp-2.10.22p1:OpenEXR-2.5.4: 64/78
gimp-2.10.22p1:py3-cairo-1.20.0p0: 65/81
gimp-2.10.22p1:py3-gobject3-3.38.0p1: 66/81
gimp-2.10.22p1:exiv2-0.27.2v0: 67/81
gimp-2.10.22p1:libgexiv2-0.12.1p2: 68/81
gimp-2.10.22p1: 69/81
^ < gimp finish
 [ ... ]
inkscape-1.0.1p0:aspell-0.60.6.1p10: 151/160
inkscape-1.0.1p0:liberation-fonts-2.00.1p1: 152/160
inkscape-1.0.1p0:potrace-1.16: 153/160
inkscape-1.0.1p0:double-conversion-3.1.5: 154/160
inkscape-1.0.1p0:gcc-libs-8.4.0p1: 155/164
inkscape-1.0.1p0:blas-3.8.0p0: 156/164
inkscape-1.0.1p0:lapack-3.8.0p1: 157/164
inkscape-1.0.1p0:cblas-1.0p7: 158/164
inkscape-1.0.1p0:py3-numpy-1.16.5p1: 159/164
inkscape-1.0.1p0: 160/164
vlc-3.0.11.1p0:libcddb-1.3.2p0: 161/184
vlc-3.0.11.1p0:sdl-1.2.15p10: 162/184
vlc-3.0.11.1p0:libtar-1.2.20: 163/184
vlc-3.0.11.1p0:libnfs-4.0.0: 164/184
vlc-3.0.11.1p0:libebml-1.4.0: 165/184
vlc-3.0.11.1p0:libdvdcss-1.4.2p1: 166/185
vlc-3.0.11.1p0:libdvdread-6.1.1: 167/185
vlc-3.0.11.1p0:dbus-glib-0.110p1v0: 168/189
vlc-3.0.11.1p0:geoclue-0.12.99p9: 169/189
vlc-3.0.11.1p0:libxkbcommon-1.0.3: 170/189
vlc-3.0.11.1p0:pcre2-10.35: 171/189
gimp-2.10.22p1:iodbc-3.52.12p1: 172/189
^
vlc-3.0.11.1p0:qtbase-5.13.2p0: 172/189
vlc-3.0.11.1p0:qtsvg-5.13.2: 173/189
vlc-3.0.11.1p0:libsmb2-3.0.0: 174/189
vlc-3.0.11.1p0:libdvdnav-6.1.0v0: 175/189
vlc-3.0.11.1p0:libplacebo-2.72.2: 176/189
vlc-3.0.11.1p0:qtx11extras-5.13.2: 177/189
vlc-3.0.11.1p0:libdvbpsi-1.3.3: 178/189
vlc-3.0.11.1p0:libb2-0.98.1v0: 179/190
vlc-3.0.11.1p0:libarchive-3.5.1: 180/190
vlc-3.0.11.1p0:sdl-image-1.2.12p4: 181/190
vlc-3.0.11.1p0:libbluray-1.2.1: 182/190
vlc-3.0.11.1p0:libidn-1.36: 183/190
vlc-3.0.11.1p0:protobuf-3.13.0: 184/190
vlc-3.0.11.1p0:taglib-1.11.1p3: 185/190
vlc-3.0.11.1p0:libmatroska-1.6.2: 186/190
vlc-3.0.11.1p0: 187/190
[ ... ]

Long after gimp install finish, there is an entry about gimp in the middle
of vlc install. Is this fine?


snapshot kernel panic related to radeondrm missing firmware

2021-01-12 Thread Mihai Popescu
I took the chance and installed from a recent snapshot - 12.01.2021. I got
a kernel panic at first boot after install, related to missing firmware for
radeondrm.
I disabled the radeondrm then the boot process was fine and I installed
radeondrm firmware by hand. At the next boot everything was fine again.

My question: is this known, maybe related to the recent changes in compiler
stuff?
The short message is panic: vfree, non vmalloced addr 0x0. My keyboard is
not responsive, so if the info is necessary, then i need to use another
computer to capture all on serial.
Is it needed? Should i be patient for the next snapshot? Last good known
snapshot kernel was 03.01.2021.


Thank you.


Re: -current amd64 packages not updated? Impatient or broken?

2021-01-10 Thread Mihai Popescu
> While at it, link /bin/ls to /bin/rm

An Apple fanboy trying to look 1337 in a linux style on an OpenBSD mailing list.
Impressive not.


Re: phonetics on OpenBSD: IPA transcription

2021-01-08 Thread Mihai Popescu
> I mostly use macOS for that now [...]

I think it's better to stay on that system only, and avoid spamming misc
with your cross-breeding experiments. Seriously now.


Re: -current amd64 packages not updated? Impatient or broken?

2021-01-07 Thread Mihai Popescu
I was in the same situation, impatient to have a 2021 snapshot.

Dirty hint: the .hk mirror still has the base part from 2020! But try it as
a last option, the folks there are not so bandwidth fortunate. After
installing the base, please switch /etc/installurl to something more
suitable as distance and bandwidth.

Warning: I am not sure you will not finish with a Frankenstein system. I am
not so good with compiler-linker stuff.


Re: RISC-V and OpenBSD

2020-12-09 Thread Mihai Popescu
On Wed, Dec 9, 2020 at 8:21 PM Theo de Raadt  wrote:

> Mihai Popescu  wrote:
>
> > On Wed, Dec 9, 2020 at 7:57 PM Claudio Jeker 
> > wrote:
> >
> > > On Wed, Dec 09, 2020 at 05:30:48PM +0200, Mihai Popescu wrote:
> > > > Would it be interesting from the OpenBSD point of view [1] ?
> > > >
> > > > [1] http://www.micromagic.com/news/RISCv-Fastest_PR.pdf
> > >
> > > No, this is just PR. We need HW to run on.
> > >
> > > --
> > > :wq Claudio
> > >
> >
> > Of course. Some say Odroid is providing the board for the test [2].
> Sounds
> > interesting.
> >
> > [2]
> >
> https://www.eetimes.com/micro-magic-risc-v-core-claims-to-beat-apple-m1-and-arm-cortex-a9/
>
> I'm not sure what your point is.
>

Just wanted to see if RISC-V architecture is attractive for OpenBSD
development. It's open and it is from Berkeley.


>
> URLs and PDFs don't help the software development process.
>
> PDF isn't turing complete, so you can't write a cpu emulator in it.
>
> Did you really think I was thinking one can write a cpu emulator in a pdf?

Press releases are not helpful.  Only hardware in-hand helps.
>
Of course.

Thanks.


Re: RISC-V and OpenBSD

2020-12-09 Thread Mihai Popescu
On Wed, Dec 9, 2020 at 7:57 PM Claudio Jeker 
wrote:

> On Wed, Dec 09, 2020 at 05:30:48PM +0200, Mihai Popescu wrote:
> > Would it be interesting from the OpenBSD point of view [1] ?
> >
> > [1] http://www.micromagic.com/news/RISCv-Fastest_PR.pdf
>
> No, this is just PR. We need HW to run on.
>
> --
> :wq Claudio
>

Of course. Some say Odroid is providing the board for the test [2]. Sounds
interesting.

[2]
https://www.eetimes.com/micro-magic-risc-v-core-claims-to-beat-apple-m1-and-arm-cortex-a9/


RISC-V and OpenBSD

2020-12-09 Thread Mihai Popescu
Would it be interesting from the OpenBSD point of view [1] ?

[1] http://www.micromagic.com/news/RISCv-Fastest_PR.pdf


Re: OpenBSD on Raspberry Pi 4

2020-12-04 Thread Mihai Popescu
> I've managed to [...]

Others too. Try to read a...@openbsd.org or arm-openbsd on MARC [1].

[1] https://marc.info/?l=openbsd-arm


Re: PayPal pool for developer M1 Mac mini for OpenBSD port

2020-12-02 Thread Mihai Popescu
I have only good wishes for the project, but I still don't get one thing:
why do some people start to behave oddly whenever Apple comes into
discussion.
They are doing a proprietary thing, closed as hell, no documentation and so
on. Why is this impulse to write code for such a thing. Just asking ...


Re: sndiod -F does not switch to device

2020-11-22 Thread Mihai Popescu
https://marc.info/?l=openbsd-misc=158436621701274=2


Re: [SPAM] Re: APU4 hardware network interfaces tied together

2020-11-17 Thread Mihai Popescu
> The combination of the computer and switch together can be considered a
router.

I have Mikrotik hAP ac2 in test for a few days. That is exactly something
like this, 4 cores ARM for routing, switch attached for vlan'ed interfaces,
plus wifi. And it is a real charm as performance and price. But it does not
run OpenBSD and I miss the simplity of it mostly. This is how I was able to
see the big difference compared to ISP router.

I already have a Netgear managed switch around here, with VLAN
capabilities. I think I will go for RPi4. Mark K. told me on arm@ that it
lacks storage and hardware acceleration for crypto used in ipsec and maybe
VPN, but I will not use it. I use only pppoe as a hardware challenger.

Did you run RPi4 in this scenario, is there good throughput, please? What
do you use as storage?

Thank you.


Re: Multiple USB NICs

2020-11-17 Thread Mihai Popescu
Lee Nelson  wrote:

> If I have multiple USB Ethernet adapters of identical make and model,
> how does OpenBSD distinguish them over time.

Is this happening to APU with same hardware interfaces, too?


vmm-* missing from http://firmware.openbsd.org/firmware/snapshots/

2020-11-16 Thread Mihai Popescu
Recent snapshot install for amd64, first run reports the missing package
from firmware.


Re: APU4 hardware network interfaces tied together

2020-11-16 Thread Mihai Popescu
> bridge(4), and add a vether ...

Reading thru man pages I see there are other options: switch, aggr, trunk,
etc.
I barely understand these, since IP is an ugly business.
My intention is to replace ISP router with something based on OpenBSD I can
configure myself. I see now that APU4 is too much, I am inclined to try
RPi4 with an USB network interface. If anyone has any other suggestion,
please email me directly to ease the list.

Thank you all.


Re: Wrong net in vlan

2020-11-15 Thread Mihai Popescu
> What is wrong here?

You show info about vlans then suddenly complain about non working dhcpd.
Hint: show some dhcpd configs.


APU4 hardware network interfaces tied together

2020-11-15 Thread Mihai Popescu
Hello,

In the scenario of building a router with APU4, one interface is for wan,
the rest of three are free to use.
What is the most sane and performance wise ( CPU load, interface load,
etc.) way to tie together the remaining three interfaces as a switch, and
avoid using one IP class per interface?
Is it better to use one for lan, leave the remaining two unused and cascade
a dumb switch for other lan connections?

Thank you.


Re: memory usage at a given time

2020-11-14 Thread Mihai Popescu
On Sat, Nov 14, 2020 at 12:30 PM Otto Moerbeek  wrote:

> On Sat, Nov 14, 2020 at 12:21:30PM +0200, Mihai Popescu wrote:
>
> [ .. ]
> > CPU0: 22.4% user,  0.0% nice,  3.8% sys,  0.6% spin,  0.6% intr, 72.7%
> idle
> > CPU1: 21.2% user,  0.0% nice,  3.0% sys,  0.2% spin,  0.0% intr, 75.6%
> idle
> > Memory: Real: 1235M/2914M act/tot Free: 4505M Cache: 1054M Swap: 0K/7913M
>
> Cutting some corners, but the basics go like this:
>
> Currently, no swap is used.
>
> You see 4505G is free. Roughly you can use that amount more. If free
> becomes low, cache will be reduced and/or pages swapped out, making
> more pages free so they can become used and part of tot.
>
> tot + free + cache should add up to available RAM (which is a bit less
> than what you have in the machine, since the kernel also needs to fit
> somewhere and uses memory of its own).
>
> -Otto
>
>
Here is my confusion.
tot + free + cache would be:
2914M + 4505M + 1054M = 8473M

dmesg shows me this:
real mem = 8029429760 (7657MB)
avail mem = 7770787840 (7410MB)
here should be the memory for the integrated video card:
7657MB - 7410MB = 247MB <- plausible

Am I correct, or am I hit by the bit/byte units conversion.

Thank you.


Re: memory usage at a given time

2020-11-14 Thread Mihai Popescu
On Sat, Nov 14, 2020 at 9:29 AM Otto Moerbeek  wrote:

>
>
> vmstat only swows pi an po, pages paged in and out, not swap usage.
>
> For sysyat: the vmstat view does not show swap usage, but it does show
> paging/swap traffic. The swap view does (per swap device), as does the
> uvm view (swpginuse, this is a total swap pages in use).
>
> top also shows swap usage.
>
> -Otto
>

I know, but what I am trying to say is I don't know how to compute a "big
total" memory usage needed before hitting swap. No matter how I add, the
final number is not in the line with the dmesg reported memory. Here is top:

$ top
load averages:  0.33,  0.23,  0.10thinkc.my.domain
12:20:39
47 processes: 46 idle, 1 on processor  up
 4:17
CPU0: 22.4% user,  0.0% nice,  3.8% sys,  0.6% spin,  0.6% intr, 72.7% idle
CPU1: 21.2% user,  0.0% nice,  3.0% sys,  0.2% spin,  0.0% intr, 75.6% idle
Memory: Real: 1235M/2914M act/tot Free: 4505M Cache: 1054M Swap: 0K/7913M


memory usage at a given time

2020-11-13 Thread Mihai Popescu
Hello,

My computer has 2 x 4GB memory, as one can see in dmesg. A part of it is
used by the video card, I'm not sure how much, maybe around 256MB or less I
want to know if I will hit the swap space when I will let it run on 1 x 4GB
memory, but I'm not sure how to interpret some of the following outputs or
if I need to run other commands:

$ dmesg
OpenBSD 6.8-current (GENERIC.MP) #175: Wed Nov 11 10:02:40 MST 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8029429760 (7657MB)
avail mem = 7770787840 (7410MB)
[ ... ]
spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x53: 4GB DDR3 SDRAM PC3-10600
[ ... ]

$ systat
   1 users Load 0.19 0.37 0.31thinkc.my.domain
02:23:22

memory totals (in KB)PAGING   SWAPPING
Interrupts
   real   virtual free   in  out   in  out  360
total
Active  1530836   1530836  2928304   ops100
clock
All 4668644   4668644 11031684   pages  237 ipi

radeondr
Proc:r  d  s  wCsw   Trp   Sys   Int   Sof  Flt   forks  13
ahci0
 2   259   769   746  304022   288  520   fkppw
ohci0
  fksvm
ehci0
   0.0%Int   0.1%Spn   1.1%Sys   5.1%Usr  93.7%Idle   pwait   8
ohci1
|||||||||||   175 relck
ehci1
=>>   175 rlkok
azalia0
  noram
ohci2
Namei Sys-cacheProc-cacheNo-cache  56 ndcpy   2 bge0
Calls hits%hits %miss   % fltcp
ohci3
  102   79   7722  22 295 zfod
 pckbc0
  cow
Disks   sd0   cd0   63307 fmin
seeks   84409 ftarg
xfers26   itarg
speed  410K 2 wired   3
IPKTS
  sec   0.0   pdfre   1
OPKTS

$ vmstat
 procsmemory   pagediskstraps  cpu
 r   s   avm fre  flt  re  pi  po  fr  sr sd0 cd0  int   sys   cs us sy
id
 1 259 1504M   2848M 1450   0   0   0   0   0   2   0  174 13338 3982 13  3
83


Re: Internal microphone not working

2020-10-28 Thread Mihai Popescu
[ ... ]

So, why do you trim outputs? Where is the full dmesg? Do you fear something?

Do you realize that your and other people's problems with sound in
particular CAN BE related to other hardware present in your computer or a
specific configuration?


Re: UNIX printing demystified

2020-10-24 Thread Mihai Popescu
I used CUPS every time since LPD is a confusing thing for me. I mean I was
never able to make it print. My Brother network printer shows this at
Protocol section:

Web Based Management (Web Server) HTTP Server Settings
SNMP Advanced Settings
LPD Advanced Settings
Raw Port
IPP HTTP Server Settings
AirPrint Advanced Settings HTTP Server Settings
Mopria
Web Services Advanced Settings HTTP Server Settings
Mobile printing for Windows
Google Cloud Print Advanced Settings
Proxy Advanced Settings
Network Scan
SMTP Advanced Settings
FTP Server
FTP Client
TFTP
mDNS Advanced Settings
LLMNR

Ironically I'm not able to say if it can accept PostScript or LPD or ...
too confusing. I tried /etc/examples/printcap with my settings filled in
from internet examples, it never worked. I tried your example here, it
doesn't like it.


Re: Sound/audio onFirefox on 6.8

2020-10-24 Thread Mihai Popescu
> ATI Radeon HD 5470 Audio

That should be the HDMI audio from the video card and as far as i know
there is no support in OpenBSD for HDMI audio output.
There lines from dmesg you need are:

azalia0 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: apic 2
int 22
azalia0: codecs: Realtek/0x0887
audio0 at azalia0


Re: UNIX printing demystified

2020-10-24 Thread Mihai Popescu
Is there a way to interface LPD directly with GUI apps like Chromium,
mupdf, etc? I mean just to print from GUI menu Print.


Re: Inphi CS4223 for 4x 10GbE SFP+

2020-10-21 Thread Mihai Popescu
> Hope this helps

How much did you pay per unit, please?


Re: Thinkpad T14s: Sound works through headphones only

2020-10-18 Thread Mihai Popescu
Try the volume up key, since the speakers volume might be set to minimum.


Re: CWM Menu Border

2020-09-07 Thread Mihai Popescu
Not all cwm options are configurable from a file. One needs to change the
source code for some settings. What can be configured is shown by typing:
$ man cwmrc


Re: fido library

2020-08-26 Thread Mihai Popescu
Obviously I am not complaining. Just asked.
Obviously I found you in the bad mood.
I'm in bad mood too, but not because bad sync of snapshots. Again, just
asking.

Thank you

On Wed, Aug 26, 2020, 19:33 Theo de Raadt  wrote:

> You are obviously complaining about ABI mismatch between base and ports,
> when using in -current snapshots.
>
> Let me be honest.  Complaining about that is immature.  It is 100% FAQ
> and expected behaviour for following snapshots.  People who use snapshots
> are expected to accept the behaviour, and wait.
>
> This is not new.
>
> So please switch to a RELEASE, or use another operating system, or
> figure your shit out.
>
>
> Mihai Popescu  wrote:
>
> > Hello,
> >
> > Out of curiosity, what is fido library used for since it changes _a lot_
> > breaking sync between base and ports in snapshots?
> >
> > Thanks
>


fido library

2020-08-26 Thread Mihai Popescu
Hello,

Out of curiosity, what is fido library used for since it changes _a lot_
breaking sync between base and ports in snapshots?

Thanks


Re: email attachments in firefox

2020-08-24 Thread Mihai Popescu
> But sometimes, the file selection will offer the content of /tmp and you
have no way of making it something else.

Many times when Firefox jumped in discussions, it was said a clear
statement: use Chromium. You are safer and supported. You choose something
else, you are on your own <- multiple times said, again and again.


OpenBSD X support for big resolution monitors

2020-08-21 Thread Mihai Popescu
Hello,

My 13 years old monitor is fading out and I will need to get a replacement
soon. Shops are offering here many monitors with resolution greater than
Full HD 1080p,with a little price increase only. I never used nor tested
such a monitor on OpenBSD X server.

I am afraid fonts will be too tiny on such resolutions, so my question is
how good are bigger than FHD resolution monitors supported on OpenBSD X? Do
I need some extra scaling or special setup for font sizes?

Thanks.


Re: i386, parallel port permission error?

2020-08-20 Thread Mihai Popescu
> Is there a work around for the removal of i386_get_ioperm()
> Can i386_iopl() be used in some way?

There are some alphanumeric LCDs out there with RS232 or USB interface.
A medium C programmer can work them out without a driver in a day.
Why the hell do you want to change an entire OS for a song/author name
display?


Re: Logging in/out on console while logged in in X removes hardware acceleration

2020-08-02 Thread Mihai Popescu
> can somwone explain me ...

I guess one can, but it must be from old unix days. Things got changed and
mixed, but they are considered ordinary now, so ordinary that even a basic
newbie unix book skips them entirely.
I am curious even now what is the link among shell, terminal, console, tty.
Even the newbies list is closed.

All this will not hinder OpenBSD development, so use it as it is and try to
grab some answers from internet, good or bad ones it is to you to check.


Re: Logging in/out on console while logged in in X removes hardware acceleration

2020-07-31 Thread Mihai Popescu
| Well then, I guess I just stop switching around between different login
sessions

What about avoiding Ctrl+Alt+F1 (and ... F5 wich is X) and use ... +F2,
+F3, etc.?
You could still miss some settings, I am not sure.

I wonder if /etc/fbtab is able to support multiple tty entries and manage
them each.


Re: video capture / streaming

2020-07-24 Thread Mihai Popescu
For camera access as an user see: /etc/fbtab (fBtab not fStab)

For easy streaming see: vlc from ports.

Be sure to use archive search next time.


Re: Sun Fire X2100 stops booting

2020-06-24 Thread Mihai Popescu
Sun is not for beginners ...
At least not for the ones who stopped at 5.9.


Re: late pppoe address

2020-06-06 Thread Mihai Popescu
Start address this problem to your ISP and ask it to remedy this stupid
implementation of pppoe on server side. Otherwise, you have to wait for it
and avoid spamming the list with your "i need to get this done quickly"
messages, please. Maybe it is time to employ a real expert on OpenBSD.

Thank you.


Re: Why isn't src included with OpenBSD? (documentation)

2020-05-19 Thread Mihai Popescu
> Proposed release poster design:
> Puffy with puffed out cheeks & paper sticking out of his mouth.
> Headline: "Man pages are all you need to live!"
> Alternate headlines:
> "We *can* live on man pages alone!"

I think it's better to clarify who this "we" is/are.
Not _all_ needed info for install and usage is in the man, but I think it
was not the intent to crowd _all_ the info there.


Re: BIOS/MBR vs UEFI/GPT install

2020-05-16 Thread Mihai Popescu
On Sun, May 17, 2020 at 1:45 AM Clay Daniels 
wrote:

>
>
> On Sat, May 16, 2020 at 9:58 AM Mihai Popescu  wrote:
>
>> My computer allows me to boot from USB disk prepared with minirootXX.iso
>> in
>> two ways, Legacy and EFI. I used Legacy until now with BIOS/MBR to install
>> and use OpenBSD.
>> I tried UEFI/GPT but things went wrong and I was not able to boot
>> OpenBSD's
>> kernel after install.
>>
>> Is there any penalty using BIOS/MBR versus UEFI/GPT?
>> Are there any extra steps to be taken if one uses UEFI/GPT other than dd
>> minirootXX.iso to an USB disk?
>>
>
> A .iso boot & install file goes on an optical disk (cd or dvd) per
> ISO9660. If you want to use a USB, pick the .fs or .img file.
>
>>
>> Thank you.
>>
>
It is .fs, got used with .iso after some years of install from CD-ROM.


BIOS/MBR vs UEFI/GPT install

2020-05-16 Thread Mihai Popescu
My computer allows me to boot from USB disk prepared with minirootXX.iso in
two ways, Legacy and EFI. I used Legacy until now with BIOS/MBR to install
and use OpenBSD.
I tried UEFI/GPT but things went wrong and I was not able to boot OpenBSD's
kernel after install.

Is there any penalty using BIOS/MBR versus UEFI/GPT?
Are there any extra steps to be taken if one uses UEFI/GPT other than dd
minirootXX.iso to an USB disk?

Thank you.


Re: More than 16 partitions

2020-04-24 Thread Mihai Popescu
A little bit of fun, slightly related to some of the discussion:
[1] is something that comes into my mind each time i read some of the emails
[2] is coming next

[1] https://www.youtube.com/watch?v=nlt5Wa13fFU
[2] https://www.youtube.com/watch?v=zIV4poUZAQo


Re: sndioctl double behaviour

2020-04-21 Thread Mihai Popescu
On Tue, Apr 21, 2020 at 6:41 PM Alexandre Ratchov  wrote:

> On Tue, Apr 21, 2020 at 06:13:42PM +0300, Mihai Popescu wrote:
> > Hi,
> >
> > It's clear OpenBSD is moving to sndioctl. I used it, but I got some
> > "strange" behaviour.
> > Watching youtube in chromium, tried this:
> >
> > $ sndioctl output.level=1
> > default: can't open control device
> >
> > After closing / restarting chromium, and starting youtube I can run same
> > command many times:
> >
> > $ sndioctl output.level=1
> > output.level=1
> > $ sndioctl output.level=0
> > output.level=0
> > $ sndioctl output.level=1
> > output.level=1
> >
> > Expected?
>
> No, thanks for reporting this. Any hints how to easily reproduce?
>

All I can say is I did some tests with firefox and chromium and I've
installed the system many times from zero. Each time I started X thru
xenodm and open up a terminal then start to install packages, chromium /
firefox first. Then I run other pakages install and started chromium /
firefox on youtube to test them. The sound volume was to low so I run
sndioctl getting the error message both for firefox / chromium. I was able
to modify the volume after closing the browser(s) only - I got the same
error message for repeating the command.

I cannot reproduce the error now, even on new restart of the system and
browsers. Is it helpful to try a new install of the system and look for
something?

Thanks.


sndioctl double behaviour

2020-04-21 Thread Mihai Popescu
Hi,

It's clear OpenBSD is moving to sndioctl. I used it, but I got some
"strange" behaviour.
Watching youtube in chromium, tried this:

$ sndioctl output.level=1
default: can't open control device

After closing / restarting chromium, and starting youtube I can run same
command many times:

$ sndioctl output.level=1
output.level=1
$ sndioctl output.level=0
output.level=0
$ sndioctl output.level=1
output.level=1

Expected?


Re: OpenBSD and Banana PI or armv7 in general

2020-04-15 Thread Mihai Popescu
try a...@openbsd.org list


Re: openbsd.org down?

2020-04-12 Thread Mihai Popescu
Maybe to much download from ftp.openbsd.org?
It is up now openbsd.org


Re: Any console SIP client from ports or packages?

2020-04-02 Thread Mihai Popescu
pjsua

It has audio only, no video part ported yet. I didn't use it with asterisk
but was fine with iptel.org.


Missing files on mirror

2020-02-08 Thread Mihai Popescu
Hello,

I am using ftp2.eu.openbsd.org as a mirror for installing snapshots. Some
files are reported as not found, like nspr-2.4, but they are present on
ftp.openbsd.org.
What could be wrong, a file sync failure?

Thank you.


Re: OpenBSD PPPOE

2020-01-21 Thread Mihai Popescu
$man pppoe

or

http://man.openbsd.org/pppoe


Undeadly interview

2020-01-19 Thread Mihai Popescu
Just in case someone else (like me) missed it:

http://undeadly.org/cgi?action=article;sid=20191231214356


Re: Installing OpenBSD -current snapshots

2019-11-29 Thread Mihai Popescu
> BTW, why do you want to run -current?
> There are only 2 real reasons to do that
> [ ... ]

Total nonsense ...


Re: OpenBSD Project

2019-09-22 Thread Mihai Popescu
> No.

Security, privacy or too messy?


Re: OT: hardware war with manufacturers (espionage claims)

2019-07-03 Thread Mihai Popescu
...

I asked for an answer more like "avoid using nVidia chipsets", not for theories.
So, again, do you consider brands when choosing hardware, like Dell
vs. Lenovo, etc. ?

Thank you.



OT: hardware war with manufacturers (espionage claims)

2019-07-02 Thread Mihai Popescu
Hello,

I keep finding articles about some government bans against some
hardware manufacturers related to some backdoor for espionage. I know
this is an old talk. Most China manufacturers are under the search:
Huawei, ZTE, Lenovo, etc.

What do you think and do when using OpenBSD on this kind of hardware?
Do you prefer Dell, HP and Fujitsu?
Is it just a marketing hype?

Thank you.



Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Mihai Popescu
> Ingo seems to be rather good at those.

My favorites are Nick Holland's answers. But let's not forget Stuart
Henderson, Henning Brauer, Stefan Sperling, Marc Espie ... and Dr.
House. The answers from the latter are hard to digest but always solid
and in place. May be others too, my excuses for not mentioning them.
And for killing the thread.



Re: dhcpd and Polycom SoundPoint IP 550 phones

2019-06-13 Thread Mihai Popescu
> After several days of desperation ...

There is no need for this. Try to see the dhcpd's logs, after you put
the server to log it to the maximum extent for you. Then you can try
tcpdump to watch closely the Polycom's requests, you can see if they
are out of standard crap or if there is a problem there. Try again
with another client computer, see if it can obtain an address - this
way you can check if your dhcp server is correctly configured.



Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Mihai Popescu
> ... if no account is provided, root is the default

I always considered that su is coming from _s_uper _u_ser. But maybe I
am wrong, I am not from old UNIX days.



Re: user unable to log in xenodm / Xorg session | XIO fatal io error 35

2019-05-24 Thread Mihai Popescu
> I suspect the problem may have had to do ...

Why the hell did you contact the list then? To confirm your suspicion(s)?



Re: When will be created a great desktop experience for OpenBSD?

2019-05-09 Thread Mihai Popescu
> ... we should choose *ONE* window manager and delete all the others, and 
> force people into a > single working model

There is no need to be so cruel. You can release OpenBSD like hosting
plans: free, basic, advanced and pro. You can rename them differently,
like Home, Enterprise, Business, Ultimate. Free will have that *ONE*
wm, then you add something for each level of upgrade. Needless to say
that starting from basic one has to pay :-{.

Still wondering what "great desktop experience" means ...



Re: [website] Incorrect release date on the front page

2019-04-27 Thread Mihai Popescu
> I see that nothing has changed since the 70s, same moronic attitude towards 
> people confused > by Unix shit.

I guess the attitude from people asking is the same like '70. Just
asking, I came in this world a few years late.

> the release has a bug / funny morons

A few dozen people taking care of a release, doing it and one outsider
comes to tell them they may have a bug in that. Now, that was funny!



Re: current snapshot kernel uvm fault radeondrm firmware not found

2019-04-20 Thread Mihai Popescu
> Thanks for the report.  Fixed in radeon_kms.c rev 1.60.

Installed, tested and it works.
Thank you.



Re: current snapshot kernel uvm fault radeondrm firmware not found

2019-04-19 Thread Mihai Popescu
Here is the error message part:

initializing kernel modesetting (Rs880 0x1002:0x9715 0x17AA:0x3082 0x00).
r600_cp: Failed to load firmware "radeon/RS780_pfp.bin"
[drm] *ERROR* Failed to load firmware!
drm:pid0: radeondrm_attachhook *ERROR* Fatal error during GPU init
uvm_fault(0x81dc5468, 0x12, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at config_detach+0x9d: movzwl 0x12(%rax),%ecx
ddb{0}>_

I clipped the first lines of dmesg, by mistake, so here they are:

OpenBSD 6.5-current (GENERIC.MP) #7: Fri Apr 19 12:10:14 MDT 2019
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8029429760 (7657MB)
avail mem = 7775989760 (7415MB)
mpath0 at root

Thank you.



current snapshot kernel uvm fault radeondrm firmware not found

2019-04-19 Thread Mihai Popescu
Hello,

I have installed the recent current snapshot for amd64. After
finishing and rebooting I got some kernel uvm fault after some message
about radeondrm firmware not installed. The keyboard was not usable.

I had to reboot and disable radeondrm, then run fw_update -a by hand.
Things were back to normal after that. I didn't get that error at
previous snapshots, radeondrm firmware was installed at first boot. If
the exact error message is needed, I can reinstall or delete firmware
file and copy it.

scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeebc0 (57 entries)
bios0: vendor LENOVO version "9VKT33AUS" date 09/11/2013
bios0: LENOVO 1990RZ2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC TCPA MCFG SLIC MCFG HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4)
PCE7(S4) PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) P0PC(S4)
PE20(S4) PE21(S4) PE22(S4) PE23(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) II X2 B26 Processor, 3194.55 MHz, 10-06-03
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 3 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, bus 0-255
acpimcfg1 at acpi0
acpimcfg1: addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus -1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE9)
acpiprt9 at acpi0: bus -1 (PCEA)
acpiprt10 at acpi0: bus 2 (P0PC)
acpiprt11 at acpi0: bus 3 (PE20)
acpiprt12 at acpi0: bus -1 (PE21)
acpiprt13 at acpi0: bus -1 (PE22)
acpiprt14 at acpi0: bus 4 (PE23)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpipci0 at acpi0 PCI0: _OSC failed
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB
cpu0: 3194 MHz: speeds: 3200 2500 1900 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD RS880 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 vendor "Lenovo", unknown product 0x9602 rev 0x00
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 4250" rev 0x00
drm0 at radeondrm0
radeondrm0: apic 3 int 18
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 3 int
19, AHCI 1.2
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI3
0/direct fixed naa.50014ee1018094dc
sd0: 305245MB, 512 bytes/sector, 625142448 sectors
cd0 at scsibus1 targ 1 lun 0:  ATAPI
5/cdrom removable
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 3 int
18, version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 3 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 3 int
18, version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 3 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x53: 4GB DDR3 SDRAM PC3-10600
azalia0 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 3 int 16
azalia0: codecs: Realtek ALC662
audio0 at azalia0
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
ppb1 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
pci2 at ppb1 bus 2
ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 3 int
18, version 1.0, legacy support
ppb2 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00

Re: Down on em fibre doesn't kill Layer 1 ?

2019-04-19 Thread Mihai Popescu
> Would it be too much to ask to get this functionality implemented ?

Find an Intel support email and go ahead. They will tell you if it is too much.
Assuming there is possible to switch off the laser diode ...



Re: Viewing SFP diagnostic data in OpenBSD ?

2019-04-11 Thread Mihai Popescu

GPON involves encryption keys (because the light is split off so that a
handful of other customers have the same signal as you). In the UK this
is exclusively done by a telco-provided box, they won't give you the
keys to use in your own hardware. but it just spits out an ethernet
connection that is tunneled to the ISP (typically done with pppoe, but
not an absolute requirement), and would connect to a separate router
which is either ISP-provided or your own.

(Dragging it slightly back on topic, OpenBSD works fine with the usual
pppoe setup :)


Yes, that is the case. I have and ZTE gear installed,
optical+router+wireless+voip.
There is a word here someone was able to move all setup to a single
computer with a special optical board, eliminating the ISP equipment,
just by monitoring the optical and extract the useful information.

Of course the pppoe works fine on OpenBSD, I used it a lot when I was
on the copper.

Thanks.



Re: Viewing SFP diagnostic data in OpenBSD ?

2019-04-10 Thread Mihai Popescu
> The ISPs either give you a typical fritzbox CPE and/or a media converter 
> (like the TP-Link
> MC220L), but it also works fine with the mentioned SFP.  I now have 1Gbps 
> Internet, fixed
> IPv4+v6, simply with DHCP (dhcp6c is needed to get the assigned IPv6 prefix 
> for reassigning it > to rad(8) internally).

1 Gb/s on fiber is pretty much implemented where i live now (.ro). The
sad thing is the ISP is using GPON with ONT on client side. I wanted
to use some OpenBSD based router but I am not sure it is easy to put
together the necessary hardware and driver/pppoe configuration. There
are all kinds of settings involved even at ISP side and I am not sure
they are happy to set up for you.

What are they using there for authentification?



X freezes with chromium

2019-04-06 Thread Mihai Popescu
Hello,

I am using an amd64 snapshot and chromium-73.0.3683.86p0. Graphics is
handled by radeondrm.

If I remember correctly, since chromium-72.0.3626.109 I started to see
some update delays in chromium. It is like I open a page, but the
display of content is delayed. Sometimes is never displayed and I have
to refresh the page for success. I started to blame my network, but
I've checked and it is fine.
Recently, I opened a few pages, mostly dynamic content and they were
not displayed (gmail.com. emag.ro, etc). I decided to let chromium
wait until loading, but it managed to freeze my computer: X and cwm
are not responding, mouse pointer not moving, Ctrl+Alt+F1 ... F5 not
responding. The ssh connection from outside was possible, run some
vmstat, systat, top, ps but no strange things reported I think.

I am asking for some reports if anyone had this, or else maybe I
should suspect my hardware.
Could you suggest other diagnosis methods, please?

Thank you.



something like script(1) but for clipboard

2019-04-03 Thread Mihai Popescu
Hello,

I am looking for a command or port application to copy large text from
terminal into the clipboard for immediate paste operation in another
window. I use to do that with left mouse click select then middle
click. It should be something like script(1), but for clipboard inside
an X session.

If there is no such thing, can you tell what you use for large text
blocks who need scrolling? One reason for this will be the dmesg copy
from terminal - I need to do multiple scrolling and keep track of
lines.

Thank you.



Re: GMA500 drivers

2019-03-26 Thread Mihai Popescu
> The idea was to take the crappy binary blobs from Debian and wrap that into 
> something decent.
> Reading up on OpenBSD driver management however ...

Whenever you try to wrap something crappy it still remains crappy and
it still smells. Your point, if any, is weird.



Re: video decoding and playback in OpenBSD

2019-03-26 Thread Mihai Popescu
On Mon, Mar 25, 2019 at 7:46 PM Alexandre Ratchov  wrote:

> This surprises me, your CPU doesn't seem that slow.

I decided to do more tests after your opinion and I had a nice surprise too.
My desktop with video VGA and DP outputs is connected to an 1680x1050
display, with VGA and DVI inputs only.
My TV is 1920x1080 and it has HDMI inputs only. A DP to HDMI passive
cable arrived yesterday and I was able to do test on the TV.
Youtube plays 1080 fine in chromium when connected to TV: less than 1%
frame drops, max 38% cpu load for chromium in top. This is not
happening when I connect the desktop to the display ( VGA or DP-DVI
adapter): almost 10% frame drop and aprox. 89% cpu load.
My thinking is CPU is used a lot to do that crop from 1920x1080 to 1680x1050.

> I'd suggest to check where is spent most of the CPU time, in mpv or in
> Xorg? You could try different mpv "-vo" options, there are machines
> where "-vo x11" is faster than the default one.

If I use mpv to play youtube link, the results on TV and display are
the same or better, looking like youtube in chromium on TV. Using -vo
x11 is using almost 55% on cpu and I get mpv complaints in console
about performance.

Is there a way to replace HTML player from chromium with mpv and play
the stream inside the chromium page on OpenBSD?

Thank you.



video decoding and playback in OpenBSD

2019-03-25 Thread Mihai Popescu
Hello,

I am trying to find some hardware for an OpenBSD multimedia computer.
I plan to attach it on a HDMI TV and play youtube on it, 1080p@30fps
or more. No 4K involved.

My thinking is to go for an AMD A8-6500 processor, but I am not sure
if this is enough.Right now I am using and AMD Athlon II X2 B26 which
drops some frames on youtube 1080p. I've read that ffmpeg, mpv and
chromium do not use GPU in any way for decoding in OpenBSD.
I could not afford to go for performance hardware like Intel Core
I7-4770, so if you please could you make some suggestion about what
you run as a minimum requirements? Am I on the right track thinking
that more powerful CPUs will speed up decoding?

Thank you.



using an USB stick with "openbsd" type partition/slices

2019-03-21 Thread Mihai Popescu
Hello,

I want to move my usb stick from msdos partition to more specific to
OpenBSD. I use this stick to keep some configuration files and
documents on it.

sd1 at scsibus2 targ 1 lun 0:  SCSI4
0/direct fixed serial.07815571010812120514
sd1: 30532MB, 512 bytes/sector, 62530624 sectors

Steps I've done to achieve this:

# fdisk -e sd1
> reinit
>q

# fdisk sd1
Disk: sd1   geometry: 30532/64/32 [62530624 Sectors]
Offset: 0   Signature: 0xAA55
Starting Ending LBA Info:
 #: id  C   H   S -  C   H   S [   start:size ]
---
 0: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
 1: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
 2: 00  0   0   0 -  0   0   0 [   0:   0 ] unused
*3: A6  0   2   1 -  30529  49  20 [  64:62524916 ] OpenBSD

# disklabel -E sd1
Label editor (enter '?' for help at any prompt)
>p
OpenBSD area: 64-62524980; size: 62524916; free: 62524916
#size   offset  fstype [fsize bsize   cpg]
  c: 625306240  unused
> a
partition: [a]
offset: [64]
size: [62524916]
FS type: [4.2BSD]
> p
OpenBSD area: 64-62524980; size: 62524916; free: 20
#size   offset  fstype [fsize bsize   cpg]
  a: 62524896   64  4.2BSD   2048 16384 1
  c: 625306240  unused
> w
> q
No label changes.

# newfs sd1a
/dev/rsd1a: 30529.7MB in 62524896 sectors of 512 bytes
151 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
super-block backups (for fsck -b #) at:
 32, 414688, 829344, 1244000, 1658656, 2073312, 2487968, 2902624, 3317280,
 3731936, 4146592, 4561248, 4975904, 5390560, 5805216, 6219872, 6634528,
 7049184, 7463840, 7878496, 8293152, 8707808, 9122464, 9537120, 9951776,
 10366432, 10781088, 11195744, 11610400, 12025056, 12439712, 12854368,
 13269024, 13683680, 14098336, 14512992, 14927648, 15342304, 15756960,
 16171616, 16586272, 17000928, 17415584, 17830240, 18244896, 18659552,
 19074208, 19488864, 19903520, 20318176, 20732832, 21147488, 21562144,
 21976800, 22391456, 22806112, 23220768, 23635424, 24050080, 24464736,
 24879392, 25294048, 25708704, 26123360, 26538016, 26952672, 27367328,
 27781984, 28196640, 28611296, 29025952, 29440608, 29855264, 30269920,
 30684576, 31099232, 31513888, 31928544, 32343200, 32757856, 33172512,
 33587168, 34001824, 34416480, 34831136, 35245792, 35660448, 36075104,
 36489760, 36904416, 37319072, 37733728, 38148384, 38563040, 38977696,
 39392352, 39807008, 40221664, 40636320, 41050976, 41465632, 41880288,
 42294944, 42709600, 43124256, 43538912, 43953568, 44368224, 44782880,
 45197536, 45612192, 46026848, 46441504, 46856160, 47270816, 47685472,
 48100128, 48514784, 48929440, 49344096, 49758752, 50173408, 50588064,
 51002720, 51417376, 51832032, 52246688, 52661344, 53076000, 53490656,
 53905312, 54319968, 54734624, 55149280, 55563936, 55978592, 56393248,
 56807904, 57222560, 57637216, 58051872, 58466528, 58881184, 59295840,
 59710496, 60125152, 60539808, 60954464, 61369120, 61783776, 62198432,

For mount I use mount /dev/sd1a /mnt. (no options yet!)

I want to ask if there are some suggestions in creating
partition(s)/slice(s), types and mount options, please. I don't need
softupdates. Files used are small and I copy a few at the time.

Thank you.



Xresources file for xenodm

2019-03-17 Thread Mihai Popescu
Hello,

I am trying to modify some colors for login screen of xenodm. I saved
the original file and started with a new one and of course nothing
works from it.

Reading the manual, I cannot figure out some syntax.What is the
meaning of two of them:

xlogin*greetColor  versus xlogin.Login.greetColor ?

Thank you.



sound volume reduction - chromium

2019-03-08 Thread Mihai Popescu
Hello,

Does anyone observe some sound volume reduction when chromium is
displaying some specific tabs?

I am using mpv in xterm with some internet radio, when I point
chromium to some tabs (with or without multimedia in them, I can't
figure out for the moment) the sound volume is dropping a little but
noticeable and it is coming back to normal when I close chromium or
the offending tabs.

I can see this even in youtube tab, whenever I open another tab with
multimedia in it.

Thank you.



tar: Access/modification time set failed on: .: Operation not permitted

2019-03-05 Thread Mihai Popescu
Hello,

I am trying to decompress xenocara.tar.gz into /usr/xenocara.
I did all pre setup explained in FAQ, but I get this error from tar
and I can see files inside /usr/xenocara.  tar: Access/modification
time set failed on: .: Operation not permitted

Is it safe to ignore this?
Is there a reason v parameter is not used in tar xzf sequence for a
visual feedback?

Thank you.



Re: known way to reproduce an X.org segmentation fault

2019-02-28 Thread Mihai Popescu
> If you have a checkout of /usr/xenocara ...

I have the cvsweb. I got the .core file with those instructions, run
gdb with my current X. I am not sure if snapshots X is compiled with
or without debug symbols.
Looking at some functions headers, I think I should mention that in
firefox the web page is loading a magnifier picture as a cursor as
soon as you hover on that image.
As for Xenocara recompile with debug symbols, is it hard to do it for
a novice like me?

$ gdb
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.4".
(gdb) file X
Reading symbols from /usr/X11R6/bin/X...done.
(gdb) core-file Xorg.core
Core was generated by `Xorg'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.26.1...done.
Loaded symbols for /usr/lib/libpthread.so.26.1
Loaded symbols for /usr/X11R6/bin/X
Symbols already loaded for /usr/lib/libpthread.so.26.1
Reading symbols from /usr/X11R6/lib/libpciaccess.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libpciaccess.so.2.0
Reading symbols from /usr/X11R6/lib/libdrm.so.7.6...done.
Loaded symbols for /usr/X11R6/lib/libdrm.so.7.6
Reading symbols from /usr/X11R6/lib/libpixman-1.so.36.0...done.
Loaded symbols for /usr/X11R6/lib/libpixman-1.so.36.0
Reading symbols from /usr/X11R6/lib/libXfont2.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libXfont2.so.1.0
Reading symbols from /usr/X11R6/lib/libfontenc.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libfontenc.so.4.0
Reading symbols from /usr/X11R6/lib/libfreetype.so.29.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.29.0
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/X11R6/lib/libXau.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.10.0
Reading symbols from /usr/X11R6/lib/libxshmfence.so.0.0...done.
Loaded symbols for /usr/X11R6/lib/libxshmfence.so.0.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.11.0
Reading symbols from /usr/lib/libkvm.so.17.0...done.
Loaded symbols for /usr/lib/libkvm.so.17.0
Reading symbols from /usr/lib/libm.so.10.1...done.
Loaded symbols for /usr/lib/libm.so.10.1
Reading symbols from /usr/lib/libc.so.95.0...done.
Loaded symbols for /usr/lib/libc.so.95.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/modules/extensions/libglx.so...done.
Loaded symbols for /usr/X11R6/lib/modules/extensions/libglx.so
Reading symbols from /usr/X11R6/lib/libGL.so.17.1...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.17.1
Reading symbols from /usr/lib/libexpat.so.12.0...done.
Loaded symbols for /usr/lib/libexpat.so.12.0
Reading symbols from /usr/X11R6/lib/libxcb-dri3.so.0.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-dri3.so.0.1
Reading symbols from /usr/X11R6/lib/libxcb-xfixes.so.1.2...done.
Loaded symbols for /usr/X11R6/lib/libxcb-xfixes.so.1.2
Reading symbols from /usr/X11R6/lib/libxcb-present.so.0.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-present.so.0.1
Reading symbols from /usr/X11R6/lib/libxcb-sync.so.1.2...done.
Loaded symbols for /usr/X11R6/lib/libxcb-sync.so.1.2
Reading symbols from /usr/X11R6/lib/libglapi.so.0.2...done.
Loaded symbols for /usr/X11R6/lib/libglapi.so.0.2
Reading symbols from /usr/X11R6/lib/libXdamage.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.4.0
Reading symbols from /usr/X11R6/lib/libXfixes.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.6.0
Reading symbols from /usr/X11R6/lib/libX11-xcb.so.2.0...done.
Loaded symbols for /usr/X11R6/lib/libX11-xcb.so.2.0
Reading symbols from /usr/X11R6/lib/libxcb-glx.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-glx.so.1.1
Reading symbols from /usr/X11R6/lib/libxcb-dri2.so.1.1...done.
Loaded symbols for /usr/X11R6/lib/libxcb-dri2.so.1.1
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.6.0...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.6.0
Reading symbols from /usr/X11R6/lib/libXext.so.13.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.13.0
Reading symbols from /usr/X11R6/lib/libX11.so.16.1...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.16.1
Reading symbols from /usr/X11R6/lib/libxcb.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.4.0
Reading symbols from /usr/X11R6/lib/modules/drivers/ati_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/drivers/ati_drv.so
Reading symbols from /usr/X11R6/lib/modules/drivers/radeon_drv.so...done.
Loaded symbols for /usr/X11R6/lib/modules/drivers/radeon_drv.so
Reading symbols from /usr/X11R6/lib/libdrm_radeon.so.4.0...done.
Loaded symbols for 

Re: known way to reproduce an X.org segmentation fault

2019-02-27 Thread Mihai Popescu
I tried again this link with a recent snapshot and the result is the
same, X got a segfault.

Is there a special debug run for X to be able to get some detailed
information, please?
Does it worth to pursue this debug?

Thanks.



snapshots files timestamps

2019-02-25 Thread Mihai Popescu
Hello,

I am trying since a while to figure out the master site / mirrors
files timestamps. Here is the thing: I can see the timestamps on
master site, ftp.openbsd.org (let's skip the transfer protocol, like
ftp, http/https).
Are these timestamps the original from compilation time? I mean, does
they show when the files where compiled? Of course, that means that
timestamps must be preserved at copy action.
If it is not the case, does those timestamps show the copy time?
What about mirrors, do they preserve file timestamps at copy time?
Are the mirrors using the local time, or the UTC time?

Thank you.



Re: Research and OpenBSD: How can I help?

2019-02-21 Thread Mihai Popescu
> Frankly, I'd settle for popping the BIOS out and replacing it
with a 1970's EPROM

Good luck in gathering together 70's EPROM to match the today capacity
of a flash memory.



Re: video(1) Unable to use webcam

2019-02-19 Thread Mihai Popescu
https://marc.info/?l=openbsd-misc=155050320512916=2



Conexant CX20641/CX20651 audio driver

2019-02-18 Thread Mihai Popescu
Hello,

I am trying to see if OpenBSD has support for this audio chipset. Man
page does not mention this explicitly, not so much to find on the web.
May be that ac97 driver is enough for it?
Can anyone tell if this will work or not in OpenBSD, please?

Thank you.



Re: known way to reproduce an X.org segmentation fault

2019-02-15 Thread Mihai Popescu
I installed firefox too, there is no problem with that page, I mean
X.org is not doing segmentation fault. It looks like chromium is
trying to do something nasty against X.org's stuff.



Re: known way to reproduce an X.org segmentation fault

2019-02-15 Thread Mihai Popescu
Got some details about this: X.org crashes only when I move the mouse
pointer inside the big picture presented on the web page, the product
itself. I captured the chomium output too:

[49853:80110072:0215/111903.592670:ERROR:process_metrics_openbsd.cc(126)]
Not implemented reached in bool
base::GetSystemMemoryInfo(base::SystemMemoryInfoKB *)
[49853:80110072:0215/111903.595553:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:-1751392192:0215/111904.128494:ERROR:bus.cc(396)] Failed to
connect to the bus: Could not parse server address: Unknown address
type (examples of valid types are "tcp" and on UNIX "unix")
[49853:80110072:0215/111904.442456:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111904.454201:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111904.887485:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111904.918510:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111904.984858:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111905.281378:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111905.816493:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111910.047004:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111917.956390:ERROR:process_posix.cc(388)] Not
implemented reached in base::Time base::Process::CreationTime() const
[49853:80110072:0215/111928.132904:ERROR:chrome_browser_main_extra_parts_x11.cc(62)]
X IO error received (X server probably went away)
[24230:-136773128:0215/111928.149941:ERROR:x11_util.cc(110)] X IO
error received (X server probably went away)



known way to reproduce an X.org segmentation fault

2019-02-15 Thread Mihai Popescu
Hello,

I'm sending it here, since I am not an expert to analyze it and send
it to bugs@. By chance, my X.org is doing segmentation fault whenever
I visit a web page with chromium. Again, it segfaults every time I go
there, may or may be not interesting. Here is the action and log
files.

I use a recent snapshot for amd64, chromium and 2 extensions: ublock
origin and ublock origin extra, enabled or disabled, I do a search in
qwant search engine for 'Lenovo Thinkcentre M78 sff', chose picture
search and click on one picture to visit this page:
https://computers.woot.com/offers/lenovo-thinkcentre-m78-amd-a4-sff-desktop-1
X.org segfaults instantly or after a few seconds, I am returned to the
xenodm login. No chrome.core!

I didn't tried with firefox since I don't have it installed.

OpenBSD 6.4-current (GENERIC.MP) #693: Fri Feb  8 23:49:44 MST 2019
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8029429760 (7657MB)
avail mem = 7776382976 (7416MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeebc0 (57 entries)
bios0: vendor LENOVO version "9VKT33AUS" date 09/11/2013
bios0: LENOVO 1990RZ2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC TCPA MCFG SLIC MCFG HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4)
PCE7(S4) PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) P0PC(S4)
PE20(S4) PE21(S4) PE22(S4) PE23(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) II X2 B26 Processor, 3194.49 MHz, 10-06-03
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) II X2 B26 Processor, 3192.03 MHz, 10-06-03
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 3 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, bus 0-255
acpimcfg1 at acpi0
acpimcfg1: addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus -1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE9)
acpiprt9 at acpi0: bus -1 (PCEA)
acpiprt10 at acpi0: bus 2 (P0PC)
acpiprt11 at acpi0: bus 3 (PE20)
acpiprt12 at acpi0: bus -1 (PE21)
acpiprt13 at acpi0: bus -1 (PE22)
acpiprt14 at acpi0: bus 4 (PE23)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpipci0 at acpi0 PCI0: _OSC failed
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB
cpu0: 3194 MHz: speeds: 3200 2500 1900 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD RS880 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 vendor "Lenovo", unknown product 0x9602 rev 0x00
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 4250" rev 0x00
drm0 at radeondrm0
radeondrm0: apic 3 int 18
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 3 int
19, AHCI 1.2
ahci0: port 0: 3.0Gb/s
ahci0: port 1: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI3
0/direct fixed naa.50014ee1018094dc
sd0: 305245MB, 512 bytes/sector, 625142448 sectors
cd0 at scsibus1 targ 1 lun 0:  ATAPI
5/cdrom removable
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 3 int
18, version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 3 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 3 int
18, version 1.0, legacy 

X.org on P4600 integrated video from Intel Xeon E3-1245 v3

2019-02-13 Thread Mihai Popescu
Hello,

Did anyone managed to run fine X.org on the integrated video Intel HD
P4600 from Intel Xeon E3-1245 v3 or another Intel Xeon E3 with the
same integrated video.

Models with P do not appear in man intel and am not sure if they are
supported by this driver or something else. (dmesg will be nice).

Thank you.



AMD hardware for radeon driver ambiguity

2019-02-12 Thread Mihai Popescu
Hello,

I want to select some hardware for OpenBSD. I lurked many sites with
hardware specifications and drivers, but I am not sure about some
support for hardware.

What Am I Trying to Achieve?
I want to buy some AMD APU hardware, that means CPU and GPU together.
There is a point in time where AMD changed the GPU architecture from
so called TeraScale/VILW to GCN.
In OpenBSD, TeraScale/VILW parts are supported by radeon driver, next
is supported but not so ready amdgpu one. I really need hardware
acceleration in X.org.

What I Did already?
I checked AMD APU parts for the integrated GPU, and found that some
parts have TeraScale/VILW GPU, some have GCN. The GPU is coded like
7xxxD, 8xxxD, ...
This D is not listed in radeon man page as supported. There is a
big mess up with chipset names taken from all kind of islands and
vulcans. There is no sense to use them, since it is not easy to track
them. Let's hope there will be no day when AMD will use human body
parts to identify graphic chipsets.

What To Do Next?
So, all this on the table, is it ok just to buy some APU with GPU in
TeraScale*/VILW* architecture?
As an example, there are parts like this (APU / GPU) supported?
A10-5700 / HD7750G
A10-6700 / HD8670D
A8-6500 / HD8670D

Thank you.



CPU platform

2019-02-10 Thread Mihai Popescu
Hello all,

I usually take my computers for OpenBSD from used/refurbished market
since they are much cheaper and I don't need edge hardware. Lately,
AMD processors platforms are not so easy to find ( I prefer a
combination of cpu + video + brand name).
I have a much bigger offer from Intel side. There are many options.
Regarding the Meltdown and Spectre issues, is it still fine to go for
an Intel platform?
How did you folks with Intel based production systems mitigated this?

Thank you.



Re: What programming languages and operating systems will be used after Jesus returns?

2019-02-09 Thread Mihai Popescu
Maybe the release 6.6 should be skipped then?

I like the part with wine, smoke and lamb. A well done lamb.



Re: athn0 bad ROM checksum 0x2c64

2019-02-09 Thread Mihai Popescu
http://man.openbsd.org/fw_update

OT: Bad subject line, bad email address, at least I see them like this in marc.



  1   2   3   4   5   6   >