-
_xor
What are the issues again with having an over-sized swap?
-
yetoo
Anybody have suggestions for gigabit ethernet card with open source driver
-
skered
yetoo: anything inteL?
-
rwp
The standard Intel GigE ethernet cards have good free software driver support.
-
yetoo
I'm looking for 4 port 802.1Q. Are they all open source. I'm weary of botnet from intel, but I suppose there's no choice given I can't find anything but Intel for my criteria on bsd-hardware.info
-
rwp
Botnet from Intel? Reference?
-
yetoo
rwp: backdoors in amt/ME cus gov. I'm wary of silicon backdoors or bad firmware in some soc on the card.
-
yetoo
i know amt/me is motherboard, but i'm pointing out gov overreach
-
yetoo
cooperation
-
RhodiumToad
_xor: only issue with over-sized swap I know of is that the kernel will whine about maxswzone, and may be unable to use all of the swap space.
-
_xor
I'm just going with 4G for the default size in this installer image.
-
RhodiumToad
what arch?
-
_xor
amd64
-
_xor
-
VimDiesel
Title: NoCloud - cloud-init 23.1.1 documentationMenuExpandLight modeDark modeAuto light/dark mode
-
_xor
"Cloud-init performs variable expansion of the seedfrom URL for any DMI kernel variables present in /sys/class/dmi/id (kenv on FreeBSD)."
-
_xor
How does that map in kenv? Is it literally just sys.class.dmi.id?
-
RhodiumToad
no idea
-
_xor
I looked at a list of vars on my system and saw that they're named differently.
-
_xor
Hmm yeah it's a bit ambigious.
-
_xor
Like, dmi.system-uuid listed in the table on that page maps to smbios.system.uuid on my system.
-
_xor
dmi.system-serial-number == smbios.planar.serial
-
_xor
Wait, maybe not. There's also smbio.system.serial but it's left at the original value.
-
RhodiumToad
smbios.system.serial="To be filled by O.E.M."
-
_xor
Yup, mine too. I have what looks to be a valid serial string for smbios.planar.serial though.
-
RhodiumToad
(that's what it says on mine :-)
-
RhodiumToad
smbios.planar.serial="To be filled by O.E.M."
-
_xor
hmm
-
_xor
What's the syntax at the boot loader to set kenv variables?
-
RhodiumToad
set blah=whatever
-
_xor
oh that's simple.
-
_xor
That's equivalent to adding my.variable.value=blah in /boot/loader.conf?
-
RhodiumToad
yes
-
_xor
Ooooh, I get it now.
-
_xor
Those variable names are correct, the docs are just written...less then greatly.
-
_xor
cloud-init knows that on FreeBSD the variable names are different. I grep'ed the source and found where it's being read.
-
_xor
-
VimDiesel
Title: cloud-init/dmi.py at 6d09df5e4786a2a6c79d6098ab413c93b205221c · canonical/cloud-init · GitHub
-
_xor
RhodiumToad: Does your system have a valid UUID for smbios.system.uuid?
-
RhodiumToad
... for some value of "valid" - it has a uuid-like string, but the version and type fields are invalid
-
RhodiumToad
smbios.system.uuid="031b021c-040d-056c-4106-100700080009"
-
» RhodiumToad suspects that is not actually unique
-
RhodiumToad
valid uuids have xxxxxxxx-xxxx-Vxxx-Rxxx-xxxxxxxxxxxx where V is 1,3,4,5 and R is 8,9,A,B
-
RhodiumToad
(and V=3 or V=5 are special purpose non-random non-unique UUIDs)
-
» RhodiumToad knows way too much about uuids
-
_xor
RhodiumToad: I was just checking my other systems and noticed the funky IDs too.
-
_xor
I found out the hard way a good while back about how close UUIDs can be generated.
-
_xor
I think remember seeing something in the changelog for 13.2 which addresses that.
-
_xor
"The uuidgen(1) utility has a new option -r to generate a random UUID, version 4. 8fd1953b7eb2"
-
» RhodiumToad would like kernel support for v1mc uuids
-
RhodiumToad
which are time-based like v1, except the mac address is replaced each time with a different random multicast address
-
_xor
Good.
-
RhodiumToad
the kernel uses a random multicast address for uuids on boot, but it generates the random value only once
-
_xor
I had an issue with some template generator a while back where one of my templates was generating UUIDs in a loop...except I noticed all of the UUIDs were the exact same. After reading up a bit, turns out that there's some kind of caching behavior some UUID libs use. It wasn't just in this template generator either, I noticed it with uuidgen too at
-
_xor
some point.
-
_xor
It was really strange. Ended up doing some reading on various id schemas, including the various versions of UUID. I did kind of like ULIDs, but they're not widely supported.
-
RhodiumToad
caching uuids seems... weird
-
_xor
Yes, very.
-
_xor
Ah, this was the issue I was running into I'm pretty sure...
-
_xor
-
VimDiesel
Title: Ansible random UUID generation - Stack Overflow
-
_xor
Oh, the caching was in the template rendering engine. Not the UUID generator.
-
_xor
Still, kind of dumb when there's a uuid() function. You would think that would be blacklisted from being cached.
-
_xor
-
VimDiesel
Title: GitHub - ulid/spec: The canonical spec for ulid
-
RhodiumToad
"N+1 competing standards"
-
loose_chainsaw
I have a system which is using zfs and I want to mount a disk to my home directory videos directory. I have this is the fstab. Everything works once the system is up and running but fails at boot time.
-
loose_chainsaw
Anyone have any ideas
-
RhodiumToad
fails how, and what is the fstab entry?
-
loose_chainsaw
the mount is /dev/ada1p1 /usr/home/bdavidson/videos ufs rw 0 0
-
loose_chainsaw
once i log in if I do a mount -a everything works
-
loose_chainsaw
fails as in I have to enter single user mode and comment that line out and then restart
-
loose_chainsaw
its just a normal ssd drive with a freebsd-ufs partition
-
RhodiumToad
change rw to rw,late
-
RhodiumToad
see if that helps
-
loose_chainsaw
the issue with that is then I have to do a mount -o later right
-
RhodiumToad
no
-
loose_chainsaw
right
-
loose_chainsaw
what does late add to the party
-
RhodiumToad
the "late" flag just means it's mounted by the "mountlate" service on startup rather than "mountcritlocal"
-
loose_chainsaw
ahhh
-
loose_chainsaw
cheers
-
loose_chainsaw
will try that
-
loose_chainsaw
thanks heaps
-
RhodiumToad
(it's the "noauto" option that stops it being mounted at all on boot)
-
loose_chainsaw
cheers ill do some of my own googling for my own knowledge now
-
loose_chainsaw
thanks RhodiumToad
-
RhodiumToad
yw
-
loose_chainsaw
exit
-
The_Ringmaster
Hello I am having an issue within kde(x11) and I know this issue can happen on linux as well, but when I scroll up on my trackpad a 'back' signal is also sent. meaning that when browsing the web, when I scroll up, the browser will go back a page. Anyone have experience with that?
-
The_Ringmaster
I found a fix many years ago but can't seem to find it anymore
-
luser
xinput is likely the command you want to fix the issue.
-
luser
Run xinput to view you inputs then run xinput -test <id>
-
luser
As you scroll your trackpad you'll see which input is being triggered.
-
The_Ringmaster
-
VimDiesel
Title: dpaste/a0f7 (Plain Text)
-
The_Ringmaster
that's what I'm getting
-
The_Ringmaster
not sure if a[0] and a[1] are different inputs
-
luser
This is what I have for my mouse: xinput set-button-map <id> 1 2 3 4 5 0 0 0 0 0 0 0
-
luser
My issue was when scrolling the back button would somehow get injected.
-
luser
The above command disables the side buttons.
-
luser
Similar to your issue
-
luser
[6~
-
luser
.
-
bsdbandit
good moring everyone im running into an issues here im trying to change the font color of my freebsd box when it boots up instead of having the traditional white fg i want to have the color green fg on black bg ive added the following to the kernel confiuration file options SC_PIXEL_MODE , options VESA
-
bsdbandit
ptions SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
-
bsdbandit
options SC_KERNEL_CONS_ATTR=(FG_WHITE|BG_RED)
-
bsdbandit
and then did a make buildkernel KERNCONF=NEWKERNEL && make installkernel KERNCONF=NEWKERNEL but when i reboot its still the same traditional white color and im not sure what else to try
-
RhodiumToad
the SC_* options are for syscons, which is the old console driver; I don't think the vt driver respects them
-
RhodiumToad
for vt, there may be some usable options for loader.conf
-
RhodiumToad
man vt for info
-
bsdbandit01
Yeah that is what I want to change is the sysconsole
-
bsdbandit01
Color
-
blu256
Hello, I have a problem with a recently updated FreeBSD 13.2 system. Is this a correct place to ask?
-
la_mettrie
yes
-
blu256
Good. The OS has become unbootable. During boot after the "Loading kernel..." and the "/boot/kernel/kernel" strings an error message is displayed which says "elf64_lookup_symbol: corrupt symbol table".
-
blu256
After that the system hangs
-
blu256
Any tips?
-
RhodiumToad
can you get to the loader's OK prompt?
-
blu256
I think so, give me a moment
-
blu256
In any case the error happens after the boot loader so I should be able to
-
RhodiumToad
try and boot from a kernel.old if there is one
-
RhodiumToad
(i.e. /boot/kernel.old/kernel)
-
blu256
no, same error. i'll try to boot from a freebsd iso
-
blu256
I've booted from a freebsd bootonly iso. ldd'ing /boot/kernel/kernel shows an error about ld-elf.so.1. ls'ing /libexec shows that the file is there but all commands on it, such as stat, file, etc. say that the file does not exist
-
blu256
moreover, I tried the same from systemrescuecd and it says that the file is a stale file handle
-
blu256
this seems to imply that the file is corrupted, doesn't it?
-
kevans
no
-
kevans
ldd won't work on a kernel, it operates with rtld direct-exec to do magic
-
kevans
ld-elf.so.1 must exist or you're running entirely out of /rescue
-
kevans
(ld-elf.so.1 == rtld)
-
blu256
so what is the problem in this case, the kernel or rtld?
-
» Dianora waves at kevans
-
CrtxReavr
Hey Dianora - LTNS.
-
» kevans looks around the room to see if he's physically missing Dianora waving
-
kevans
:-)
-
Dianora
kevans: which talk are you in?
-
kevans
loader themeing
-
kevans
you?
-
Dianora
ah I am in porting FreeBSD to Firecracker
-
Dianora
I did some porting work at BSDi
-
Dianora
so it interests me
-
kevans
ah, nice! colin was nice enough to offer sending his slides last night since I was going to miss it
-
kevans
felt obligated to sit in on loader talk
-
Dianora
it's being recorded
-
kevans
yeah, that may be a bit before it goes live, tho
-
Dianora
I remember BSDOS crashing during boot due to a race condition in the serial driver...
-
Dianora
it's.... annoying
-
Dianora
I think I had to blink LEDs to find it
-
kevans
hah
-
Dianora
yes the good old outb(ch, 0x3f8)
-
Dianora
I'VE DONE THAT!
-
Dianora
One does outb('A', 0x3f8); etc. for each location you get to
-
debdrup
Dianora: thanks for the talk :3
-
Dianora
debrup: was it ok?
-
Dianora
I am very rusty at giving talks. Been a long time.
-
debdrup
Dianora: aside from the mic being upside down to start with
-
Dianora
sorry about that.
-
Dianora
I was still warming up anyway.
-
debdrup
I wouldn't expect anyone to be professional about giving talks, because I'm sure I'd do poorly.
-
Dianora
FreeBSD doesn't run very well without a timer early on
-
Dianora
16 chars is a hw buffer
-
Dianora
weird
-
Dianora
ah yes
-
blu256
sorry, how do I invoke single user mode from the OK prompt?
-
blu256
* nvm, I can use the menu
-
V_PauAmma_V
blu256, "boot -s" IIRC.
-
kevans
yes
-
kevans
or if you really like pain, you can do it in two steps: set boot_single="YES", then boot
-
blu256
the menu is nicer, but thank you
-
blu256
I solved the original problem by copying the kernel from the bootonly medium to the system
-
blu256
now I *only* have a corrupted ufs to deal with (sigh...)
-
blu256
thank you everyone
-
_xor
Dianora: You're porting to Firecracker?
-
_xor
Where should I look if I want to keep an eye on that?
-
CrtxReavr
What is firecracker in this context?
-
meena
-
VimDiesel
Title: Firecracker
-
meena
-
VimDiesel
Title: Announcing the FreeBSD/Firecracker platform
-
debdrup
Someone isn't watching BSDcan, I see.
-
CrtxReavr
I wish I had time for such fun. .
-
CrtxReavr
Oooooh - FreeBSD in an AWS Lambda. . .
-
CrtxReavr
wonder how that integrates with the whole IAM auth maddness.
-
psionic
laaambdaaaaaaaaaa
-
psionic
complex
-
psionic
did they steal that from Black Mesa and Half Life by any chance
-
CrtxReavr
No, that would have been a lot more fun.
-
futune
realistically the half-life lambda is from physics and the aws lambda is from lambda calculus in computer science
-
futune
well, this is my guess, who knows how they decided :)
-
RhodiumToad
it's all Greek to me
-
CrtxReavr
My first exposure to lambda in computer science, is essentially a function without a name in Python.
-
CrtxReavr
And an AWS Lambda is essentially "serverless" function.
-
last1
anyone using an IDS that can block an ip/subnet just for sending syn packets without follow-up ?
-
debdrup
last1: check out syncookies(4)
-
debdrup
See also: net.inet.tcp.syncache.rst_on_sock_fail, net.inet.tcp.syncache.rexmtlimit, and net.inet.tcp.minmss and some other OIDs in the net.inet MIB in sysctl(8)