Re: sftp server empty password login

2024-03-26 Thread Sylvain Saboua

Problem solved, thank you !
Just removing the password asterisk using vipw was enough :

$ grep media /etc/passwd
media::2000:2000::/home/media:/sbin/nologin

and I am now able to log in, from the local network
(still need to open my ISP's box port and confirm that it
works remotely)

Le 2024-03-26 13:26, Darren Tucker a écrit :

You could run sshd in debug mode to be sure ("/usr/sbin/sshd -ddd -p
", then connect with "sftp -oport="), but...

On Tue, 26 Mar 2024 at 22:10, Sylvain Saboua  
wrote:

[...]

# useradd -g media -s /sbin/nologin -u 2000 -v media


Unless /sbin/nologin is in /etc/shells (which it probably shouldn't
be), that will probably prevent the login.  I'd suggest /bin/true for
both the user and in /etc/shells.



/bin/true is not in the /etc/shells file on my system.
Did you suggest I should add it ?


`# passwd media') does not work either. What am I doing wrong ?


What do you mean by "does not work"?  When I've done something similar
in the past I've edited the passwd file with vipw and removed the
hashed password value leaving nothing in the password field, ie

someuser::1001:1001: [etc ...]


I meant that I could still not login sftp://media@lap after setting
a password using the passwd command.

--
Sylvain Saboua
www.saboua.xyz



sftp server empty password login

2024-03-26 Thread Sylvain Saboua

I have been using the secure shell for remote maintenance
on my local machine for some time. I wish to go one step
further and implement a secure file transfer server, where
user(s) could download files from a read-only /home/media
directory as well as upload their own files to /home/media/pub

Ideally this would be done via passwordless/empty password login.
I have done some research (manpages) and configuration but still
fail to connect from another machine on the same local network.

obsd configuration :

# useradd -g media -s /sbin/nologin -u 2000 -v media
# usermod -G media sylvain

$ more /etc/ssh/sshd_config # relevant extracts and changes :
...
PermitRootLogin no
...
# override default of no subsystems
#Subsystem  sftp/usr/libexec/sftp-server -d /home/media
Subsystem   sftp internal-sftp # -d /home/media

Match User media
ForceCommand internal-sftp -d /home/media
ChrootDirectory /home/media
PasswordAuthentication yes
AuthenticationMethods none
PermitEmptyPasswords yes

$ ll -d /home/media /home/media/pub
drwxr-xr-x  16 root   wheel  512 Mar 25 17:42 /home/media/
drwxr-xr-x   3 media  media  512 Mar 25 17:42 /home/media/pub/

failed connexion attempt from second local machine
(just pressing Enter at password prompt):

Last login: Tue Mar 26 09:46:37 on ttys001
sylvain@sylvainmac ~ % sftp media@10.0.0.11
media@10.0.0.11's password:
Permission denied, please try again.
media@10.0.0.11's password:
Permission denied, please try again.
media@10.0.0.11's password:
media@10.0.0.11: Permission denied ().
Connection closed
sylvain@sylvainmac ~ %

Attempting to login using a password (after definition using
`# passwd media') does not work either. What am I doing wrong ?
Thank you
--
Sylvain Saboua
www.saboua.xyz



Re: plasmashell crashes when typing in the applications menu search bar

2024-01-26 Thread Sylvain Saboua

Le 2024-01-25 07:58, Rafael Sadowski a écrit :

On Wed Jan 24, 2024 at 09:52:10PM +0100, bi...@iscarioth.org wrote:

Hello Sylvain !

If my assumption is correct (KDE open a huge number of files during
the query),

So you had to increase the number of files open with

 > sysctl kern.maxfiles=102400

you can put it on `/etc/sysctl.conf`  like this at every boot
kern.maxfiles will be setup to 102400

also, you had to change your /etc/login.conf put these two lines to
staff group

```

 :openfiles-max=102400:\

 :openfiles-cur=102400:\

```

A little reboot is necessary, and  everything will work ! ;)



Thanks, this still needs to be documented in the README-plasma.


This indeed solved the problem, as well as, more importantly,
the bug/crash when trying to use my music library.
(reported here https://marc.info/?l=openbsd-misc=170559205405527=2)

--
Sylvain Saboua
linktr.ee/Sylvain



Solved: QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files

2024-01-26 Thread Sylvain Saboua

Conveniently solved by adding openfiles-max and openfiles-cur
parameters for the staff class in /etc/login.conf, as well as defining
the kern.maxfiles to 102400 in /etc/sysctl.conf

See https://marc.info/?l=openbsd-misc=170616598000793=2

Le 2024-01-18 16:25, Sylvain Saboua a écrit :

KDE/Plasma's elisa (music library player/manager) and Dolphin
(file manager) both crash when trying to open/manage my music library.

This bug apparently has already happened (same bug report 
up/down-stream):

https://bugs.kde.org/show_bug.cgi?id=437888
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256269

When launched Elisa will show up to "Imported 396 tracks" and then do 
nothing.
The "Genres" section is full of genres but each contain zero (0) 
tracks.
Opening another section (Files, Tracks, Artists, Albums) crashes the 
app
displaying this email's subject as an error multiple times (caught 
using

a terminal).

Dolphin also crashes when trying to open "/home/media/B - Musithèque"

$ls /home/media/B\ -\ Musithèque/ | wc -l
 624
$lla -R /home/media/B\ -\ Musithèque/ | wc -l
   11643
$

Thank you


--
Sylvain Saboua
linktr.ee/Sylvain



Re: mpv won't play video : "Consider fixing your graphic drivers"

2024-01-20 Thread Sylvain Saboua
LPB(wakeup)
acpibtn2 at acpi0: LID0(wakeup)
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "NOTEBOOK"
"PNP0C14" at acpi0 not configured
acpicpu0 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS

acpitz0 at acpi0: critical temperature is 120 degC
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD0
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 2693 MHz: speeds: 2701, 2700, 2600, 2400, 2300, 
2200, 2000, 1900, 1700, 1600, 1500, 1300, 1200, 1100, 900, 800 MHz

pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi, SANDYBRIDGE, gen 6
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi, 
xHCI 1.0

usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 
3.00/1.00 addr 1

"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 
int 16

usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 
2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: 
msi

azalia0: codecs: VIA/0x8446, Intel/0x2806, using VIA/0x8446
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 2 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 2
iwn0 at pci2 dev 0 function 0 "Intel Centrino Wireless-N 2230" rev 0xc4: 
msi, MIMO 2T2R, BGN, address 00:c2:c6:02:95:ea

ppb2 at pci0 dev 28 function 3 "Intel 7 Series PCIE" rev 0xc4: msi
pci3 at ppb2 bus 3
rtsx0 at pci3 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: 
msi

sdmmc0 at rtsx0: 4-bit, dma
re0 at pci3 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880), 
msi, address 00:90:f5:e2:e0:c3

rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 
int 23

usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 
2.00/1.00 addr 1

pcib0 at pci0 dev 31 function 0 "Intel HM76 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, 
AHCI 1.3

ahci0: port 0: 6.0Gb/s
ahci0: port 2: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  
naa.5002538f40c128a7

sd0: 953869MB, 512 bytes/sector, 1953525168 sectors, thin
cd0 at scsibus1 targ 2 lun 0:  
removable
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 
2 int 18

iic0 at ichiic0
"eeprom" at iic0 addr 0x50 not configured
spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 7.2, 0x1c0b1 0xa4 0x0 0xd04731 
0xa

pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
ugen0 at uhub0 port 3 "Intel Bluetooth" rev 2.00/78.69 addr 2
uvideo0 at uhub0 port 4 configuration 1 interface 0 "Bison BisonCam, NB 
Pro" rev 2.00/6.06 addr 3

video0 at uvideo0
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching 
Hub" rev 2.00/0.00 addr 2
uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching 
Hub" rev 2.00/0.00 addr 2

vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: 
sd1: 255999MB, 512 bytes/sector, 524287472 sectors
softraid0: volume sd1 is roaming, it used to be sd0, updating metadata
softraid0: roaming device wd0a -> sd0a
root on sd1a (97cd9ad0abbe5364.a) swap on sd1b dump on sd1b
WARNING: / was not properly unmounted
inteldrm0: 1366x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using 
wskbd0

wsdisplay0: screen 1-5 added (std, vt100 emulation)
drm:pid52781:intel_pipe_update_start *ERROR* [drm] *ERROR* Potential 
atomic update failure on pipe B



--
Sylvain Saboua
linktr.ee/Sylvain



Re: any terminal emulator will default to root folder instead of $HOME

2024-01-20 Thread Sylvain Saboua

Le 2024-01-20 11:53, Rafael Sadowski a écrit :

On Thu Jan 18, 2024 at 03:33:48PM +0100, Sylvain Saboua wrote:

I have been using KDE/Plasma on openbsd since last week-end.

Amongst other bugs, mostly minor, which I should also report,
there is this one : when opening an new instance of konsole,
Plasma's terminal emulator program, the fallback folder location
will be in / instead of $HOME (in my case /home/sylvain).

How to reproduce to bug : open a new konsole instance and type :

$pwd
/
$

This also happens when using (suckless') st or (default) xterm.

I did not have this problem with st and (openbsd's) cwm on the
same openbsd installation (before upgrading to kde packages)

Thank you
--
Sylvain Saboua
linktr.ee/Sylvain



How do you start kde plasma? Have you read:
/usr/local/share/doc/pkg-readmes/kde-plasma ?


I have read the readme and simply copy-pasted the indicated lines
in my .xsession (this is an extract from the files, last lines) :

export XDG_RUNTIME_DIR=/tmp/run/$(id -u)
if [ ! -d $XDG_RUNTIME_DIR ]; then
mkdir -m 700 -p $XDG_RUNTIME_DIR
fi

export QT_FORCE_STDERR_LOGGING=1
export XDG_CURRENT_DESKTOP=KDE
export DESKTOP_SESSION=plasma
export QT_FORCE_STDERR_LOGGING=1
/usr/local/bin/startplasma-x11 > ~/.startplasma-x11.log 2>&1

--
Sylvain Saboua
linktr.ee/Sylvain



Re: any terminal emulator will default to root folder instead of $HOME

2024-01-20 Thread Sylvain Saboua

Le 2024-01-20 11:59, hahahahacker2...@airmail.cc a écrit :

On 2024-01-18 21:33, Sylvain Saboua wrote:

I have been using KDE/Plasma on openbsd since last week-end.

Amongst other bugs, mostly minor, which I should also report,
there is this one : when opening an new instance of konsole,
Plasma's terminal emulator program, the fallback folder location
will be in / instead of $HOME (in my case /home/sylvain).

How to reproduce to bug : open a new konsole instance and type :

$pwd
/
$

This also happens when using (suckless') st or (default) xterm.

I did not have this problem with st and (openbsd's) cwm on the
same openbsd installation (before upgrading to kde packages)

Thank you

Your ~/.profile should have a line that cd to /


you mean that cd to $HOME or /home/sylvain ?
There is no such cd / in my .profile. This file on my
installation is very basic :

$more .profile
# $OpenBSD: dot.profile,v 1.7 2020/01/24 02:09:51 okan Exp $
#
# sh/ksh initialization

PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games
export PATH HOME TERM
export ENV=$HOME/.kshrc

export LC_CTYPE=en_US.UTF-8

$more .kshrc
. /etc/ksh.kshrc

export PS1=\$
export HISTCONTROL=ignoredups
export HISTFILE=$HOME/.history
export HISTSIZE=5000
export CLICOLOR=1

... (stripped out aliases definitions)

$

Note that the problem/bug is absent with yakuake :
opening the terminal panel with F12 and typing pwd
accurately displays /home/sylvain

--
Sylvain Saboua
linktr.ee/Sylvain



QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files

2024-01-18 Thread Sylvain Saboua

KDE/Plasma's elisa (music library player/manager) and Dolphin
(file manager) both crash when trying to open/manage my music library.

This bug apparently has already happened (same bug report 
up/down-stream):

https://bugs.kde.org/show_bug.cgi?id=437888
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256269

When launched Elisa will show up to "Imported 396 tracks" and then do 
nothing.

The "Genres" section is full of genres but each contain zero (0) tracks.
Opening another section (Files, Tracks, Artists, Albums) crashes the app
displaying this email's subject as an error multiple times (caught using
a terminal).

Dolphin also crashes when trying to open "/home/media/B - Musithèque"

$ls /home/media/B\ -\ Musithèque/ | wc -l
 624
$lla -R /home/media/B\ -\ Musithèque/ | wc -l
   11643
$

Thank you
--
Sylvain Saboua
linktr.ee/Sylvain



plasmashell crashes when typing in the applications menu search bar

2024-01-18 Thread Sylvain Saboua
EBOOK"
"PNP0C14" at acpi0 not configured
acpicpu0 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@109 mwait.1@0x30), C2(500@80 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS

acpitz0 at acpi0: critical temperature is 120 degC
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD0
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 2693 MHz: speeds: 2701, 2700, 2600, 2400, 2300, 
2200, 2000, 1900, 1700, 1600, 1500, 1300, 1200, 1100, 900, 800 MHz

pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi, SANDYBRIDGE, gen 6
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi, 
xHCI 1.0

usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 
3.00/1.00 addr 1

"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 
int 16

usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 
2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: 
msi

azalia0: codecs: VIA/0x8446, Intel/0x2806, using VIA/0x8446
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 2 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 2
iwn0 at pci2 dev 0 function 0 "Intel Centrino Wireless-N 2230" rev 0xc4: 
msi, MIMO 2T2R, BGN, address 00:c2:c6:02:95:ea

ppb2 at pci0 dev 28 function 3 "Intel 7 Series PCIE" rev 0xc4: msi
pci3 at ppb2 bus 3
rtsx0 at pci3 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: 
msi

sdmmc0 at rtsx0: 4-bit, dma
re0 at pci3 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880), 
msi, address 00:90:f5:e2:e0:c3

rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 
int 23

usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 
2.00/1.00 addr 1

pcib0 at pci0 dev 31 function 0 "Intel HM76 LPC" rev 0x04
pciide0 at pci0 dev 31 function 2 "Intel 7 Series SATA" rev 0x04: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI

pciide0: using apic 2 int 19 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: 
wd0: 1-sector PIO, LBA48, 953869MB, 1953525168 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0:  
removable

wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 
2 int 18

iic0 at ichiic0
"eeprom" at iic0 addr 0x50 not configured
spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
pciide1 at pci0 dev 31 function 5 "Intel 7 Series SATA" rev 0x04: DMA, 
channel 0 wired to native-PCI, channel 1 wired to native-PCI

pciide1: using apic 2 int 19 for native-PCI interrupt
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 7.2, 0x1c0b1 0xa4 0x0 0xd04731 
0xa

pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
ugen0 at uhub0 port 3 "Intel Bluetooth" rev 2.00/78.69 addr 2
uvideo0 at uhub0 port 4 configuration 1 interface 0 "Bison BisonCam, NB 
Pro" rev 2.00/6.06 addr 3

video0 at uvideo0
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching 
Hub" rev 2.00/0.00 addr 2
uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching 
Hub" rev 2.00/0.00 addr 2

vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd0 at scsibus3 targ 1 lun 0: 
sd0: 255999MB, 512 bytes/sector, 524287472 sectors
root on sd0a (97cd9ad0abbe5364.a) swap on sd0b dump on sd0b
inteldrm0: 1366x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using 
wskbd0

wsdisplay0: screen 1-5 added (std, vt100 emulation)

Thank you
--
Sylvain Saboua
linktr.ee/Sylvain
OpenBSD 7.4-current (GENERIC.MP) #1607: Thu Jan 18 00:25:09 MST 2024
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8447836160 (8056MB)
avail mem = 8171032576 (7792MB)

any terminal emulator will default to root folder instead of $HOME

2024-01-18 Thread Sylvain Saboua

I have been using KDE/Plasma on openbsd since last week-end.

Amongst other bugs, mostly minor, which I should also report,
there is this one : when opening an new instance of konsole,
Plasma's terminal emulator program, the fallback folder location
will be in / instead of $HOME (in my case /home/sylvain).

How to reproduce to bug : open a new konsole instance and type :

$pwd
/
$

This also happens when using (suckless') st or (default) xterm.

I did not have this problem with st and (openbsd's) cwm on the
same openbsd installation (before upgrading to kde packages)

Thank you
--
Sylvain Saboua
linktr.ee/Sylvain



Re: mpv won't play video : "Consider fixing your graphic drivers"

2023-12-20 Thread Sylvain Saboua




Le 2023-12-21 04:55, Anthony J. Bentley a écrit :

Sylvain Saboua writes:

[vo/sdl] Using opengl
[vo/sdl] Warning: this legacy VO has bad performance. Consider fixing
your graphics drivers, or not forcing the sdl VO.


This message is specific to the sdl and xv outputs. The mpv manpage 
says:


The recommended output driver is --vo=gpu, which is the default. 
All

other drivers are for compatibility or special purposes. If the
default does not work, it will fallback to other drivers (in the 
same

order as listed by --vo=help).

So either you're specifying sdl manually (in a config file?) or the
default is not working and mpv is falling back to sdl. Can you confirm
which it is?


Second, it's a fallback. Nothing even plays and the warning displays
in red when specifying --vo=gpu :

$mpv --vo=gpu /home/media/E\ -\ Séries/Salem/Salem\ 
S01/Salem.S01E07.VOSTFR.720p.HDTV.x264-RUDY.mkv

 (+) Video --vid=1 (*) 'Video' (h264 1280x720 23.976fps)
 (+) Audio --aid=1 --alang=eng (*) 'Audio' (ac3 6ch 48000Hz)
 Subs  --sid=1 --slang=fre (*) 'Subs' (subrip)
[vo/gpu] Failed initializing any suitable GPU context!
Error opening/initializing the selected video_out (--vo) device.
Video: no video

Exiting... (Errors when loading file)
$


What could go wrong ? I doubt that it would only be that my
computer isn't powerful enough. I have tried different --vo
arguments without success.


What does "without success" mean? That it continues to fall back to
sdl and print that message (say, if you specify --vo=gpu)?


I mean that it does not change the behavior at all.
I was not aware that the default was overrun however,
and hadn't tried --vo=gpu.
The error above I got for the first time.

--
Sylvain Saboua
linktr.ee/Sylvain



mpv won't play video : "Consider fixing your graphic drivers"

2023-12-20 Thread Sylvain Saboua

I own a 2013 Clevo laptop. Running obsd as daily driver and
default/minimalist tools such as cwm, tmux, st, mpv, cmus 

I have a dedicated partition mounted on /home/media for storing
multimedia files : music, movies, series 

mpv is reluctant to correctly play videos if another process
is using the slightest amount of computer resources.
For instance at the moment I have only a tmux session inside
st running cp to put some music on an sd card. Yet the video
won't play, only audio, whereas if mpv is the only process
running I can enjoy my series without trouble.

$mpv /home/media/E\ -\ Séries/Salem/Salem\ 
S01/Salem.S01E06.VOSTFR.720p.HDTV.x264-RUDY.mkv

 (+) Video --vid=1 (*) 'Video' (h264 1280x720 23.976fps)
 (+) Audio --aid=1 --alang=eng (*) 'Audio' (ac3 6ch 48000Hz)
 Subs  --sid=1 --slang=fre (*) 'Subs' (subrip)
[vo/sdl] Using opengl
[vo/sdl] Warning: this legacy VO has bad performance. Consider fixing 
your graphics drivers, or not forcing the sdl VO.

AO: [sndio] 48000Hz 5.1(alsa) (5.1) 6ch s16
VO: [sdl] 1280x720 yuv420p
AV: 00:00:02 / 00:42:55 (0%) A-V: -0.000

Exiting... (Quit)
$

What could go wrong ? I doubt that it would only be that my
computer isn't powerful enough. I have tried different --vo
arguments without success.
--
Sylvain Saboua
linktr.ee/Sylvain



Re: (video) obsd install initial boot process slowed down

2023-01-04 Thread Sylvain Saboua
 function 0 "Intel HD Graphics 3000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi, SANDYBRIDGE, gen 6
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi, 
xHCI 1.0

usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 
3.00/1.00 addr 1

"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 
int 16

usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 
2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: 
msi

azalia0: codecs: VIA/0x8446, Intel/0x2806, using VIA/0x8446
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 2 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 2
iwn0 at pci2 dev 0 function 0 "Intel Centrino Wireless-N 2230" rev 0xc4: 
msi, MIMO 2T2R, BGN, address 00:c2:c6:02:95:ea

ppb2 at pci0 dev 28 function 3 "Intel 7 Series PCIE" rev 0xc4: msi
pci3 at ppb2 bus 3
rtsx0 at pci3 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: 
msi

sdmmc0 at rtsx0: 4-bit, dma
re0 at pci3 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880), 
msi, address 00:90:f5:e2:e0:c3

rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 
int 23

usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 
2.00/1.00 addr 1

pcib0 at pci0 dev 31 function 0 "Intel HM76 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, 
AHCI 1.3

ahci0: port 0: 6.0Gb/s
ahci0: port 2: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  
naa.5002538f40c128a7

sd0: 953869MB, 512 bytes/sector, 1953525168 sectors, thin
cd0 at scsibus1 targ 2 lun 0:  
removable
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 
2 int 18

iic0 at ichiic0
"eeprom" at iic0 addr 0x50 not configured
spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 7.2, 0x1c0b1 0xa4 0x0 0xd04731 
0xa

pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
ugen0 at uhub0 port 3 "Intel Bluetooth" rev 2.00/78.69 addr 2
uvideo0 at uhub0 port 4 configuration 1 interface 0 "Bison BisonCam, NB 
Pro" rev 2.00/6.06 addr 3

video0 at uvideo0
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching 
Hub" rev 2.00/0.00 addr 2
uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching 
Hub" rev 2.00/0.00 addr 2

vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: 
sd1: 255999MB, 512 bytes/sector, 524287472 sectors
root on sd1a (0d8d2dbcd2829dcb.a) swap on sd1b dump on sd1b
inteldrm0: 1366x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using 
wskbd0

wsdisplay0: screen 1-5 added (std, vt100 emulation)

Le 04/01/2023 13:54, Nick Holland a écrit :

On 1/4/23 01:13, Sylvain Saboua wrote:

Hi, my openbsed (encrypted) install is functionning really
well, apart from one thing, that would signal a bug or smth:

The initial boot process, right after I type the security
key in, which displays cyphers aligning in between rotating
semicolumns (I hope this is clear), is slow, on this install.


Nope.  Totally not clear.
What platform, what hardware, dmesg.

Also...no idea what you are talking about.  First boot after
install?  every boot?  during install?

EXACTLY What are you seeing on the screen when it is "slow"?
And what does "slow" mean?

I've got encrypted partitions running on 1GHz class netbooks,
which I'll admit is painful, but it's not the crypto that is
the core problem.  So you have to show what is different in
your configuration than mine.

Nick.


I'll sent the reply next and the video as soon as my
camera battery is charged. Thank you

--
Sylvain Saboua
from webmail



Re: obsd install initial boot process slowed down

2023-01-04 Thread Sylvain Saboua

Le 04/01/2023 14:22, Stuart Henderson a écrit :

On 2023-01-04, Nick Holland  wrote:

On 1/4/23 01:13, Sylvain Saboua wrote:

Hi, my openbsed (encrypted) install is functionning really
well, apart from one thing, that would signal a bug or smth:

The initial boot process, right after I type the security
key in, which displays cyphers aligning in between rotating
semicolumns (I hope this is clear), is slow, on this install.


Nope.  Totally not clear.


Sounds like the -\|/ spinner when the boot loader loads the kernel.


YES! That's it.




What platform, what hardware, dmesg.


Sent dmesg in separate previous mail.



Also...no idea what you are talking about.  First boot after
install?  every boot?  during install?


EVERY boot (ever & since install)



EXACTLY What are you seeing on the screen when it is "slow"?
And what does "slow" mean?


I see animated/rotating wheels with cyphers in between, displaying
one after the other.

The wheel rotates for a longer time than other install when it just 
seems

to load instantly one after the other.

(I'll upload video & send link in next message)


All good questions.



Sure


Cold boots only, or also warm boots?



BOTH cold & warm boots.

If a laptop, does it make any difference whether it's on power supply 
or

internal battery?



I mostly use this laptop as a desktop (I don't move or unplug it).
(draft) I'll try with the battery unplugged but I doubt it will make a 
difference.

EDIT: Did boot unplugged to send these emails, no difference.


Is disk access slow after the OS has booted or is it just during boot?


No, right after this process is over everything is fine.

But slow initial boot process is the main problem.



Did you try without encryption and if so, was that slow too?



I use openbsd since about 2018. Not as daily driver yet, but I've
been getting more and more minimalistic. Started with ed or now vi
also, suckless' st & surf, tmux, man ... trying to learn it all.

I've had this problem randomly depending on the installs.
The first 4 or so, unencrypted, install, used to be mostly fine.
The previous install was encrypted and fine, but I had to reinstall it
for another reason (dualbooting conflict, there is a thread here about 
that.




Might help to upload a video to a sharing site and post a link to it.


I'll do that. Link in next mail. Thank you

--
Sylvain Saboua
from webmail



Re: (dmesg) obsd install initial boot process slowed down

2023-01-04 Thread Sylvain Saboua
raphics 3000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi, SANDYBRIDGE, gen 6
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi, 
xHCI 1.0

usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 
3.00/1.00 addr 1

"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 
int 16

usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 
2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: 
msi

azalia0: codecs: VIA/0x8446, Intel/0x2806, using VIA/0x8446
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 2 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 2
iwn0 at pci2 dev 0 function 0 "Intel Centrino Wireless-N 2230" rev 0xc4: 
msi, MIMO 2T2R, BGN, address 00:c2:c6:02:95:ea

ppb2 at pci0 dev 28 function 3 "Intel 7 Series PCIE" rev 0xc4: msi
pci3 at ppb2 bus 3
rtsx0 at pci3 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: 
msi

sdmmc0 at rtsx0: 4-bit, dma
re0 at pci3 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880), 
msi, address 00:90:f5:e2:e0:c3

rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 
int 23

usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 
2.00/1.00 addr 1

pcib0 at pci0 dev 31 function 0 "Intel HM76 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, 
AHCI 1.3

ahci0: port 0: 6.0Gb/s
ahci0: port 2: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  
naa.5002538f40c128a7

sd0: 953869MB, 512 bytes/sector, 1953525168 sectors, thin
cd0 at scsibus1 targ 2 lun 0:  
removable
ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic 
2 int 18

iic0 at ichiic0
"eeprom" at iic0 addr 0x50 not configured
spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 7.2, 0x1c0b1 0xa4 0x0 0xd04731 
0xa

pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
ugen0 at uhub0 port 3 "Intel Bluetooth" rev 2.00/78.69 addr 2
uvideo0 at uhub0 port 4 configuration 1 interface 0 "Bison BisonCam, NB 
Pro" rev 2.00/6.06 addr 3

video0 at uvideo0
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching 
Hub" rev 2.00/0.00 addr 2
uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching 
Hub" rev 2.00/0.00 addr 2

vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: 
sd1: 255999MB, 512 bytes/sector, 524287472 sectors
root on sd1a (0d8d2dbcd2829dcb.a) swap on sd1b dump on sd1b
inteldrm0: 1366x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using 
wskbd0

wsdisplay0: screen 1-5 added (std, vt100 emulation)

Le 04/01/2023 13:54, Nick Holland a écrit :

On 1/4/23 01:13, Sylvain Saboua wrote:

Hi, my openbsed (encrypted) install is functionning really
well, apart from one thing, that would signal a bug or smth:

The initial boot process, right after I type the security
key in, which displays cyphers aligning in between rotating
semicolumns (I hope this is clear), is slow, on this install.


Nope.  Totally not clear.
What platform, what hardware, dmesg.

Also...no idea what you are talking about.  First boot after
install?  every boot?  during install?

EXACTLY What are you seeing on the screen when it is "slow"?
And what does "slow" mean?

I've got encrypted partitions running on 1GHz class netbooks,
which I'll admit is painful, but it's not the crypto that is
the core problem.  So you have to show what is different in
your configuration than mine.

Nick.


I'll sent the reply next and the video as soon as my
camera battery is charged. Thank you

--
Sylvain Saboua
from webmail



obsd install initial boot process slowed down

2023-01-03 Thread Sylvain Saboua

Hi, my openbsed (encrypted) install is functionning really
well, apart from one thing, that would signal a bug or smth:

The initial boot process, right after I type the security
key in, which displays cyphers aligning in between rotating
semicolumns (I hope this is clear), is slow, on this install.

It is the second time I managed to install an encrypted obsd.
The several installs I did, this used to happen at times,
other times not. Now this is so frustrating because it
prevents my obsd driver and computer to be PERFECT .

Any help ?

--
Sylvain Saboua
PS this is posted to both lists
because I am unsure which is which.



Geomant - Would you review my first C project ?

2022-08-06 Thread Sylvain Saboua

Hi.

I want to learn C and to that effect I started
a first project of a program, Geomant.

The version-named file is the first version that
I both consider accomplished and bug-free.
(using clang on openbsd 7.1)

The geomant.c file is an attempt at improving the
code (mainly by declaring more variable locally)
that produces my first run-time bug instead of
a compiler warning or error.

Would you review part of whole of either file
and tell me what you think of my code ?

Thank you.

For more information on geomanteia, see:
http://naosofiakkhos.blogspot.com/2011/01/casting-of-shield-of-geomanteia.html
https://en.wikipedia.org/wiki/Geomantic_figures

--
Sylvain Saboua
from webmail/*/
/* Geomant : a basic implementation  */
/*  of the geomanteia intended as a first*/
/*  C training project   */
/*  copyright © Sylvain Saboua*/
/*   */
/*/

# include 
# include 
# include 
# include 

char *txt_topic ; size_t txt_topic_size = 0UL ;

// arrays displaying which figure part the user is generating.
// used between the mantize() function that gathers/parses  user input,
// and generate() that generates the figures from it.
static char *mother_figures[] = { "1st", "2nd", "3rd", "4th" } ; int n_figure ;
static char *body_parts[] = { "head", "neck", "body", "feet" } ; int n_bodypart ;

// figures initialization (all 15 figures)
char *figures[15][4] = {
	// mothers
	{"   ", "   ", "   ", "   "},
	{"   ", "   ", "   ", "   "},
	{"   ", "   ", "   ", "   "},
	{"   ", "   ", "   ", "   "},

	// daughters
	{"   ", "   ", "   ", "   "},
	{"   ", "   ", "   ", "   "},
	{"   ", "   ", "   ", "   "},
	{"   ", "   ", "   ", "   "},

	// nieces
	{"   ", "   ", "   ", "   "},
	{"   ", "   ", "   ", "   "},
	{"   ", "   ", "   ", "   "},
	{"   ", "   ", "   ", "   "},

	// witnesses & judge
	{"   ", "   ", "   ", "   "},
	{"   ", "   ", "   ", "   "},
	{"   ", "   ", "   ", "   "}
} ;

// used to temporarily store user input, which may be anything other than \0 and \n
char *txt_raw_scrap = NULL ;
size_t txt_raw_scrap_size = 0UL ;


/*

	"mantize" : input fuction

 This function gathers a string of user input
 and returns a 0 or 1 for the evenness or
 oddity of the number of characters. It is called
 in a sequence by the next function to generate
 the figures one by one.

*/

int mantize ( int n_bodypart, int n_figure ) {
	printf ( "Hold or repeatedly press a key or keys to generate the %s of the %s mother, then press Enter:\n",
		body_parts[n_bodypart], mother_figures[n_figure] ) ;
	getline ( _raw_scrap, _raw_scrap_size, stdin ) ; 
	return ( ( strlen ( txt_raw_scrap ) -1 ) % 2 ) ; // substracting 1 as the \n character
}


/*
 
	"generate" fuction:

 This function takes the cast result (being 0 or 1,
 odd or even) and use it to generate
 all 15 figures, from the mothers down to the
 daughters, nieces, witnesses and judge.

*/

int generate(){

	// generating the mothers
	for ( n_figure = 0 ; n_figure < 4 ; n_figure++ ) {
		for ( n_bodypart = 0 ; n_bodypart < 4 ; n_bodypart++ ) {
			figures[n_figure][n_bodypart] =
			(0 == mantize(n_bodypart, n_figure)) ? "* *" : " * " ;
			system("clear");
		}
	}
	
	//generating the four daughters from the four mothers

	figures[4][0] = figures[0][0] ;
	figures[4][1] = figures[1][0] ;
	figures[4][2] = figures[2][0] ;
	figures[4][3] = figures[3][0] ;
	
	figures[5][0] = figures[0][1] ;
	figures[5][1] = figures[1][1] ;
	figures[5][2] = figures[2][1] ;
	figures[5][3] = figures[3][1] ;
	
	figures[6][0] = figures[0][2] ;
	figures[6][1] = figures[1][2] ;
	figures[6][2] = figures[2][2] ;
	figures[6][3] = figures[3][2] ;
	
	figures[7][0] = figures[0][3] ;
	figures[7][1] = figures[1][3] ;
	figures[7][2] = figures[2][3] ;
	figures[7][3] = figures[3][3] ;
	
	// generating the nieces
	
	figures[8][0] = ( figures[0][0] == figures[1][0] ) ? "* *" : " * " ;
	figures[8][1] = ( figures[0][1] == figures[1][1] ) ? "* *" : " * " ;
	figures[8][2] = ( figures[0][2] == figures[1][2] ) ? "* *" : " * " ;
	figures[8][3] = ( figures[0][3] == figures[1][3] ) ? "* *" : " * " ;
	

creating new partition has corrupted the disklabel ("bad super block")

2022-04-30 Thread Sylvain Saboua

Hello

I have recently got an upgrade for my laptop with a 1TB SSD drive.
I successfully managed to install a dual boot between archlinux and
openbsd, both on encrypted partitions.

Everything was fine with both systems, until the final act of the
dual boot which consists in setting a partition for file sharing
between the two operating systems, using encfs on ext2.

Creating this partition in archlinux works fine, but has seemingly
corrupted the disklabel for openbsd : openbsd boots fine until the
disk-checking step comes, whereupon I am informed that the j and k
partitions on the sd1 disklabel are somewhat corrupted:

/dev/sd1k (/home): BAD SUPER BLOCK: MAGIC NUMBER WRONG
/dev/sd1j (/usr/obj): BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE 
WITH THOSE IN LAST ALTERNATE


UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY

Automatic file system check failed: help!
Enter pathname of shell or RETURN for sh:

(this is an approximate copy of the error messages, I cannot properly
access the system to copy the logs or a full disklabel/fdisk)

How could I solve this ? For now trying a few things with fsck or newfs
didn't work but perhaps I looked in the wrong direction.

Also, this is on an install before the last openbsd 7.0 release.
I don't know how I can upgrade an encrypted install using the usb
medium, but perhaps if I would this would be a way to solve my problem?

Thanks,
--
Sylvain Saboua
from webmail



[net/rtorrent] no manual page (manpage) for rtorrent.

2021-02-15 Thread sylvain . saboua

Ever since I've used this software, which must get
back to 6.4 or so, the manual page has been missing.

I had found a fix for this on the FreeBSD commits back
then. In the meantime, here is the webpage I've used as
a reference : https://linux.die.net/man/1/rtorrent



Re: kernel relinking error

2020-11-16 Thread sylvain . saboua
- Mail original -
> De: "sylvain saboua" 
> 
> After a full upgrade following the FAQ,
> and running the usual syspatch, pkg_add -u, pkg_check :
> 
> dmesg highlights :
> 
> random: boothowto does not indicate good seed
> 
> cpu at mainbus0: not configured
> (see
> https://www.reddit.com/r/openbsd/comments/hab68w/how_can_i_enable_intel_hyperthreading_smt_back/
Simply # echo "bsd.mp" > /etc/boot.conf worked

> "eeprom" at iic0 addr 0x50 not configured
> 
> efifb at mainbus0 not configured
> 
> drm:pid23547:ivb_set_fifo_underrun_reporting *ERROR* [drm] *ERROR*
> uncleared fifo underrun on pipe A
> drm:pid23547:intel_cpu_fifo_underrun_irq_handler *ERROR* [drm]
> *ERROR* CPU pipe A FIFO underrun
> drm:pid23547:cpt_set_fifo_underrun_reporting *ERROR* [drm] *ERROR*
> uncleared pch fifo underrun on pch transcoder A
> drm:pid23547:intel_pch_fifo_underrun_irq_handler *ERROR* [drm]
> *ERROR* PCH transcoder A FIFO underrun
> 

However there was also the minor mistake :

reorder_kernel: failed -- see /usr/share/relink/kernel/GENERIC.MP/relink.log

after # doas sha256 -h /var/db/kernel.SHA256 /bsd
and rebooting, I get the same error in the dmesg but different file :

(SHA256) /bsd: OK
LD="ld" sh makegap.sh 0x gapdummy.o
ld -T ld.script -X --warn-common -nopie -o newbsd ${SYSTEM_HEAD} vers.o ${OBJS}
ld: error: undefined symbol: sysctl_bounded_arr
>>> referenced by icmp6.c:1923 (/usr/src/sys/netinet6/icmp6.c:1923)
>>>   icmp6.o:(icmp6_sysctl)
*** Error 1 in /usr/share/relink/kernel/GENERIC.MP (Makefile:1437 'newbsd': 
@echo ld -T ld.script -X --warn-common -nopie -o newbsd '${SYSTE...)

> Sylvain S



6.7 > 6.8 upgrade log

2020-11-16 Thread sylvain . saboua
After a full upgrade following the FAQ,
and running the usual syspatch, pkg_add -u, pkg_check :

dmesg highlights :

random: boothowto does not indicate good seed

cpu at mainbus0: not configured
(see 
https://www.reddit.com/r/openbsd/comments/hab68w/how_can_i_enable_intel_hyperthreading_smt_back/

"eeprom" at iic0 addr 0x50 not configured

efifb at mainbus0 not configured

drm:pid23547:ivb_set_fifo_underrun_reporting *ERROR* [drm] *ERROR* uncleared 
fifo underrun on pipe A
drm:pid23547:intel_cpu_fifo_underrun_irq_handler *ERROR* [drm] *ERROR* CPU pipe 
A FIFO underrun
drm:pid23547:cpt_set_fifo_underrun_reporting *ERROR* [drm] *ERROR* uncleared 
pch fifo underrun on pch transcoder A
drm:pid23547:intel_pch_fifo_underrun_irq_handler *ERROR* [drm] *ERROR* PCH 
transcoder A FIFO underrun

Sylvain S

dmesg.68
Description: Binary data


Linux OME laptops compatibility ?

2020-09-06 Thread sylvain . saboua
Just now through distrowatch.com I learned about two new companies
providing open source OS laptops.


1st is Starlabs : https://starlabs.systems/
A great plus is their disabling of the IME on their products when applicable.
https://starlabs.kb.help/faqs/is-the-intel-management-engine-disabled/

2nd is https://www.ubuntushop.be/index.php/fr/ (and many derivatives)
(looking for information on the IME)

Is anyone aware of these laptop's compatibility with OpenBSD ?

Sylvain



Re: deep web cookie

2020-08-08 Thread sylvain . saboua
The pre-bigbang would not have "wanted" the universe to happen

> 
> I find the equation in the end :
> c = λ/2 * ( 1 - λ/2 )
> is a good explanation for the origin
> of "light" if λ is taken to mean the
> "first moment."
> 
> Sylvain
> emails by spamgourmet.com
> 
> - Mail original -
> > De: "sylvain saboua" 
> > À: misc@openbsd.org
> > Envoyé: Vendredi 14 Février 2020 07:35:11
> > Objet: deep web cookie
> > 
> > (read attached picture)
> > 
> > Sylvain
> > emails by spamgourmet.com
> > 
> > 
> 



[no subject]

2020-07-15 Thread sylvain . saboua
https://rubedo.press/

Sylvain
emails by spamgourmet.com



Re: deep web cookie

2020-03-19 Thread sylvain . saboua
I find the equation in the end :
c = λ/2 * ( 1 - λ/2 )
is a good explanation for the origin
of "light" if λ is taken to mean the
"first moment."

Sylvain
emails by spamgourmet.com

- Mail original -
> De: "sylvain saboua" 
> À: misc@openbsd.org
> Envoyé: Vendredi 14 Février 2020 07:35:11
> Objet: deep web cookie
> 
> (read attached picture)
> 
> Sylvain
> emails by spamgourmet.com
> 
> 



dmesg OBSD 6.6 - only a few bugs

2019-11-03 Thread sylvain . saboua
I had to perform an upgrade from the 6.6 CD
after the 6.5 version stopped booting.
Everything is now back to work.

Here is the fresh dmesg.

The only imperfection is :
"Tearfree" X.org configuration is required whereas
it wasn't on my previous OBSD install. YouTube videos are
also very twitchy and seem to be heavy on the system resources,
which used not to be the case.

I use xfce4-desktop on an independently assembled Linux laptop.

Sylvain S
OpenBSD 6.6 (GENERIC) #353: Sat Oct 12 10:45:56 MDT 2019
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 8461582336 (8069MB)
avail mem = 8192516096 (7812MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xda571018 (40 entries)
bios0: vendor American Megatrends Inc. version "4.6.5" date 11/11/2013
bios0: CLEVO CO. W240EU/W250EUQ/W270EUQ
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG SSDT HPET SSDT SSDT SSDT BGRT
acpi0: wakeup devices P0P1(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) 
USB6(S3) USB7(S3) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) 
RP04(S4) PXSX(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-3130M CPU @ 2.60GHz, 2594.48 MHz, 06-3a-09
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus 2 (RP03)
acpiprt4 at acpi0: bus 3 (RP04)
acpiec0 at acpi0
acpicpu0 at acpi0: C3(200@87 mwait.1@0x30), C2(500@59 mwait.1@0x10), C1(1000@1 
mwait.1), PSS
acpitz0 at acpi0: critical temperature is 120 degC
acpipci0 at acpi0 PCI0: 0x0010 0x0011 0x
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: LID0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "NOTEBOOK"
"PNP0C14" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD0
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 2594 MHz: speeds: 2600, 2500, 2400, 2300, 2200, 2100, 
2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
xhci0 at pci0 dev 20 function 0 "Intel 7 Series xHCI" rev 0x04: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
addr 1
"Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: msi
azalia0: codecs: VIA/0x8446, Intel/0x2806, using VIA/0x8446
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 2 "Intel 7 Series PCIE" rev 0xc4: msi
pci2 at ppb1 bus 2
iwn0 at pci2 dev 0 function 0 "Intel Centrino Wireless-N 2230" rev 0xc4: msi, 
MIMO 2T2R, BGN, address 00:c2:c6:02:95:ea
ppb2 at pci0 dev 28 function 3 "Intel 7 Series PCIE" rev 0xc4: msi
pci3 at ppb2 bus 3
rtsx0 at pci3 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: msi
sdmmc0 at rtsx0: 4-bit, dma
re0 at pci3 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880), msi, 
address 00:90:f5:e2:e0:c3
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM76 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 0: 6.0Gb/s
ahci0: port 2: 1.5Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  naa.5002538d415ff087
sd0: 238475MB, 512 bytes/sector,