gmake compile of python3.12 crashes on openBSD 7.5 but not on openBSD 7.4

2024-05-11 Thread Sandeep Gupta
I was able to compile Python 3.12 from source code on openBSD 7.4. However, after upgrade to 7.5 the compile process crashes with core dump: cc -pthread -g -Wl,--export-dynamic -o Programs/_testembed Programs/_testembed.o -L. -lpython3.12 -lpthread -lutil -lm _testembed.c:1848

unable to startx/xinit on additional virtual terminal

2024-05-10 Thread Sandeep Gupta
I am running OpenBSD on a laptop with X windows starting on f5 vtty via Xenodm login manager. I am unable to start another session of X from a different vtty. xinit or startx fails with Fatal server error: - no console drivers found Supported drivers: wscons I should be able to launch an

Re: need help to access my machine after upgrade -- system immediately logs me out

2024-04-03 Thread Sandeep Gupta
at 12:51 AM Otto Moerbeek wrote: > On Wed, Apr 03, 2024 at 12:45:33AM +0530, Sandeep Gupta wrote: > > > Thank you for all the inputs. This is so useful. I am able to at least > > access the file system and rescue the data. > > However, I'm not able to restore the system ye

Re: need help to access my machine after upgrade -- system immediately logs me out

2024-04-02 Thread Sandeep Gupta
For disclousre, I was able to access the shell/file system via Boot into single-user mode ("boot -s" at the boot loader prompt) -- followed by fsck -p mount -a -t bonds as mentioned in earlier replies. Thank you. On Wed, Apr 3, 2024 at 12:45 AM Sandeep Gupta wrote: > Than

Re: need help to access my machine after upgrade -- system immediately logs me out

2024-04-02 Thread Sandeep Gupta
2836. On Tue, Apr 2, 2024 at 5:04 PM Stuart Henderson wrote: > On 2024-04-01, Sandeep Gupta wrote: > > > > However when i tried to log from the console -- the login message shows > but > > the system logs me out immediately. > > On the desktop gui too, with only ro

Re: need help to access my machine after upgrade -- system immediately logs me out

2024-04-02 Thread Sandeep Gupta
to boot using external usb, mount the disk and repair it. On Tue, Apr 2, 2024 at 1:57 AM Peter N. M. Hansteen wrote: > On Tue, Apr 02, 2024 at 12:44:01AM +0530, Sandeep Gupta wrote: > > Hello, > > > > I need to access my desktop local machine after I did a sysupgrade -s (I >

need help to access my machine after upgrade -- system immediately logs me out

2024-04-01 Thread Sandeep Gupta
Hello, I need to access my desktop local machine after I did a sysupgrade -s (I had reasons to do so because some rust libraries were too old for some applications). Sysupgrade seems to have gone fine. Disk is healthy no issues reported. However when i tried to log from the console -- the login

nodejs/node package seems broken on openbsd 7.4 on amd64

2024-03-04 Thread Sandeep Gupta
As best i can see, node (node-18.18) is broken and cannot be used at all. No matter the package config "npm install" results in same error: ``` npm install npm ERR! code 1 npm ERR! path /home/kabiraatmonallabs/Garage/my-skeleton-app/node_modules/esbuild npm ERR! command failed npm ERR! command sh

Re: running on aws

2023-05-07 Thread Sandeep Gupta
. ``` --root-device-name /dev/sda1 --virtualization-type hvm \ --description "${DESCR}" --block-device-mappings \ DeviceName="/dev/sda1" ```. On Sun, May 7, 2023 at 6:34 PM Renato dos Santos wrote: > Try with this https://github.com/shazaum/aws-openbsd > > Em sáb, 6

Re: permission denied when writing to mounted directory exported by NFS server

2023-02-09 Thread Sandeep Gupta
? > > > > However, for your testing purposes, I can suggest you there is a > specific tool to test, server and client > > status. looking to the man I guess it should be nfsstat pointed to one > or the other host same time. > > Probably some other people could be more deta

Re: permission denied when writing to mounted directory exported by NFS server

2023-02-08 Thread Sandeep Gupta
prot UDP port 724 [adming@cluster-node2]~% cd mntpt2 [adming@cluster-node2]~/mntpt2% ls alfpha testfile [adming@cluster-node2]~/mntpt2% touch y touch: cannot touch 'y': Permission denied ``` Am out of ideas as what to test/debug. On Wed, Feb 8, 2023 at 9:27 PM Sandeep Gupta wrote: > I h

Re: stuck on configuring netboot raspberry pi from an openbsd VM : RPC time for server 192.168.0.255

2023-02-08 Thread Sandeep Gupta
Yes we do need those. The only change is that instead of dhcpd, I am using dnsmasq which takes care of tftp and dhcp services. I figured out the error was because I had not started the bootparamd. Once I started the bootparamd, the client boots passed that error and panics with nfs mount. I am

permission denied when writing to mounted directory exported by NFS server

2023-02-08 Thread Sandeep Gupta
I have a default installation of openbsd, with portmap, mountd, nfsd services started via rcctl. I have following entry in /etc/exports /nfs/testdir -alldirs -maproot=root -network=192.168.0 -mask=255.255.255.0 I am able to mount the exported share on client (centos) as follows: sudo mount -t

stuck on configuring netboot raspberry pi from an openbsd VM : RPC time for server 192.168.0.255

2023-02-06 Thread Sandeep Gupta
So, after tons of research and trial and error, I was finally able to netboot the bsd kernel served from a VM running OpenBSD. I have configured "/etc/dnsmasq", "/etc/ethers", "/etc/hosts", and "/etc/exports" and "/etc/bootparams". The PXE boot in UEFI boot is able to contact the tftp/dhcp server

Re: running openbsd as guest OS under KVM virtualization on Raspberry Pi 4

2022-12-23 Thread Sandeep Gupta
that, it was a breeze, added an extra virtIO disk on which the openBSD can be installed from the qcow2 image. On Fri, Dec 23, 2022 at 6:15 PM Bodie wrote: > On Fri Dec 23, 2022 at 12:29 PM CET, Sandeep Gupta wrote: > > Has anyone tried running openbsd as a guest OS under KVM on arm hardware? > >

running openbsd as guest OS under KVM virtualization on Raspberry Pi 4

2022-12-23 Thread Sandeep Gupta
Has anyone tried running openbsd as a guest OS under KVM on arm hardware? I have posted the question also on serverfault ( https://serverfault.com/questions/1118710/install-openbsd-as-guest-os-in-kvm-virtualization-on-fedora-running-raspberry-pi). If anyone has experience/ideas on how to go about

Re: virtualization in openbsd running on Raspberry pi

2022-12-21 Thread Sandeep Gupta
Got it. Thank you for confirming. On Thu, Dec 22, 2022 at 8:58 AM Mike Larkin wrote: > On Thu, Dec 22, 2022 at 08:47:00AM +0530, Sandeep Gupta wrote: > > Just wanted to double confirm that it's not possible to run virtual > > instances of openBSD on openBSD running

virtualization in openbsd running on Raspberry pi

2022-12-21 Thread Sandeep Gupta
Just wanted to double confirm that it's not possible to run virtual instances of openBSD on openBSD running on Raspberry Pi. This is because the CPU has no support for SLAT/EPT (but these are only for intel/amd. doesn't say about arm). Also, in my instance, I don't see vmctl installed. In fact,

Re: unable to install texlive_texmf-full due to python reaching 2.7 end-of-life

2022-09-04 Thread Sandeep Gupta
HI Stuart, I was redoing the install to reproduce the error messages. But this time it went fine. I guess the difference was previously I ran the command as root and this time as sudo/doas user. Might be something to do with PATH environment for root vs. non-root user. Sorry for the noise.

unable to install texlive_texmf-full due to python reaching 2.7 end-of-life

2022-09-01 Thread Sandeep Gupta
Is there a workaround for installing texlive_full on openbsd 7.1? Installing via package manager currently fails because it has Python2.7 as dependency which has reached end-of-life. Can I force the installation? Thanks Sandeep

Trying to install openBSD on Raspberry Pi CM4+IO board ..keyboard hangs

2022-07-30 Thread Sandeep Gupta
Hello, I managed to get the OpenBSD installer up and running on CM4 mounted on the Pi official I/O board. I installed UEFI bootloader in emmc and had OpenBSD miniroot image burnt on SSD (connected to usb 3.0 over pcie). When CM4 boots it invokes the UEFI loader, which drops me at UEFI prompt.

disk perf tool fio hangs on Pi4

2022-07-27 Thread Sandeep Gupta
Hello, I was doing some disk iops perf testing on a fresh install of OpenBSD on Rpi4 using the fio tool. I am at most able to run 2 runs of fio after which the system would hang. On the runs that do get completed I get a very low iops number. I thought the problem may be either in the fio

Re: OpenBSD hardware accelerated video? (In X on Intel/AMDGPU/ARM64)

2022-07-22 Thread Sandeep Gupta
I would great to have hardware acceleration for Raspberry Pi. But Pi's video hardware drivers are not open source. They are some propriety binary bits. Even theoretically, I don't see if those binary bits can be used within OpenBSD system. On Thu, Jul 21, 2022 at 2:20 AM Mihai Popescu wrote: >

Re: booting OpenBSD on Raspberry pi4 without using sdcard for UEFI

2022-05-22 Thread Sandeep Gupta
Yes, the document does mention: - standard miniroot supports boot without additional firmware - by default, the kernel output is on console On Sat, May 21, 2022 at 2:53 PM Stuart Henderson wrote: > On 2022-05-20, Sandeep Gupta wrote: > > Hello, > > > > This

Re: booting OpenBSD on Raspberry pi4 without using sdcard for UEFI

2022-05-20 Thread Sandeep Gupta
not occupied :). Thanks Sandeep On Sat, May 21, 2022 at 12:31 AM David Demelier wrote: > > > On 20 May 2022, at 18:27, Sandeep Gupta wrote: > > > > Hello, > > > > This post here ( > > http://matecha.net/posts/openbsd-on-pi-4-with-full-disk-encryption/) > c

booting OpenBSD on Raspberry pi4 without using sdcard for UEFI

2022-05-20 Thread Sandeep Gupta
Hello, This post here ( http://matecha.net/posts/openbsd-on-pi-4-with-full-disk-encryption/) claims its possible to boot OpenBSD directly from USB without the need for UEFI on sdcard. I tried today but couldn't get it to work. I got a blank screen during the installation process. What I did was

Re: nxserver on OpenBSD

2022-03-24 Thread Sandeep Gupta
wrote: > On 2022-03-24, Sandeep Gupta wrote: > > Hello, > > > > I am looking for an nxserver for openBSD. It seems all the well know > > solutions -- NoMachine, OpenNX, nxserver. The only one which is actively > > worked on is X2GO. Just wanted to confi

nxserver on OpenBSD

2022-03-23 Thread Sandeep Gupta
Hello, I am looking for an nxserver for openBSD. It seems all the well know solutions -- NoMachine, OpenNX, nxserver. The only one which is actively worked on is X2GO. Just wanted to confirm if OpenBSD has support for any of the nxserver solutions or is there plan/intend to support one. Thanks

Re: how to recover a corrupted disk

2021-12-03 Thread Sandeep Gupta
the disk unnecessarily. Thanks a ton for pitching in suggestions. On Wed, Dec 1, 2021 at 7:30 PM Ian Darwin wrote: > > On Wed, Dec 01, 2021 at 01:39:39PM +0530, Sandeep Gupta wrote: > > Hello, > > All partitions except for /dev/rsd1c and /dev/rsd1i are clean. > > For /dev/r

Re: how to recover a corrupted disk

2021-12-01 Thread Sandeep Gupta
Not sure why not. It seems the rsd1c is where the superblock is. Also there is no other mechanism to refer to the whole disk. I guess it's time to format the disk. On Wed, Dec 1, 2021 at 4:20 PM Janne Johansson wrote: > > Den ons 1 dec. 2021 kl 11:09 skrev Sandeep Gupta : > > @P

Re: how to recover a corrupted disk

2021-12-01 Thread Sandeep Gupta
NUMBER WRONG. I guess I would have to wipe it clean from here. On Wed, Dec 1, 2021 at 2:06 PM Janne Johansson wrote: > > Den ons 1 dec. 2021 kl 09:12 skrev Sandeep Gupta : > > I am running OpenBSD 7.0 on RPi4. I accidentally removed the usb > > cable connecting the sata ssd to t

how to recover a corrupted disk

2021-12-01 Thread Sandeep Gupta
Hello, I am running OpenBSD 7.0 on RPi4. I accidentally removed the usb cable connecting the sata ssd to the RPi4. Well OpenBSD froze and upon reboot I got the very comforting Synchronous Exception message. Thankfully, I have another RPi4 running OpenBSD. I can mount the corrupted disk ( did

Re: debugging 500 Internal error in httpd+gunicorn setup

2021-11-22 Thread Sandeep Gupta
~ ~ ~ ~ ~ -- VISUAL -- 6 9,0-1 All 0 curl 1* etc/httpd.conf 2 /var/www/logs 3 curl 4 htdocs/example.com 5- gunicorn 6 rc.d 7 simpleapp 8 nginx On Mon, Nov 22, 2021 at 6:59 PM Sandeep Gupta wrote: > > I can generate ktrace.out but I am not ab

Re: debugging 500 Internal error in httpd+gunicorn setup

2021-11-22 Thread Sandeep Gupta
I can generate ktrace.out but I am not able to view the output. The command "kdump -f ktrace.out" does not yield any output. On Mon, Nov 22, 2021 at 5:33 PM Peter J. Philipp wrote: > > On Mon, Nov 22, 2021 at 05:18:42PM +0530, Sandeep Gupta wrote: > > Below is my s

debugging 500 Internal error in httpd+gunicorn setup

2021-11-22 Thread Sandeep Gupta
Below is my simple httpd.conf entry: server "www.example.com" { listen on * port 80 root "/htdocs/www.example.com/" location "/app" {fastcgi socket "/run/gunicorn.sock"} } In the background gunicorn server is running. When I access www.example.com/app, I get 500 Internal

Re: running a process under nologin user

2021-11-22 Thread Sandeep Gupta
That works. Thank you so much. On Mon, Nov 22, 2021 at 1:15 PM Janne Johansson wrote: > > Den mån 22 nov. 2021 kl 06:27 skrev Sandeep Gupta : > > The httpd server runs under user www. In my web deployment setup, the > > httpd server communicates over uWSGI/gunicorn serve

running a process under nologin user

2021-11-21 Thread Sandeep Gupta
The httpd server runs under user www. In my web deployment setup, the httpd server communicates over uWSGI/gunicorn server over unix domain sockets. I am not able to launch uwsgi (or gunicorn) server under www user. The command "doas -u www " gives error "operation not permitted". As root, trying

Re: Raspberry Pi 4 Model B

2021-10-05 Thread Sandeep Gupta
ine below] > On Mon, Oct 04, 2021 at 11:40:30PM +0530, Sandeep Gupta wrote: > > Some progress. Thank you. Still stuck though. Post network > > configuration, The boot installer asks for > > HTTP Server? (hostname or 'done'). hostname. > > Server Directory? [pub/OpenBS

Re: Raspberry Pi 4 Model B

2021-10-04 Thread Sandeep Gupta
er thinks it > is a released version, but the release hasn't been made yet, and there is no > mechanism for the installer to fetch that information online, so you have to > do it manually. > > -- > Sent from a phone, apologies for poor formatting. > > > On 30 Septembe

installing openbsd on raspberry pi 4

2021-09-13 Thread Sandeep Gupta
Hello, I am stuck on installing openbsd 6.8 (or 6.9) on rpi 4. I am able to boot the openbsd installer off of USB drive using UEFI boot loader (on sd card). However the installer fails at the step "What timezone are you in?". It doesn't like any timezone I input. Just before this step I get