Suggestion for improving FAQ14: UUIDs
Hello! tl;dr: I would like to suggest adding a line about the virtues of UUID to the FAQ14. Something along the lines of "Remember to set up the UUID in your /etc/fstab afterwards." or something. The thing is, I have a RAID-5 setup in my system. One which I was able to set up, thanks to this one: https://www.openbsd.org/faq/faq14.html The entry in my /etc/fstab is now /dev/sd7p /home ffs rw,nodev,nosuid 1 2 Which. Is. Stupid. I know: Yesterday, I wanted to boot my System, but I forgot to unplug a USB-Device, which got mapped to sd7. So then I was unable to mount the /home. If I WOULD HAVE BEEN smarter, I would have used a UUID in my fstab. Anyways, it is my believe that adding a line to each section might help the next person as stupid as me, hence my suggestion. Thomas
Take it easy..
Wondering if OpenBSD is all that easy.. https://5md.at/l/easybsd (just taken from my daughter book) If eg. the man can be improved soon on how to mount the /tmp on mem ;-) Well, without forgetting the complexity of Linux.. -- Daniele Bonini
Re: Take it easy..
> I used Linux fa more than OpenBSD For those kind of concerns of you.. I used Windows 3.1 far more time than OpenBSD.. Only the Bible should come next (then Jesus can suggest us, maybe he usedfar more than)? As "parity of" is also of trendy use today.. Lets say easie at parity of features like "security", readness, stability, coherence in functionality.. Indeed, my advice to the Linux users: lot of stuff! :D -- Daniele Bonini
Re: Take it easy..
On Mon, Feb 06, 2023 at 10:45:25AM +0100, Daniele B. wrote: > If eg. the man can be improved soon on how to mount the /tmp on mem ;-) OpenBSD man pages tend to be readable and informative. https://man.openbsd.org/mount_tmpfs is quite short and to the point. - P -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
stuck on configuring netboot raspberry pi from an openbsd VM : RPC time for server 192.168.0.255
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 and download the bsd kernel and boot up However, just before (or while) mounting nfs shares as root I get the RPC timeout error. ``` nfs_boot: using interface bse0 with revarp & bootparams RPC timeout for server 192.168.0.255 ``` In an old post ( https://www.mail-archive.com/search?l=misc@openbsd.org&q=subject:%22Trying+to+set+diskless%5C%288%5C%29+%5C-%5C-+hanging+in+%5C%22RPC+timeout+for+server%5C%22%22&o=newest&f=1), someone mentioned that in some old post that had similar issue and it was related to broadcast address not being captured by bootparamd. My netboot server is on a network bridge. Could that be an issue? I am not totally familiar with ins-and-outs of networking for these protocols so am little lost. How to go about debugging this? Has any come across this issue or can help, would be great. Thanks -S
Re: Lightweight Web browser
Hi, Bodie wrote: Light and JavaScript do not go well together in web of this era. Plus we have now variation of 90's, but instead everything made for IE there is everything made for Chrome I second that, especially JavaScript which is used to build whole apps, like webmails. GitHub is currently perhaps the worst offender together with Facebook. I'd consider using an IMAP or POP3 based mail and then using the mail reader of your choice. Riccardo
Re: Lightweight Web browser
Hi, Rodrigo Readi wrote: Can someone recommend a lightweight Browser that support javascript? "Lightweight" is a hard term here.. .there are several options. But if you need heavy usage - gmail, youtube and similar, at the end you need a gecko, blink or webkit engine and so there things become equal. Are you pressed by RAM or CPU? E.g. in my experience Firefox was never "lighter" than seamonkey. Opera or Bing are at the end similar to Chrome in terms of resources. The difference are in "spy" amount. I like SeaMonkey but it is lagging behind in packages on most BSDs and/or it was removed. In my experience, Firefox is much easier on RAM than Chrome(ium) and good on more RAM pressed system. Limited Firefox is usable on a good 32bit system with 2GB of RAM, but OpenBSD no longer provides firefox there. My distaste with Firefox is that it took a bad turn after FF52/FF60... making horrible design choices - rust included and mocking more and more Chrome interface. In which I can use gmail? Otter browser hangs and even make core dumping with gmail. Also with chromium I get core dumping sometimes. There is no port for elinks to test it. You might try your luck with ArcticFox. Login works. Reading messages appears to, replying by detaching into a separate panel does not anymore. ArcitcFox received a lot of care since I last tried it with gmail, but also gmail is a moving JS target... so you are always at Google's mercy. Riccardo
Re: How to announce over OSPF only one IP address
Hello, > I’d check the databases on both sides. > And flush/reload the config and fibs. I reloaded and restarted OSPFd on both sides - nothing changes. Then, I rebooted routers on both sides - nothing changes. I still can see/ping the whole 10.1.111.0/24 subnet from the far end. [10.109.3.15]$ ospfctl show database router Router Link States (Area 0.0.0.0) LS age: 238 Options: -|-|-|-|-|-|E|- LS Type: Router Link State ID: 10.109.3.15 Advertising Router: 10.109.3.15 LS Seq Number: 0x8016 Checksum: 0x6d0a Length: 48 Flags: *|*|*|*|*|-|E|- Number of Links: 2 Link connected to: Stub Network Link ID (Network ID): 10.1.111.0 Link Data (Network Mask): 255.255.255.0 Metric: 10 Link connected to: Transit Network Link ID (Designated Router address): 10.109.3.16 Link Data (Router Interface address): 10.109.3.15 Metric: 10 LS age: 239 Options: -|-|-|-|-|-|E|- LS Type: Router Link State ID: 10.109.3.16 Advertising Router: 10.109.3.16 LS Seq Number: 0x8016 Checksum: 0xb058 Length: 36 Flags: *|*|*|*|*|-|E|- Number of Links: 1 Link connected to: Transit Network Link ID (Designated Router address): 10.109.3.16 Link Data (Router Interface address): 10.109.3.16 Metric: 10 [10.109.3.16]$ ospfctl show fib flags: * = valid, O = OSPF, C = Connected, S = Static Flags Prio Destination Nexthop *S8 0.0.0.0/010.109.3.254 *O 32 10.1.111.0/2410.109.3.15 On Sun, 5 Feb 2023 22:20:07 +0100 Diederik Schouten wrote: > Hello, > > I’d check the databases on both sides. > And flush/reload the config and fibs. > Then check again which link state advertisements are in the database. > To make sure you now get the /32 advertised. > > Sent from my iPhone > > > On 5 Feb 2023, at 21:15, Radek wrote: > > > > Hello Diederik, hello Tom, > > this is a simple lab/testing configuration, that's why there is no > > "passive" and other... > > The purpose of this configuration is to allow access to certain IP address > > and restrict access to the rest of the subnet. > > I can use PF to block/pass what I need... but I'm trying make sure if I can > > do it by announcing "not more than needed" over OSPF. > > > > "redistribute 10.1.111.11/32" seems to be what I need, but probally I > > missed something, because this option doesn't work for me as expected. > > > > $ cat /etc/ospfd.conf > > router-id 10.109.3.15 > > redistribute 10.1.111.11/32 > > > > area 0.0.0.0 { > >interface vr0 > >interface vr3 > > } > > > > Then, I can still see/ping other IPs in 10.1.111.0/24 from the far end > > network. > > > > On the far router I can see the whole subnet instead of somthing like " *O > > 32 10.1.111.11/2410.109.3.15". > > > > $ ospfctl show fib > > flags: * = valid, O = OSPF, C = Connected, S = Static > > Flags Prio Destination Nexthop > > *S8 0.0.0.0/010.109.3.254 > > *O 32 10.1.111.0/2410.109.3.15 > > > > Any clues? > > > >> On Sat, 4 Feb 2023 23:16:57 + > >> Tom Smyth wrote: > >> > >> Hi Radek, > >> > >> it is better practice to add ospf network statements to ospfd.conf > >> (if you dont want to send / recieve ospf messages on an interface set the > >> interface to passive in ospfd.conf > >> avoid redistribute connected > >> (add the network you want to be added to your ospf network) and leave the > >> other network ommitted from your ospfd.conf > >> > >> > >> I hope this helps, > >> > >> > >>> On Sat, 4 Feb 2023 at 20:02, Radek wrote: > >>> > >>> Hello, > >>> is it possible to announce over OSPF only one (or a few specific) IP > >>> address instead of the whole subnet? > >>> If yes.. an ospfd.conf example would be appreciated. > >>> > >>> $ cat /etc/hostname.vr3 > >>> inet 10.1.111.1 255.255.255.0 > >>> > >>> $ cat /etc/ospfd.conf > >>> router-id 10.109.3.15 > >>> redistribute connected > >>> > >>> area 0.0.0.0 { > >>>interface vr0 > >>>interface vr3 > >>> } > >>> > >>> Thanks, > >>> Radek > >>> > >>> > >> > >> -- > >> Kindest regards, > >> Tom Smyth. > > > > > > Radek > > > Radek
Re: Lightweight Web browser
Hi Riccardo, One thing to consider a little off topic... is that hangs can be related to firewall / proxy rules / systems in place (to block advertising/ other content ) being filtered, depending on the method of blocking requests made by the browsers to specific web application sites (and their java script collateral) may actually have to timeout (rather than be refused quickly) and so the web page / application can appear to hang, network layer (ip) blocking can lead to request timeouts which can really slow down an interactive web app chrome with debug / developer tools can show you this issue (of network timeouts for certain applications I hope this helps, Tom Smyths On Mon, 6 Feb 2023 at 15:41, Riccardo Mottola wrote: > Hi, > > Rodrigo Readi wrote: > > Can someone recommend a lightweight Browser that support javascript? > > "Lightweight" is a hard term here.. .there are several options. But if > you need heavy usage - gmail, youtube and similar, at the end you need a > gecko, blink or webkit engine and so there things become equal. > Are you pressed by RAM or CPU? > E.g. in my experience Firefox was never "lighter" than seamonkey. Opera > or Bing are at the end similar to Chrome in terms of resources. The > difference are in "spy" amount. > I like SeaMonkey but it is lagging behind in packages on most BSDs > and/or it was removed. > In my experience, Firefox is much easier on RAM than Chrome(ium) and > good on more RAM pressed system. Limited Firefox is usable on a good > 32bit system with 2GB of RAM, but OpenBSD no longer provides firefox there. > > My distaste with Firefox is that it took a bad turn after FF52/FF60... > making horrible design choices - rust included and mocking more and more > Chrome interface. > > > In which I can use gmail? > > > > Otter browser hangs and even make core dumping with gmail. > > Also with chromium I get core dumping sometimes. > > There is no port for elinks to test it. > > You might try your luck with ArcticFox. Login works. Reading messages > appears to, replying by detaching into a separate panel does not anymore. > > ArcitcFox received a lot of care since I last tried it with gmail, but > also gmail is a moving JS target... so you are always at Google's mercy. > > Riccardo > > -- Kindest regards, Tom Smyth.
Re: MacBook Pro 15,2 (2019) nvme not available during 7.2-current install
Hi Jonathan, Wanted to provide update: I was able to build a release image from source using another amd64 VM and I incorporated your changes. The disk is now detected by the installer using `sysctl hw.disknames`. `fdisk -g sd0` gave “error writing GPT” when attempting to partition the drive (after running `MAKEDEV` for the corresponding sd0 device). I also attempted to write a GPT to disk using Apple’s Disk Utilities from a recovery boot ahead of time, but that did not appear to have any impact either. One thing I did note: the duid in disk label for the sd0 device was all zeros (I’ll attach the logs). Not sure if that’s relevant. This is a bit out of my realm of expertise at this point. Is there anything else obvious that I might be missing? Thanks again for your help thus far. Dmesg and disklabel to follow. Best, - Logan ——disklabel—— # /dev/rsd0c: type: SCSI disk: SCSI disk label: APPLE SSD AP0512 duid: flags: bytes/sector: 4096 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 7602 total sectors: 122138133 boundstart: 0 boundend: 122138133 16 partitions: #size offset fstype [fsize bsize cpg] c:1221381330 unused —dmesg— OpenBSD 7.2-current (RAMDISK_CD) #0: Sun Feb 5 12:46:58 PST 2023 noc...@buildbox.lan:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 16987197440 (16200MB) avail mem = 16468348928 (15705MB) random: good seed from bootblocks mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x88ecf000 (38 entries) bios0: vendor Apple Inc. version "1731.140.2.0.0 (iBridge: 19.16.16067.0.0,0)" date 06/28/2022 bios0: Apple Inc. MacBookPro15,2 acpi0 at bios0: ACPI 5.0 acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT SSDT ECDT HPET APIC SBST SSDT SSDT SSDT SSDT SSDT SSDT DMAR MCFG acpiec0 at acpi0 acpihpet0 at acpi0: 2399 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz, 3790.20 MHz, 06-8e-0a 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,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,OSXSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 4-way L2 cache, 6MB 64b/line 12-way L3 cache cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured 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 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEG0) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus 3 (RP05) acpiprt4 at acpi0: bus 121 (RP09) acpiprt5 at acpi0: bus 2 (RP13) acpipci0 at acpi0 PCI0 "ACPI000E" at acpi0 not configured "APP0001" at acpi0 not configured "ACPI0001" at acpi0 not configured "ACPI0002" at acpi0 not configured "APP9876" at acpi0 not configured "BCM2E7C" at acpi0 not configured "INT34BA" at acpi0 not configured "ACPI0003" at acpi0 not configured "PNP0C0D" at acpi0 not configured "PNP0C0C" at acpi0 not configured "APP0002" at acpi0 not configured "PNP0C0E" at acpi0 not configured acpicpu at acpi0 not configured cpu0: using VERW MDS workaround pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 8G Host" rev 0x08 "Intel Iris Plus 655" rev 0x01 at pci0 dev 2 function 0 not configured "Intel 300 Series Thermal" rev 0x30 at pci0 dev 18 function 0 not configured xhci0 at pci0 dev 20 function 0 "Intel 300 Series xHCI" rev 0x30: msi, xHCI 1.10 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 300 Series Shared SRAM" rev 0x30 at pci0 dev 20 function 2 not configured "Intel 300 Series MEI" rev 0x30 at pci0 dev 22 function 0 not configured ppb0 at pci0 dev 28 function 0 "Intel 300 Series PCIE" rev 0xf0: msi pci1 at ppb0 bus 1 vendor "Broadcom", unknown product 0x4464 (class network subclass miscellaneous, rev 0x03) at pci1 dev 0 function 0 not configured ppb1 at pci0 dev 28 function 4 "Intel 300 Series PCIE" rev 0xf0: msi pci2 at ppb1 bus 3 ppb2 at pci2 dev 0 function 0 vendor "Intel", unknown product 0x1578 rev 0x06 pci3 at ppb2 bus 4 ppb3 at pci3 dev 0 function 0 "Intel JHL7540 Thunderbolt 3" rev 0x06: msi pci4 at ppb3 bus 5 "Intel JHL7540 Thunderbolt 3" rev 0x06 at pci4 dev 0 function 0 not configured ppb4 at pci3 dev 1 function 0 "Intel JH
Re: Take it easy..
Feb 6, 2023 13:25:06 Peter N. M. Hansteen : > OpenBSD man pages tend to be readable and informative. > > https://man.openbsd.org/mount_tmpfs is quite short and to the point. In that mount man page I could like more: https://man.openbsd.org/mount_mfs but a reference in the fstab could be also appropriate by my side. Remaning on the simplicity to do stuff.. did you ever try: cd /home mkdir 5mode-com mv * 5mode-com/ I get: rename 5mode-com to 5mode-com/5mode-com: invalid argument By guess we could keep this thread open for a while. NB: Do not mind too much about me. I'm enough upset.. Facing PHP 8.1 broke its retro compatibility.. FILTER_SANITIZE_STRING became depracated in favour of strip_tags() and type checking has been enforced in most of the string functions..
Re: [patch]: SSL_OP_NO_RENEGOTIATION vs SSL_OP_NO_CLIENT_RENEGOTIATION inconsistency
On 23/02/06 02:24, Theo Buehler wrote: > On Sun, Feb 05, 2023 at 03:59:38PM -0700, Ashlen wrote: > > (Can CC to tech@ or elsewhere if needed, I didn't know if it belonged here > > or > > there so I'm starting here) > > Please do not send patches to misc. Many of us don't have the time and > nerves to dig through all the noise to see if there's anything worth > looking at. Hi Theo. Sorry about that (though thank you for making it clear). Would libressl@ have been the right place? > The two options don't do the same thing, so renaming > SSL_OP_NO_CLIENT_RENEGOTIATION into SSL_OP_NO_RENEGOTIATION or vice > versa isn't correct. > > > I don't know for sure which direction others would prefer to patch in, but > > I get > > the feeling it makes more sense to choose the approach that involves less > > future > > patching (renaming SSL_OP_NO_CLIENT_RENEGOTIATION to > > SSL_OP_NO_RENEGOTIATION). > > If the two options were equivalent, another option would have been to > add one compat define to ssl.h: > > #define SSL_OP_NO_RENEGOTIATION SSL_OP_NO_CLIENT_RENEGOTIATION > > This way no other patching would be needed. I see. Thank you for all of the other information before this as well. Reading through it helped me orient a little. I realize now that what I sent was a very naive patch, and that I really misunderstood what was going on. I underestimated how much I'd need to know to patch this. On that note, I should mention that I didn't know any C until after your mail (and from what I can tell, I still don't know nearly enough). I'm really only competent in Perl and shell. So in hindsight, I had no business offering a patch for this and I honestly feel quite embarrassed about it. Everyone makes mistakes, I guess, but still. > There are a few things to consider. > > 1. Should we add SSL_OP_NO_RENEGOTIATION? > > In my opinion your findings suggest that it should be done. It should > not be hard if you want to take a stab at it. If I felt confident in my ability to write safe, good quality C in a timely manner, I'd readily accept this. But my gut instinct tells me that it'll be a better use of everyone's time for me to properly learn C first and for someone else to take on this problem. Sorry, I really wish I could speak of this situation differently. Even if it turns out to be a trivial fix, I just don't know the fundamentals of C well enough yet to identify what that would look like. While I know that I'm capable of learning them, it'll take me a while to work through the rest of K&R---in large part due to other life events that are really vying for my attention. In any case, I do want to contribute to OpenBSD as it's my favorite OS and I use it pretty much wherever I can. Once I have a better grasp of C, I'll find a different way to help.
Re: Take it easy..
On 23/02/06 19:32, Daniele B. wrote: > Remaning on the simplicity to do stuff.. did you ever try: > > cd /home > mkdir 5mode-com > mv * 5mode-com/ > > I get: > > rename 5mode-com to 5mode-com/5mode-com: invalid argument That has to do with sh(1) globbing rules. The shell did exactly what you told it to and expanded _everything_ in the present working directory. Then it attempted to move all of that inside "5mode-com". But moving a directory inside of itself is invalid, so it errored. This happens on Linux too (demonstrated using termux on Android in this case, but I guarantee you can reproduce this elsewhere). ~ $ cd $(mktemp -d) .../tmp/tmp.7WQbdeMg3C $ pwd /data/data/com.termux/files/usr/tmp/tmp.7WQbdeMg3C .../tmp/tmp.7WQbdeMg3C $ touch file{1,2,3} .../tmp/tmp.7WQbdeMg3C $ mkdir dir1 .../tmp/tmp.7WQbdeMg3C $ echo * dir1 file1 file2 file3 .../tmp/tmp.7WQbdeMg3C $ mv * dir1/ mv: cannot move 'dir1' to a subdirectory of itself, 'dir1/dir1' .../tmp/tmp.7WQbdeMg3C $ uname Linux .../tmp/tmp.7WQbdeMg3C $ echo $SHELL /data/data/com.termux/files/usr/bin/bash
Re: MacBook Pro 15,2 (2019) nvme not available during 7.2-current install
On Mon, Feb 06, 2023 at 10:04:10AM -0800, Logan Ellis wrote: > Hi Jonathan, > > Wanted to provide update: I was able to build a release image from source > using another amd64 VM and I incorporated your changes. The disk is now > detected by the installer using `sysctl hw.disknames`. `fdisk -g sd0` gave > “error writing GPT” when attempting to partition the drive (after running > `MAKEDEV` for the corresponding sd0 device). I also attempted to write a GPT > to disk using Apple’s Disk Utilities from a recovery boot ahead of time, but > that did not appear to have any impact either. > > One thing I did note: the duid in disk label for the sd0 device was all zeros > (I’ll attach the logs). Not sure if that’s relevant. > > This is a bit out of my realm of expertise at this point. Is there anything > else obvious that I might be missing? Thanks again for your help thus far. > Dmesg and disklabel to follow. requires a different submission queue size according to linux Index: sys/dev/ic/nvme.c === RCS file: /cvs/src/sys/dev/ic/nvme.c,v retrieving revision 1.106 diff -u -p -r1.106 nvme.c --- sys/dev/ic/nvme.c 25 Nov 2022 03:20:09 - 1.106 +++ sys/dev/ic/nvme.c 7 Feb 2023 01:40:54 - @@ -232,7 +232,11 @@ nvme_enable(struct nvme_softc *sc) CLR(cc, NVME_CC_IOCQES_MASK | NVME_CC_IOSQES_MASK | NVME_CC_SHN_MASK | NVME_CC_AMS_MASK | NVME_CC_MPS_MASK | NVME_CC_CSS_MASK); +#if 0 SET(cc, NVME_CC_IOSQES(6)); /* Submission queue size == 2**6 (64) */ +#else + SET(cc, NVME_CC_IOSQES(7)); /* Submission queue size == 2**7 (128) */ +#endif SET(cc, NVME_CC_IOCQES(4)); /* Completion queue size == 2**4 (16) */ SET(cc, NVME_CC_SHN(NVME_CC_SHN_NONE)); SET(cc, NVME_CC_CSS(NVME_CC_CSS_NVM)); Index: sys/dev/pci/nvme_pci.c === RCS file: /cvs/src/sys/dev/pci/nvme_pci.c,v retrieving revision 1.10 diff -u -p -r1.10 nvme_pci.c --- sys/dev/pci/nvme_pci.c 11 Mar 2022 18:00:51 - 1.10 +++ sys/dev/pci/nvme_pci.c 2 Feb 2023 06:06:21 - @@ -72,7 +72,8 @@ nvme_pci_match(struct device *parent, vo if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_APPLE && (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_NVME1 || - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_NVME2)) + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_NVME2 || + PCI_PRODUCT(pa->pa_id) == 0x2005)) return (1); return (0);
Re: Take it easy..
> On 23/02/06 19:32, Daniele B. wrote: >> Remaning on the simplicity to do stuff.. did you ever try: >> >> cd /home >> mkdir 5mode-com >> mv * 5mode-com/ >> >> I get: >> >> rename 5mode-com to 5mode-com/5mode-com: invalid argument > > That has to do with sh(1) globbing rules. The shell did exactly what you told > it > to and expanded _everything_ in the present working directory. Then it > attempted > to move all of that inside "5mode-com". But moving a directory inside of > itself > is invalid, so it errored. > > This happens on Linux too (demonstrated using termux on Android in this case, > but I guarantee you can reproduce this elsewhere). I remember the billboard message that was waving on the Healthrew airport passengers heads in 2009: "There is no perfection, everyone copy each other." The skary part was that it sounded more like a suggestion also that one.. Maybe is just your way to let me appear Off Topic... :D -- Daniele Bonini Feb 6, 2023 23:46:23 Ashlen : > On 23/02/06 19:32, Daniele B. wrote: >> Remaning on the simplicity to do stuff.. did you ever try: >> >> cd /home >> mkdir 5mode-com >> mv * 5mode-com/ >> >> I get: >> >> rename 5mode-com to 5mode-com/5mode-com: invalid argument > > That has to do with sh(1) globbing rules. The shell did exactly what you told > it > to and expanded _everything_ in the present working directory. Then it > attempted > to move all of that inside "5mode-com". But moving a directory inside of > itself > is invalid, so it errored. > > This happens on Linux too (demonstrated using termux on Android in this case, > but I guarantee you can reproduce this elsewhere). > > ~ $ cd $(mktemp -d) > .../tmp/tmp.7WQbdeMg3C $ pwd > /data/data/com.termux/files/usr/tmp/tmp.7WQbdeMg3C > .../tmp/tmp.7WQbdeMg3C $ touch file{1,2,3} > .../tmp/tmp.7WQbdeMg3C $ mkdir dir1 > .../tmp/tmp.7WQbdeMg3C $ echo * > dir1 file1 file2 file3 > .../tmp/tmp.7WQbdeMg3C $ mv * dir1/ > mv: cannot move 'dir1' to a subdirectory of itself, 'dir1/dir1' > .../tmp/tmp.7WQbdeMg3C $ uname > Linux > .../tmp/tmp.7WQbdeMg3C $ echo $SHELL > /data/data/com.termux/files/usr/bin/bash
Debugging system failure as per crash(8)
Hello, How would I solve debugging a kernel issue when ddb(4) will freeze running "boot crash" and using gdb(1) with "target kvm" will not write to the disk? Is taking photographs of my computer screen the only option to record trace information? The system messagebuffer is not large enough to contain the data on warm reboot. Thanks.
Re: How to announce over OSPF only one IP address
Hi all, I have done an experiment. If your interface is part of an area, it will be advertised always. If you wanted to advertise only /32 this is how I got mine to work. Ensure your interface vr3 is not in your ospf area Add a static route to the one you wish to advertise, it appears that unless a route exists on the machine you cannot redistribute a random ip. So route add 10.1.111.11/32 10.1.111.1 Then you can redistribute your /32 router-id 10.109.3.15 redistribute 10.1.111.11/32 area 0.0.0.0 { interface vr0 } On Tue, 7 Feb 2023, 02:46 Radek, wrote: > Hello, > > I’d check the databases on both sides. > > And flush/reload the config and fibs. > I reloaded and restarted OSPFd on both sides - nothing changes. Then, I > rebooted routers on both sides - nothing changes. > I still can see/ping the whole 10.1.111.0/24 subnet from the far end. > > [10.109.3.15]$ ospfctl show database router > > Router Link States (Area 0.0.0.0) > > LS age: 238 > Options: -|-|-|-|-|-|E|- > LS Type: Router > Link State ID: 10.109.3.15 > Advertising Router: 10.109.3.15 > LS Seq Number: 0x8016 > Checksum: 0x6d0a > Length: 48 > Flags: *|*|*|*|*|-|E|- > Number of Links: 2 > > Link connected to: Stub Network > Link ID (Network ID): 10.1.111.0 > Link Data (Network Mask): 255.255.255.0 > Metric: 10 > > Link connected to: Transit Network > Link ID (Designated Router address): 10.109.3.16 > Link Data (Router Interface address): 10.109.3.15 > Metric: 10 > > LS age: 239 > Options: -|-|-|-|-|-|E|- > LS Type: Router > Link State ID: 10.109.3.16 > Advertising Router: 10.109.3.16 > LS Seq Number: 0x8016 > Checksum: 0xb058 > Length: 36 > Flags: *|*|*|*|*|-|E|- > Number of Links: 1 > > Link connected to: Transit Network > Link ID (Designated Router address): 10.109.3.16 > Link Data (Router Interface address): 10.109.3.16 > Metric: 10 > > > [10.109.3.16]$ ospfctl show fib > flags: * = valid, O = OSPF, C = Connected, S = Static > Flags Prio Destination Nexthop > *S8 0.0.0.0/010.109.3.254 > *O 32 10.1.111.0/2410.109.3.15 > > > On Sun, 5 Feb 2023 22:20:07 +0100 > Diederik Schouten wrote: > > > Hello, > > > > I’d check the databases on both sides. > > And flush/reload the config and fibs. > > Then check again which link state advertisements are in the database. > > To make sure you now get the /32 advertised. > > > > Sent from my iPhone > > > > > On 5 Feb 2023, at 21:15, Radek wrote: > > > > > > Hello Diederik, hello Tom, > > > this is a simple lab/testing configuration, that's why there is no > "passive" and other... > > > The purpose of this configuration is to allow access to certain IP > address and restrict access to the rest of the subnet. > > > I can use PF to block/pass what I need... but I'm trying make sure if > I can do it by announcing "not more than needed" over OSPF. > > > > > > "redistribute 10.1.111.11/32" seems to be what I need, but probally I > missed something, because this option doesn't work for me as expected. > > > > > > $ cat /etc/ospfd.conf > > > router-id 10.109.3.15 > > > redistribute 10.1.111.11/32 > > > > > > area 0.0.0.0 { > > >interface vr0 > > >interface vr3 > > > } > > > > > > Then, I can still see/ping other IPs in 10.1.111.0/24 from the far > end network. > > > > > > On the far router I can see the whole subnet instead of somthing like > " *O 32 10.1.111.11/2410.109.3.15". > > > > > > $ ospfctl show fib > > > flags: * = valid, O = OSPF, C = Connected, S = Static > > > Flags Prio Destination Nexthop > > > *S8 0.0.0.0/010.109.3.254 > > > *O 32 10.1.111.0/2410.109.3.15 > > > > > > Any clues? > > > > > >> On Sat, 4 Feb 2023 23:16:57 + > > >> Tom Smyth wrote: > > >> > > >> Hi Radek, > > >> > > >> it is better practice to add ospf network statements to ospfd.conf > > >> (if you dont want to send / recieve ospf messages on an interface set > the > > >> interface to passive in ospfd.conf > > >> avoid redistribute connected > > >> (add the network you want to be added to your ospf network) and leave > the > > >> other network ommitted from your ospfd.conf > > >> > > >> > > >> I hope this helps, > > >> > > >> > > >>> On Sat, 4 Feb 2023 at 20:02, Radek wrote: > > >>> > > >>> Hello, > > >>> is it possible to announce over OSPF only one (or a few specific) IP > > >>> address instead of the whole subnet? > > >>> If yes.. an ospfd.conf example would be appreciated. > > >>> > > >>> $ cat /etc/hostname.vr3 > > >>> inet 10.1.111.1 255.255.255.0 > > >>> > > >>> $ cat /etc/ospfd.conf > > >>> router-id 10.109.3.15 > > >>> redistribute connected > > >>> > > >>> area 0.0.0.0 { > > >>>interface vr0 > > >>>interface vr3 > > >>> } > > >>> > > >>> Thanks, > > >>> Radek > > >>> > > >>> > > >> > > >> -- > > >> Kindest regards, > > >> Tom Smyth. > > > > > > > > > Radek > > > > > > > > Radek > >
Fwd: Take it easy..
Hello, I continue to receive disturbing emails from this guy.Can you take any action, please? Received: from 127.0.0.1 by atlas-production.v2-mail-prod1-gq1.omega.yahoo.com pod-id atlas--production-gq1-854676cb87-k7th2.gq1.yahoo.com with HTTP; Tue, 7 Feb 2023 06:37:44 + Return-Path: X-Originating-Ip: [185.63.96.79] Received-SPF: none (domain of stare.cz does not designate permitted sender hosts) Authentication-Results: atlas-production.v2-mail-prod1-gq1.omega.yahoo.com; dkim=unknown; spf=none smtp.mailfrom=stare.cz; dmarc=unknown header.from=stare.cz; X-Apparently-To: my2...@aol.com; Tue, 7 Feb 2023 06:37:44 + X-YMailAVSC: s1kbw4I3bBvDs5jAw5HL0_4iO2hHqiw2vPPYuDmo3uW_nk8 9v4XVgJC0xERKP3blbgQbbOQb61T9q9_FqGoQW2Yaza5PwYA0q9r9qL5pIlj d1kH01kwyuIfeyVvKnXmaCfGno88gr1l9OPrfQeCLZByFenEyytXnEDVA2ux 2xlgBvdldqwDQrz6aX7_54BAp1kI_6rug2RofxugcW_l1459zf5lT_A_t66d gxYQWqP8KGNqEyxwroqLrk6gc3G5ZBAndI6D3Mu6qw89cgqCV6UJro3YrtYF FnVbBvN9xJabXeutFrqKAkkap_G6MPAzJDDdwCNiYxl_jcoJLwhCADbI8v62 pSpSTrhjeAYnTK7QqfDniykFdRYlf6ReP83J.izuAEJIDMRklRdAl99lkoWo DipKuE1aBXd0PgSEs3qnKNtqzKj29_Urf.YzTXDHUx5WoS5SvbeUHa62BrGT VFhcv8bSd5UocoZE_9eZSgDzJ4VQIdbLSLZqzD1rJRJqau6Bs28wGtlhhQ6N RxpO262v1lBckdqhtYvK2AlVCwqgu8ZtNfd_fDcdq.31k_woDk6Lc94Qui16 LaFw3E8dQGDM8QIZppmXw_hURCNZB1ipkz6L5iGdlRWFJB3ogS4tmfvKGSyz wnUcbQaadPTz5SurreJNQIknnCiMuzaiAL7L6I53rC7BPN9mQGnCyMeiJp_n wg71BLZsvw5WC9cbVBBfqQTksJYD8qkxioo1vhMDlK8S92JjsPoTZ1GxqFWj uwh0G25J34jNrKiDbUAjuylnxDT4HdrdtJ9f.iMlbn656dBwXNbkOMcjm1bU D6zSAqghhv_jZ94hGpUPMoyKeXkJdliirMMTOgKVfZYcoJJNLXg0V1L7Tv8f B9ZjetH9akAAeretzKViHDHTHRA3P5oI- X-YMailISG: hYCE02AWLDta8XOPBV8Oop_6N45mMM_rRLvQIzOoox8FDAmY HxxPxkA5Q1M.ZRI.QDA8np8GsZ_0xVM676odDkgZMRs1a7HosanQwyWRMvlH xUe_MKcS69kGvzVIhRxNJIUZuMLHqgwdjflvmI4R7nKvgvdgDHX8cJ_Y3PvB wK0tfYadDAFZDYuR2Aao4vnornoW2TJUSESlTXnDbRLCRxSVg5f.iK4CYKiY 8FkrG2YJLeG3x7oQ4sXedEfd98GbHVl_9LJ1H9xPOzEKKeERr6Kw4e5JWLz9 8tsdr00F.o8Mk06xPzVqgn9Rlx6LpznLANDxnpARmfZDnxT_P.PBqXokzD6G XrjUl.nSpY97RdBYlzKeguNRCkc0Vo7CDEICGre1LmDb7FMSz9DhPv0nDmFr fd8a2F3yebBGMbbpDEu2qxdOkkK3zNZFFJCryVkAYqKfvoPe30keaq.xgvC0 aZYrPF55gDCf87AgisIlhs0eiykqNHhtqQ2dFGc11Q9KgENyJBvZlx_23nVT IOAPP5EfmMwMJRXQ7eMiPXEBcfyRFVjgr_Xz1mb7U3QiUcAaT6Pcoly6MsKO vhIW4nYClcsS1qZmvdFJb2rFqtLemA_jSM_zOxl_w2DgFhRGTxngDoRe.Ex0 Aw2lHMnoc1hc3Y1gK7XQnIwTko5Gi6QkDU_U6frYo2TfgIuJBeRWK6Q3XdV5 rNEnW1.CtvsJrQ8.CNCaJyJMrhfVT59FRMLU74JC4TjFNrbnLM.4We4j85Xu .jdCkNVPt_5oNlzet5jkahEiovL7XLfP3.7rUzRSsfzkun8KbqjmEDs3ZHvY kPka2yHUrkDa7yrVxXM6npxxLpR361uHBboMtmKOfPMPvT7UmSyCVzKPnnUR YN70XdiIU5FGxZdrTewQ1A.wvSUm65leDMNSvrkHBGeA2xYMxDShR_Xuj_tP ssXK_9Ln48Ru3R5YEdOzcDxvjpXnucWmJbe4o3S8Z9vrqPUXnmsIX4iCHRj6 irnB1mY4OY1XKjn9mGSFWKfZWLm.2TF0aaKnt.p2pr6g4ZXzs.NVCsBS3lPO QfuRs5RH8ptmSIaBe6s6D9CXGSB4COCZ Received: from 185.63.96.79 (EHLO mx.stare.cz) by 10.248.198.116 with SMTPs (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256); Tue, 07 Feb 2023 06:37:44 + Received: from localhost (stare.cz [local]) by stare.cz (OpenSMTPD) with ESMTPA id a4d90afb for ; Tue, 7 Feb 2023 07:37:42 +0100 (CET) Date: Tue, 7 Feb 2023 07:37:42 +0100 From: Jan Stary To: "Daniele B." Subject: Re: Take it easy.. Message-ID: References: <8a7d019e-5eb1-4a58-b124-741be7f69...@aol.com> <20230206224338.l5ycggcmcrlqz...@bluebell.home.arpa> <1138cc2d-298a-4e67-bf59-7dcf7e586...@aol.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1138cc2d-298a-4e67-bf59-7dcf7e586...@aol.com> Content-Length: 2377 Your emails are a complete waste of everyone's time. Go away. On Feb 07 04:37:06, my2...@aol.com wrote: > > > On 23/02/06 19:32, Daniele B. wrote: > >> Remaning on the simplicity to do stuff.. did you ever try: > >> > >> cd /home > >> mkdir 5mode-com > >> mv * 5mode-com/ > >> > >> I get: > >> > >> rename 5mode-com to 5mode-com/5mode-com: invalid argument > > > > That has to do with sh(1) globbing rules. The shell did exactly what you > > told it > > to and expanded _everything_ in the present working directory. Then it > > attempted > > to move all of that inside "5mode-com". But moving a directory inside of > > itself > > is invalid, so it errored. > > > > This happens on Linux too (demonstrated using termux on Android in this > > case, > > but I guarantee you can reproduce this elsewhere). > > > I remember the billboard message that was waving on the Healthrew airport > passengers heads in 2009: "There is no perfection, everyone copy each other." > > The skary part was that it sounded more like a suggestion also that one.. > > Maybe is just your way to let me appear Off Topic... :D > > -- Daniele Bonini > > Feb 6, 2023 23:46:23 Ashlen : > > > On 23/02/06 19:32, Daniele B. wrote: > >> Remaning on the simplicity to do stuff.. did you ever try: > >> > >> cd /home > >> mkdir 5mode-com > >> mv * 5mode-com/ > >> > >> I get: > >> > >> rename 5mode-com to 5mode-com/5mode-com: invalid argument > > > > That has to do with sh(1) globbing r
Cannot use Intel Tearfree on Lenovo V15 G2 laptop
Hello I'm running OpenBSD 7.2 on Lenovo V15 G2 82KB, with i5-1135G7 and Xe Graphics Scroll tearing is really bad in Firefox and even SinpleTerminal, so I tried to use Tearfree option in intel(4), and boom! X crashed I looked at log, I noticed i915 driver version is in 2020, and it said "Unknown chipset" too old for 11-gen... And also, apm cannot detect my battery. I upgraded to snapshot, but still. Any idea? (full log in attachment) [87.817] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem (Operation not permitted) Check that you have set 'machdep.allowaperture=1' in /etc/sysctl.conf and reboot your machine refer to xf86(4) for details [87.817]linear framebuffer access unavailable [87.832] (--) Using wscons driver on /dev/ttyC4 [87.852] X.Org X Server 1.21.1.6 X Protocol Version 11, Revision 0 [87.852] Current Operating System: OpenBSD laptop.my.domain 7.2 GENERIC.MP#1021 amd64 [87.852] [87.852] Current version of pixman: 0.40.0 [87.852]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [87.852] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [87.853] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 7 15:36:29 2023 [87.853] (==) Using config directory: "/etc/X11/xorg.conf.d" [87.853] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [87.854] (==) No Layout section. Using the first Screen section. [87.854] (==) No screen section available. Using defaults. [87.854] (**) |-->Screen "Default Screen Section" (0) [87.854] (**) | |-->Monitor "" [87.854] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [87.854] (**) | |-->Device "drm" [87.854] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [87.854] (==) Automatically adding devices [87.854] (==) Automatically enabling devices [87.854] (==) Not automatically adding GPU devices [87.854] (==) Automatically binding GPU devices [87.854] (==) Max clients allowed: 256, resource mask: 0x1f [87.855] (==) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [87.855] (==) ModulePath set to "/usr/X11R6/lib/modules" [87.855] (II) The server relies on wscons to provide the list of input devices. If no devices become available, reconfigure wscons or disable AutoAddDevices. [87.855] (II) Loader magic: 0x68617f36e60 [87.855] (II) Module ABI versions: [87.855]X.Org ANSI C Emulation: 0.4 [87.855]X.Org Video Driver: 25.2 [87.855]X.Org XInput driver : 24.4 [87.855]X.Org Server Extension : 10.0 [87.855] (--) PCI:*(0@0:2:0) 8086:9a49:17aa:3f9c rev 1, Mem @ 0x60/16777216, 0x40/268435456, I/O @ 0x4000/64 [87.855] (II) LoadModule: "glx" [87.856] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [87.859] (II) Module glx: vendor="X.Org Foundation" [87.859]compiled for 1.21.1.6, module version = 1.0.0 [87.859]ABI class: X.Org Server Extension, version 10.0 [87.859] (II) LoadModule: "intel" [87.860] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so [87.862] (II) Module intel: vendor="X.Org Foundation" [87.862]compiled for 1.21.1.6, module version = 2.99.916 [87.862]Module class: X.Org Video Driver [87.862]ABI class: X.Org Video Driver, version 25.2 [87.862] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 [87.863] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000 [87.863] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100 [87.863] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300 [87.867] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103 [87.870] (WW) intel(0): Unknown chipset [87.870] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2 [87.870] (II) intel(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [87.870] (==) intel(0): Depth 24, (--) framebuffer bpp 32 [87.870] (==) intel(0): RGB weight 888 [87.870] (==) intel(0): Default visual is T