-
RoyalYork
jarebear6expepjo, I hear your point on "drm bad", but we willingly pay for the subscription and we as willing participants don't get a say in the drm matter
-
jarebear6expepjo
mostly memeing RoyalYork-- I support however you want to ingest your media bb
-
drobban
antranigv_: Do you have any recommendations on how to export / import a jail snapshot from one host to another with jailer?
-
titou
hey I'm trying to update the devfs rules for a jail. Unfortunately even without updating the devfs.rules when i want to check a devfs rule through "devfs rule show XX" I dot the error: devfs rule: ioctl DEVFSIO_RGETNEXT: No such file or directory" whereas "devfs rule showsets" returns some lines (including XX of course)
-
titou
I don't understand why i encounter this error (i forgot to mention that these commands are executed on the host not into a jail)
-
parv
Seems like you would need specify the mount point for the related ruleset
-
parv
... or perhaps not/ignore me, as I just started learning about that
-
titou
arf
-
titou
i'll try
-
titou
the error doesn't appears but it returns nothing..
-
meena
titou: you running this as root or user?
-
cristiioan
I'm planing on moving from Linux to BSD. For day to day use should I use FreeBSD or HardenedBSD? I do care about security
-
titou
meena: as root
-
sopparus
can you convert ufs to zfs disk? (non root) ?
-
meena
sopparus: not without losing all the data
-
sopparus
ok
-
AmyMalik
sopparus: preposterous
-
AmyMalik
you need to be root, and have a second copy of the disk
-
AmyMalik
cristiioan: FreeBSD has fewer idiosyncrasies. HBSD uses rtld hardening, a bane of my life. Both have higher power draw than Linux on Intel Kaby Lake laptops.
-
meena
I've known of a few conversion tools over the past 24 years for some Filesystems, but they always came with caveats
-
meena
Filesystems are really complex and highly optimised, so converting between them would be really really hard
-
AmyMalik
F and H have substantially identical power draw.
-
meena
AmyMalik: wouldn't it be really useful to have a tool like powertop on Linux to figure out where that power is going
-
AmyMalik
meena: I should write one
-
AmyMalik
would also require a tonne of kernal machinery, and new things in drivers to action the results
-
AmyMalik
could do it in a week, after 3 weeks of extensive study, and some hard drugs (caffeine)
-
AmyMalik
(many decades-long projects have started as "I'll have it was/were in a week")
-
meena
AmyMalik: you don't think we ab refurbish the dtrace stuff?
-
titou
and about my problem regarding devfs someone has an idea?
-
meena
titou: not without getting close to a computer
-
titou
ok :(
-
AmyMalik
meena: new machinery could be machinery within dtrace
-
meena
titou: but honestly, I'd probably start with dtruss and see how far that takes me
-
AmyMalik
titou: describe ?
-
AmyMalik
> < titou> hey I'm trying to update the devfs rules for a jail. Unfortunately even without updating the devfs.rules when i want to check a devfs rule through "devfs rule show XX" I dot the error: devfs rule: ioctl DEVFSIO_RGETNEXT: No such file or directory" whereas "devfs rule showsets" returns some lines (including XX of course)
-
AmyMalik
this?
-
titou
yes
-
titou
i also got this error if i use "devfs -m /dev rule show XX" (/dev use devfs) and if i replace the mountpoint with a jail dev directory it returns no error but also returns nothing
-
titou
AmyMalik: do you have any idea?
-
meena
titou: have you checked bugzilla
-
titou
meena: nop but i also found nothing on google
-
antranigv
drobban not yet, but I can write a guide on how to do it manually!
-
meena
titou: which OS / platform you on?
-
meena
works for me on 13.1 for both host system and jail, if i just do sudo -H devfs -m /dev rule showsets i get 1 2 3 4 5; which seems extremely useless
-
meena
but if i ask for sudo -H devfs -m /dev rule show 1
-
meena
devfs rule: ioctl DEVFSIO_RGETNEXT: No such file or directory
-
cristiioan
AmyMalik: I'm not expecting good battery life anyway(I get around 4-5h without optimization on linux), since I have a Framework Laptop. I'm moving to BSD since I like more how it works and how it is configured than Linux. When I used Linux initaly it was something new for me, now it isn't anymore.
-
meena
i also see nothing in dtruss, because it just mmaps a kernel address
-
yuripv
there are just empty rulesets?
-
meena
yuripv: this is just the default set, I didn't make any modifications of my own
-
gzar
seems like my crashes were resolved by rebuilding SDL2 without vulkan support
-
titou
meena: FreBSD 13.1
-
titou
so you got exactly the same result! that's really strange... I can't believe this is a bug. I guess I forgot to enable or set something..
-
meena
titou: I'll check a local VM with CURRENT
-
meena
okay, same on CURRENT
-
meena
but a) my system is a about 3 weeks out of date; and I can't update it because my PkgBase server is down…
-
titou
well that's pretty strange. However i just found that the ruleset have to be set into jail.conf rather than into rc.conf...
-
titou
after doing the update i got my dev files into my jail
-
titou
but the devfs rule show command still doesn't work! ayway
-
titou
thank you for your help
-
meena
titou: the devfs rule show thing is a bug, i just wanna scrape together a good enough bug report
-
Demosthenex
so is there a way to get date/time in the sh PS1?
-
cristiioan
Is there support for using thunderbolt monitors?
-
yuripv
isn't it just a display port?
-
yuripv
worked for me with nvidia card
-
yuripv
intel graphics worked as well, but don't take my word on it, i could be mistaken :D
-
cristiioan
yuripv: The monitor I plan on getting has dp, hdmi and thunderbolt, so it would be an issuse using it. I just wish to use it over Thunderbolt due to having a bulit-in doc and PD
-
yuripv
I mean that it isn't really a thunderbolt, but rather displayport "alternate mode", or whatever it's called
-
debdrup
I seem to recall that the TB3 port on my T480s outputs display.
-
debdrup
That and the UBS C connector for power (and Ethernet?) is the only two connections going through to the dock.
-
Demosthenex
i just setup my t480. i couldn't get anything on the dock to work. displayport uses usb displaylink and doesn't work so i had to switch to hdmi. the ethernet port in the dock is also some usb thing, so that didn't work. i get power and a usb hub for my keyboard.
-
AmyMalik
cristiioan: It won't be bad bad.
-
CrtxReavr
What's a proper FreeBSD value for CMAKE_ASM_COMPILER?
-
debdrup
Demosthenex: really? Both displayport outputs, as well as the HDMI output, work on my dock.
-
debdrup
Which dock are you using?
-
Demosthenex
debdrup: uh, DisplayLink ThinkPad Hybrid USB-C with USB-A Dock
-
Demosthenex
the displaylink uses something called billboard, which wasn't supported
-
Demosthenex
Cypress Semiconductor Billboard Device
-
Demosthenex
and i don't even see the ethernet
-
Demosthenex
i just moved over from my x230 to this new t480. it went pretty smoothly
-
debdrup
Demosthenex: I'm not familiar with that one; I'm using Lenovo ThinkPad Pro Docking Station, if memory serves.
-
debdrup
It doesn't expose any of the USB devices though.
-
debdrup
What it does do is pass through the ethernet connector
-
debdrup
As in, there's a RJ45 connected to the dock, and that gets used by FreeBSD as em0, replacing the em0 that's in the T480s.
-
debdrup
It might be the ultra dock, not the pro dock?
-
yannd
digging how devctl/devd works, I see that there can only be a single client, so any monitoring has to go through devd, right ?
-
Demosthenex
debdrup: yeay, likely
-
Demosthenex
debdrup: its all run off 1 usb c cable
-
Demosthenex
i prefer the click-in docs.
-
yannd
the events I'm trying to get are changes in IP configuration (UP/DOWN status, IPv4/v6 addresses, less importantly MAC addresses); if I kill devd and look at devctl myself I don't see any event on IP change, only on UP/DOWN, is this at all possible ? Or will it only be available with Netlink and I'll have to live with sleep-and-scan polling for past releases ?
-
debdrup
Demosthenex: the dock i have uses two connections, one for the power+ethernet and one for display, i think
-
debdrup
at least that's what i've been able to gather when using another dock i have lying around, which is one of those where you use two separate cables
-
Demosthenex
debdrup: yeah, i put power into the dock, and then one usb-c to the laptop.
-
Demosthenex
wish i'd known about that dock
-
debdrup
They haven't exactly made it easy, considering how many docks they make:
pcsupport.lenovo.com/us/en/solutions/pd014572
-
VimDiesel
Title: Docks - Reference Guide - Lenovo Support US
-
gzar
i'd like to notify you folks that the pre-build packages for SDL2 for freebsd-13-1-RELEASE do have vulkan compiled in, which caused crashes on my system when i tried opening an SDL window since my nvidia card (driver 340) doesn't support vulkan
-
debdrup
IRC isn't a bug tracker.
-
gzar
i know, but idk if this would qualify as a bug
-
debdrup
Sure sounds like it.
-
gzar
hm, alright i guess i'll submit it
-
yuripv
but probably a bug in legacy (340) nvidia-driver
-
gzar
its more of a binary-packaging assumption about available features of modern cards/software
-
yuripv
it shouldn't panic no matter what
-
gzar
alright
-
gzar
also sorry, didnt realize there was #freebsd-social too and #freebsd-bugs
-
debdrup
Don't worry too much about that; -social is generally used if this channel is very active and people want to talk about off-topic stuff, whereas -bugs is (at least as far as I know) used more to talk about bugzilla itself, rather than individual bugs.
-
skered
Interesting... Trying to get xrdp working with a Dell Wyse ThinOS thinclient and it turns out ThinOS is FreeBSD based.
-
debdrup
skered: add it to the pile of software using FreeBSD as a basis
-
debdrup
(it's a considerably bigger pile than people realize)
-
skered
However, ThinOS has issues... go figure :)
-
debdrup
It isn't the first time Dell has gone that route; they had a whole line of storage appliances that ran something based on FreeBSD.
-
skered
debdrup: Before they bought EMC?
-
debdrup
skered: I believe so, yes.
-
skered
Cool.
-
Demosthenex
-
VimDiesel
Title: List of products based on FreeBSD - Wikipedia
-
Demosthenex
dell compellent storage
-
Demosthenex
i've worked with them.
-
debdrup
there's way more products than what's listed on there, but which can't be "officially verified" to the standards of wikipedia (which gets a hearty laugh from me)
-
Beladona
both mirror drives have: 1 efi (260M) 2: freebsd-boot (512K) under `gpart show`. One boots, other does not. `glabel status` says `gpt/efiboot0 da1p1` but no `efboot` for da2. Why? and how to make that bootable too? Do I need to do `gpart bootcode -b /boot/bootxyz da2` ?
-
Beladona
-
VimDiesel
Title: Chapter 20. GEOM: Modular Disk Transformation Framework | FreeBSD Documentation Portal
-
debdrup
Beladona: If you've already created the partitions on the disks, you probably can't (easily) shrink them.
-
Beladona
Is shrinking needed to make the other one bootable?
-
debdrup
If there isn't room to create the bootblock, you'll need to make room by shrinking.
-
debdrup
Can you put the output of gpart show in a pastebin?
-
debdrup
err, gpart list
-
meena
-
VimDiesel
Title: xkcd: Citogenesis
-
Beladona
-
VimDiesel
Title: Untitled - Pastebin
-
debdrup
Right, I meant gpart list
-
Beladona
-
VimDiesel
Title: Re: Untitled - Pastebin
-
debdrup
ah, i see what's causing the issue; both ESPs are labeled efiboot0
-
debdrup
wait, no they're not
-
debdrup
i'm not sure i understand what the problem is
-
debdrup
how're you testing which one boots, and which one doesn't?
-
Beladona
I am testing by unpluging da1, rebooting, selecting da2 in bios to boot from.
-
Beladona
debdrup as per glabel, it clearly does not have ` gpt/efiboot0` for da2 but da1
-
Beladona
so the system does not boots from da2
-
Beladona
this is a freebsd old install. both were mirrored during installation.
-
Beladona
both and swap encrypted
-
debdrup
hm. i'm not sure.
-
debdrup
glabel is geom label, not gpt labels
-
debdrup
gpt labels are set via gpart label
-
Beladona
ok, which part will make things assured that both disks 'are' bootable?
-
Lovis_IX
hello. Could it be because both disks does not have the same size?
-
debdrup
Beladona: that's the ESP
-
Beladona
Lovis_IX both are not equal but this should not be a problem in my experience
-
debdrup
Lovis_IX: no
-
Lovis_IX
ok.
-
debdrup
all it means is that on the bigger disks, there's a bunch of sectors which aren't being used (but thanks to how ssd wear leveling works, the cells underneath might still be used)
-
Beladona
ok what needs to be done here?
-
debdrup
i'm not sure.
-
Beladona
debdrup I think you are a document contributor in freebsd.Daniel?
-
debdrup
...why do you ask?
-
Beladona
No, just sounded familier
-
debdrup
it's kinda creepy when people who don't know me address me by my first name when i go by a nickname on irc.
-
Beladona
It just rang a bell
-
debdrup
everything about the UEFI boot processes means that what's on your two disks should permit the UEFI to load the ESP on either device; the fact that it doesn't suggests to me that there's something else going on, but i don't know what
-
debdrup
but yes, i am a committer working on documentation
-
Beladona
this needs correction in freebsd context as this was created by freebsd during installation. The docs are not clear either on this (not pointing at you though)
-
debdrup
i'm not sure it's a problem with how freebsd set up things
-
Beladona
debdrup who would be the best person to ask ?
-
debdrup
i don't know.
-
Beladona
ok, how can I find out who commits for this part
-
domlaut
might be best to report a bug on bugzilla for the appropriate subsystem and wait for a response
-
debdrup
you haven't demonstrated that there's a bug in what freebsd set up.
-
debdrup
domlaut: no, because it's not clear there's a bug in freebsd.
-
Beladona
I think its not a bug but something we don't understand nor is documented
-
Beladona
Yes I agree with debdrup
-
debdrup
well, my server boots fine from one of the three drives that it uses as a boot disk, each with its own ESP
-
debdrup
so i'm pretty sure it's something to do with the specific UEFI implementation on whatever hardware you're using
-
Beladona
oh so you have made mirrors in your past experience? do all boot?
-
debdrup
i just said they did
-
Beladona
all?
-
debdrup
yes
-
Beladona
without the first one being plugged in?
-
Beladona
without any other being plugged in?
-
debdrup
that's how i tested it, by pulling all of them except one
-
Beladona
if you can confirm that, this will change my course of research
-
Beladona
ok..
-
Beladona
those were setup normally and traditioanlly during freebsd installation process as mirros. Correct?
-
debdrup
there's nothing about the second pastebin that looks odd to me, so it should work - hence my thought being that there's something else broken
-
domlaut
debdrup: fair enough! figured it'd be marked as not a bug/closed as wontfix with an explanation if that was the case (and Beladona thought it was a bug, which I see now they don't)
-
debdrup
i used geom mirror to ensure the bootblocks get written exactly the same
-
Beladona
the only thing broken is the network that does not gets me online there. rest all good
-
Beladona
debdrup so you did changed or tweaked something after installation?
-
debdrup
Beladona: not that i remember
-
Beladona
how did you used gemo mirror? How should I use that in my case?
-
debdrup
the only difference between the one i have and the one you have is that you have to copy /boot/loader.efi to both your ESPs whereas since i'm using geom mirror, i just have to copy it once.
-
Beladona
thats it? only copy /boot/loader.efi from one drive to another?
-
debdrup
no
-
debdrup
/boot/loader.efi is the PE32+ file that needs to be on both ESPs
-
debdrup
Beladona: i wouldn't recommend using gmirror unless you know that your UEFI firmware won't attempt to write to the ESPs, as it won't be aware of geom mirror
-
Beladona
which partition does it sits on? 1 efi (260M) or 2 freebsd-boot (512K)
-
Beladona
debdrup ok how to use gmirror like you did?
-
debdrup
the ESP is the EFI system partition
-
debdrup
Beladona: with all due respect, if you can't use gmirror(8) based on the manual page to set up mirrored ESP, you probably shouldn't be doing it because you risk making your system unbootable.
-
Beladona
why not just `dd if=/dev/da1p1 of=/dev/da2p1 bs=1M` ?
-
debdrup
That'll have to be an exercise for the reader. :)
-
debdrup
The hint would be to look at gpart list, and see that there's a whole bunch of UUIDs which are unique to each partition.
-
Beladona
I understand as a document writer and committer, you expect people to read the docs thoroughly.
-
debdrup
It's not so much that, although that's also the case.
-
Beladona
Yes, I am just here for hints.
-
debdrup
It's more that if I tell you how to do this, then you won't really know how to fix if things get broken, and that means that I'm suddenly responsible for fixing it for you.
-
Beladona
What would be bad in case of dd?
-
debdrup
I already told you.
-
Beladona
uniue UUIDs which are unique to each partition will make a huge problem... if I used dd.
-
Beladona
s/uniue/unique
-
debdrup
There's no such thing as a non-unique UUID.
-
Beladona
my best bet is gmirror then
-
debdrup
No, your best bet is to figure out what's causing your firmware to not respect the ESP on your second disk.
-
Beladona
yes of course. Making same uuid via dd for 2 partitions would be a problem, is what I meant
-
debdrup
Because that's t he problem you're trying to solve.
-
debdrup
You won't solve your problem by using gmirror, that's just a way of making updating of bootblocks easier.
-
Beladona
deeper problem than my scope. This should be done on freebsd side but I will try booting onc emore
-
debdrup
FreeBSD can't possibly cover every possible way that UEFI or BIOS firmware gets badly implemented.
-
Beladona
This should have been more simpler
-
debdrup
It's not FreeBSDs fault that your firmware doesn't work properly.
-
Beladona
The booting part in a freebsd mirror I mean
-
Beladona
Ok, I will retry and come back
-
debdrup
No, because _anything_ else writes to one of the ESPs, your mirror is now forcably desync'd.
-
Beladona
thats what I am afraid of
-
debdrup
the word 'if' also belongs somewhere in that sentence
-
debdrup
Why? It's got nothing to do with your current problem.
-
Beladona
gmirror may intefere
-
Beladona
I am not sure
-
debdrup
It may, but that's not pertinent to whether your firmware accepts ESPs on random disks.
-
debdrup
You asked me about my setup, so I told you - but if I'd known it'd be the source of an XY problem, I wouldn't have mentioned it.
-
Beladona
ok
-
parv
I want to get off the -CURRENT train. Few months ago I tried to boot with 13-STABLE (compiled on & installed in a separate boot environment) but boot had failed. ZFS pool is a 2-disk mirror. What could I do now so ensure that 13-STABLE would boot?
-
parv
Or, would installing a 13 image be the least painful, for some definition, way?
-
yuripv
parv: there are stable snapshots
-
parv
yuripv, Yes, that is the second method. Was wondering if I could something about boot issue & keep the existing "zroot" pool layout
-
ElectricJozin
If I want to make small changes to a package - like improving the man page or default conf, where should I push the commit?
-
ElectricJozin
Or do you need to contact the author
-
parv
Create a problem report
bugs.freebsd.org ; contact the author
-
VimDiesel
Title: FreeBSD Bugzilla Main Page
-
ElectricJozin
Well sucky manual page isnt a bug...
-
ElectricJozin
ok, and one more thing: after installing doas can I remove sudo or are there any dependencies on it?
-
mason
docbug
-
yuripv
ElectricJozin: if it's port man page, take it to project's upstream
-
parv
List of dependent packages for a given package can be obtained as "pkg info --required-by <package>" ; see "pkg-info(8)" manual page for details
-
» parv is leaving the keyboard with the IRC client running to collect any more responses about possible steps to take in order to successfully boot in 13 (after compiling 13 on a 14 machine & installing in a different boot env)
-
dch
has anybody dealt with DMARC/DKIM settings for freebsd.org mailing lists?
-
dch
I'd like to have my domain pretty tight, but still allow f.b.o lists
-
parappa
consdering to switch to freebsd on both desktop and server from debian, what should i expect?
-
LapsangS
from what
-
puddinghead
debian
-
puddinghead
which is linux but still
-
LapsangS
yes it is a bit different
-
puddinghead
seems legit
-
puddinghead
main reason why im consdiering to switch is because i feel like debian on server is way too bloated... and then it turns out it has the stuff i want on a desktop too
-
puddinghead
but rn im just gonna try it on a virtual machine while trying to recreate my linux setup on bsd
-
LapsangS
the standard installation does not include any GUI or even bash
-
puddinghead
yeah i've noticed that
-
puddinghead
my last debian install or two were minimal ones though so its not something completely alien to me
-
LapsangS
first you have to say freebsd-update fetch
-
puddinghead
then what?
-
LapsangS
freebsd-update install
-
LapsangS
and then pkg install Xorg
-
puddinghead
i see
-
LapsangS
and then your preferred desktop like KDE
-
puddinghead
i use xfce so xfce it is then
-
LapsangS
i use it too
-
puddinghead
nice
-
LapsangS
it works very well
-
mason
pkg install xorg - I'm pretty sure case matters
-
LapsangS
yeah
-
mason
puddinghead: Don't forget to install devcpu-data for CPU microcode.