-
KungFuJesus
did this ever happen?
wiki.freebsd.org/SurajPonugoti I'm having trouble getting ctld to pass a raw disk as a target
-
VimDiesel
Title: SurajPonugoti - FreeBSD Wiki
-
jaredj
"This branch is 22 commits ahead of, 308086 commits behind freebsd/freebsd-src:master."
-
jaredj
last commit 8 years ago. hm
-
kevans
nice, that's a large number
-
kevans
:-)
-
KungFuJesus
it seems weird this doesn't exist...I mean we're just passing things through to cam
-
jaredj
yeah - i bet you could get somewhere with it in 22 commits
-
KungFuJesus
hah, yeah, I'll bet
-
jaredj
i don't see whether or not it got merged, of course
-
KungFuJesus
what's weird is I swear I've passed through a physical device with ctld at one point....
-
KungFuJesus
maybe it was the old netbsd target, I dunno, but I swear I did it at least once
-
kevans
wow, these commits are kind of hard to look at
-
kevans
suraj5/freebsd 938311b every single line is a new whitespace regression
-
VimDiesel
Title: Able to export SCSI devices over iSCSI · suraj5/freebsd@938311b · GitHub
-
KungFuJesus
I could have sworn I did this at least once when I didn't have enough sata ports available and wanted to setup an XFS volume for Linux to swap
-
KungFuJesus
> The CTL backend to use for a given LUN. Valid choices are "block" and "ramdisk"; block is used for LUNs backed by files or disk device node
-
KungFuJesus
What does that mean? Is that just code for zvols or...
-
KungFuJesus
ahhh it works
-
KungFuJesus
device-type 0
-
KungFuJesus
damn, that should be documented better with an example
-
KungFuJesus
also should be a way to passthrough the serial and what not
-
KungFuJesus
we're definitely ignoring / faking the SMART stuff, too, it would seem
-
tm512
kevans: great to see that fix got merged. also nice that that was the only thing that needed to be fixed in order to get the build working
-
kevans
oh, it got merged already
-
kevans
<_<
-
kevans
I went to look at how an xbox one controller might differ from a 360 controller, but... wow
-
kevans
I seem to have lost every single reliable usb a -> micro-usb cable I've ever owned
-
tm512
I think I still only have accrued one that actually has the length to be useful. got some others that are like 1ft cables that aren't particularly useful
-
tm512
kind of the same situation with A to C cables for me
-
johnjaye
kevans: aren't they basically obsolete at this point though?
-
TMM_
The Xbox One controllers are still some of the best for PC!
-
kevans
johnjaye: I don't know, if it gets an xbox controller connected to my laptop then I'll buy another one
-
kevans
I've never gamed with anything but a mouse on a non-console, but this person wanting to use a controller with gzdoom has me wondering if it's a transformative experience that I've been missing out on
-
kevans
the 360 controller seems to be just a standard HID device that doesn't expose the right interface, I bet the xbox one controller isn't much goofier
-
tm512
kevans: I wouldn't say playing Doom with a controller is a "transformative experience", it's kind of a handicap tbh
-
tm512
it's just a lot more comfortable for me
-
tm512
I've dealt with repetitive strain issues in my hands and wrists since like 2012 but what I've settled on to keep it under control is: dvorak keyboard layout, a trackball instead of a mouse, and gaming on controller
-
tm512
kevans: as for the newer Xbox controllers, xpad's source code says that the "game input protocol" is used. I don't know if that is a standard part of the HID specifications, or...
-
kevans
if stack overflow is to be believed, it's different but the controller should also expose a HID interface
-
kevans
oh, no
-
kevans
HID for Bluetooth
-
kevans
-
VimDiesel
Title: GitHub - quantus/xbox-one-controller-protocol: Xbox One Controller Protocol description
-
tm512
if I can just pair my controller over bluetooth, that probably is a reasonable workaround while a specific USB driver is not available. thanks Microsoft for this proprietary crap
-
remiliascarlet
Is there any log FreeBSD keeps everytime it randomly crashes?
-
remiliascarlet
Because it's about time I fix those very random crashes.
-
parv
That would depend on the type of crash & the bit, that is crashing, to even produce a log
-
remiliascarlet
The way it crashed a bit ago was, I click on a PeerTube video to play it, I hear a "BBB" sound, and the computer reboots.
-
parv
"/var/log/{messages,kern.log,all.log}" may have some hints
-
tm512
remiliascarlet: AMD GPU? sounds eerily similar to what I was just dealing with
-
tm512
do you have a new crash dump in /var/crash?
-
tm512
if not an AMD card, are you using encrypted ZFS datasets?
-
remiliascarlet
tm512: Yes, I have an AMD Radeon RX 5500.
-
parv
Firefox certainly produces lots of output when started on command line in xterm; unless I am troubleshooting, I generally send the output to "/dev/null"
-
remiliascarlet
parv: /var/log/messages doesn't show anything, and /var/log/kern.* doesn't seem to exist.
-
remiliascarlet
I open Firefox using rofi, so it just uses the .desktop file.
-
tm512
remiliascarlet: drm-515-kmod?
-
remiliascarlet
/var/crash has only one file called "minfree", and it just says "2048".
-
remiliascarlet
tm512: Already have that installed.
-
tm512
granted, my laptop has an older generation of GPU, but drm-515-kmod kept on causing kernel panics seemingly at random. you should figure out why you're not getting crash dumps, though
-
tm512
downgrading to drm-510-kmod resolved the random panics for me
-
tm512
worth a shot
-
tm512
I still need to get around to actually sending in a bug report for my case
-
remiliascarlet
Downgraded it, but I'll wait until the next crash, because I'm still at work right now.
-
parv
remiliascarlet, Check you the log (enable it if it is not) of your window manager (or whatever) in case firefox output goes to the same place.
-
parv
s/you //
-
tm512
mine is a Vega 8 iGPU, which seems only a bit older than the RX 5000 series. maybe similar enough that the same bug in the 5.15 driver gets triggered
-
remiliascarlet
Not really sure where CWM stores its config.
-
remiliascarlet
s/config/logs
-
parv
Long shot but GPU driver related errors may be in /var/log/X*.log in case of Xorg (do not know about wayland)
-
parv
Another file to check is ~/.xsession-errors
-
tm512
if it's a kernel panic, it seems like a futile search
-
parv
Right
-
tm512
the sound locking up in particular, like the same buffer contents played over and over, seems like a kernel panic. it should be making a crash dump on the next boot though
-
tm512
you might have to disable swap encryption
-
remiliascarlet
I don't think I've encrypted swap.
-
tm512
if your fstab entry has .eli after the device node name, then it's encrypted with a temporary key that's only used for that specific boot, but otherwise it's unencrypted
-
remiliascarlet
It doesn't.
-
tm512
encrypted swap is a good idea to use, but it seems to get in the way of crash dumps since stuff seems to be stored in swap
-
remiliascarlet
So FreeBSD just crashed again, let's see if running drm-510-kmod makes any difference.
-
parv
remiliascarlet, Make sure that whichever kernel modules you are using (drm* in this case) is compatible with the FreeBSD version. If using 13.3, then should compile it from the port (as the package is for 13.2)
-
remiliascarlet
parv: I run 14.0.
-
parv
Ok
-
remiliascarlet
So far, it indeed seems to be going smooth on drm-510-kmod.
-
parv
👍🏽
-
yaslam
Hello
-
Hecate
hi hi
-
yaslam
I have a Thinkpad T410 and when it goes into sleep mode or starts up again it beeps too loudly. On Windows & Linux the beep was not so loud. How can I adjust the volume of the system speaker (not the ones used for watching videos n stuff the other one)
-
yaslam
the PC speaker is the proper name for it
en.wikipedia.org/wiki/PC_speaker
-
VimDiesel
Title: PC speaker - Wikipedia
-
yaslam
nevermind, you can use "mixer speaker.volume=0.2:0.2" or any other volume to change the volume of the beep
-
phryk
can i mention somebody in a bugs.freebsd.org report so that they get an email notification? #277101 is caused by an upstream problem in cgal and i'd like to ping the port maintainer.
-
parv
If you mention the port name in the title in style of <category>/<portname> (e g "x11-wm/fvwm3" if the issue with "fvwm3" port), then the maintainer would automatically be pinged/mailed
-
parv
I do not know if mentioning in the comment would also send an email to the person
-
phryk
parv: aight, just gonna write them an email then.
-
johnjaye
tm512: do you put your thumb on the trackball? i assume that's what you mean
-
tm512
johnjaye: it's not a thumb trackball, it's one of the larger ones. specifically, it's one of these:
xkeys.com/l-tracbk.html
-
VimDiesel
Title: P.I. Engineering X-keys L-Trac Black Trackball X-keys®
-
tm512
they're pricey, but fantastic
-
johnjaye
ok. i was trying to deduce why you had less strain and thumb was the only thing i could think of.
-
johnjaye
like. i can operate a normal mouse scrollwheel button with my index finger.
-
yaslam
has anyone tried using an rtl sdr on freebsd
-
yaslam
i dont have one just asking
-
tm512
johnjaye: the problem with mice for me is that I contort my wrist to control the cursor, whereas with a trackball my wrist basically stays put
-
tm512
I still end up having some issues sometimes, like numbness, weird sensations, and pain, but I've managed to control it way better than when I was playing a lot of games with a mouse and basically solely relied on my wrist for fine movements
-
johnjaye
that's interesting. i do get a sore wrist sometimes but it's only after gaming a lot for several days
-
tm512
extended periods of time with hands on keyboard+trackball, like for gaming, can still trigger it, hence my desire to have my controller work on FreeBSD, even for things where a controller isn't really the ideal input method
-
johnjaye
do you use a controller in lieu of a mouse sometimes?
-
tm512
I basically won't game with a keyboard + mouse (or trackball) anymore
-
tm512
it just gets too uncomfortable too quickly
-
yaslam
tm512 have you tried the thinkpad trackpoint
-
tm512
yeah, I don't really like it for gaming, and tbh I just usually use the trackpad over the trackpoint for general stuff
-
yaslam
ye trackpoint is crap for gaming
-
yaslam
for general stuff very useful tho especially scrolling
-
tm512
I tend to prefer the two-finger scroll of modern trackpads
-
yaslam
i prefer the trackpoint because you can scroll infinitely by holding it down
-
yaslam
or up
-
tm512
not knocking the trackpoint overall. it's definitely better than older laptop trackpads. at this point I've just kinda gotten rusty with it and it doesn't feel as natural as the trackpad
-
tm512
I suppose I could go into UEFI settings and disable the trackpad, get reacquainted with the trackpoint, but *shrug*
-
yaslam
yeah and to be fair newer trackpads are nice
-
yaslam
the trackpad on this thinkpad t410 is too small so i need to use the trackpoint for scrolling
-
johnjaye
tm512: do you use a "claw grip" on the mouse like I do? As opposed to the one where your palm is physically in contact?
-
remiliascarlet
Just wondering, but are FFS2 formatted partitions readable in FreeBSD?
-
alepzi
-
VimDiesel
Title: FreeBSD - a lesson in poor defaults
-
jaredj
yeah, i read that a while ago. it was so caustic i decided not to do anything, just for spite.
-
alepzi
seems short sighted of you
-
alepzi
like emotional
-
remiliascarlet
Nice, I finally got Zig 0.12.0-dev to work on FreeBSD. All I need to get working now is Steam, and I no longer need to switch back and forth to Linux.
-
remiliascarlet
Last morning I learned about boot environments, which made me appreciate FreeBSD even more.
-
spmzt_
Hi, I have a jail inside a zfs dataset. think of it as tank/jails/jail01 and I want my jail to be able to manage its own dataset, for example create dataset under its dataset (like tank/jails/jail01/test). the zfs device has been unhided with devfs.rules, and all of the allow.mount, allow.mount.zfs parameters are have been set. However my jail can't create a dataset under its own. I read the jailed property of the zfs. But when I want to set it,
-
spmzt_
it needs to remount the dataset and obviously it is not possible when the jail is alive.
-
spmzt_
-
VimDiesel
Title: SPMZT PrivateBin
-
antranigv
Does anyone know what the state "db->db_changed" mean?
-
Dereckson
Hello, on a server with only 4 GB of RAM, after a 200 Gb deletion from ZFS pool, it can't easily boot:
-
Dereckson
Mounting local filesystems:.
-
Dereckson
pid 91 (zfs), jid 0, uid 0, was killed: failed to reclaim memory
-
Dereckson
What would you suggest?
-
Dereckson
pid 88 (sh), jid 0, uid 0, was killed: failed to reclaim memory
-
yaslam
hi
-
yaslam
how do i play an audio cd on freebsd
-
yaslam
thank you
-
mfisher
man cdcontrol
-
yaslam
thanks
-
mfisher
or maybe you could use audio/grip (or something different) to rip to MP3s/etc and use one of these?
makeuseof.com/best-command-line-music-players-linux
-
VimDiesel
Title: The 7 Best Command-Line Music Players for Linux
-
yaslam
yep that's what i did
-
yaslam
am using strawberry to play then
-
yaslam
them
-
rwp
I use "cdparanoia -B" to rip them to the individual track*.wav files and then use ffmpeg to convert those wav files to flac, or ogg, or mp3, format as needed to be played by my audio players.
-
rwp
I know what I have and therefore I type in the new file names for those tracks as I desire. But for music the sound-juicer GNOME program will query musicbrainz. But that's a GNOME program with all of the negative associations of that.
-
rwp
I'll do that on a gnu/gnome/linux system running GNOME because it already has all of the dependencies installed there. But on my FreeBSD desktop I prefer to keep that off and just type in the file names as I want them. Installing sound-juicer on my desktop wants to install 74 gnome libraries!
-
gh00p
Hiya. I'm running freebsd-update in 13.2-R on a raspberry pi, and getting "Fetching public key from update[12].freebsd.org... failed". Is this expected? I can ping the hosts.
-
rwp
gh00p, Is the clock on your RPi set okay? I don't know but very often certificates fail validation due to the clock being too far different causing the certificate to appear invalid based upon time.
-
rwp
Beyond that I would say that the RPi should be able to fetch keys and other files from update*.freebsd.org okay. Perhaps a network connectivity problem?
-
gh00p
Hah. ntpdate just adjusted my time -0
-
gh00p
0
-
gh00p
-16165890 seconds. Now it works. Thanks!
-
lw
the base RPi doesn't include a time-of-day clock, so you need to run ntpdate/ntpd to keep time on it (just in case you weren't aware)
-
lw
otherwise it'll lose time when rebooting or shut down
-
gh00p
Oh wait, I spoke too soon. Still failing.
-
gh00p
lw, I will verify that I'm resetting time at boot and running ntp. Thanks
-
gh00p
Perhaps older arm is not Tier 1?
-
lw
arm64 and armv7 should be fine, i think armv6 has limited support now
-
lw
not sure how (or if) that affects freebsd-update though
-
gh00p
"If unsupported, FreeBSD must be updated from source." Maybe compiled by 2025.
-
gh00p
lw, this is a pi3, CPU in dmesg says "ARM ARM1176". `uname -m` says "arm".
-
lw
gh00p: uname -p?
-
gh00p
lw, that says "armv6"
-
lw
i thought RPi3 should be aarch64... did you deliberately install the 32-bit version rather than 64-bit?
-
lw
FreeBSD-13.3-BETA2-arm64-aarch64-RPI.img.xz <- this is the right image for rpi3/rpi4
-
lw
er, except the release version, not the beta
-
gh00p
I did install a 32 bit version, I thought it was the right one. I guess a reinstall is in order.
-
gh00p
lw, upon reviewing, it seems the unit I'm playing with right now is a bit older -- a Pi B, with 2x USB and a composite port. Maybe I won't try to reinstall after all. :)
-
gh00p
lw, so I think FreeBSD-13.2-RELEASE-arm-armv6-RPI-B.img is what's installed.
-
knidos
39~1
-
agent314
hi. i'm trying to upgrade from 12.2-RELEASE-p15. My plan is to freebsd-update fetch && freebsd-update install first, then upgrade -r 13.0-RELEASE && install then freebsd-update upgrade -r 14.0-RELEASE && install. Does that sound sane (i mean except for the fact that i'm using freebsd)?
-
tmp_
With or without packages?
-
agent314
probably without this is first install
-
agent314
like fresh install
-
tmp_
That'll make it simpler....
-
agent314
but yeah i'd need to do package upgrade each time right?
-
tmp_
After each release upgrade, yes.
-
agent314
ok thank you
-
tmp_
And after a release upgrade, it'll need multiple installs. One to get the kernel, one to get the system, then package upgrades, then one more install to remove anything obsolete.
-
tmp_
From the previous release.
-
tmp_
Something like (minus some details): freebsd-update upgrade && freebsd-update install && reboot && freebsd-update install && pkg upgrade && freebsd-update install
-
tmp_
And the 'pkg upgrade' might go easier preceeded by a 'pkg bootstrap -f'
-
agent314
(taking notes)
-
agent314
do i need to reboot between versions?
-
tmp_
Generally only after a kernel update.
-
tmp_
Otherwise, maybe. After the pkg upgrade after a system upgrade, you could restart local (pkg) services to replace the what's running with software that only calls non-obsolete libraries and so on. If you've got something that's difficult to deal with, shutting down to single user mode and then back up might be the easiest way to clear things out.
-
VVD
and after last freebsd-update install too
-
tmp_
If single user mode is an option on the systems you're using. Remote upgrades make that not really an option.
-
VVD
If u use kernel modules from packages/ports (NVIDIA, VirtualBox and etc) better to turn off auto load them before 1st reboot.
-
tmp_
I've run across one pkg daemon that really just does not handle restarts very well, and remote sites usually have it easier to just reboot rather than spending the half-hour (yes, I timed it) to get the one daemon restarted.
-
agent314
damn
-
VVD
12.2=>13.0=>13.3=>14.0 or more canonical way is 12.2=>12.4=>13.3=>14.0
-
VVD
X.Y => X.last => X+1.last => X+2.last and etc.
-
tmp_
But pkgs that behave that badly are pretty rare.
-
agent314
i think i might just pull 14 and reinstall the system :)
-
VVD
Maybe faster is reinstall, yes. :-D
-
agent314
it was
-
agent314
turned out my vps had a thing where i could just reinstall an OS
-
VVD
12.2=>12.4=>14.0 can work too
-
VVD
after 12.2=>12.4 no need to reinstall packages
-
agent314
yep, just uname -v'ed it FreeBSD 14.0-RELEASE
-
VVD
and 12.2=>13.2=>14.0 can work too
-
VVD
and maybe 12.2=>14.0 can work too, but may not
-
tmp_
For version checking there's also freebsd-version. With -k -r and -u.
-
agent314
oh sweet and this one doesn't have broken pkg or something so pkg install python _just_works_
-
agent314
and by just works i mean i had to update pkg from 1.20.8 to 1.20.9 but now it _just_works
-
agent314
12 tried to pull some files which were 404'ed on pkg update
-
agent314
thanks gotta go now ttyl :)
-
gh00p
$y
-
gh00p
Wups
-
johnjaye
tm512: when you say trackball is it like just a ball on a flat panel?
-
johnjaye
because i apparently have a mouse with a trackball kind of built into the side
-
realdeimos
perhaps you mean, thumball