01:42:31 Is anyone else getting core dump saves after turning your system back on either from a cold boot or restart on 13.1-p4? I just confirmed it's that as I did a rollback to p3 and no more coredump saves. The system acts perfectly fine during reboots; as in no appearance that a panic occured. 01:42:44 13.2-p4, sorry 01:54:42 14.0-rc1, someone broke firefox XPCOMGlueLoad error for file /usr/local/lib/firefox/libxul.so: 01:54:42 Shared object "libdav1d.so.6" not found, required by "libxul.so" 03:29:43 I just restored it from a snapshot 11:13:57 good morning 12:49:42 hello all if I wanted to dialout on 4/5g (mobile network) what type of card or adapter would I require? 12:50:00 or would I need a nic into some type of hardware conversion box and then dialout via mpd5 12:55:01 I'm using a ME906s with the u3g driver (and pppd) 12:55:02 Ok dokey so I would want a cellular modem, ... anyone have any suggestions for an internal one with a type N (male) connector that would be compatible with freebsd 12:55:11 ah so they do show up as a dialout device, perfect 12:56:11 now just need to find one that also has a male type-n aerial ext_port :) 12:57:29 huh 12:57:48 you really want to loose 2.5 dB in one connector ? 12:58:29 loose? 12:58:58 its just what the aerial I have specifies for its connector type 12:59:00 'N (female) 13:01:33 https://i.imgur.com/vBRuoSa.png 14:27:50 Hello community. In my opinion it would be great if a similar application existed in the *BSD world, I mean the new software technology "bpftune" (https://github.com/oracle/bpftune). Have a great day! 14:36:14 hm, the monitoring part should be possible via dtrace and then you have to check if the tuneables that are changed are correct; I wonder why oracle didn't use dtrace for that as their linux has dtrace support, dtrace was build for monitoring stuff and they could use it as marketing for their oracle linux 14:42:34 @nimaje I am convinced that software technology would be improved in the BSD world. I hope the community is encouraged and that soon we will be able to enjoy an auto-tuned system. It would be great! 14:46:40 So, is the intel driver coming for new gen intel 12th in freebsd 14 ? i tested in 14-RC1 and X wont start.. i guess the only solution will be sfcb 14:46:43 ? 14:54:05 GeoBarRod: so are you going to contribute code? 14:58:49 linux has this it's open source. just copy the code /s 15:01:24 @Demosthenex I wish I could contribute code in C language. I have only learned to program shell scripts to better manage my servers. My contribution to the community in terms of programming has been "KDE-Services" (https://www.opendesktop.org/p/998464), which by the way I still need to adapt to the BSD world. 15:01:26 Title: KDE-Services - OpenDesktop.org 15:03:44 GeoBarRod: conveniently there is https://reviews.freebsd.org/D41745 right now which should allow you to exec dtrace(1) and read the output fairly easily from other languages if you want to try and "port" the idea of bpftune without writing C or using FFIs 15:03:45 Title: ⚙ D41745 dtrace: Add the 'oformat' libdtrace option. 16:04:35 need to run firefox under lldb 16:04:46 `lldb cannot launch firefox: operation not permitted` 16:04:55 env G_DEBUG=1 lldb -- /usr/local/lib/firefox/firefox --profile . 16:04:58 is what I'm trying 16:05:15 hoping there's an obvious thing I'm doing wrong here 16:05:34 ok, its not specific to firefox 16:05:50 sysctl security.bsd.unprivileged_proc_debug=1 16:06:15 thanks babz! 16:07:43 Is there recommended open source software I could use from my freebsd machines that would allow me to VPN from my mac on the road to my local network? 16:08:02 crb: wireguard, zerotier, openvpn 16:10:33 duh, thanks 16:10:39 dch, thanks 16:10:56 np 16:42:48 how would i match the different versions of linux-nvidia-libs to my graphic card? honestly no idea what 535 / 470 / 390 and so on means 16:44:04 should i just go with the latest / highest? 16:44:41 I usually look at the year my card was released, but I remember there's a table somewhere as well 16:44:58 but if it's newer than 2018 it's pretty safe to say you'll want 535 16:48:40 not necessarily 16:49:06 KingShark: there are tables of supported cards on the nvidia website 16:51:49 https://mastodon.bsd.cafe/@stefano/111257154132788711 16:51:51 Title: Stefano Marinelli: "Today, something odd happened to me, slightly con…" - BSD.cafe Mastodon Portal 18:09:45 arg, this is a stupid question. but with pkg i wanted to see the full description of a package and maybe the source site. pkg info doesn't do that 18:09:56 am i just that thick? 18:11:28 i get that info works after the install, i was trying to see if this is the right package, so i wanted before install ;] 18:18:48 Demosthenex, Have you tried: pkg info -f rsync 18:19:05 rwp: that only works if it's installed 18:19:22 Are you sure? Let me find something not installed... 18:19:46 something like debian's "apt-cache show pkgname" 18:19:54 Sorry. You are right. Try this: pkg search -f 0ad 18:20:13 I knew it was one of those but got it wrong. My bad! 18:20:13 rwp: ok, i just missed it was a search flag ty 18:20:23 yeah, my muscle memory is still updating! ty =] 18:21:09 I am right there with you! I have my own mapping sheet of equivalents and explanations. 20:54:03 hi. Can you explain me how to manage usb storage devices, like pendrives? let me explain 20:54:44 i am trying to write iso image on my pendrive. Two commands, lsblk and gpart says that my pendrive is da2 20:55:24 so I use dd with of=/dev/da2 option but I get invalid input 20:55:36 i checked /dev and there is no da2 but da2% 21:06:35 is LS command broken? 21:06:50 i did ls /dev and there is da2 device 21:07:30 but if I do (( ls /dev/da[TAB] )) ls suggest da2% da2s0% da2s1% 21:07:55 can anyone explain it to me because it is thing I can't understand under freebsd 21:08:45 at least i can say that % characters are not part of file names. with dd (and in general) you should trust what ls command says 21:09:52 ok but I have no idea why I cant use da2 21:10:05 i can't mount it and I can't dd to it 21:10:45 "mount -t ext2fs /dev/da2s1 /mnt/usb" gives me invalid argument error 21:11:10 what lsblk says about the file system of /dev/da2s1? 21:11:14 "fuse-ext2 /dev/da2s1 /mnt/usb" does nothing, no error, no mounting 21:11:28 lsblk and gpart say it is linux-data 21:12:28 I don't actualy need to check what is there so I did "dd if=Downloads/bla.iso of=/dev/da2" and I got invalid argument 21:13:56 dd command is exactly the same I always used under linux to write iso images to pendrives 21:16:12 i notices that under freebsd i generaly have issues with mounting partitions and using storage usb devices. I can't find anything about these issues and I am not sure if my knowledle is correct or not 21:17:31 ok, fixed dd error :| it isn't 100% the same as under linux. There is no bs option 21:17:51 freebsd's handbook has a following example command: dd if=FreeBSD-13.0-RELEASE-amd64-memstick.img of=/dev/da0 bs=1M conv=sync 21:18:18 i removed bs= argument and dd is writing 21:18:59 i always set bs=100000, under bsd got argument error 21:19:27 so what is a problem with -> mount -t ext2fs /dev/da2s1 /mnt/usb? 21:20:04 asking because these error are wrong very often 21:20:27 mount has most incorect error messages I have ever seen 21:20:31 `dd if=/dev/zero of=/dev/null bs=100000` works for me *shrug* 21:21:10 is it possible it didn't work 10 minutes ago but work now somehow? 21:22:05 unlikely, but we won't know if you don't paste the exact command an error 21:22:33 a did. commands are 100% the same as I paste here 21:22:51 now I can;t do anythng more because dd is still writing 21:23:07 make tea 21:23:10 always a good excuse 21:23:20 i will try anther usb after dd finish 21:23:27 and we will see, ok? 21:23:35 status=progress -argument would show the progress... 21:23:43 too late :) 21:23:51 but thanks 21:24:06 never checked for progress info 21:24:28 btw, another question 21:24:35 I noticed one more thing 21:24:45 you can send USR1 signal to the dd process 21:24:53 it will dump its progress on stderr 21:25:49 when I use any da device like da2 and unmount it and remove it and then I insert another usb then there is no da2 but da3 21:26:16 i quess it is wrong :| 21:26:55 somehow da2 becomes reserved and new device use da3 21:27:06 i wonder what will happen now 21:30:27 * kevans checks what channel he's in after noting a lack of ^T/SIGINFO 21:34:00 also, reasonably certain our dd doesn't have a SIGUSR1 handler 21:34:12 oh your're right 21:34:56 the conversation's a little rough to follow, since it starts off talking about lsblk 21:35:12 but then there's reference to "operating like on linux systems" 21:52:54 works fine 21:53:06 new usb device has the same name, da2 21:57:21 * rwp is just joining back in and have some hints 21:57:47 USB devices do normally attach as /dev/daN where N is a number. They are attached as SCSI devices. 21:58:08 SATA drives normally attach as /dev/adaN devices, which is convenient because it keeps them in a separate namespace. 21:58:34 SAS drives attach as SCSI devices so spinning SAS drives attach as /dev/daN as well. Don't confuse a USB storage device with a spinning SAS drive! 21:59:06 I have not found the FreeBSD lsblk command to be useful. It's not the same as the lsblk from linux systems. Instead FreeBSD has "geom -t" which I find very useful. 21:59:57 However if I am trying to identify what is on a USB storage device using "file -s /dev/daN" will often be most effective. The -s tells file to read the special device even though it is a special device. And then say what it finds there. 22:00:56 To write a USB storage at /dev/daN I will use a command like "| dd of=/dev/daN bs=1M iflag=fullblock oflag=sync,direct" to do it. This has several advantages. 22:01:31 iflag=fullblock says that if dd reads a partial block it will read again and pack up a full block for writing. Sometimes on a loaded system this will be needed. 22:02:19 The oflag=sync,direct says to open the output file with O_SYNC | O_DIRECT which means writes wait until the storage says it is written and the file system buffer cache is bypassed since we are going to eject the USB device in a moment anyway it is not useful to cache anything. 22:02:57 Wouldn't it be nice to have a nice progress bar? That's easily done using the port "pv" progress viewer command. Install pv. 22:03:35 pv FreeBSD-13.2-RELEASE-amd64-disc1.iso | dd of=/dev/daN bs=1M iflag=fullblock oflag=sync,direct 22:04:12 That will write the data from the input with a pretty reasonable progress bar to dd which will write the data using O_SYNC|O_DIRECT. When the command terminates it is safe to remove the USB storage device. 22:04:38 i've been meaning to see if pv is really worth it. i've never felt like I need more than what status=progress/SIGINFO shows, but maybe that's just because I've never seen the 'greener grass' 22:05:07 Try it! I think you will like it. It's a lot nicer output than dd's status=progress output. 22:06:13 Lastly I am often in an iteration cycle and doing this more than a few times. I am certainly comfortable with root using sudo but wouldn't it be nice if I could avoid root entirely? It would avoid any possibility of confusing da with ada and causing an accident. 22:06:37 I do this additional thing. Which I would be interested if people thought it was okay or otherwise. I add a rule to /etc/devfs.rules saying this. 22:07:06 [localrules=10] 22:07:07 add path 'da[0-9]*' mode 0660 group wheel 22:07:40 And of course I am in group wheel so that I can use su so this means that USB drives are attached as /dev/daN and are writable by group wheel. Meaning I do not need sudo to write to them. 22:08:10 On a SATA desktop the spinning drives are /dev/adaN and this keeps them in separate namespaces. Making this much safer IMNHO from accidentally doing something in a slip of the finger. 22:08:58 (And in that same file I add "add path 'cd[0-9]*' mode 0660 group wheel" so that I can then read cdroms, usually for me with "cdparanoia -B", as me as well.) 22:11:43 wikan, ^^ Perhaps this helps? Hopefully useful hints. 22:15:42 Oh! I almost forgot another excellent hint! BSD tar uses libarchive and will read most types of archives and compression methods. It's truly a marvel. 22:16:33 rwp: i am reading your messages... 22:16:34 Which means that I can attach a USB storage device with, say, a Devuan netinstall ISO image. That attaches as /dev/da0 here. Then I can list the contents trivially with "tar tvf /dev/da0"! 22:18:55 That makes it really easy for me to |less there and browse an ISO image. And to extract files from it, such as base.txz really trivially without ever mounting it. 22:19:59 With something like "tar xvf /dev/da0 '*/base.txz'" which easily extracts files from it without needing to mount it. 22:20:15 nice, great hints rwp 22:20:52 thank you very much :) 22:20:58 wikan, The rule is see one, do one, teach one! 22:21:19 device rules are awesome I will use it for sure 22:21:39 i always warry about of= :D 22:21:54 i am checking command many times before I hit enter 22:22:22 A caution in the case of actual scsi devices like SAS drives. A system with SAS drives uses the SCSI driver and mounts those disks as /dev/da0 too. I wish USB used a different namespace! 22:22:24 and even that I am scared :D 22:22:53 i dont use scsi I think 22:23:06 But most desktops have SATA drives, either spinning or SSD, and those use /dev/ada0 naming. 22:23:22 btw, do you know why my LEDs and keyboard are da0 and da1? 22:23:42 i have usb leds string attached to my monitor 22:23:45 Think of my stress when accessing USB devices on my SAS storage array! 22:24:11 Huh? What? Huh? Your LEDs and keyboard are /dev/da0 and /dev/da1? 22:24:17 no 22:24:53 I bought leds string (about 30cm) and it is connected to usb 22:25:25 so leds have their own da device 22:25:35 One would think and hope that LEDs like that would only use USB for power and nothing else. No? That's awful! 22:25:37 but why da, have no idea 22:25:57 exactly.Leds only use power 22:26:06 another question if I may 22:26:21 It is probably a manufacturer who used a chip that presents itself as storage, may actually have some storage, but is also using power. 22:26:31 as I wrote before ls /dev gives me output where I can see da0 da1 da2 da2s1 etc 22:26:45 I suggest using a USB power isolator in series to allow LEDs to prevent the data lines from being active to prevent this. I expect it not to affect the lights power. 22:27:00 Though if it uses some type of programmable feature it would block being able to program them dynamically. 22:27:31 but when I type "ls /dev/da[TAB]" then autocomplketion suggest me not da but da0% da1% da1s0% etc 22:28:03 What command line shell are you using? echo $0 22:28:21 i use bash 22:28:28 * rwp wonders if bsd.to paste site is offline today? 22:28:39 i have no information about programming possibilites 22:29:02 it has only little controller attached to cable to change colors and modes 22:29:26 If you type in "ls --version" do you get a GNU version string or a BSD ls option error? 22:30:09 --version gives me unrecognized option error 22:30:53 All good so far. I was just trying to identify the environment in order to diagnose it further. But this one is stumping me. 22:31:08 Try this: env -i HOME=/ /usr/local/bin/bash 22:31:45 That will initialize the environment to nothing before setting HOME=/ and then invoking bash. Then from that shell try echo /dev/daTAB and see what happens. 22:32:42 If that does NOT produce % characters at TAB expansion then I would claim that the problem is somewhere in your environment or files in $HOME that has customized bash to emit % characters on device files. 22:33:02 well gives me da0 and da1 correctly now 22:33:21 If that still does then I would claim it is something in termcap. Oh! Good. Then it is something in your $HOME in files there. 22:33:25 ~/.bashrc and ~/.shrc are 100% my own scripts 22:34:20 Temporarily move all of your custom files off to the side in a sub-directory for safe keeping. Then see if the problem is there. Expect not. Then carefully add things back in until the problem is located. 22:34:23 let me check 22:35:18 Bash would not be reading .shrc but would be reading other files .bash_profile, .profile, .bashrc and also possibly other files listed in the "man bash" FILES section. 22:36:12 my bash does read .shrc 22:36:28 i source this file 22:36:35 some option I set in .shrc 22:36:53 and becouse I don't want repeat commands I source shrc from bashrc 22:37:28 If you are explicitly sourcing a file then of course it is read. But with your other custom files moved off to safe keeping bash would not read it on its own. 22:38:03 BTW... I use a "PortaPow USB Data Blocker" which I would recommend for your LED power isolation. Here is one example: https://www.amazon.com/dp/B00QRRZ2QM 22:39:08 shrc has the issue 22:39:13 checking 22:39:35 may it be "command -p ulimit -c 0" ? 22:39:59 there is no other possibility in my opinion 22:40:21 exactly 22:41:02 well 22:41:04 weird 22:41:20 it works now 22:41:30 i didn't change anything and it works now 22:41:56 oh wait 22:42:05 You have stumped me with regards to "command -p ulimit -c 0" as I cannot see how that can do anything. Since ulimit must be a shell builtin in order to affect the currently running process. 22:42:12 root is broken not my user :D 22:43:13 Oh! Well that will be csh instead. And I get that behavior too now that I try it. It must be native csh behavior. 22:44:14 echo $0 gives me _su 22:44:32 shel is csh 22:44:36 correct 22:44:39 you are correct 22:44:56 Reading the man page for csh says "% Character device" so the % is designating the name as a character device. 22:45:57 so % does nothing. it is just something like an information flag 22:46:04 thanks 22:46:17 now i understand what is happening here :D 22:46:40 TIL that BSD csh has a builtin "ls-F" command which behaves similar to "ls -F". (eyes wide in amazement) 22:47:15 I feel certain that is new since I ran csh as a daily driving command shell. 22:47:18 i will change shell for root to bash 22:47:47 it is nonsense to use two different shells 22:49:33 Well... /bin/csh and /bin/sh in base and upgrade as part of the OS when base upgrades. /usr/local/bin/bash are from ports and upgrades as a secondary step. 22:50:06 it is not a problem 22:50:07 I have locked myself out of my own system by changing my root shell to bash, just as you are thinking. Been there, done that! And all was good. Until I upgraded from FreeBSD 12 to 13. 22:50:34 wut> 22:50:37 why? 22:50:38 And then I forgot I had done this and rebooted and found myself unable to log into any available login on the system, as all were bash, and bash used shared libs from base which had been removed during the major upgrade. 22:51:02 This is all as expected. And I knew the problem. But forgot and rebooted before I upgraded bash to the new version. My bad! I did it to myself! 22:51:19 wait 22:51:24 i use pkg 22:51:36 If this happens to you then reboot and use the Boot Environments (you are using zfs surely) and select the previous system. Boot it. Log in. Then use it to fix the default system. Then reboot again. 22:51:38 with pkg it shouldn't happen, right? 22:51:49 I was using pkg too. It can most definitely happen with pkg. 22:52:12 but it is mayor upgrade error O.o 22:52:38 well you right, freebsd uppgrades are messy 22:52:41 If you follow the upgrade instructions then everything will work correctly no problem. I slipped and did not. 22:52:48 last time I lost sound in firefox after upgrade 22:53:17 ok i leave csh 22:53:23 FreeBSD upgrades are not messy as such but they are LAYERED. This is GOOD. There is BASE that is one cohesive thing that upgrades as one cohesive thing. Then there are PORTS which are upgraded rather individually. 22:53:26 i will manualy change to bash 22:54:33 There is another user "toor" (root backwards). By default it is not enabled. It is good to enable it by setting a password for it if you have moved the root shell to a port. Then you can use it to log in if you need it. Though many people do not like having any root login possibilities and will advice the opposite of what I am suggesting. 22:54:35 well about year ago intel driver package changed its name for example 22:54:47 two times 22:54:57 i lost driver and couln't findout why :D 22:56:05 my freebsd is desktop workstation not a server :) 22:56:35 If one does not want to enable toor which uses /bin/sh by default (still not bash) and is also not liking csh then after becoming root then run "exec bash" to switch from csh to bash and continue on that way. It's fine. 22:56:48 i can log as root and it is not a problem 22:57:08 My desktop is also FreeBSD. And I also have FreeBSD servers. It's a universal operating system. 22:57:29 i switch all my mashines to freebsd :) 22:58:00 Welcome to the community! We have cookies! :-) 22:58:15 :) 22:59:02 i use freebsd about a year 22:59:08 sometimes a log in here 22:59:26 once I helped somebody :) 22:59:51 * rwp is going to get a snack bbiab 23:00:02 i could because he has the same problem as I found solition day before ;) 23:08:10 rwp, thank you so much for you talk, time and conversation 23:11:35 it is night here. Its time to sleep. Thanks one more time. See you later :) Bye 23:23:23 hello 23:25:39 @dch, hey man 23:33:05 what could lead login shell to not appear in multiuser mode, but appear in single user mode? 23:33:39 Please clarify what you mean by "not appear". 23:35:25 I can read the boot log in console, and then it stops just before showing the login prompt 23:35:46 and it seems to not accept any input 23:35:51 serial or vt console? 23:36:29 the two most likely reasons are: not enabled for login in /etc/ttys, or some rc.d script did not complete 23:37:11 serial console 23:37:30 one other option for serial consoles is a bad choice of gettytab entry causing it to wait for DSR/DCD before showing a prompt 23:37:45 what hardware is this? 23:39:07 in /etc/ttys I see lines: "console none unknown off secure" and "ttyu0 "/usr/libexec/getty 3wire.115200" vt100 off secure" 23:39:21 and also "dcons "/usr/libexec/getty std.9600" vt100 off secure" 23:39:35 I'm omitting all the ttyvX 23:40:08 notice that ttyu0 is marked "off" 23:40:18 which means, it won't spawn a getty for it 23:40:37 typically that would be set to "onifconsole" 23:50:58 so, did that work? 23:54:02 I'm trying right now, thanks for the hint 23:55:29 it's taking some time as I'm getting mangled boot console now 23:55:34 and I'm trying to figure out why 23:56:10 could not depend from last edit to /etc/ttys 23:57:08 no change, still hangs in same place 23:57:12 rebooting in single mode 23:58:00 note that the 115200 is the baud rate, if you're expecting it to be 9600 or whatever then change it to that