For nvidia things in FreeBSD[-ports]-kmods repo, luckily I could have some discussion with bapt@ on Matrix, and opened a review D53136 as per his request.
Once it is accepted and lands, remaining issue would be another one he is investigating...
Absolutely. One example of this is CHERI:
Some links to the work being done in this area:
https://www.trust-in-soft.com/resources/blogs/cheri-the-future-of-memory-safety
https://codasip.com/glossary/fine-grained-memory-protection/
Unfortunately Rust can't protect the data from being stripped out under it.
Same with the difficulty of using C (or traditional C++) middleware with smart pointers. Unless Rust "owns" the memory, it can still only make (educated) guesses at its...
Just as a heads-up: virtualbox-ose-kmod-72-7.2.2 is still not available in 15.0-STABLE but can be compiled from ports and it loads and works just fine. I suspect that when I tried it earlier I did not have set up my kernel sources correctly: now...
Oh, you would be surprised what can happen. Consider this:
dma->src = source;
dma->dst = dest;
dma->size = len;
Now, these registers are right next to each other in the address space. The compiler could figure out that invoking the load store...
Update 2:
In FreeBSD 15-STABLE loading from /etc/rc.conf
vboxguest_enable="YES"
vboxservice_enable="YES"
works okay with X/Plasma6 again, no need for using /etc/rc.local for vboxguest
This would be best achieved by separation of used language with whether or not the part can be memory safe or not. Keeping mutually memory unsafe parts in C and/or asm, other to some memory safe languge, in source file level.
This way, any part...
You can try to set VIDEO_CARDS="fbdev" in /etc/portage/make.conf and */* VIDEO_CARDS: -* fbdev in /etc/portage/package.use/00video
and then
emerge --getbinpkg --ask --changed-use --deep @world
Also, if not already pulled by emerge, try...
I am following the Linux Rust experiment with much interest.
The most curious thing for me is where and how they will harness the (comparative to C) great power of Rust.
But so far I see only simple and trivial kernel drivers being done in Rust.
On which version of FreeBSD is this happening?
There is a open problem report from 2022-03-28 [1], reporting similar or same disconnects by multiple users, still active (last comment on 2025-07-09). The PR reporter claims having no problems on...
Talking about security, I just noticed that pkg audit now works for the base as well. On FreeBSD 15.0-STABLE stable/15-n280708-bbfaff26bf36 GENERIC:
> pkg audit
libxslt-1.1.43_1 is vulnerable:
libxslt -- unmaintained, with multiple unfixed...
Charlie Brown, it's running fine save for X not working. Not sure if "nice one" means my page or not, but if not, here it is, https://srobb.net/gentooquick.html (A friend is doing something similar for a systemd version).
I'll add that the...
I have had the same thing, with a Logitech M90 mouse. I didn't pay any attention to it. It has stopped doing that, but the mouse also has stopped working.
The mouse has power, but isn't showing up in usbconfig. Just looking in /var/log/messages...
This is still a problem on 14.3 and amdgpu.
Calling sysctl -a causes the pair of console messages.
Calling sysctl dev.amdtemp.0.core0.sensor0 does not.
My guess is that probing some sysctl causes the message.
Edit: This is on an AMD Ryzen 3...
That's the half of job of driver, the kernel side can be safe, like managing buffers and such.
These so called memory safe languages promote separation of unsafe pieces from the rest of the codebase, so it can be given greater attention.
This is correct, and I wonder - what can a "safe" language do about that? When adding anything to the list of kernel implementation languages, you create churn, waste, problems. Will removing,say, memory errors, be enough of a benefit to do that...
If you go into settings in Firefox, you can set the default font size to whatever you want. Right now it's 16px. However, it doesn't override what the site itself sets it to so there may not be a benefit in all cases.
For that page only or for all sites in general? If you mean just that page, there are ways to fiddle with the actual CSS. There is a way to set the default font size for all sites, too, but that won't always work.
That's not my understanding, but rather that if someone wants to change the FFI, they need to coordinate with the consumers, which would be the maintainers of the Rust drivers. This put the adoption of the FFI by Rust drivers on Rust...
Remember that C and C++ didn't come from the current "old fart" generation of developers. It came from those long since retired. So there is no reason to believe that once the younger generation even learn to write their own languages and...
Let the rust jerks go and write their own operating system then, instead of trying to get a free ride on the back of freebsd's success, which they never contributed to.
And remember: your turn will come, sunshine, nothing is more certain. Some...
In my sshd_config the only changes I made:
AuthenticationMethods publickey
KbdInteractiveAuthetication no
UsePAM no
Password is set to no by default but right above it says "# Note that passwords may also be accepted via...
I have an Ivy Bridge laptop that sometimes reconnects random USB devices if I swipe my hand too-hard on a plastic table :p (large static in the room can cause it)
I had a USB-C mouse also do it too with a certain cable but fine with others...
When it fails, can you disconnect/reconnect from the usb port and see if it works normally then?
I recently had that issue and believe it was a mouse gone bad but this makes me wonder.
I am a reference :cool: I had mistakenly commented out the regdomain line from my rc.conf and with 15.0-ALPHA5 my AX210 couldn't connect to my router in AC mode, only in A mode. Once I set the correct country and regdomain all was fine.
290147
To the best of my knowledge no compiler does that automatically. In C and C++ you can do it by hand. It gets complex if you consider container classes such as C++ vectors. Vectors are guaranteed to be linear in memory, so just tiling a memset...
Security fixes.
Any fixes (except that anything cannot happen on main) are introduced into main (aka -Current), tested, then MFC(Merge From Current)'ed into latest (if the code to be fixed matches, including older) stable branch, unless it's too...
What hardware is the USB port to which the mouse is connected? Motherboard, keyboard, monitor, laptop port, USB hub?
Have you tried another USB port? The mouse alone, disconnecting all other external devices (if present)?
Does the mouse work as...
That seems to be the case. See https://wiki.freebsd.org/LinuxJails, "Required steps", "5. Set up mounts in /etc/fstab, as described in linux(4) man page....you will also need null mounts for /home and /tmp. ..."
Yes. And now they want to burden those who do this on a daily basis with keeping the ffi up to date? Let's see how long it takes to turn into a fui, and the burden to keep it up is placed on the rust people. Then a stunt or two from the crowd...
Brilliant, thanks a ton 🙏 That solved the problem – I commented out Linux part of /etc/fstab and added line linux_mounts_enable="YES" under linux_enable="YES" in /etc/rc.conf and now .../dev/shm/ has same permissions as in 14.3-R-p4
drwxrwxrwt...
That seems to be the case. See https://wiki.freebsd.org/LinuxJails, "Required steps", "5. Set up mounts in /etc/fstab, as described in linux(4) man page....you will also need null mounts for /home and /tmp. ..."
Yes, Rust would play its advantages much more in complex algorithms, not bit fiddling with devices.
But all the complex code in a kernel requires lots of access to existing data structures. Which implies a need for lots of interface code. And...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.