Re: RaspberyPi 4 network boot from TFTP - does it work?

2025-03-25 Thread Sandeep Gupta
I do run a couple of openbsd instances on Rpi4 and CM4 that boot over the network. My dnsmasq and nfs server is on linux. However, rarpd and bootparams run from Openbsd server. I had trouble getting bootparams running off of the linux machine. All the steps are fairly straightforward. You do have

package certbot is missing dependency on python module

2025-02-25 Thread Sandeep Gupta
Hello, Just as fyi: Installing certbot via pkg_add has following errors when running >>certbot ``` Traceback (most recent call last): File "/usr/local/bin/certbot", line 5, in from certbot.main import main File "/usr/local/lib/python3.12/site-packages/certbot/main.py", line 6, in fr

Re: segfault when python3.13.1 (compiled and build)

2025-02-13 Thread Sandeep Gupta
on] X509_STORE_unlock(store); ^ 1 warning and 6 errors generated. I can share config output if needed. On Tue, Feb 4, 2025 at 5:57 PM Stuart Henderson wrote: > On 2025-02-04, Sandeep Gupta wrote: > > --558763062d4b3fc8 > > Content-Type: text/plain; charset=

Re: openBSD on netcup vps

2025-02-12 Thread Sandeep Gupta
product, not the VPS. > > Best Regards > > Jan > > On Fri, 7 Feb 2025 19:54:51 +0530 > Sandeep Gupta wrote: > > > Hello, > > > > Does anyone here have experience with netcup vps. They offer debian by > > default. However I was wondering if any has tr

Re: openBSD on netcup vps

2025-02-09 Thread Sandeep Gupta
The netcap UI is strange but workable. My deal breaker problem is that I am unable to get OpenBSD running on their arm machines. The first approach for installing/booting from the attached installer iso dvd hangs midway. Then I tried to upload a prepared image. From the screen I can see the UEFI st

openBSD on netcup vps

2025-02-07 Thread Sandeep Gupta
Hello, Does anyone here have experience with netcup vps. They offer debian by default. However I was wondering if any has tried running openBSD. I tried but it seems the bootloader defaults to booting via PXE netboot and doesn't look for boot via images on attached disks. If someone has investig

segfault when python3.13.1 (compiled and build)

2025-02-03 Thread Sandeep Gupta
Hello, I compiled and build python 3.13.1 using openSSL. Running it fails with segfault: doas egdb /var/run/www/run_unit_0/venv/bin/python3 python3.13.core Reading symbols from /var/run/www/run_unit_0/venv/bin/python3... [New process 101020] Core was generated by `python3.13'. Program terminated

Re: diskless boot openbsd using debian server: issues with nfs UDP vs. TCP connection

2024-08-20 Thread Sandeep Gupta
I got this fixed. There is a way to turn on udp connection for nfs on debian via /etc/nfs.conf: https://groups.google.com/g/linux.debian.user/c/Da_aYR2c7qk?pli=1 On Wed, Aug 21, 2024 at 11:38 AM Sandeep Gupta wrote: > Hello, > > I am trying to net boot OpenBSD on Raspberry Pi. Th

diskless boot openbsd using debian server: issues with nfs UDP vs. TCP connection

2024-08-20 Thread Sandeep Gupta
Hello, I am trying to net boot OpenBSD on Raspberry Pi. The netboot server is running on Debian. So far UEFI bootloader comes up and loads bsd which tries to mount the root. However, it seems bsd can only use UDP connections for NFS mount. The debian only supports TCP connections ( https://bug

calibre ebook reader package broken due to unrardll dependency

2024-08-13 Thread Sandeep Gupta
The calibre package can be installed on latest openbsd but viewing/conversion and possibly other functionalities are broken. This is because calibre has dependency on python package unrardll ( https://github.com/kovidgoyal/unrardll) which is not packaged in openbsd. I tried to manually install the

Re: webcam detected but image capture shows green/black screen

2024-07-12 Thread Sandeep Gupta
That fixed it. Thanks so much. On Fri, Jul 12, 2024 at 1:10 PM Crystal Kolipe wrote: > On Fri, Jul 12, 2024 at 01:04:10PM +0530, Sandeep Gupta wrote: > > I have a non-mainstream laptop (company name: chuwi). Working great so > far > > but not the webcam. I did a `dd

webcam detected but image capture shows green/black screen

2024-07-12 Thread Sandeep Gupta
I have a non-mainstream laptop (company name: chuwi). Working great so far but not the webcam. I did a `dd if=/dev/video0 of=webcam_data.bin bs=1024 count=10` and all i am getting is the stream of 0s. I checked the bios, couldn't find anything useful to tweak there. Is this some hardware issue wit

Re: installing packages mentioned as dependency in ports package

2024-06-21 Thread Sandeep Gupta
2:19 AM Thomas L. wrote: > On Fri, 21 Jun 2024 20:16:57 +0530 > Sandeep Gupta wrote: > > My query is how to install build dependency of a package listed in > > ports? > > i have FETCH_PACKAGES=-Dsnap in my /etc/mk.conf so that for all > dependencies > pkg_add -

installing packages mentioned as dependency in ports package

2024-06-21 Thread Sandeep Gupta
I am trying to compile and build a branch of libreoffice (for collabra online tools). The dependencies are numerous to list out manually. I am using the dependencies listed in the ports folder : /usr/ports/editors/libreoffice (downloaded from ftp https://cdn.openbsd.org/pub/OpenBSD/$(uname -r)/{po

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 (./Programs

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 addit

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 syst

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: > Thank yo

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

2024-04-02 Thread Sandeep Gupta
11872836. 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 r

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

2024-04-02 Thread Sandeep Gupta
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
name. ``` --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á

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

2023-02-09 Thread Sandeep Gupta
gt; > > 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 detaile

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

2023-02-08 Thread Sandeep Gupta
trying 192.168.0.122 prog 15 vers 3 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,

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 inv

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 n

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
as 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 on Raspb

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, d

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. Thank

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. At

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 too

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
d 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/) &

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 1

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 confirm if OpenBSD

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 S

Re: how to recover a corrupted disk

2021-12-03 Thread Sandeep Gupta
g 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 /

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 : > &g

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 t

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 n

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 S

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/Open

Re: Raspberry Pi 4 Model B

2021-10-04 Thread Sandeep Gupta
.0 so the installer 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. >

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 t