-
ExclamationPoint
hi everyone! I was in here earlier asking about whether anyone's interestd in a project starting to autodoc the kernel compile options. What I want: to help users understand the options, track down their effect in source, and basically improve on LINT/NOTES. What I don't want: #1) NOT MAKING A GUI CONFIG TOOL! 2) Don't want to stand in the way of development in any way. 3) Don't want to have a tight dependency on
-
ExclamationPoint
adoption by the kernel codebase. IF it gets included, cool, but if it's necessary then I've failed. Any feedback, ideas, or even rotten vegetables are welcome (looking at you rtprio!)
-
markmcb
kevans: w00t! :) thanks
-
markmcb
on beta1, after reboot, running freebsd-install yields "Installing updates...install: ///usr/include/c++/v1/__string exists but is not a directory" ... now all sorts of weird behavior, we'll see if a reboot helps
-
markmcb
beta1 totally failed for me. couldnt even reboot. i'm dropped back to 13.2 via boot environment.
-
markmcb
all was going well until running freebsd-update the 2nd time after reboot. after that, system was borked. was getting errors like "/bin/sh not found". had to hard reset, which resulted in a panic at boot.
-
mason
open up a bug for it!
-
markmcb
will do
-
llua
and people fearmonger about changing root's shell due to borked updates lol
-
mason
Nah, that's what rescue media is for.
-
RhodiumToad
what was the panic?
-
markmcb
i'll have to trigger it again and take notes. i think something during the 2nd update deleted most of the OS. like an rm gone wild. the boot failed shortly after the loader.
-
_xor
markmcb: I've run into that error before a few times.
-
_xor
Deleting /usr/include/c++/v1 is what fixed it for me (backup/move the directory first and if the update succeeds after that, then it should be safe to delete, but caveat emptor).
-
_xor
I'm using pkgbase, which it doesn't sound like you are, but it had to do with how a particular part of base installed itself.
-
_xor
Though I will say that it didn't panic for me, it just wouldn't finish the install/update. I didn't reboot the system until after I fixed the issue, so that might have been the difference.
-
ppw
hi
-
ppw
does anyone know what font freebsd uses in the framebuffer console?
-
crb
it there a way to determine if TRIM is being used on a device?
-
carlavilla
tunefs -p (if I recall correctly)
-
RhodiumToad
ppw: I believe the default font is Terminus 8x16
-
debdrup
src/contrib/terminus certainly seems to suggest it ;)
-
debdrup
src/sys/dev/vt/font/vt_font_default.c makes it pretty explicit
-
RhodiumToad
other fonts can be loaded with vidcontrol
-
debdrup
They just need to be converted to the proper format, with vtfontcfg - which unfortunately only takes BDF or Unifont HEX.
-
debdrup
Huh, I thought FreeBSD (outside of OpenSSL) didn't use SIMD stuff, but simd(7) seems to imply otherwise.
-
debdrup
(Also, I only learned about simd(7) today, thanks to a commit by fuz@)
-
meena
debdrup: he's been making loads of commits just like that for a month now
-
debdrup
-
VimDiesel
Title: FreeBSD / src / 474408b / lib/libc/amd64/string: add strcspn(3) scalar, x86-64-v2 implementation - FreshBSD
-
debdrup
meena: I haven't been around too much as of late, so..
-
SoniEx2
how would you setup a freebsd vm for development?
-
debdrup
Surely that depends on what you're going to be developing?
-
Soni
reverse proxy stack
-
dstolfa
Soni: do you plan to develop freebsd itself or test your software on freebsd?
-
debdrup
My point was more that there's no "one true way", it depends on whatever you like using.
-
RhodiumToad
a vm on what host?
-
Soni
the latter
-
Soni
RhodiumToad: currently using a linux host
-
dstolfa
in that case, any way you like really
-
dstolfa
i use vmware for my freebsd vms on linux and a few bhyve-backed freebsd servers
-
Soni
"why write freebsd-only code then" because freebsd is better, particularly when it comes to documentation
-
RhodiumToad
there are VM images you can download or you can boot a VM from the install media and do an install
-
debdrup
There are also ways to build custom images with the software you want to include, using either release(7) or poudriere.
-
Beladona
Any clue why the vbox guest is crashing?
pastebin.mozilla.org/FLuSEUMA
-
VimDiesel
Title: Mozilla Community Pastebin/FLuSEUMA (Plain Code)
-
Beladona
meena this is the paste you asked for the virt-manager
pastebin.mozilla.org/w0yzt4c9
-
VimDiesel
Title: Mozilla Community Pastebin/w0yzt4c9 (Plain Code)
-
meena
Beladona: can you show me, `id`, and `ls -l /var/run/libvirt/libvirt-sock`
-
Beladona
meena # ls -l /var/run/libvirt/libvirt-sock
-
Beladona
srwx------ 1 root wheel 0 Sep 3 20:28 /var/run/libvirt/libvirt-sock=
-
meena
Beladona: that means, it only works when run as root
-
Beladona
meena if I run it as root, it gives this message:
pastebin.mozilla.org/eTPS3NbR
-
VimDiesel
Title: Mozilla Community Pastebin/eTPS3NbR (Plain Code)
-
meena
Beladona: right. That should probably say something like: bhyve:///system then?
-
Soni
can you use pkg on BETA?
-
Soni
(or just stick to STABLE?)
-
Beladona
meena bhyve seems to start working. will check. I guess I cannot use the vbox .vdi in qemu. Right?
-
meena
Beladona: no, but you can convert it with qemu-img
-
Beladona
meena ok thanks. any info on why vbox is crashin?
-
Beladona
-
VimDiesel
Title: Mozilla Community Pastebin/FLuSEUMA (Plain Code)
-
Soni
how do you bootstrap the ports collection without going through binary package management?
-
rtprio
just download/extract it or clone it
-
meena
Soni: make install still does pkg install
-
Soni
any reason not to use HEAD?
-
Beladona
meena I am doing `qemu-img convert -f vdi -O qcow2 xubuntu.vdi xubuntu.qcow2`
-
dstolfa
Soni: other than having to build it yourself every so often and only being able to run latest packages (if you want pre-built without doing it yourself), not really. it's a bit more experimental, but i find it doesn't break very often
-
meena
Soni: if you follow commits and freebsd-current@ you know when not to upgrade
-
meena
for example, right now, some string functions in libc are broken in exciting new ways
-
meena
-
VimDiesel
Title: 273652 – libc: broken memchr(3) after base de12a689fad2
-
Soni
meena: oh we mean for ports collection
-
Soni
currently on 13.2-STABLE we think?
-
meena
I am always on latest,
-
Beladona
meena I made .qcow2 but not sure how to use it in qemu.
-
Beladona
Its not importing it
-
meena
what's it saying?
-
Beladona
checking/ tweaking
-
Beladona
-
VimDiesel
Title: Mozilla Community Pastebin/v5q2wgXd (Plain Code)
-
meena
Beladona: can i recommend taking this to #virt on oftc?
-
Beladona
oftc?
-
meena
they'll probably ask for a paste is the XML for that machine
-
meena
-
VimDiesel
Title: OFTC - Home
-
Beladona
ok
-
meena
qemu, libvirt and ask related projects are there. as are the official Debian channels
-
meena
s/ask/all/
-
meena
n.b.: Debian. the official Ubuntu channels are here, on libra
-
Beladona
qemu issue on freebsd a) no UVF/OVMF firmware image b) failed to find default network.
pastebin.mozilla.org/dy00wEx9
-
VimDiesel
Title: Mozilla Community Pastebin/dy00wEx9 (Plain Code)
-
Beladona
meena but they will most probably say 'you are on wrong channel. go to #freebsd'
-
meena
Beladona: there's also freebsd people in those channels
-
Beladona
ok
-
meena
we have qemu-bsd-user is in active development, so there's freebsd folks who sit there, and stare at qemu code
-
Beladona
ok
-
RhodiumToad
and the qemu code stares back
-
ngortheone
Hello folks. Something happened to firefox semi-recently where it now refuses to work unlesss I set kern.elf64.allow_wx=1
-
ngortheone
I would like to keep wx disabled, does anybody know if firfox can be tuned to work with kern.elf64.allow_wx=0?
-
ngortheone
I am running 14-CURRENT
-
ngortheone
(or rather 15 now :)
-
ngortheone
The UI loads up, but every tab has a message "Gosh! This tab has crashed"
-
emaste
ngortheone: unfortunately I think you're going to have to do a lot of digging to find the issue. do you have the last known working version available?
-
ngortheone
-
VimDiesel
Title: 272767 – www/firefox: 116.0 all tabs crash if kern.elf64.allow_wx=0
-
ngortheone
emaste: I don't remember somwhere after version 102
-
ngortheone
interestingly thunderbird works fine
-
ngortheone
I disabled JIT related settings in both FF and thunderbird
-
ngortheone
with no result
-
Beladona
meena the folks there say you got to create a bridge device. I wonder how
-
ngortheone
firefox-esr (which is version 102) seems to be working fine..
-
Beladona
-
VimDiesel
Title: Chapter 34. Advanced Networking | FreeBSD Documentation Portal
-
meena
Beladona: looks good to me. i guess you have to designate a bridge for libvirt
-
Beladona
`ifconfig bridge create ; ifconfig bridge0 addm fxp0 addm fxp1 up` <-- I hope this will not interfere with my existing things, network etc going on?
-
meena
Beladona: fxp0 is an example device. what does `ifconfig` show?
-
Beladona
-
VimDiesel
Title: Mozilla Community Pastebin/hVz8P1DX (Plain Code)
-
meena
-
VimDiesel
Title: fxp
-
Beladona
meena rec0 is the one I am using.
-
angry_vincent
when branching of stable happens ( for example newly added stable/14 ) is debugging left enabled ( Like in CURRENT ) or disabled?
-
ngortheone
should be disabled on branches... but don't take my word for it
-
angry_vincent
is why i asked
-
yuripv
-
VimDiesel
Title: release: update stable/14 following branching from main · freebsd/freebsd-src@29a16ce · GitHub
-
unixman_home
-
unixman_home
Glad I waited to do patching on my hosts until this weekend. :)
-
angry_vincent
yuripv: thank you
-
emaste
unixman_home: note that's for upgrade, not -pX patch
-
unixman_home
emaste, yep. I was using "patching" as a catchall. Mea culpa. I also ran "freebsd-update upgrade" on two of the RELEASE systems this morning. I am thinking that error would have affected me had I done that last month.
-
Beladona
meena I got disconnected. Did I missed anything?
-
pstef
Beladona: nothing directed at you
-
Beladona
ok
-
emaste
unixman_home: I just mean there's no ugrency to apply this change, it's only important to install it before you want to upgrade to 13.3
-
unixman_home
Okay.
-
markmcb
_xor: thanks. sounds like the same issue. any idea the root cause of that? i.e., i have no idea what /usr/include/c++/v1 is for. i don't compile anything.
-
CrtxReavr
meena, I remember when fxp(4) was in wide use.
-
» CrtxReavr used a lot of dual & quad fxp cards.
-
_xor
CrtxReavr: Same, they were pretty common I remember.
-
yuripv
emaste: seems to be duplicate .Sh (.Sh .Sh) in your latest commit
-
_xor
markmcb: Headers for that specific version of stdlib or whatnot. Though I did wonder why string was an issue at first, because I assumed it was alphanumerically sorted, and so others would preceed string.
-
markmcb
_xor: i'm going to try again now and see how it goes. if i run into the same issue i'll give this a shot.
-
markmcb
ok, so i've rebooted. freebsd-update install reports the same error: "Installing updates...install: ///usr/include/c++/v1/__string exists but is not a directory"
-
markmcb
followed by "install: ///usr/include/c++/v1/__string/char_traits.h: Not a directory"
-
markmcb
and "install: ///usr/include/c++/v1/__string/extern_template_lists.h: Not a directory"
-
markmcb
the install process continues to run ... i'll leave it alone for a few minutes and see if it destroys itself again
-
mason
This makes me think I should snag the beta and try it.
-
mason
-
VimDiesel
Title: Index of /snapshots/amd64/amd64/ISO-IMAGES/14.0/
-
mason
-
VimDiesel
Title: Index of /releases/ISO-IMAGES/14.0/
-
markmcb
so the installer finished this time without a flood of errors ... time to reboot and see
-
markmcb
all seems well now ... i wish i had copied all the errors on the first failure ... hmmmm
-
librton
Hello, Is there a terminal program to play music on freshly installed fb without desktop env. I've tried some musikcub cmus but mpv wasn't available on pkg installation list.
-
markmcb
trying to update packages on 14-BETA1 and getting "SSL certificate subject doesn't match host pkg0.fra.freebsd.org"
-
markmcb
I made the repos https instead of http
-
markmcb
is that not supported until the release?
-
markmcb
-
markmcb
is "pkg bootstrap -f" not the way to go?
-
parv
librton, Check if "mpg123" & "mplayer" would work for you
-
markmcb
oh wait, i just noticed that url is "quarterly/latest"
-
yuripv
markmcb: probably quarterly is not yet built for 14?
-
markmcb
yep, it was a typo in my repo url
-
markmcb
thanks
-
librton
parv: where can I paste the output error?
-
parv
... perhaps there could some other software by now. Search the package comment ("pkg search --comment term") or description ("pkg search --description term")
-
parv
Topic of this channel has: Pastbin:
bsd.to
-
VimDiesel
Title: dpaste
-
parv
s/tb/teb/
-
librton
I'm not sure if this could be a result of trying to play the music on fb headless device while ssh into it.
-
librton
output error from mpg123
pastebin.com/PQSkQKQJ
-
VimDiesel
Title: $ mpg123 Melodic.mp4 High Performance MPEG 1.0/2.0/2.5 Audio Player for Laye - Pastebin.com
-
meena
markmcb: pkg+http is checked differently, because it's a global DNS mirror
-
markmcb
I was hoping 14 would improve PR 273372 but no such luck. I posted the devlog.
-
VimDiesel
273372 – SR-IOV Networking in Bhyve Causes Chelsio T520-SO-CR to Fail on Host, Kernel Panic if Reset
bugs.freebsd.org/bugzilla/show_bug.cgi?id=273372
-
SpaceBass
Not a freebsd issue, but only happening on my freebsd boxes... for some reason my samba-based (AD) users keep reverting to the wrong IDs for UID and GID... net cache flush fixes it for about 30 seconds
-
debdrup
-
VimDiesel
Title: Topicbox
-
parv
debdrup, Interesting indeed. Thanks