-
phryk
salvadore: it says 1301000, which apparently corresponds to the initial 13.1 release. but also the drm-kmod version in pkg is still from 20220907, which is from before the PR to support that firmware was merged… so I guess the firmware is there, but the driver package to use it isn't yet?
-
Remilia
what even is going on in -social
-
parv
:-|
-
micttyl
-social is doing its job. purposefully serving now
-
Remilia
I have 5 full scrollbacks of that
-
rwp
Wow. Just wow.
-
Remilia
micttyl: I think it is doing the reverse of its job, because I wanted to post there about something unrelated to freebsd itself but I cannot because I do not want to attract the attention of that
-
salvadore
phryk: the graphics ports are a bit complex. drm-kmod is only a metaport: it installs other ports and does nothing else. In my case it installs drm-510-kmod, and its latest version is not v5.12 which I believe is what you want, but v5.10.163
-
salvadore
I guess a new port called drm-512-kmod will be created in the future for that
-
salvadore
drm-kmod also installs gpu-firmware-kmod
-
salvadore
which is a port with many flavors and might include the firmware for your graphic card
-
salvadore
corrrection: it is a port with many dependencies that have many flavors
-
mage
I have a system with many many jails and which takes time to stop, thus I'm getting:
-
mage
Jan 17 10:10:57 troubadour rc.shutdown[91773]: 120 second watchdog timeout expired. Shutdown terminated. Jan 17 10:10:57 troubadour init[1]: /etc/rc.shutdown terminated abnormally, going to single user mode
-
mage
any idea how to raise this?
-
mage
I've already kern.init_shutdown_timeout: 180
-
mage
and I haven't touched the default rcshutdown_timeout (which is 90)
-
mage
so I'm wondering where does this 120 comes from?
-
mage
ah yes, it's that.. sorry
-
jbo
otis, would you happen to be around?
-
otis
jbo: sorry, ETOOBUSY today.
-
jbo
otis, good luck!
-
Demosthenex
ok, so i should be able to create a new boot environment with bootclt, mount it and chroot into it, and then run freebsd-update and pkg update? i need some recompiles to run into the background. then i should be able to activate the BE for next boot?
-
Demosthenex
hrm, that's right. pkg gets no network connectivity while inside "bectl jail XXX"
-
Demosthenex
ah, bectl -o ip4=inherit jailname gives me network to run pkg
-
ggb
Looking for some feedback on ZFS on block storage volumes from cloud providers. Since these are already redundant from the service provider, would it be sufficient to run a single virtual disk as a ZFS stripe, or is it still worthwhile to do mirrors or raidz on these?
-
jbo
ggb, runnings lots of hosts with ZFS on top of virtual block devices. works great. as you mentioned your provider will usually already have all the fault-tollerance, backup stuff etc. set up behind that virtual disk you get. so based on my knowledge & experience simply using such a disk as a one-disk stripe in ZFS works great.
-
jbo
my reasons for still using ZFS are mainly for maintenance/features such as the ability to easily take snapshots, setup dataset encryption and replication
-
ggb
jbo: thanks! This is what I was thinking. We use FreeBSD and ZFS as our application host for a product we are launching. Each customer gets an isolated process of our application and a ZFS dataset. For redundancy/HA we plan to always keep two hosts live from two different providers.
-
ggb
ZFS makes deploys super easy -- stand up a new host with the new app bits, `zfs send` a customer's dataset from live to new, after first send is complete, turn off live host, send again, turn on on the new host. We can afford the momentary downtime on our backend hosts.
-
mason
Anyone good with C++ and want to render an opinion? I get this on FreeBSD, where using the same version of the compiler on Debian doesn't see this error. A friend's also said OpenBSD compiles this code out of the box with their base tools and they don't see this:
bpa.st/T65NW
-
VimDiesel
Title: View paste T65NW
-
V_PauAmma_V
mason, my wild guess is that long long on FreeBSD is longer than long, but not on the other platforms.
-
mason
V_PauAmma_V:
bpa.st/CRF5I fwiw
-
VimDiesel
Title: View paste CRF5I
-
mason
same on Debian Bullseye and FreeBSD 13.1
-
paulf
If you're using C90 then long long is a nonstandard extension so could be anything
-
V_PauAmma_V
Maybe it's not the same in C++?
-
paulf
C++ generally just refers to the relevant C standard
-
V_PauAmma_V
I don't know, then.
-
mason
hrm
-
mason
FWIW, there's a set of instructions for building this code, so presumably it was valid when written, making me wonder what's changed:
azerothcore.org/wiki/freebsd
-
VimDiesel
Title: FreeBSD | AzerothCorefreebsd - AzerothCore
-
paulf
-
VimDiesel
Title: c++ - What is the bit size of long on 64-bit Windows? - Stack Overflow
-
mason
That said, it's conceivable the change was in that code, and not FreeBSD, because there's a time counter bit that I can't imagine ever worked on FreeBSD.
-
paulf
not counting Cray
-
paulf
for your error int64 looks the closest you'll need to see what it is defined as
-
paulf
probably long
-
paulf
and you have no long long overload
-
paulf
if so the error looks right to me
-
paulf
if the others are using g++ and you are using clang++ that may also be part of the reason, g++ tends to be laxer
-
mason
Uses Clang on Debian as well.
-
mason
But yeah, maybe __int64_t differs. Haven't checked that yet.
-
mason
Interesting. In /usr/include/x86/_types.h __int64_t is either long or long long based on #ifdef __LP64__
-
mason
I see __LP64__ defined in both FreeBSD and Debian and sizeof(long) and (long long) is the same on both, 8, and __int64_t matches.
-
mason
Maybe there's some notion of type not being satisfied regardless of it all boiling down to a size.
-
paulf
it's not just a question of size
-
paulf
long and long long are different types even when both 8 bytes
-
mason
Yeah, that's what I was wondering.
-
paulf
just as char, signed char and unsigned chat are 3 different types
-
mason
sure
-
mason
I still wonder what's different then, with Clang the same version on both sides.
-
mason
Said differently, I wonder why there's no long long overload as compiled on one but not the other.
-
meena
mason: some embedded C compilers let you choose the size of types on the command line
-
mason
meena: that's an interesting feature
-
meena
makes it "easy" to define your "exact" dialect of C.
arxiv.org/abs/1909.06353
-
VimDiesel
Title: [1909.06353] That's C, baby. C!
-
mason
This is a C++ issue, but yeah.
-
rwp
I had my FreeBSD desktop crash and reboot last night at almost exactly 3am. Rebooted okay.
-
rwp
Can't find anything interesting in any log file. No interesting cron activity at exactly that time.
-
rwp
First crash and uncommanded reboot in the last year. So that's pretty good regardless.
-
zwr
could be hardware
-
rwp
A hardware problem is always a possibility. Cosmic rays from space and all of that.
-
harpia
I'm new to FreeBSD and I'm running stable/13 (because of iwlwifi). To keep it up-to-date you have to regularly rebuild it from source?
docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld
-
VimDiesel
Title: Chapter 25. Updating and Upgrading FreeBSD | FreeBSD Documentation Portal
-
harpia
As I understand freebsd-update doesn't work in STABLE.
-
harpia
-
VimDiesel
Title: Chapter 25. Updating and Upgrading FreeBSD | FreeBSD Documentation Portal
-
gp5st
when I login I get `ld-elf.so.1: Shared object "libncursesw.so.8" not found, required by "zsh"` and am then logged out
-
gp5st
via a console and via ssh
-
Kalten
gp5st: as root too?
-
gp5st
I just did an update and thought i had pkg update everything
-
gp5st
Kalten, I'm trying to remember the root password
-
gp5st
why it's not in my password manager is beyond me
-
Kalten
you could boot into singel user mode—no password should be required
-
gp5st
Kalten, I'll see if I can. It's a Digital Ocean droplet
-
Kalten
as root you could reinstall zsh ncurses etc. or `chsh myuser`
-
Kalten
to change the users shell until zsh works again
-
gp5st
yeah, but if I can't?
-
gp5st
is there a way to get ssh to not launch the default shell and instead just run a command?
-
Kalten
Maybe `ssh user@host /bin/tcsh`
-
Kalten
dont be fooled: you seem to be missing the prompt in that case, but it seems to work
-
Kalten
(does ist work with a defect shell as default?)
-
gp5st
ah, i was able to get into single user mode, by just spamming trying to get a console while it booted from the DO admin pages
-
gp5st
:( pkg doesn't seem to work in single user mode?
-
gp5st
at least i can change /etc/passwd?
-
gp5st
or not? vi is erroring about the file not of the right type
-
Kalten
`chsh -s /bin/tcsh myuser` should do it.
-
gp5st
it's a read-only file system
-
Kalten
`mount -w /` I think
-
Kalten
inside `/etc/shells` you can see the allowed shells.
-
gp5st
mount -w / worked
-
gp5st
thank you
-
gp5st
pkg won't work because dns won't work
-
gp5st
how did I get into such a broken state
-
Kalten
in single user mode? No network is up.
-
gp5st
no, i rebooted and logged in
-
Kalten
Maybe `service netif start` but I am not shure.
-
Kalten
ah
-
Kalten
strange.
-
gp5st
it's like ti's missing routes to everything
-
Kalten
does `ping www.freebsd.org` work?
-
gp5st
no
-
gp5st
unknown host
-
Kalten
Does `ifconfig` give a clou?
-
gp5st
ping 8.8.8.8 gives no route to host
-
Kalten
(I ment clue :-) )
-
gp5st
ifconfig shows the loopback and the one nic with the correct public address
-
Kalten
strange IP.
-
gp5st
it says status active
-
gp5st
no, the ip is the one it's supposed to have
-
Kalten
is some firewall closed?
-
Kalten
`ipfw show` if you are using that one
-
gp5st
it has 3 entries in it. I don't remember what they were before upgrading
-
gp5st
I'm in the remote console it provides since I can't ssh in and can't copy/paste from it
-
Kalten
last one `deny ip from any to any` I assume.
-
Kalten
Is there some `allow ip from any to any`
-
gp5st
the last is a deny ip from any to any
-
gp5st
the middle is an allow up from any to any
-
gp5st
the first is deny ip from table(1) to any
-
gp5st
there are 4k entries in table(1) but my home ip isn't one of them
-
Kalten
I assume the first entry is not "00001" (first row of output) but a grater number. Try adding `ipfw add 1 allow all from any to any` and to delete that entry afterwards `ipfw delete 1`
-
gp5st
it's 00030
-
gp5st
i added a default route, so it'll resolve stuff now
-
Kalten
which means you can temporarily add a rule before that
-
gp5st
and i can pin 8.8.8.8 but i can't ping freebsd.org or pkg.freebsd.org
-
gp5st
it'll resolve them, but not ping
-
gp5st
I added the tmp rule but the same behavior
-
gp5st
how did this get so messed up
-
» gp5st buries his head in his hands
-
Kalten
And `host pkg.freebsd.org` does not work?
-
gp5st
it'll resolve it
-
gp5st
I rebooted and now I have not-my ip address
-
gp5st
give me a second
-
Kalten
So you have a static IP address but now it is wrong? In that case it begins to sound like some hardware error in the host of your virtual mashine?
-
Kalten
(even more than one ;-) )
-
gp5st
I'm not sure
-
gp5st
I feel like every time I upgrade things like this happen
-
gp5st
I don't know what i'm doing wrong
-
plasma
aaa
-
gp5st
ok, i have a network now
-
gp5st
but I can't get pkg to work
-
Kalten
approximatly what is the error
-
gp5st
-
gp5st
-
gp5st
sorry, it took me a second to rememeber where screen shots got sent to :-\
-
gp5st
pkg-static does exist and gives the same results
-
Kalten
now we are getting somewhere!
-
Kalten
-
VimDiesel
Title: Index of /FreeBSD:13:amd64/
-
gp5st
why is it trying to get that then?
-
Kalten
Look into your `/etc/pkg/FreeBSD.conf`
-
gp5st
ok, one sec
-
gp5st
the url says release_2 in it
-
Kalten
url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly"
-
gp5st
ok
-
Kalten
or better
-
Kalten
https instead of http
-
Kalten
and latest instead of quaterly, iff I am right
-
Kalten
(or memory serves)
-
gp5st
that seems to be doing something
-
gp5st
I'm also going to take this to 13.1
-
gp5st
I think I typed only 13-RELEASE when i did the upgrade
-
Kalten
but first update the system, so that uname tells you 13.1-RELEASE and reboot
-
gp5st
OK
-
gp5st
give me a few minutes
-
gp5st
thank you for your help
-
gp5st
it's greatly appreciated
-
Kalten
`${ABI}` inserts the correct path for the current system (archetecture, release)
-
Kalten
you are welcome
-
gp5st
it's at "applying patches" from a `freebsd-update -r 13.1-RELEASE upgrade`
-
gp5st
`freebsd-update install` now
-
gp5st
ok, uname says 13.1-release-p3
-
gp5st
doing the pkg upgrade now