-
glayve
Sup guys, i really wanna use FreeBSD but my Realtek Wireless Card is not supported, RTL8821CE...
-
rtprio
you could get a supported wifi card
-
glayve
im poor :(
-
rtprio
how much can they be? 40$ 40€ ?
-
rtprio
you could run virtualization and ssh into your freebsd vm
-
glayve
In Brazil for my laptop, like R$250-300
-
rtprio
usb card? use wired ethernet until you get a card ?
-
glayve
This ASUS laptop dont have ethernet support
-
glayve
XDDDD
-
rtprio
you don't _need_ the internet, once you have the system set up
-
glayve
Internet is a very useful thing to have.
-
glayve
-
VimDiesel
Title: 248235 – rtw88: RTL8822CE 802.11ac PCIe support (WIP)
-
meena
don't we have some software that automatically passes thru the NIC to a Linux bhyve which then routes the traffic to the host?
-
rtprio
that's like saying 'you won't feel this hole in your foot.... if you cut your leg off.'
-
meena
yes
-
meena
-
VimDiesel
Title: WiFi/Rtw88 - FreeBSD Wiki
-
meena
could be worse
-
meena
Q: This fails and prints out errors.
-
meena
A: Do you have more than 4GB of RAM? See currently known issues
-
rtprio
oh it's in current
-
rtprio
then just run current
-
meena
here's our Swiss army pocket chainsaw (some assembly required)
-
rtprio
meena: sounds like a quintessential realtek driver,
-
debdrup
That's every Realtek driver.
-
meena
I don't know much about real hardware / drivers.
-
RhodiumToad
beware of programmers who carry screwdrivers
-
meena
I own a soldering iron.
-
parv
I dream of owning one (only to collect dust if actually did)
-
RhodiumToad
I have done debugging with an oscilloscope.
-
debdrup
meena: it's a mess.
-
RhodiumToad
especially with modern hardware.
-
meena
same, but i had to declare defeat. we couldn't find out why the circuit was doing the wrong thing
-
RhodiumToad
designing hardware that works is apparently Too Hard, so all the hardware bugs have to be worked around in the driver
-
debdrup
RhodiumToad: what, you're not fond of a computer having ten different CPUs in it?
-
debdrup
Oh, yeah working around hardware bugs in software isn't "modern" though.
-
meena
I think that's just another way of saying QA at design stage is too expensive, let's fix bugs in software
-
» RhodiumToad watches gcc build gronk out _again_
-
debdrup
2004 was when re(4) came out, and Realtak is the company famous for doing exactly that.
-
debdrup
At least back then the WNICs were what we now term SoftMAC.
-
debdrup
Now it's not just the WNIC, it's most devices you connect and even some that are on-board.
-
debdrup
And that doesn't even cover things like SMM.
-
debdrup
That got introduced with the 80386SL in order to try and make suspend/resume work.
-
meena
I need to look up one word per debdrup sentence to keep up
-
meena
(i use word loosely here)
-
debdrup
Is this good, neutral, or bad? :P
-
debdrup
I'll try to make things better if I can.
-
meena
WNIC SoftMAC SMM 80386SL
-
meena
wow. SMM is from the 1990??
-
meena
1990, actually
-
debdrup
Yep, it's very old.
-
debdrup
The 80386 was a laptop CPU and suspend/resume was even thought of as a way of getting around the waiting time of starting up a laptop every time you had to use it.
-
debdrup
Err, 80386SL.
-
debdrup
The funny thing is, that problem wasn't even solved by the time Windows Vista came out, because it could take minutes to boot that system (and this was the point at which various system integrators started introducing quick-boot environments to add a cd/dvd player, web browser, et cetera).
-
debdrup
Vista also had a bunch of other peoples that exacerbated this, among other things it changed the driver API interface for a bunch of things, which meant drivers had to be rewritten which introduced a lot of new bugs (and thereby, a lot of new sources of BSODs).
-
debdrup
Mobile computing sucked for a very long time.
-
RhodiumToad
last work laptop I had ran MS-DOS.
-
RhodiumToad
oh ffs
-
RhodiumToad
the reason my port builds keep gronking out is that the VM came up without any swap space
-
meena
RhodiumToad: any idea why?
-
RhodiumToad
can't tell yet until it reaches a convenient point for me to stop the VM and see what commands i might have mistyped
-
RhodiumToad
meh. I see why
-
RhodiumToad
wrong device names
-
RhodiumToad
swapon: /dev/label/vmswap0: No such file or directory
-
dopeelf
hey all! I am considering buying a used laptop and found good deals on a Thinkpad P52 from 2018 and a Thinkpad L15 Gen 2 from 2023. Leaning towards the P52 since it has a Core i7-8850H and Quadro P3200 and I believe there's more life left in it than the L15 with i5-1135G7 and no discrete graphics.
-
vkarlsen
My first laptop ran NetBSD (of course), a 486 Thinkpad
-
dopeelf
I have a X230, my first non-apple laptop and I like it but it's starting to show it's age.
-
kyonsalt
any1 watching devsummit freebsd day1?
-
dkeav
link?
-
la_mettrie
-
VimDiesel
Title: DevSummit/202305 - FreeBSD Wiki
-
la_mettrie
"more information to come" about live streaming
-
CmdLnKid
heads up... while building stable/13, [nit-pick]: there is a majority of "Building ..." messages and quite a few building messages displayed. a recursive sed(1) should probably be had at some point just to make them comfortative. s/building/Building/g
-
CmdLnKid
most of what i seen if within the first 10-15 minutes of buildworld on x86-64
-
ghoti
err.. scary messages. I see in my log, "ZFS[6160]: catastrophic pool I/O failure, zpool=$m" ... and ALL my datasets seem to be going to hell at once.
-
debdrup
ghoti: Are you getting messages from CAM?
-
ghoti
Why would I be able to see mount with `mount -p` on datasets that don't even show up in `zfs list`?!
-
ghoti
debdrup: lemme grab some errors. A few of them don't make any sense to me..
-
debdrup
What sort of pool layout do you have?
-
ghoti
There are three on this box, all a bit different..
-
ghoti
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
-
ghoti
a 4.53T 3.89T 655G - - 50% 85% 1.00x ONLINE -
-
ghoti
'a' is a 2-device stripe, 'm' is a mirror, 'z' is a single vdev on ada0
-
ghoti
m 12.7T 2.57T 10.1T - - 0% 20% 1.00x ONLINE -
-
ghoti
z 117G 43.3G 73.7G - - 17% 36% 1.00x ONLINE -
-
parv
ghoti, Please use
bsd.to to paste the output
-
VimDiesel
Title: dpaste
-
ghoti
Sure, it was just 4 lines so I thought it would be short enough..
-
debdrup
Unless it's a single line, or can be condensed into one, don't ever paste into #freebsd.
-
ghoti
debdrup: I've been backing thing up from a and z to m, but I'm worried now that `zpool status` reports "errors: 114 data errors, use '-v' for a list".
-
ghoti
okie dokie.
-
debdrup
I need the output of zpool status; zpool list is pointless.
-
debdrup
The only thing zpool list is useful for is the free space fragmentation; I think all other values can be had via per-dataset properties.
-
ghoti
The machine seems to have locked up again, one sec while I check the console...
-
debdrup
I mean, that's not surprising..
-
debdrup
Catastrophic pool I/O failure is nominally an "oh shit, one or more storage devices have decided they no longer want to store data, but instead be used for hardware bowling.
-
ghoti
I just realized that the one hardware change before all of my disk errors was the insertion of a pci-e USB card (so that I could add a device to a bhyve instance). The card takes SATA power. Is it possible that multiple errors could be caused by a power drain?
-
ghoti
(Sure, anything's possible. I guess "plausible" is what I mean.)
-
debdrup
ghoti: not unless you were already too close to the limits of the PSU to be hitting them during high system loads.
-
Mel1965
i cannot run virtualbox on freebsd 13.2 i get Access Denied when try to run it.
-
debdrup
Listening to karels@ talk at the devsummit is great. :3
-
debdrup
His name is all over the SCCS repo from CSRG.
-
Mel1965
worked nice on freebsd 12.xx
-
rtprio
Mel1965: as root or...
-
vkarlsen
Mel1965: Are you a member of vboxusers?
-
rtprio
that's the one
-
meena
dch: you use rsyslog, right?
-
meena
dch: how do you deploy it? do you cut images with it preinstalled and syslog disabled?
-
dch
meena: nope, its a cursed tool. got suckered into it on debian, switched on good advice to syslog-ng
-
dch
but I deploy it in 2 ways: poudriere-image with overlay packages installed, or on new systems, via ansible once it boots
-
dch
and i get it to drop a unix domain socket into jails, 1 less process in the jails to run
-
meena
dch: i dropped my review
reviews.freebsd.org/D27411 because of… well, a good argument
-
VimDiesel
Title: ⚙ D27411 add altlog_jaillist to syslogd's rc script
-
dch
yes I saw that. i think in general thats a reasonable tradeoff. but in my case I am happier to have less processes in a jail, and solid logging that can't be tampered with
-
_xor
Is an ESP partition generally supposed to be FAT16 or FAT32? (or even exFAT?)
-
meena
_xor: IIRC, and I try not to remember too much about UEFI, it's supposed to be FAT16 (for now?)
-
meena
either way, I've got some code that's kinda ready to test:
canonical/cloud-init #4119
-
VimDiesel
Title: cc_rsyslog: Refactor for better multi-platform support by igalic · Pull Request #4119 · canonical/cloud-init · GitHub
-
_xor
Nice coincidence, because I'm actually refreshing up on cloud-init to possibly use.
-
_xor
I've used it before on Vultr cloud VMs, but never on bare-metal systems.
-
_xor
That's why I asked about UEFI, because I'm reading the poudriere source for producing system images. Want to be able to iPXE boot into an image, raw-write it to the disk, and then reboot and let cloud-init handle the rest.
-
meena
the basic idea is to get it working on par with Linux
-
meena
and sometimes that's a bit tricky…
-
meena
_xor: ask dch how to poudriere image
-
meena
I haven't quite figured it out yet, but then again, I was trying to get it to do to add my pkgbase repository
-
_xor
I used to use it to build jails and I have used it before to build system images (though not in a long time).
-
_xor
Reading the source because I'm going to script it for myself without having to use poudriere-image.
-
_xor
poudriere-image, as far as I can tell, doesn't support PkgBase (in that it will extract a base distribution first and then install packages), when it's not necessary.
-
meena
_xor: also, if you hit any bumps in cloud-init let me know
-
meena
they've now moved issues to github, which might make outside contribution easier
-
_xor
I just need to install PkgBase packages, any regular app packages, add an optional overlay, and package it all up into a raw-writable disk image with GPT + efi + freebsd-swap + freebsd-zfs.
-
meena
(basically, I'm trying to do the refactor which will yield benefits, but in between, i try to prioritize real issues people are having rn)
-
_xor
I remember last time I built a system image with poudriere-image, it required a fixed size (which I set to 4GB). That part was fine, but I wanted to expand the freebsd-zfs partition to take up the remaining space on which host it's written onto. zpool autoexpand=on is obvious, but I'm reading up on cloud-init to figure out growpart and resizefs.
-
_xor
Actually, I guess that's a good question. Does the FreeBSD port of cloud-init support expanding the partition at boot to fill up the remaining space? I know it runs in the init stage on Linux.
-
meena
_xor: cloud-init supports zpool growing
-
meena
but! yesterday I implemented cc_growpart just calling service growfs onestart ;)
-
meena
tricky bit with that: it adds swap if none exists
-
meena
you can disable that if you don't like it
-
_xor
Hmm. The image comes with swap space, though it would be nice to be able to modify that on a per-host basis.
-
meena
I've not gotten around to touching up disk_setup for BSD
-
meena
cc_disk_setup
-
_xor
Maybe I'll just build a freebsd-zfs partition image instead of a whole-disk image and then create the initial GPT + efi + freebsd-swap partitions from the iPXE-booted installer, then create a freebsd-zfs partition that takes up the rest of the space and let zpool:autoexpand=on handle the rest at first boot.
-
meena
I'd be curious to hear what you think has the best tradeoffs
-
_xor
Taking brainstorming notes on it right now actually. Here, I'll make a gist for it...
-
_xor
-
VimDiesel
Title: FreeBSD Automated POST Provisioning & Boot Configuration · GitHub
-
_xor
Hmm, apparently Github Gists don't recognize org-mode. Meh, whateves for now. That's where I currently am with my notes. Going to experiment with mfsBSD in bhyve here shortly to see what happens.
-
dch
_xor anything to do with autoprovisioning, ipxe etc I'm in
-
dch
freebsd now has growfs in base it does what you want for zpool expansion
-
dch
the hard bit IMO is getting from ipxe-world into bsd world, and figuring out all the network and filesystem bits
-
dch
use gpt labels everywhere (then device naming and order isn't important)
-
dch
and ifconfig_DEFAULT=DHCP gets you a long way for network stuff, but you need to kldload the right bits in loader.conf already
-
dch
anyway _xor not this week but any other time feel free to mine my thoughts to deal with this
-
ghoti
debdrup: weird, I haven't had a single error since I disconnected the power on the USB card. :(
-
ghoti
I wonder if I cann find a lower-power USB2 PCI-E card. Any thoughts as to how else I might access a USB Sonoff Zigbee Dongle from within a BHYVE VM?
-
mewt
Hi, currently seeing segfaults when I try to start anope -- I'm on 13.1-RELEASE. Neither Anope nor inspircd's logs point to any problem. Anope successfully links and immediately dies, according to dmesg
-
mewt
bunch of "pid xxxxx (services), jid 0, uid 65534: exited on signal 11"
-
mewt
Using the inspircd package from the freebsd repos as well
-
mewt
I am connecting over localhost, though that's probably a given
-
mewt
s/connecting/linking, for clarity's sake, actually
-
mewt
also I've an unrelated question while here: what cipher/pbkdf are used by geli?