-
bendodroid
Hi, I am trying to do to do a make buildworld of the releng/13.1 branch without modifications on a PowerBook G4 12" (powerpc) and it segfaults during compilation.
bsd.to/bb9T This happens on 13.0-RELEASE and on 13.1, meaning it's not possible to upgrade from source without reinstalling.
-
VimDiesel
Title: dpaste/bb9T (Plain Text)
-
bendodroid
What additional info is needed for a bug report and how do I get that? I tried getting a trace with gdb and lldb but was unsuccessful trying to make them automatically attach to the right processes.
-
bendodroid
Has anyone else tried upgrading from source on powerpc? Or has this never been tested on actual hardware and I am the only person in the world insane enough to wait ~30 hours for a build to fail? :P
-
bendodroid
And in case someone wonders: 867 MHz single-core 32-bit PowerPC CPU (7455 rev 3.3), 610 M RAM.
-
rtprio
bendodroid: you don't have to wait 30 hours
-
bendodroid
rtprio: what do you mean? I meant a fresh compile takes up to 30 hours for the error to occur.
-
rtprio
how much swap do you have?
-
bendodroid
2G
-
V_PauAmma_V
I'd say a stack backtrace on the coredump file would definitely help. See
docs.freebsd.org/en/books/developers-handbook/tools/#debugging if you need an example for getting one.
-
VimDiesel
Title: Chapter 2. Programming Tools | FreeBSD Documentation Portal
-
rtprio
make NO_CLEAN=yes NO_CLEANDIR=yes buildworld will rsume from where you were
-
bendodroid
rtprio: Oh, seems I was missing the NO_CLEANDIR option when I tried to continue. Will try that.
-
rtprio
it won't start at the exact statement but it should save quite a bit of build
-
bendodroid
V_PauAmma_V: The problem I had with getting the trace is that when running make with lldb/gdb I didn't find a way to make them attach to the new process when make execs cc etc. and to automatically return to the make process when cc exits successfully.
-
bendodroid
I can use "set follow-exec-mode new" to automatically attach to the new process when make execs cc, but once cc exits, I didn't find a way to have it automatically re-attach to make to then attach to the next spawned compile job
-
V_PauAmma_V
That's why I specifically suggested "on the coredump file".
-
bendodroid
Oh, I see. My rc.conf contains dumpdev="AUTO". I was under the impression this enables coredumps to /var/crash but no coredumps appear there. What should I do to get one?
-
V_PauAmma_V
Look for a "llvm-tblgen.core" file with a recent creation timestamp. That's the coredump file for the process. (dumpdev is for panic kernel dumps.)
-
bendodroid
Ah, makes sense. Is there a central directory for the coredumps? Or are they put in the processe's working directory? Which would mean either /usr/src/ or /usr/obj I guess?
-
V_PauAmma_V
The working directory, I think.
-
bendodroid
Ok, thanks for the help and the tips. I think I can continue on my own for now :)
-
V_PauAmma_V
You're welcome.
-
rtprio
bendodroid: /var/crash is for the kernel crashing, not processes
-
parv
It would be swell if "pkg" would produce a single "port currently does not have a maintainer" note for multiple packages instead of one per package #wish_list
-
daemon
hey all, I am logging on via ZNC on a remote server, nothing interesting there ... but the remote server has ipv6 and ipv4, so I set: ip6addrctl_enable="YES" ip6addrctl_policy="ipv4_prefer" in rc.conf; but even so ...
-
daemon
01:17, * [daemon] is connecting from *@2001:41d0:801:1000::1e9e 2001:41d0:801:1000::1e9e
-
daemon
it appears to be ignored
-
ClaudioM
hey daemon
-
daemon
hello ClaudioM
-
rtprio
does znc not have something like a '-4' ?
-
daemon
possibly, I also could just tell my nameserver to refuse to return AAAA addresses
-
daemon
but I would have though setting a preference like that in rc.conf would somehow inform all applications to try ipv4 first
-
rtprio
i assume you `service ip6addrctl restart` already
-
daemon
yep
-
daemon
that being said the reason I do not want ipv6 for irc is that last time I used it, it was a bit ... unstable i.e. connection drops every few hours
-
daemon
maybe its improved
-
daemon
that was back on freenode and all
-
daemon
ah ha there is a workaround for znc though, I can tell it to bind 0.0.0.0 for outgoing connections; by default it will try :: then 0.0.0.0
-
wikan
hello :)
-
wikan
do you know if it is possible to run X session from shrc or bashrc files? Let me explain this question.
-
wikan
I wrote a dialog script that shows after tty login (no login manager). The script asks what to run, icewm, i3, tmux, sh, bash. And I can't run X sessions from this script (Display or X errors). After this, script ends, tty show up and I can type startx succesfuly.
-
wikan
what may be a reason of these X errors?
-
parv
What error do you get? Something about need to start X11 system with escalated privileges?
-
wikan
no. Timeout about connecting to Display.
-
parv
( Hunh )
-
wikan
i use functions "icewm" and "i3". These functions are included into shrc.
-
parv
.oO( Wonder if login process is not complete ) How do try to start X11 session from those functions?
-
wikan
so the commands are just "icewm" in tty and dialog eighter.
-
wikan
icewm do: startx ~/.icewm/etc/xinitrc
-
wikan
~/.icewm/etc/xinitrc loads ~/.xinitrc
-
wikan
and "icewm" works fine when typed from hand
-
wikan
i think dialog script doesn't work because shrc didnt finish yet.
-
parv
Yeah, that is what I am thinking
-
wikan
so the script probably should be a system service exactly like login manager :|
-
parv
At that point just as well use some display manager
-
wikan
i will search for something easy to configure
-
wikan
maybe some tty login manager
-
wikan
easy to configure because I need use my functions
-
parv
You also have the option to turn the functions into shell scripts
-
wikan
yes
-
wikan
it is an option
-
wikan
but first, login manager must be easy to configure to use exactly these script to start x sessions
-
wikan
will think about it ;)
-
wikan
thanks for talk ;)
-
parv
🤝
-
wikan
btw: I wonder if it is possible to ask for firefox-91
-
wikan
it would be great to have 91 version in repo
-
wikan
version 91 works fine. Newer are slow.
-
wikan
i had to update to newest, because 91 stoped working after upgrade
-
parv
Create a VM of older version of FreeBSD, install there from ports
-
wikan
i cant compile firefox
-
wikan
i use 32 bit machine and compiling firefox require 64 bit. Another reason is that I use old computer.
-
parv
VM of some old OS of whatever persuasion seems to be the only way from here
-
wikan
hmmmm
-
wikan
old computer + vm = slow old firefox ;)
-
parv
Oh I forgot one thing that without CPU support for virtualization, thus in software, VM in general will run tremendously slow
-
parv
Sorry
-
chives1
What is the best place for gnu?
-
parv
Not here
-
chives1
Really?
-
chives1
I expected this big thing about hating on linux and the real gnu supporters are bsd which is freebsd?
-
chives1
(im here to learn obviously)
-
Grell
nothing wrong with Linux
-
Grell
I happen to like Debian quite a bit
-
rtprio
i don't hate linux, just systemd and networkmanager
-
chives1
yes i hate systemd its so verbose and esoteric
-
mason
rtprio: I run Debian on my workstation. No systemd, no networkmanager, no pulseaudio.
-
chives1
i dont have a lot experience with nix but really interested love the command line and its been over a lot of years though i started in fedora fc4 i think it was and back then idk i dont remember systemd from back then init scripts and runlevels were the things to learn anyway
-
wikan
systemd and pulseaudio ;)
-
chives1
oh no ... i was trying to learn on a chromebook for a while and audio was so bad
-
wikan
sadly, freebsd isn't free from pulseaudio
-
chives1
seems like you have to have kernel level forensic knowledge
-
wikan
mason: debian without systemd? Isn't it Devuan?
-
parv
There is #freebsd-social channel for all the non-FreeBSD conversation needs
-
wikan
i quit Linux when LXC begun to require systemd
-
wikan
so I use jails now
-
wikan
and jails are much better in my opinion :)
-
chives1
i watched and interesting google talk about cgroups and jails and namespaces really interesting stuff it made me feel like we are users are basically working the "kernel space" of yesterday almost-like
-
chives1
an*
-
chives1
working IN the kernel space of yesterday
-
chives1
obv didnt really know what they were talking about but all that complexity really pulls me in really
-
wikan
i may work in the kernel space of stone age if it works fine ;)
-
mason
wikan: Since you're not in -social, no, plain old Debian:
github.com/ChibaPet/install-debian-zfs-sysvinit
-
VimDiesel
Title: GitHub - ChibaPet/install-debian-zfs-sysvinit: Install Debian on ZFS, with sysvinit, optionally encrypted.
-
mason
wikan: Also, LXC doesn't require systemd:
github.com/ChibaPet/lxc-utils
-
VimDiesel
Title: GitHub - ChibaPet/lxc-utils: Tools for composing content for containers.
-
wikan
yet^
-
mason
That said, please join #freebsd-social as I *am* off-topic with this.
-
wikan
it is possible to run without systemd but it is much harder than year ago
-
mason
Actually... Past time for me to become a pumpkin. G'night all. o/
-
wikan
it is because cgroups use systemd services.
-
mason
wikan: Other way around.
-
wikan
and docs support only systemd way of doing LXC things
-
chives1
im trying to be in -social now but thats really interesting to me you know like the inner circle scientist stuff from yesterday that they were really working on/with is now like a norm that i get to experience thats really cool
-
wikan
what is -social?
-
mason
wikan: /join #freebsd-social
-
wikan
ohh
-
ASHER
hello people someone can help to me i wiil try run from freebsd 13.1 the re::engine::RE2 and i get error
bsd.to/E1DK
-
VimDiesel
Title: dpaste/E1DK (Plain Text)
-
chives1
ok well i guess i scared someone away
-
chives1
i just want to say i love tech, tech in of itself isnt good or bad
-
ASHER
someone please can help?
-
Reinhilde
I managed to get a 6.6M kernel, stripped to 5.4M. I guess I should reboot into it now?
-
Reinhilde
and I need to load a kernel module for ahci.
-
Reinhilde
I have to assume kernel modules consume wired memory?
-
Reinhilde
on this episode of misconceptions about freebsd
-
Reinhilde
what provides the /dev/ufsid things? I built a minimal kernel and my configuration depends on this, which isn't available anymore. it seems I was able to boot by supplying ada0a at the mountroot prompt.
-
Reinhilde
I managed to boot with 81
-
Reinhilde
81MB of RAM
-
Reinhilde
wait, how very pointless
-
Reinhilde
IT HAS 8 VCPUS.. AND THAT LITTLE AMOUNT OF RAM
-
Reinhilde
what the hell
-
meena
Reinhilde: what machine is this??
-
Reinhilde
meena: qemu.
-
Reinhilde
meena: These results aren't realistic at all.
-
V_PauAmma_V
Reinhilde, "git grep -F ufsid" suggests glabel(8) is involved in filling /dev/ufsid/. What value does sysctl kern.geom.label.ufsid.enable have?
-
Reinhilde
V_PauAmma_V: I figured out I needed to load geom_label, thanks (the sysctl was 404).
-
Reinhilde
(as in it did not exist)
-
V_PauAmma_V
*nod*
-
antranigv
Hey all, how are you? What's the latest version of FreeBSD kernel that you have on 12.3? it is 12.3-RELEASE-p6?
-
Ap3
i'm doing fine, thanks for asking.
-
V_PauAmma_V
antranigv, -p6 for kernel, yes.
-
pertho
someone before was talking about mailcap and mutt.. when I get a html mail, it opens in mutt as text instead of calling links.. any ideas on how to get it to call links? I have the mailcap in place.
-
pertho
maybe mutt only detects mails as html if it's an html attachment not just Content-Type: text/html; in the mail header?
-
pertho
ah never mind. I had to add: auto_view text/html in the muttrc :)
-
ivaat
hi.. php74 did eol on freebsd. there is no way to get it from packages?
-
vkarlsen
Not from the official repos, no
-
vkarlsen
You'll have to de-deprecate and build them yourself
-
ivaat
so there is no archive for packages?
-
ivaat
but ports archive?
-
ivaat
ports, git checkout 27ac371f93d36f77f00b8da261e496904184dd33
-
ivaat
i will get it from there
-
meena
ivaat: generally, it seems inadvisable to run unsupported / unmaintained software…
-
meena
so unless you're running this on a computer with absolutely no Internet access, i would rethink the effort
-
ivaat
it is in jail and all known XSS, SQL injections are filtered in nginx
-
ivaat
sry, just general software does not come along so fast to support php 8.x
-
ivaat
12 nov was last php 7.4.33 update so i think like one year is ok to run it at least :)
-
meena
ivaat: how hard could it be to upgrade? (n.b.: i have not followed php development since 7.2)
-
meena
-
VimDiesel
Title: PHP: Backward Incompatible Changes - Manual
-
ivaat
i don't how hard it is.. it is specific enterpise php software.. i am not programmer myself. i just panid and use admin mode ;)
-
ivaat
and project must be live next week
-
ivaat
on development they will do upgrade too
-
ivaat
-panid+panic
-
ivaat
-how+know
-
» ivaat palmface
-
tct
How come that clear_tmp_enable is not enabled by default?
-
meena
tct: excellent question.
-
harpia
I need some help. Trying to use an Intel wireless device (iwm0) following the handbook (
docs.freebsd.org/en/books/handbook/…vanced-networking/#network-wireless) but getting error when starting netif service: "iwm0: device timeout, dumping device error log, errlog not found, skipping"
-
VimDiesel
Title: Chapter 33. Advanced Networking | FreeBSD Documentation Portal
-
tct
harpia, which card?
-
idwer
(haha, palmface)
-
harpia
tct: Intel Dual Band Wireless AC 9560
-
tct
harpia, you might wanna give iwlwifi a try
-
cracauer
I run a 9560 successfully, as iwlwifi.
-
tct
jup
-
tct
nice to see you on irc, cracauer :)
-
harpia
-
VimDiesel
Title: WiFi/Iwlwifi - FreeBSD Wiki
-
cracauer
Nice to see you, too.
-
jbo
harpia, you'll need to run 13 for sure. personally, I track stable/13 on my laptop solely for the purpose of having the latest iwlwifi efforts available.
-
harpia
I'm on 13
-
jbo
harpia, if you go down that route, subscribing to wireless@ ML would be a good idea, I guess.
-
pertho
meena: that PHP 8.0 incompat table is hilarious with the '==' operator. Makes for sloppy programming. :)
-
meena
pertho: I've taken this to #freebsd-social
-
harpia
Will iwlwifi eventually replace iwm? Just trying to understand what they are.
-
jbo
harpia, man iwlwifi(4)
-
jbo
> iwlwifi will be a successor to iwm(4) and may superseed that driver in
-
jbo
the future. It still complements the iwn(4) driver which supports older
-
jbo
chipsets.
-
idwer
it's not a successor, iwm is based on native code where iwlwifi transforms linux code
-
pertho
also bear in mind, these days, a lot of heavy lifting is done in the 802.11 stack with the firmware
-
tuaris
Is their an archive of older 14-CURRENT ISO image snapshots? none of the once on the FTP site are currently bootable on my system.
-
cracauer
What boot problem do you have? Many can be fixed with bootloader settings.
-
tuaris
-
tuaris
I forgot to save my good kernel, lol
-
tuaris
My plan was to either grab a bootable one from a more recent snapshot, or build one using the live CD
-
cracauer
How old do you need? Maybe I have one.
-
tuaris
Anything after July 4 2022 (commit hash: ec32fc2af52) or before what's on the FTP site. Worst case is I try to boot from some older ISO's that I have from early last year.
-
cracauer
I have Jan 4 14-current right here.
-
tuaris
it's aarch64 btw
-
cracauer
oh
-
tuaris
no worries, I'll just boot of one of my really old ones and try to rebuild my good kernel again.
-
cracauer
I had wondered why the dmesg looked so strange.
-
cracauer
-
VimDiesel
Title: Index of /pub/FreeBSD/snapshots/arm64/aarch64/ISO-IMAGES/14.0/
-
tuaris
Yeah, I tried as far back to Dec 9
-
tuaris
some change between July 4 and Dec 9 broke something
-
tuaris
I am going to try and track down the commit
-
tuaris
It should be possible to build a kernel using a live CD env, right?
-
cracauer
Never tried. But I don't see why not.
-
cracauer
What machine are you on that is broken?
-
tuaris
it's an ARM64 server: R281-T91 made by Gigabyte Computer
-
cracauer
Very cool.
-
tuaris
I've been messing around with it for the last few years. FreeBSD hasn't been too stable on that hardware. I figure I would provide as much feedback as I can to help out
-
cracauer
I'm sure it is much appreciated. Attractive machine. And apparently quite cheap.
-
fireglow
just reading up on that hardware, seems very nice!
-
cracauer
Wait, froogle display the wrong machine. Dunno what it costs.
-
tuaris
It wasn't so bad, it was about 3k from where I got it. But it's normal cost is about 5-6
-
cracauer
3k is an awesome price for that.
-
tct
otis, ping
-
rtyler
meena: I'm back at this bridging problem, I'm exploring potential options where just the main host is not acting as a gateway properly between the two bridge interfaces
-
rtyler
meena: for example, I created a new epair and added that to bridge0 and bridge1 to see if other epairs on bridge0 would be able to route to bridge1, no dice yet
-
rtyler
the route table on the host looks correct too, Basically the jails host can ping into any host off bridge0 or bridge1
-
meena
rtyler: bizarre
-
meena
i wonder how small the most minimal reproducer is we can construct
-
rtyler
a number of articles I'm digging up are referencing vlans, which I know I wasn't using before, such as:
bsdrp.net/documentation/examples/multi-tenant_router_and_firewall
-
VimDiesel
Title: Multi-tenant router or firewall [BSD Router Project]
-
meena
we can just use / or rescue as path to demonstrate
-
rtyler
I also tried to set up a port forwarding rule in pf, and I cannot go from jail-on-bridge0 to postgres-in-bridge1 via the external interface, even though another machine can get to the postgresql port through that external interfacfe
-
meena
-
VimDiesel
Title: 268717 – [pf] rdr rules don't work for traffic originating at localhost
-
rtyler
maybe :shrug:
-
meena
rtyler: it feels very steep to have to use a vlan to do this basic a thing
-
rtyler
agreed
-
meena
I feel like vlan is for people who didn't sleep thru networking class in school
-
rtyler
so watching tcpdumps there's nothing hitting bridge1 when I'm trying to go from a jail off bridge0, I'm going to reconnect my epair between those two and see if that changes it
-
rtyler
meena: watching bridge0 it looks like the router for bridge0 jails (i.e. the host) isn't responding to arps telling who has the bridge1-based device
-
meena
do the two bridges have different MACs?
-
rtyler
yes, gist incoming
-
rtyler
-
VimDiesel
Title: Some details from the jails host · GitHub
-
meena
sounds like we have i bug
-
rtyler
wait just one stinkin' second
-
rtyler
nope, I was misreading my output, dangit
-
rtyler
meena: welp, where to now boss :)
-
meena
I have been thru this before, and doubted my sanity. but now we have three people failing at this, so i say we create a minimal reproducer and submit the bug
-
» meena points at daemon as the other person who's definitely not crazy or blind and has seen this
-
meena
rtyler: you can also use more descriptive names, and IPs that are easily told apart, so people reading the bug don't go thru the "wait just one stinkin' second" process
-
rtyler
sure maybe, gotta get my bugzilla account back, and also spin up a VM to create the repro case while I move this jail over to the one network :(
-
meena
I can try, after im back home and my daughter is in bed
-
meena
we're… late
-
rtyler
heh, I'm assuing you're CET
-
rtyler
PST here, so lots of time to wait around for buzilla ^_^
-
meena
rtyler: I moved tu Ireland recently
-
daemon
absolutely
-
rtyler
going to try to reproduce this now, gives me something to stream abouht
-
harpia
cracauer: do you have to rebuild the kernel to make it work?
wiki.freebsd.org/WiFi/Iwlwifi#Rebuilding_Kernel
-
VimDiesel
Title: WiFi/Iwlwifi - FreeBSD Wiki
-
cracauer
No, iwl on my 9560 worked with the default 14-current kernel.
-
meena
rtyler: you stream?
-
rtyler
meena: presently yes
twitch.tv/agentdero
-
VimDiesel
Title: Twitch
-
rtyler
not regularly
-
» meena has literally never watched a stream
-
rtyler
in my test environment I am pinging across these bridges, wtf
-
meena
rtyler: love it. absolutely thrilled with this turn of events
-
rtyler
quite perplexing, adding more jails now trying to find the changed variable
-
bendodroid
V_PauAmma_V: FYI: Your tip to look for .core files was correct, I found 3 make.core dumps and just opened the bug at
bugs.freebsd.org/bugzilla/show_bug.cgi?id=268974 Thanks for your help :)
-
VimDiesel
Title: 268974 – make buildworld fails with SIGSEGV on PowerBook G4
-
meena
Nice.
-
meena
I strangely enjoy being in #freebsd-bugs, which as VimDiesel post all the bugs that are created
-
rtyler
meena: it seems to be related to the subnets I've chosen
-
rtyler
with bridg0 is is 10.10.1.1/24 and bridge1 is 10.10.2.1/24, then it doesn't workj
-
rtyler
bridge1 is 192.168.100.1/24 (for example) the routing works properly
-
harpia
-
VimDiesel
Title: WiFi/Iwlwifi - FreeBSD Wiki
-
harpia
Something like this? if_iwlwifi_load="YES" in /boot/loader.conf. And probably if_iwm_load="NO".
-
meena
rtyler: that's still a bug, but now we've reduced it a lot
-
rtyler
meena: definitely! I'm *super* perplexed by this
-
rtyler
meena: what's your blog domain again, trying to find your jail post to share
-
meena
-
VimDiesel
Title: Howto: Setting up a Fresh Install
-
rtyler
meena: ah, thanks
-
meena
it's funny how my advice of: make it easy to read led to discovering how it make it work
-
rtyler
I'm trying some different netmasks now to isolate where the bug occurs
-
» meena calls her jails "isolates" because she's fascinated by languages and the concept of language isolates
-
rtyler
meena: I think I have a theory
-
rtyler
meena: when bridge0 and bridge1 share a /8 the routing doesn't work
-
rtyler
meena: when bridge1 is on a different /8, it routes properly
-
z3uS
this has been an interesting debugging experience @rtyler :D
-
meena
rtyler: that's confusing because you don't use /8 in any stanza
-
meena
z3uS: always fun when it takes several days to pin down
-
rtyler
meena: basically if bridge0 and bridge1 are both in 10.xxx land, no routing
-
rtyler
meena: bridge1 in 172.x or 192.x works fine
-
z3uS
@meena lulz
-
z3uS
oof, been slacking too much don't need @'s on IRC ;)
-
meena
rtyler: im gonna need to
-
rtyler
meena: after I write the bugzilla, I'll link you
-
meena
look at the code, because that sounds like someone is worse at math than i am
-
meena
network math.
-
meena
z3uS: my client just gives me autocompletion for names that way in a nice GUI drop down
-
z3uS
<3
-
z3uS
I should really stop using kvirc with my znc at some point but I'm too lazy
-
meena
I'm soon going to follow dch's
reviews.freebsd.org/D38058 and port Thelounge.chat
-
VimDiesel
Title: ⚙ D38058 www/hedgedoc: NEW PORT web-hosted markdown doc editor
-
rtyler
-
VimDiesel
Title: 268976 – Traffic will not route across two bridges on the same /8
-
rtyler
z3uS: since you were hanging about too ^
-
V_PauAmma_V
bendodroid, you're welcome. And tangentially, "find /usr/obj '*.core' -print" saves you a pipe and (I think) some typing.
-
antranigv
V_PauAmma_V thank you! <3
-
jilles
V_PauAmma_V, you need a -name before '*.core' ; and on the other hand the -print could be omitted
-
meena
-
VimDiesel
Title: 268976 – Traffic will not route across two bridges on the same /8
-
meena
-print can be omitted, since ca 1989
-
meena
(rough estimate)
-
rtyler
heh
-
rwp
Always having -print is always "safe" though if you want it to print. Because it depends upon the find rules that come before it.
-
rwp
I sometimes get snagged by running a complicated find rule and then nothing gets printed. I look and then curse myself out for driving it wrong.
-
V_PauAmma_V
jilles, oops.