miniroot.img boot-looping on rpi-4b

2021-05-08 Thread Rob Whitlock
Hello, I am trying to install OpenBSD 6.9 on a Raspberry Pi 4B. I copied miniroot69.img to the SD card with this command: dd if=miniroot69.img of=/dev/rdisk2 bs=1m I put it in the Pi and upon boot it fails with this error message printed out through serial: U-Boot 2021.01 (Apr 16 2021 - 15:39:0

Re: miniroot.img boot-looping on rpi-4b

2021-05-09 Thread Rob Whitlock
Nothing is connected to the Pi except the USB-C for power, the SD card, and the 3 serial wires. On 5/9/21, Justin Yang wrote: > Do you have any USB disks connected to your pi? If so, try to remove that > and boot again to see if it works. > > On Sunday, May 9, 2021, Rob Whi

xset doesn't work in Xsetup_0

2022-08-25 Thread Rob Whitlock
At xenodm's login screen pressing the Fn key makes a beep. I put the lines ${exec_prefix}/bin/xset b off > /xset.stdout 2> /xset.stderr echo "Error code: $?" > xset.ret at the end of /etc/X11/xenodm/Xsetup_0 yet the Fn key still makes a beep. There is no output from either stdin or stdout and it

Possible typo in fw_update

2022-12-11 Thread Rob Whitlock
On line 408, fw_update has the expression ${LOCALSRC:#file:}. The parameter substitution ${name:#word} is not documented in the manual page for ksh yet its behavior seems to be equivalent to ${LOCALSRC#file:}. Assuming this is a typo, a patch is provided to remove the colon. If it is not a typo, co

Disk partition not recognized

2021-12-21 Thread Rob Whitlock
I have two disks, one an MBR partitioned 1TB external SSD, and the other a GPT partitioned 5TB external HDD. Both have a single ExFAT partition on them and both have the same contents. Both show up as sd1 under "sysctl hw.disknames" (when plugged in one at a time, that is). I am able to mount the M

Re: Disk partition not recognized

2021-12-22 Thread Rob Whitlock
On Wed, Dec 22, 2021 at 5:23 AM Crystal Kolipe wrote: > On Tue, Dec 21, 2021 at 06:04:28PM -0500, Rob Whitlock wrote: > > A problem seems to be that there is no disklabel entry for the ExFAT > > partition. > > You probably wrote a BSD disklabel to the disk before creating

Re: Disk partition not recognized

2021-12-23 Thread Rob Whitlock
On Thu, Dec 23, 2021 at 1:15 AM Theo de Raadt wrote: > > Crystal Kolipe wrote: > > > On Tue, Dec 21, 2021 at 06:04:28PM -0500, Rob Whitlock wrote: > > > A problem seems to be that there is no disklabel entry for the ExFAT > > > partition. > > > > Y

Re: Disk partition not recognized

2021-12-23 Thread Rob Whitlock
On Thu, Dec 23, 2021 at 12:22 PM Crystal Kolipe wrote: > If the spoofed label does not include your non-OpenBSD partitions, then for > some reason the kernel is not parsing the data from the GPT, and we will > presumably need a hexdump of the GPT to see why. > Here is the GPT (the third sector o

Re: Disk partition not recognized

2021-12-23 Thread Rob Whitlock
On Thu, Dec 23, 2021 at 2:14 PM Crystal Kolipe wrote: > On Thu, Dec 23, 2021 at 01:15:52PM -0500, Rob Whitlock wrote: > > On Thu, Dec 23, 2021 at 12:22 PM Crystal Kolipe < > kolip...@exoticsilicon.com> > > wrote: > > > > > If the spoofed label does not incl

Re: Disk partition not recognized

2021-12-23 Thread Rob Whitlock
On Thu, Dec 23, 2021 at 3:24 PM Crystal Kolipe wrote: > Again, there is nothing there that would stop it working. > > You have an MBR partition of type EE starting on sector 1, which is what is > checked for in gpt_chk_mbr, so unless I'm overlooking something it's > probably chocking in gpt_chk_h

Re: Disk partition not recognized

2021-12-27 Thread Rob Whitlock
On Sat, Dec 25, 2021 at 8:46 AM Crystal Kolipe wrote: > OK, the issue lies with the four byte checksum at offset 0x58 in sector 1. > > Testing on OpenBSD 7.0 release and using your GPT: > > The kernel enters spoofgptlabel and reads sector 1. > > When we call gpt_chk_parts, the calculated checksum

Re: Disk partition not recognized

2021-12-27 Thread Rob Whitlock
On Mon, Dec 27, 2021 at 7:28 PM Rob Whitlock wrote: > Thanks for the work tracking down the problems. I reformatted the hard > drive to see if that would do anything and then I installed OpenBSD 7.0 > like you suggested and it started working. I used Disk Utility in MacOS > 10.15.7 C

Error on xenocara.tar.gz extraction

2022-01-13 Thread Rob Whitlock
Attempting to extract xenocara.tar.gz while avoiding root proviliges as described here https://www.openbsd.org/faq/faq5.html#wsrc, I ran into an error, shown below: 0 thinkpad$ pwd /usr/xenocara 0 thinkpad$ ls -a . .. 0 thinkpad$ tar xzf /home/rob/openbsd_files/7.0/xenocara.tar.gz tar: Access/m

Can't attach gdb to cwm

2022-03-09 Thread Rob Whitlock
I'm trying to attach gdb to an already running cwm but I get the following error: ptrace: Invalid argument. Why am I getting this error? Also, I have already set kern.global_ptrace=1, and both cwm and gdb are being run by the same user. This problem occurs both with the gdb in base and the gdb/eg

Re: Can't attach gdb to cwm

2022-03-10 Thread Rob Whitlock
On Wed, Mar 9, 2022 at 11:20 PM Philip Guenther wrote: > On Wed, Mar 9, 2022 at 8:28 AM Rob Whitlock wrote: > >> I'm trying to attach gdb to an already running cwm but I get the following >> error: >> >> ptrace: Invalid argument. >> >> Why am

Re: Can't attach gdb to cwm

2022-03-10 Thread Rob Whitlock
On Thu, Mar 10, 2022 at 1:01 PM Rob Whitlock wrote: > On Wed, Mar 9, 2022 at 11:20 PM Philip Guenther > wrote: > >> On Wed, Mar 9, 2022 at 8:28 AM Rob Whitlock >> wrote: >> >>> I'm trying to attach gdb to an already running cwm but I get the >>

White noise with audio over headphones

2022-06-15 Thread Rob Whitlock
I have a Lenovo T450 that plays audio over the speakers and headphones but when the headphones are used there is some white noise playing all the time as well as the audio. This white noise is not there with Windows 10 or Linux. OpenBSD recognizes the audio codec as a Realtek ALC292 but Linux and t

Re: White noise with audio over headphones

2022-06-16 Thread Rob Whitlock
On Wed, Jun 15, 2022 at 11:27 PM Alexandre Ratchov wrote: > On Wed, Jun 15, 2022 at 02:59:40PM -0500, Rob Whitlock wrote: > > I have a Lenovo T450 that plays audio over the speakers and headphones > but > > when the headphones are used there is some white noise playing all the