Re: newfs fast, but newfs_msdos and newfs_ext2fs very slow

2024-04-10 Thread Stanislav Syekirin
Thanks, I will experiment with a correctly partitioned USB stick and 
with different block sizes. But could you please clarify the 
following:



I don't think there's
really much you can do. There's no "quick format" option for 
newfs_msdos

like there is on Windows.


I thought the difference between quick format and slow format was that 
the latter overwrites the whole disk and the former only writes as 
much as necessary to get a working filesystem. But it looks to me that 
newfs_msdos actually doesn't write a lot. I did the following 
experiment (didn't verify it with the USB stick yet): I generated a 
binary file with a pattern of all bytes from 0 to 255 repeated 256 
times. For the resulting 64K file, I configured a device with 
vnconfig. Then I called newfs_msdos on the corresponding raw device. 
Hexdump on the original file shows that only the bytes before 
0x4600 were overwritten, after that, the pattern is still there. 
So I'm confused about how this is different from quick format.


Best regards
Stanislav Syekirin



Re: Wireless network with bfwm sometimes works and sometimes doesn't

2024-04-09 Thread Stanislav Syekirin

 Stefan Sperling  wrote:

Do you have any of iwn/iwm/iwx or another device which could capture
raw 802.11 frames of failed association attempts in monitor mode?


I have a neglected device with Intel Wireless 3160, which is listed on 
the iwm man page. Assuming OpenBSD will run on that device, what do I 
have to do?


Regards
Stanislav Syekirin



newfs fast, but newfs_msdos and newfs_ext2fs very slow

2024-04-09 Thread Stanislav Syekirin

Hi,

I'm trying to figure out the best way to format a USB stick as FAT32. 
This is what I've tried:


$ time doas newfs_msdos /dev/rsd1c
/dev/rsd1c: 60007944 sectors in 7500993 FAT32 clusters (4096 
bytes/cluster)
bps=512 spc=8 res=32 nft=2 mid=0xf0 spt=63 hds=255 hid=0 bsec=60125184 
bspf=58602 rdcl=2 infs=1 bkbs=2

20m08.34s real  0m00.35s user   0m12.81s system

As you can see, it takes many minutes, and the elapsed time is much 
larger than the CPU time. Looking at top while the command runs shows 
that newfs_msdos has PRI -5, its CPU usage fluctuates around 0.5%, 
STATE is mostly "sleep" with WAIT being "physio".


The same happens if I call newfs_ext2fs -I.

For comparison, `newfs /dev/rsd1c` is almost instantaneous: 0m00.88s 
real 0m00.06s user 0m00.16s system. It doesn't work if the disk is 
already formatted as FAT32, though: I have to call `fdisk -e sd1`, and 
reinit, otherwise I get a "can't rewrite disk label" error; I'm not 
sure why newfs cares and newfs_msdos doesn't, maybe I'm doing it wrong 
somehow.


How can I speed the creation of a FAT32 or Ext2 file system up?

Best regards
Stanislav Syekirin



Re: Wireless network with bfwm sometimes works and sometimes doesn't

2024-04-09 Thread Stanislav Syekirin
Yes, it does. I'm not sure whether it's always the case, but this time 
it works. Dmesg output:


bwfm0: SCAN -> AUTH
bwfm0: AUTH -> ASSOC
bwfm0: ASSOC -> RUN
bwfm0: associated with f0:af:85:9a:e4:22 ssid "Vodafone-7D3A" channel 
6 start 6Mb long preamble long slot time
bwfm0: missed beacon threshold set to 30 beacons, beacon interval is 
100 TU

bwfm0: received msg 1/4 of the 4-way handshake from f0:af:85:9a:e4:22
bwfm0: sending msg 2/4 of the 4-way handshake to f0:af:85:9a:e4:22
bwfm0: received msg 3/4 of the 4-way handshake from f0:af:85:9a:e4:22
bwfm0: sending msg 4/4 of the 4-way handshake to f0:af:85:9a:e4:22

Regards
Stanislav Syekirin

On Di, 9 Apr 2024 19:47:36 +0200
 Stefan Sperling  wrote:

On Tue, Apr 09, 2024 at 07:15:55PM +0200, Stanislav Syekirin wrote:
Thank you so much for the hint, now I understand what the debug 
option does.
I have actually tried it, but, because `man ifconfig` says "this 
turns on
extra console error logging", I incorrectly assumed that it would 
output to
stdout or stderr, not to the system message buffer. Then, calling 
ifconfig
from xterm, I couldn't see any debug output and wondered why the 
option does

nothing.

Anyway, here is the result of `dmesg | grep bwfm0`. Vodafone-7D3A_5G 
is the

one I try to connect to, Vodafone-7D3A is same router but different
frequency


The AP on channel 112 is not responding to the initial AUTH frame.
Given that other devices work fine the AP probably does not receive
the frame, but it is unclear why.

Does bwfm manage to connect to the 7D3A AP on channel 6?




Re: Wireless network with bfwm sometimes works and sometimes doesn't

2024-04-09 Thread Stanislav Syekirin
m0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +190 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +190 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +189 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +190 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +190 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +190 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +190 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +191 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +190 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN
bwfm0: end active scan
bwfm0: + f0:af:85:9a:e4:23  112  +192 54M   ess  privacy   rsn 
"Vodafone-7D3A_5G"

bwfm0: SCAN -> AUTH
bwfm0: begin active scan
bwfm0: AUTH -> SCAN

Best regards
Stanislav Syekirin


On Di, 9 Apr 2024 09:00:29 +0200
 Stefan Sperling  wrote:

On Mon, Apr 08, 2024 at 11:30:07PM +0200, Stanislav Syekirin wrote:

This is my /etc/hostname.bwfm0:


Please add a line saying 'debug' at the top if hostname.bwfm0:

 debug

join NETWORK_IN_QUESTION_5G wpakey PASSWORD
inet6 autoconf
inet autoconf

I would appreciate any suggestions.


Show us what is printed in dmesg with debug enabled when it fails to 
connect.


Among other info it shows scan results. Does your AP appear in the 
list?




Wireless network with bfwm sometimes works and sometimes doesn't

2024-04-08 Thread Stanislav Syekirin

Hi all,

I'm not sure how to debug this systematically. I have OpenBSD 7.5 on 
Raspberry Pi 4 (but I had the same problem with 7.4 as well). 
Sometimes the computer connects to the wireless network at boot, and 
sometimes it doesn't, without any obvious pattern. Whenever it 
connects, it works fine and doesn't seem to be flaky or unusually 
slow, though I didn't measure. If it doesn't connect, despairingly 
calling `doas sh /etc/netstart bwfm0` or `doas ifconfig bwfm0 inet 
autoconf` sometimes helps, but more often doesn't. Other computers 
connected to the same network don't seem to be affected.


This is what the output of ping looks like when it doesn't connect:

PING 192.168.0.1 (192.168.0.1): 56 data bytes
ping: sendmsg: Can't assign requested address
(these two lines repeat until I ^C)
--- 192.168.0.1 ping statistics ---
9 packets transmitted, 0 packets received, 100.0% packet loss

This is what the output of `ifconfig bwfm0` looks like when it doesn't 
connect:


bwfm0: 
flags=a48843 
mtu 1500

lladdr e4:5f:01:4d:c2:2c
index 4 priority 4 llprio 3
groups: wlan
media: IEEE802.11 autoselect (OFDM6 mode 11a)
status: no network
	ieee80211: join NETWORK_IN_QUESTION_5G chan 112 bssid 
f0:af:85:9a:e4:23 -69dBm wpakey wpaprotos wpa2 wpaakms psk wpaciphers 
ccmp wpagroupcipher ccmp

inet6 fe80::e65f:1ff:fe4d:c22c%bwfm0 prefixlen 64 scopeid 0x4

This is my /etc/hostname.bwfm0:

join NETWORK_IN_QUESTION_5G wpakey PASSWORD
inet6 autoconf
inet autoconf

I would appreciate any suggestions.

Regards
Stanislav Syekirin



Re: hardware

2023-04-19 Thread Stanislav Syekirin





On Mi, 19 Apr 2023 12:51:02 +1000
 David Diggles  wrote:

On 2023-04-19 01:40, folly bololey wrote:

It doesn't matter whether the cat is black or white, as long as it
catches mice.

Black cat is more stealthy


just a different hunting strategy and depends on the lighting. white 
cats would be stealthier in snow, or ambushing from above in the day 
time.




To be honest I didn't know it was possible to install OpenBSD on a 
cat.




Re: Questions about man gcc-local

2023-03-03 Thread Stanislav Syekirin
The people on clang architectures need to know that the gcc systems 
are
different, that different decisions have been made. Education is 
way

more important than consistancy.


I'm all for being educated about differences between architectures. I 
think the current manual pages don't achieve it in this particular 
regard. They don't, as far as I see, mention anywhere that there even 
*are* gcc systems as opposed to clang systems. I've only learned about 
it from this mailing list and from blog entries by Frederic Cambus.



This manual page is not hurting you.


It does cause confusion (e.g. I see no way to find out from the manual 
pages on which platforms the GNU assembler is part of the system and 
on which platforms it is not; removing the man pages for certain 
platforms might not be the solution, but the problem is real).


Regards
Stanislav


On Fr, 03 Mär 2023 09:43:16 -0700
 Theo de Raadt  wrote:

And I think you are INCORRECT.

The #1 reason to make a manual page visible is for learning.

The people on clang architectures need to know that the gcc systems 
are
different, that different decisions have been made.  Education is 
way

more important than consistancy.

"Stanislav Syekirin" wrote:


I agree. I would expect man pages for as(1), gcc(1), gcc-local(1)
etc. to be present if as and gcc are present, and absent if they are
absent. Or, alternatively, gcc-local(1) should document which
platforms use gcc and which don't.

Regards
Stanislav

On Do, 2 Mär 2023 22:47:08 +
 Jason McIntyre  wrote:

> i don;t think we should be installing gcc-local(1) on any archs
> where
> gcc isnt happening:
> $ uname -a
> OpenBSD manila.kerhand.co.uk 7.2 GENERIC.MP#22 amd64
> $ man gcc
> man: No entry for gcc in the manual.
> jmc
> 







Re: BSD and kubernetes

2023-03-03 Thread Stanislav Syekirin
Depends of what kind of integration. I've seen a post about running 
Kubernetes under VMM: 
https://www.h-i-r.net/2023/02/running-kubernetes-cluster-with-openbsd.html. 
Maybe it does what you need.


Regards


On Sa, 4 Mär 2023 02:33:25 +0800
 Ken Young  wrote:

Hello,

I am a BSD user and also a user of kubernetes.
It seems the BSD community has no much interest in docker/k8s 
integration.

Is it true? and why?

Thanks.




Re: Questions about man gcc-local

2023-03-03 Thread Stanislav Syekirin
I agree. I would expect man pages for as(1), gcc(1), gcc-local(1) etc. 
to be present if as and gcc are present, and absent if they are 
absent. Or, alternatively, gcc-local(1) should document which 
platforms use gcc and which don't.


Regards
Stanislav

On Do, 2 Mär 2023 22:47:08 +
 Jason McIntyre  wrote:



i don;t think we should be installing gcc-local(1) on any archs 
where

gcc isnt happening:

$ uname -a
OpenBSD manila.kerhand.co.uk 7.2 GENERIC.MP#22 amd64
$ man gcc
man: No entry for gcc in the manual.

jmc





Re: Questions about man gcc-local

2023-03-03 Thread Stanislav Syekirin



On Do, 2 Mär 2023 22:22:51 - (UTC)
 Stuart Henderson  wrote:
 
Archs which still use gcc in base do have the gcc(1) manual, e.g. 
sparc64





Thanks for the answer. However, 
https://man.openbsd.org/OpenBSD-7.2/sparc64/gcc is empty as well. I, 
sadly, don't have an actual sparc64 machine so don't know what happens 
there.


Regards
Stanislav



Questions about man gcc-local

2023-03-02 Thread Stanislav Syekirin

Hi all,

is the man page for gcc-local 
(https://man.openbsd.org/OpenBSD-7.2/gcc-local) up to date? It 
mentions, for example, i386, but OpenBSD 7.2 on i386 doesn't seem to 
include gcc. Also, the link to gcc(1) at the bottom of the man page is 
dead.


Regards
Stanislav



Re: Which assembler does clang on OpenBSD use?

2023-03-01 Thread Stanislav Syekirin
Thanks for your answer. I additionaly checked the binaries produced on 
i386 (the binary produced with -integrated-as is identical to the one 
produced with no additional options but different from the one 
produces with -no-integrated-as). I also found that on aarch64, GNU as 
is not installed at all (I falsely assumed it would be there because 
the corresponding man page is there). This confirms what you are 
saying.


Regards
Stanislav

On Mi, 1 Mär 2023 14:20:34 - (UTC)
 Stuart Henderson  wrote:
On 2023-03-01, Stanislav Syekirin 
 wrote:

Hi,

clang can use its integrated assembler or some other assembler (GNU 
as, I presume). How do I find out which one is used by default? The 
man page only says: "Whether the integrated assembler is on by 
default 
is target dependent". My platforms are aarch64 and i386, if it 
helps.


AFAIK the OpenBSD architectures which use clang to compile the main
OS are all also using the integrated assembler. (Not sure if sparc64
does but in that case, while LLVM/clang are built, they aren't yet
used to build the OS).

I'm not sure if it's documented anywhere, I didn't find it.
But llvm/lib/MC/MCAsmInfo.cpp has this comment

 // - Solaris always enables the integrated assembler by default
 //   - SparcELFMCAsmInfo and X86ELFMCAsmInfo are handling this case
 // - Windows always enables the integrated assembler by default
 //   - MCAsmInfoCOFF is handling this case, should it be 
MCAsmInfoMicrosoft?
 // - MachO targets always enables the integrated assembler by 
default

 //   - MCAsmInfoDarwin is handling this case
 // - Generic_GCC toolchains enable the integrated assembler on a 
per

 //   architecture basis.
 //   - The target subclasses for AArch64, ARM, and X86 handle these 
cases


and clang/lib/Driver/ToolChains/Gnu.cpp has

bool Generic_GCC::IsIntegratedAssemblerDefault() const {
 switch (getTriple().getArch()) {
 case llvm::Triple::x86:
 case llvm::Triple::x86_64:
 case llvm::Triple::aarch64:
 case llvm::Triple::aarch64_be:
 case llvm::Triple::arm:
 case llvm::Triple::armeb:
 case llvm::Triple::avr:
 case llvm::Triple::bpfel:
 case llvm::Triple::bpfeb:
 case llvm::Triple::thumb:
 case llvm::Triple::thumbeb:
 case llvm::Triple::ppc:
 case llvm::Triple::ppcle:
 case llvm::Triple::ppc64:
 case llvm::Triple::ppc64le:
 case llvm::Triple::riscv32:
 case llvm::Triple::riscv64:
 case llvm::Triple::systemz:
 case llvm::Triple::mips:
 case llvm::Triple::mipsel:
 case llvm::Triple::mips64:
 case llvm::Triple::mips64el:
 case llvm::Triple::msp430:
 case llvm::Triple::m68k:
   return true;
 case llvm::Triple::sparc:
 case llvm::Triple::sparcel:
 case llvm::Triple::sparcv9:
   if (getTriple().isOSFreeBSD() ||
   getTriple().isOSSolaris())
 return true;
   return false;
 default:
   return false;
 }
}


--
Please keep replies on the mailing list.





Which assembler does clang on OpenBSD use?

2023-02-28 Thread Stanislav Syekirin

Hi,

clang can use its integrated assembler or some other assembler (GNU 
as, I presume). How do I find out which one is used by default? The 
man page only says: "Whether the integrated assembler is on by default 
is target dependent". My platforms are aarch64 and i386, if it helps.


Regards
Stanislav



Re: Android (MTP) with OpenBSD: Tiny success story

2020-01-22 Thread Stanislav
devel/adb was installed successfully (OpenBSD 6.6).
Sorry for that fisrt comment. Then I just got fresh ports. This new report
is actual.
Adb tool works fine! I made several tests for shell, pull, backup, reboot.
The device is the same: mentioned by me before for described umass-method.
Android: 4.1.2, baseband & build: Apr 1 2013



--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html



Re: Display flickers after upgrade to 6.6

2020-01-20 Thread Stanislav Gilmulin

Yes, I have customized xorg.conf via /etc/X11/xorg.conf.d/intel.conf :

Section "Device"
  Identifier "drm0"
  Driver "intel"
  Option "TearFree" "true"
EndSection

I checked /var/log/Xorg.0.log, "intel" driver works without errors.

Unfortunately I did not solve the problem modifying this configuration 
file.


P.S. The https://man.openbsd.org/intel page mentions 
"XV_SYNC_TO_VBLANK". Even if it might be solution, actually I m not sure 
I can set this attribute.


On 10-01-2020 20:58, Dumitru Moldovan wrote:

On Fri, Jan 10, 2020 at 10:18:51AM -0700, Stanislav wrote:

I have got weak flickering of XFCE too (after upgrade to 6.6).
Mentioned setting the method for vblank does not fix it. Turning 
on/off

compositor does not help too.
Any ideas?



Have you tried customizing xorg.conf?  This /etc/X11/xorg.conf works 
for

me in 6.6 with the Radeon HD 4200 video chipset from my old desktop:

Section "Device"
   Identifier "drm0"
   Driver "radeon"
   Option "AccelMethod" "glamor"
   Option "DRI" "3"
   Option "TearFree" "On"
   Option "SWCursor" "true"
EndSection

Still getting a bit of glitches when resuming, but mostly just for the
current window (the terminal) and it's usually enough to change the
active "window" in tmux to get rid of it.  Rarely do I have to change
to console and back with CTRL-ALT-F1 and CTRL-ALT-F5.  Had more issues
with the older driver (and default settings), so I'm actually happy
with the upgrade in this regard.




Re: Display flickers after upgrade to 6.6

2020-01-10 Thread Stanislav
I have got weak flickering of XFCE too (after upgrade to 6.6).
Mentioned setting the method for vblank does not fix it. Turning on/off
compositor does not help too.
Any ideas?




-
Best Regards,
Stanislav Gilmulin
--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html



Re: Android (MTP) with OpenBSD: Tiny success story

2020-01-10 Thread Stanislav
Let me tell misc@ about this case with Samsung GN7000 (2011).

simple-mtpfs does not work with this phone. MTP connection is established
but transferring is empty.

umass works fine (OpenBSD 6.4, 6.5, 6.6). "Settings" -> "USB Computer
Connection". When this mode is activated on the connected phone, the
commands are smth might be like these: 
$ tail /var/log/messages | grep sd2
# disklabel sd2
# mount -t msdos /dev/sd2i /mnt/android

devel/adb port can not be installed as is due to "libraries do not match"
error  (OpenBSD 6.6). Actually I have caught the behavior recently and I
have not investigated it yet.






-
Best Regards,
Stanislav Gilmulin
--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html



Re: What is you motivational to use OpenBSD

2020-01-10 Thread Stanislav
I consider my way as quite typical path to become OpenBSD-newbie. 
1.5 years ago I decided to remove Windows 10 from my home notebook. 

Why not Linux? I have own experience in using Linux distros for work/home
purposes on many machines. Actually Im not advanced but I pretend to have
the confident opinion.
At the first stage I made smth like table about well-known modern GNU\Linux
distros with the pros and cons. I hoped to catch optimal solution for
non-specific purposes. This approach failed due to classical "linux is a
mess". I finished the review deciding to install Debian if OpenBSD-try fails
on my notebook. 
Generally "Linux" is practically more convenient distro at the moment, but
there are bad trends in linux world too as I see. Second, If I need to
explain my final decision based on its esthetic component I declare that I
want the elegant system with own straight way according to my understanding.
I love holistic and consistent things. 

Why not FreeBSD? I was running it as desktop in 2007 on my home PC and I had
few episodes with maintaining it remotely and as half-dead body in DC.
Good modern system. It has own strong features and advantages. But none of
them helps to choose FreeBSD as desktop or laptop in 2018 without any
doubts. I think its true (IMHO) in 2020 too.
Finally, I observe smth like crisis in FreeBSD's growth. Its future is not
clear. Of course, future is not absolutely clear always and everywhere, but
Im sure you understand what I mean. Sorry, FreeBSD-people.

Let me stop to list rejected systems here. The full list of technical points
I compared is too boring. And, of course, small note is not good option to
tell why I reject each specific distro.

OpenBSD was just experiment. I wanted to test it. Now I stay with OpenBSD.
It is cool.

OK, so, this experiment has the result. I tend to call it positive. The
migration from Windows 10 to OpenBSD 6.4 completed successfully in short
time (week). I guarantee that the function volume and comfort have not
decreased dramatically. What I have got now as profit?
First of all, I think it is not correct when one writes similar report in
economic terms. OpenBSD project is not commercial. It is not product I
think. For me it is interesting project with strong basement consisted of
clear principles, strong team, long history, own community and clear future.
In Linux area we have got huge size of community, and for practical purposes
it is optimal to be with Linux, because scale helps user to find answers, it
provides wide spectra of software for every task. In OpenBSD users has got
not so rich economics. The obvious fact is "if you want your best system you
need to contribute and to do smth for the project". 
So, what is my profit (vs Windows)? 
I have old-school transparent OS: 
https://www.openbsd.org/lyrics.html#46 
https://www.openbsd.org/lyrics.html#45
https://www.openbsd.org/lyrics.html#61
My computer works fully on my own tasks; my data is only my data; unix-way;
correctness; proactive security; controlled reboot and update; I have not
extra and imposed stuff.  

I thank all participants of the OpenBSD project (developers, devops etc) and
all OpenBSD users.
I thank OpenBSD Foundation and its contributors for their help.

Disclaimer. I love Windows and I continue using it due to current work.
Windows is product for certain areas. OpenBSD and Windows are not
competitors. But OpenBSD is quite universal instrument and I hope to install
it instead of Windows soon where it is depends on me and if it is possible
technically and legally. The reason why I will do it is just desire to
increase experience for the project.

Few words additionally. To be honest I have to say that I use wi-fi via
usb-adapter because my on-board card doesn't work here. If you migrate
please check you hardware using available information. The situation is very
good, you have good chances to launch OpenBSD without appearing troubles.
Perhaps, the another option would be to build the best configuration for
your OpenBSD-PC. Share your experience !
  



-
Best Regards,
Stanislav Gilmulin
--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html



ipsec, add another ciphers and authentication types

2019-02-05 Thread stanislav . yarakaev
� Hi! Who added his/external authentication types ans encryption
algorithm to IPSec in OpenBSD?Have you seen examples or articles on this
topic? Whether there is a?� � 


Re: rtwn

2018-12-12 Thread Stanislav
OK. What can I do?
Could you recommend an action I can make?
Is it normal if I just wait for new version of rtwn?
Or does this situation mean that mentioned card probably never will be
supported? 

I have searched similar cases. 
Stefan Sperling's report at EuroBSDcon2017:  "Sometimes just adding a new
PCI/USB device ID is enough to extend device support of an existing driver".

Or the problem is more complicated and driver is not ready to work with the
device. Is it? What can I research?




--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html



Get status about ipsec throught snmpd.

2018-08-28 Thread Stanislav Yarakaeff
Hi!
We are testing OpenBSD v6 for emmbedded devices and would like get status
about IPsec from snmpd.  In the OPENBSD-BASE-MIB.txt file,   I saw the line
"- ipsecMIBObjects OBJECT IDENTIFIER :: = {openBSD 4}".
How is it possible to determine the status (OID) for snmpd?

Thank you!


PERC6 and PE1950

2008-02-25 Thread Stanislav Ovcharenko
Hello all:
 
I know this has been discussed here before but last I heard people continue to 
have issues with new PE1950. I'd like to have a positive confirmation that new 
mfi driver will support PERC6i from Marco or someone who actually has new 1.16 
driver working with it before we make a purchase.
 
Thank you, Stas.


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



Re: PE1950

2007-11-22 Thread Stanislav Ovcharenko
We have a few PE1950s and they all came with PERC5 but the new ones I've been 
quoting up are PERC6's. So it definitely a new addition. 
 
 PERC6 does not work yet with out mfi driver but I am also pretty sure
 those aren't really available yet.
 
I'm confused. So does it or does it not work with mfi driver?
 
thank you, Stas.


- Original Message 
From: Claer [EMAIL PROTECTED]
To: misc@openbsd.org
Sent: Thursday, November 22, 2007 3:44:01 AM
Subject: Re: PE1950

On Wed, Nov 21 2007 at 56:15, Marco Peereboom wrote:
 This machines works fine with 4.2.
 
 PERC6 does not work yet with out mfi driver but I am also pretty sure
 those aren't really available yet.

The last PE 1950 we bought (2 months ago) came with PERC 5. I heard that
new hardware should arrive near december for the PE 1950.


Claer

 On Wed, Nov 21, 2007 at 09:55:54AM -0800, Stanislav Ovcharenko wrote:
  Hello,
   
  I'm planning on running OpenBSD 4.2 on Dell Power Edge 1950.
   
  Question 1: How stable is it on x64 platform? I mean native 64 bit code. I 
  assume that x86 code will run just fine ...
  Question 2: Does anyone know if PERC 6 RAID controller is supported. The 
  hardware list says that it will work with PERC 5 and I'm wondering if the 
  same driver will detect and support the chipset on PERC 6 controller.
   
  Any feedback would be appreciated.
   
  Regards, Stas.


  

Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ



PE1950

2007-11-21 Thread Stanislav Ovcharenko
Hello,
 
I'm planning on running OpenBSD 4.2 on Dell Power Edge 1950.
 
Question 1: How stable is it on x64 platform? I mean native 64 bit code. I 
assume that x86 code will run just fine ...
Question 2: Does anyone know if PERC 6 RAID controller is supported. The 
hardware list says that it will work with PERC 5 and I'm wondering if the same 
driver will detect and support the chipset on PERC 6 controller.
 
Any feedback would be appreciated.
 
Regards, Stas.


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs



Re: apr proxy problem

2007-09-06 Thread Stanislav Ovcharenko
yeah well, the problem is really with one of the windows servers in a NLB
multicast cluster. Two identically configured (to my knowledge) VPN servers
have two different IP address pools for incoming connections and the problem
is that one server once the connection is established responds to  ARP
requests for the client IP with correct true interface MAC and the other
server responds with virtual cluster MAC. ARP proxy seems to be a working
remedy for this issue but in reality it's not a solution. If I could find out
why BSD overwrites static arp entries I can let this issue with VPN cook a
little longer.

regards, S.

- Original Message 
From: Bryan Irvine
[EMAIL PROTECTED]
To: Stanislav Ovcharenko [EMAIL PROTECTED]
Cc:
misc@openbsd.org
Sent: Thursday, September 6, 2007 1:09:16 AM
Subject: Re: apr
proxy problem

On 9/5/07, Stanislav Ovcharenko [EMAIL PROTECTED] wrote:
 I
need to have ARP proxy running on my router/firewall loaded with OpenBSD

4.0.
 I'm seeing some behavior that is contradictory to what arp man page

says.

 arp -an | grep em1 says
 (111.111.111.111) at 00:cc:00:cc:00:cc

on em1
 permanent static published

 and than ...

 cat

/var/log/messages | grep em1
 tells me that
 Sep 5 14:11:11 XXXYYY /bsd: arp
 info overwritten for
 111.111.111.111 by 00:aa:00:aa:00:aa on em1

 which
is
 contrary to what arp
 man page says about permanent attribute and what
one would
 expect.

 any info
 why this is happening would be greatly
appreciated,
 thanks for looking.


I had nothing but problems when trying to
use arp proxy.  I'd ditch it
and try something else (if possible).  What's the
eventual goal?

--Bryan
_
___
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/



Re: filesystems?

2007-09-06 Thread Stanislav Ovcharenko
I certainly wouldn't try writing to NTFS filesystem on any system other then
winnt especially in production.

I don't think it's actually possible to
shrink NTFS partition in a Microsoft supported way only extend it with
diskpart. 

S.

- Original Message 
From: Darren Spruell
[EMAIL PROTECTED]
To: Jona Joachim [EMAIL PROTECTED]
Cc: Misc OpenBSD
misc@openbsd.org
Sent: Thursday, September 6, 2007 1:47:31 PM
Subject: Re:
filesystems?

On 9/6/07, Jona Joachim [EMAIL PROTECTED] wrote:
 On Thu, 6 Sep
2007 07:11:47 -0700
 J.C. Roberts [EMAIL PROTECTED] wrote:

 
On Tuesday 04 September 2007, Jona Joachim wrote:
   On Mon, 3 Sep 2007
18:17:44 +0200
  
   Martin SchrC6der [EMAIL PROTECTED] wrote:
  
 2007/9/3, The One [EMAIL PROTECTED]:
 FAT32.
   
And everyone can be compiled to read NTFS; Linux can even write to
 
  it.
  
   FreeBSD can also write NTFS using the ntfs-3g driver
together with
   fusefs.
  
  
   Jona
 
  Actually, this is
tenative at best. Though some have had success both
  reading from and
writing to various NTFS versions, it's not really a
  safe thing to do. It's
still an undocumented file system, and many
  typical operations fail
disastrously. This week I wasted two
  different XP installations by
attempting to resize the NTFS partition
  (shrink) with two different open
source tools (PartitionLogic and
  GParted).

 I never really used it, I
think I just tested it once.
 On their site they say: The driver is in
STABLE status since February
 2007, after twelve years of development so I
thought it was ok.
 I had some terrible crashes with sshfs on FreeBSD. I
think the FreeBSD
 fuse kernel module is a bit flaky. I never tried it on
Linux.

How stable a driver is doesn't indicate the actual level of success
writing {safely,properly,sanely} to a problematic filesystem.like
NTFS. It may
successfully corrupt data without crashing or throwing
errors at all.

DS
_
___
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's
updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow



apr proxy problem

2007-09-05 Thread Stanislav Ovcharenko
I need to have ARP proxy running on my router/firewall loaded with OpenBSD
4.0. 
I'm seeing some behavior that is contradictory to what arp man page
says.

arp -an | grep em1 says
(111.111.111.111) at 00:cc:00:cc:00:cc 
on em1
permanent static published

and than ...

cat 
/var/log/messages | grep em1
tells me that
Sep 5 14:11:11 XXXYYY /bsd: arp 
info overwritten for
111.111.111.111 by 00:aa:00:aa:00:aa on em1

which is 
contrary to what arp
man page says about permanent attribute and what one would 
expect.

any info
why this is happening would be greatly appreciated, 
thanks for looking.
_
___
Luggage? GPS? Comic books? 
Check out fitting gifts for grads at
Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz