Re: Considering a Raspberry Pi 4 Model B, but a bit lost...
On Tue, Feb 01, 2022 at 09:42:30PM -0800, Steve Williams wrote: > Hi, > > I currently have a PC Engines APU2 that's been my central workhorse for > quite a few years now. > > I want to delve into cheaper systems for OpenBSD so I can have more of them > around my house :D > > I was considering a Raspberry Pi 4 Model B and?? I have a couple of general > questions: I have a RPi 4b here, I'll try to answer some questions. > 1. When I read the install notes for arm64 >(https://www.openbsd.org/arm64.html), I see that it lists the >Raspberry Pi 4.?? Is a Raspberry Pi 4 Model B included in that category? from sysctl hw output: hw.vendor=Raspberry Pi Foundation hw.product=Raspberry Pi 4 Model B hw.version=D03114 I think it is. > 2. One of the kits I'm considering comes with at 128 G sd card with a >USB Card reader.?? Is that entire space on the sd card usable in >OpenBSD? I assume that the OS install can use the whole sd card, >but don't want to make any assumptions at this point. This I'm unsure of, I read reasoning that only 32 GB cards are supported because of the max size of FAT or something. I don't know if that's true or not. Plus, OpenBSD uses partitioning with a very small FAT partition for U-Boot and firmware. That said I have never tried running beyond a 32 GB card. > 3. What is a popular reasonable quality wifi usb adapter that people use? I don't use Wifi on my rpi so can't help you there. I have left-over urtwn(4) adapters but they are the small ones with limited range. > 4. Did some Raspberry Pi's come with a micro sd slot or something??? >There's mention of using a small SD card as well as having a USB >device for OpenBSD... this doesn't seem to apply to Pi 4 B as there >are only USB ports... The 4B afaik takes a micro SD card. Some Pi's before it (the B+ for example) used a normal sized SD card. You can also boot OpenBSD off USB instead of the micro SD card (on the 4B). I do that with a SSD on an adapter (but it's slow). Here is a gotcha that you may not know. I have an old -current version from December running. The sound doesn't yet work with that version of OpenBSD afaik and I've been using a soundserver on my other Pi (a B+ running raspbian) over the network. It works out well, Youtube works with iridium browser. One more thing I've been using OpenBSD 25 years almost and the Raspberry Pi setup is one of the hardest setups I've dealt with. I'm not saying I'm a seasoned admin but I have quite a bit of experience, it once took me a full day almost to figure out how to get OpenBSD on the Pi. Patience is what one needs to bring, a lot of it. And good eyes to read the INSTALL doc. This is probably the last time I'm doing RPi support as I'm rearrangeing my workspace for electricity savings and the Pi will be gone in March at the latest (I'm reusing it with OSMC in the living room or something). I hope I was able to answer some questions. > Thanks, > Steve Williams > > Best Regards, -peter
Re: Considering a Raspberry Pi 4 Model B, but a bit lost...
Am 02.02.22 um 06:42 schrieb Steve Williams: 4. Did some Raspberry Pi's come with a micro sd slot or something? There's mention of using a small SD card as well as having a USB device for OpenBSD... this doesn't seem to apply to Pi 4 B as there are only USB ports... There are comparative RPi HW tables: https://de.wikipedia.org/wiki/Raspberry_Pi#Hardware or https://en.wikipedia.org/wiki/Raspberry_Pi#Specifications
Considering a Raspberry Pi 4 Model B, but a bit lost...
Hi, I currently have a PC Engines APU2 that's been my central workhorse for quite a few years now. I want to delve into cheaper systems for OpenBSD so I can have more of them around my house :D I was considering a Raspberry Pi 4 Model B and I have a couple of general questions: 1. When I read the install notes for arm64 (https://www.openbsd.org/arm64.html), I see that it lists the Raspberry Pi 4. Is a Raspberry Pi 4 Model B included in that category? 2. One of the kits I'm considering comes with at 128 G sd card with a USB Card reader. Is that entire space on the sd card usable in OpenBSD? I assume that the OS install can use the whole sd card, but don't want to make any assumptions at this point. 3. What is a popular reasonable quality wifi usb adapter that people use? 4. Did some Raspberry Pi's come with a micro sd slot or something? There's mention of using a small SD card as well as having a USB device for OpenBSD... this doesn't seem to apply to Pi 4 B as there are only USB ports... Thanks, Steve Williams
Add Product ID 0xc158 make failure
Hello, I am trying to add a new PCI product ID (0xc158) for a serial interface interface card to /usr/src/sys/dev/pci/pcidevs. For some reason e.g.: an omission or error due to something I should [not] have done; make will not execute as shown below with other relevant information. I would appreciate some guidance and input from anyone who can identify my omission or error. A dmesg is not included to keep this short, but I am able to provide one if it is required to identify the reason that make fails. $ sysctl kern.version kern.version=OpenBSD 7.0-current (GENERIC.MP) #298: Mon Jan 31 13:42:43 MST 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP $ pwd /usr/src/sys/dev/pci $ cat Makefile # $OpenBSD: Makefile,v 1.4 1996/10/14 09:01:34 deraadt Exp $ # $NetBSD: Makefile,v 1.1 1995/06/18 01:07:04 cgd Exp $ AWK=awk pcidevs.h pcidevs_data.h: pcidevs devlist2h.awk /bin/rm -f pcidevs.h pcidevs_data.h ${AWK} -f devlist2h.awk pcidevs $ make /bin/rm -f pcidevs.h pcidevs_data.h awk -f devlist2h.awk pcidevs awk: can't open file devlist2h.awk source line number 1 source file devlist2h.awk *** Error 2 in /usr/src/sys/dev/pci (Makefile:8 'pcidevs.h') $ head -n 3 devlist2h.awk #! /usr/bin/awk -f # $OpenBSD: devlist2h.awk,v 1.8 2007/02/21 13:17:28 deraadt Exp $ # $NetBSD: devlist2h.awk,v 1.2 1996/01/22 21:08:09 cgd Exp $ $ ls -lao pcidevs* devlist* -rw-rw-r-- 1 aer wsrc - 5934 Feb 1 16:36 devlist2h.awk -rw-rw-r-- 1 aer wsrc - 395169 Feb 1 15:32 pcidevs -rw-rw-r-- 1 aer wsrc - 83 Jan 27 18:48 pcidevs.h -rw-rw-r-- 1 aer wsrc - 687283 Jan 27 18:48 pcidevs_data.h $ fgrep -e wsrc /etc/group wsrc:*:9:aer $ fgrep -C -e c158 pcidevs product OXFORD2 OXPCIE952 0xc110 OXPCIE952 Parallel product OXFORD2 OXPCIE952S 0xc120 OXPCIE952 Serial product OXFORD2 OXPCIE952S_10xc158 OXPCIE952 Serial /* Parallels products */ $ dmesg | grep -e Oxford vendor "Oxford", unknown product 0xc158 (class communications subclass serial, rev 0x00) at pci4 dev 0 function 0 not configured As root: # cd /var/log # fgrep -R -e devlist2h.awk -e make * # cd # pcidump -v 4:0:0 4:0:0: Oxford unknown 0x: Vendor ID: 1415, Product ID: c158 0x0004: Command: , Status: 0010 0x0008: Class: 07 Communications, Subclass: 00 Serial, Interface: 02, Revision: 00 0x000c: BIST: 00, Header Type: 00, Latency Timer: 00, Cache Line Size: 10 0x0010: BAR mem 32bit addr: 0xfc80/0x4000 0x0014: BAR mem 32bit addr: 0xfc60/0x0020 0x0018: BAR mem 32bit addr: 0xfc40/0x0020 0x001c: BAR empty () 0x0020: BAR empty () 0x0024: BAR empty () 0x0028: Cardbus CIS: 0x002c: Subsystem Vendor ID: 1415 Product ID: c158 0x0030: Expansion ROM Base Address: 0x0038: 0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00 0x0040: Capability 0x01: Power Management State: D0 0x0070: Capability 0x10: PCI Express Max Payload Size: 128 / 128 bytes Max Read Request Size: 512 bytes Link Speed: 2.5 / 2.5 GT/s Link Width: x1 / x1 0x0100: Enhanced Capability 0x03: Device Serial Number Serial Number: 0030e0000150 0x0110: Enhanced Capability 0x04: Power Budgeting 0x00b0: Capability 0x11: Extended Message Signalled Interrupts (MSI-X) Enabled: no; table size 16 (BAR 1:1781760) Regards, Avon -- aer
Re: Mirrors down for maintenance?
On 2022-02-02, Thomas Vetere wrote: > Is anyone else getting "ftp Connection refused" when trying to access the > mirrors? I checked the announcements email archive today and didn't see > anything about maintenance. I found this email chain in the archives which > is exactly what I'm experiencing. > > https://www.mail-archive.com/misc@openbsd.org/msg152927.html > > This chain references another set of emails that showed some mirrors were > down for maintenance at that time. I have two laptops running OpenBSD and > both seem to have this issue. I tried a bunch of other mirrors to no > success. Also I used one of them yesterday and was able to connect > successfully then so that leads me to believe the issue isn't on my end. I've tried a selection from https://www.openbsd.org/ftp.html and they're ok. -- Please keep replies on the mailing list.
Mirrors down for maintenance?
Hello everyone, Is anyone else getting "ftp Connection refused" when trying to access the mirrors? I checked the announcements email archive today and didn't see anything about maintenance. I found this email chain in the archives which is exactly what I'm experiencing. https://www.mail-archive.com/misc@openbsd.org/msg152927.html This chain references another set of emails that showed some mirrors were down for maintenance at that time. I have two laptops running OpenBSD and both seem to have this issue. I tried a bunch of other mirrors to no success. Also I used one of them yesterday and was able to connect successfully then so that leads me to believe the issue isn't on my end. Thank you for your help!
Re: apu2e4 intermittent network freeze
Mihai Popescu [mih...@gmail.com] wrote: > > Hrvoje Popovski wrote: > > It would be great that em(4) have multiqueue support, that box with veb(4) > > and >"parallel forwarding" diff on tech@ would kick ass :) > > I've seen many hardware projects like this, where they say it is open > design and for open source. Try to find and arm board with minimum 2 > interfaces ... it's like router and open source are not a common thing > in the wild. > Just curious, when a hardware designer or some project learder starts > something, isn't there any talk with users and software developers? If you want you can talk with Pascal Dornier who makes the APU boards. He responds to email and to the PC Engines forums. He's open to discuss chocies. The newest APU variant is coming with a 2.5Gbps Intel chip since the 1Gbps part is unavailable. The igc driver for this chip already has multiqueue support. If someone did multiqueue on the em driver, that would complete the circle. Chris
Re: Who is responding to my audio volume keys?
On Dec 18 10:27:19, maillists.rul...@mailbox.org wrote: > /etc/rc.conf.local: > sndiod_flags=-f rsnd/0 -F rsnd/1 > ... > > /etc/hotplug/{attach,detach}: > ... > DEVCLASS=$1 > DEVNAME=$2 > case $DEVCLASS in > 0) > case $DEVNAME in > uaudio0) > rcctl reload sndiod 'rcctl reload' tells sndiod to reload its configuration. AFAIK, sndiod has no configuration. Given the sndiod -F above, it shouldn't be necessary to do anything here. Jan