-
glenny1
ok...it's back to connecting to the wrong wifi at boot agian
-
jimc1827
glenny1: I have no idea if this is your problem, but I once had a similar-sounding issue caused by the default wpa_supplicant.conf containing a rule to connect to unsecured networks
-
glenny1
wpa_supplicant should be properly configured
-
jimc1827
I see. Best of luck, then
-
glenny1
i don't know what's happening. it's like it's not even reading wpa_supplicant.conf
-
bsdrobert
when you don't know what's happening you're in a bad place, and should turn to logs or tools that could help you understand what's going on under the hood
-
hernan604
if i have a bastille jail running a postgresdb, is it "safe" to bastille clone the jail using zfs ?
-
glenny1
now dhcp just loops and the system refuses to boot. i'm in single user mode hoping to edit rc.conf but it won't let me
-
glenny1
i'm just going to reinstall and try again. i have no idea why things are so broken
-
glenny1
reinstall fixed whatever happened
-
sphex
*something* is making the EFI-lua loader on a certain system set "boot_serial" to "YES" (according to the "show" command at the loader prompt when booting) and I can't figure out why. I've combed through the /boot config files and I don't see what could be setting it.
-
kevans
sphex: we derive defaults from the ConIn/ConOut efi vars
-
kevans
`efivar -d 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn` may be enlightening
-
sphex
kevans: Ah. Ok. Hmm. I see the loader makes use of EFI variables like this, but not when "boot_serial" gets set somehow... Anyway, is there a way to disable this?
-
sphex
I set "console=efi" (also tried "vidconsole" value) in loader.conf but this doesn't stop "boot_serial" from being set somehow.
-
kevans
sphex: there's a lot magic involved, part of it is in sys/kern for parsing howto flags (RB_SERIAL) and converting them into boot_* vars
-
sphex
But I see "boot_serial" being set directly in the loader (with the "show" command). Hmm something is wrong...
-
kevans
yes, by the magic
-
kevans
what practical problem is this causing?
-
sphex
ohhh this sys/kern file is compiled in the loader too...
-
sphex
kevans: I want it to stop using the serial console.
-
kevans
did you trry boot_serial="NO"?
-
sphex
huh no
-
sphex
hehe. so it's going to be this simple? alright let's try.
-
kevans
my recollection (can't get too distractd from what i'm working on at the second, sorry) is that we rebuild howto flags from boot_* foo right before kernel exec, so it should override the earlier logic and do the right thing
-
sphex
Ok. So yeah it just worked. I just had to set to "NO". Huh I should have tried it before. I let the source code confuse me I think. Alright thanks kevans...
-
sphex
BTW the loader menu is a little bit confused by this. The menu script only checks if boot_serial is set or unset, it doesn't understand "no".
-
kevans
sphex: there are a few other problems with how the menu interacts with console/boot_* vars, haven't had the time to straighten it out
-
kevans
for instance, if you set a console= in loader.conf that doesn't match what we'd infer from ConIn, the menu won't take that into account (iirc)
-
glenny1
i began to install a package using pkg but it is pulling from FreeBSD-ports for the package and its dependencies. the FreeBSD documentation says it is best to not use ports and binary packages by pkg on the same system. am i correct here or is the FreeBSD-ports packages different from what the handbook is refering to?
-
voy4g3r2
glenny1: are you building packages on your local machine as well.. or just using pkg install <some package> for everything on this system?
-
voy4g3r2
if the answer is you are NOT building packages, you should be okay.
-
glenny1
i don't even know how. i just ran "pkg install librewolf" and it started pulling everything from FreeBSD-ports
-
voy4g3r2
you are all good then :)
-
glenny1
ok, thanks
-
spork_css
packages are just ports that have been pre-built, if that helps...
-
glenny1
it does. thanks
-
dnp1
glenny1: FreeBSD-ports is just the name of the repo of the offical prebuilt ports.
-
kevans
yeah, it was decided that 'FreeBSD' as the name is ambiguous once a pkgbase repository was introduced
-
kevans
breaks precedent? sure. probably less confusing for future users? yes
-
rwp
I caught the repos name change and I think the new names make things more obvious and less confusing.
-
glenny1
i am getting no sound. pavucontrol says "No cards available for configuration". module for soundcard is loaded. there is no audio group. user is in operator group
-
glenny1
it does list volume controls that appear to be receiving audio. audio bar also jumps for integrated microphone which means it hears me
-
dch
dvl: what does it mean if fresbports doesn't show that nice HTML grid of architectures vs build version per package?
-
dch
I guess that some dependency didn't get built, so there's no versions available at all?
-
sphex
ugh. so the amd64 ZFS raw VM-IMAGE does not have 4K aligned partitions...
-
dvl
Please stand back. I'm running pkgbasify on a 2nd host...
-
st_iron
:)
-
dvl
-
kevans
legend says the machine never came back and dvl still waits patiently :-p
-
dvl
kevans: It came back, and then I did a third host.
-
kevans
dvl: nice!
-
dvl
on to the 4th!
-
dvl
OK, that's FreshPorts prod converted. :)
-
glenny1
i still have no audio on my system. i've tried every suggestion i've found online. none have worked. pavucontrol shows the audio devices exist and they are receiving sound. nothing is coming out of my speakers
-
glenny1
all packages are up to date
-
ibs
Does running `mixer vol=1.00:1.00 && mixer pcm=1.00:1.00` give you sound?
-
glenny1
nope
-
glenny1
i want to mention that running beep plays no sound either
-
dvl
-
CrtxReavr
-
dch
dvl: I added this check to pkgbasify after running into this issue... imo having /var/empty enforced by zfs is a Good Thing
-
dch
glad it helped somebody else
-
rtprio
" beep
-
rtprio
glenny1: my x1's hardware mute still mutes but mixer software cannot disable it;
-
glenny1
rtprio: how to unmute?
-
rtprio
in my case, it's fn-f1 so the mute light goes off. not sure if you're sporting similar hardware,
-
dvl
dch: I don't know where that concept arose from, I have it on two hosts.
-
dvl
-
dch
dvl its from IIRC 9.x or 10.x era FreeBSD default zfs dataset layout
-
dvl
figures, these are my oldest hosts.
-
glenny1
rtprio: none of my Fn+FunctionKeys seem to do anything
-
rtprio
well, in 'not freebsd' it was also mute. you know the blue label with a speaker
-
CrtxReavr
glenny1, is your Esc/FNLock key's LED lit?
-
dch
I have a 1-wire USB device (controlling lamps and measuring room temperature)
-
glenny1
CrtxReavr: it is now
-
dch
I read it via owserver
-
dch
but sometimes it seems to disconnect from USB, and I can't persuade it to re-attach
-
dch
CONNECT: ow_tcp_read.c:(109) TIMEOUT after 0 bytes
-
dch
even unplugging the USB device, waiting & re-plugging it
-
dch
is there some other USB hub or something that I might need to reset on it?
-
CrtxReavr
glenny1, with it lit, you should be able to hold down Fn and work the F1,2,3 keys to mute/unmute and move the volume up & down.
-
glenny1
yeah, it recognizes the keys now. still, no sound
-
CrtxReavr
What does 'mixer -a' show?
-
glenny1
hdaa0 is default (play/rec) and volume levels for vol, pcm, speaker ogain are 1.00:1.00
-
glenny1
rec is 0.37:0.37 and monitor is 0.67:0.67
-
glenny1
pcm0:mixer lists those values
-
glenny1
beep gives nothing
-
glenny1
user is in operator group
-
glenny1
i have tried specifying the pins in devices.hint
-
glenny1
dmesg doesn't appear to give any errors
-
glenny1
the only error message i see is: hdac0: Command 0x2043b000 timeout on address 2
-
glenny1
however, a forum post said that message shouldn't affect anything
-
dvl
dch: Do you know what /etc/mail/aliases updates are done by pkgbasify? It modifies the file (mtime changes) but compare to a snapshot, there is nothing output by `diff`
-
dch
dvl: pkgbasify itself does nothing, so this is probably pkg itself deploying an update.
-
dch
and if the file contents haven't changed IIRC it compares the 2 and then skips it
-
dch
so mtime only seems sensible
-
dch
you can always diff /.zfs/snapshot/before/etc/aliases /.zfs/snapshot/after/etc/aliases
-
Macer
Norway wins!!
-
Macer
lol. Almost scored again.
-
Macer
Almost again lol
-
dnp1
glenny1: would you be able to pastebin the output of your mixer -a
-
CrtxReavr
alias tb='ncat termbin.com 9999'
-
CrtxReavr
mixer -a | tb
-
glenny1
CrtxReavr: yeah, gimme a few minutes to boot the system. also dealing with another issue
-
rwp
Yay! After being stuck for a brief period termbin.com is back online again. I can recommend it to people again.
-
CrtxReavr
termbin's best feature is the simplicity with doing what I showed above.
-
CrtxReavr
I like bpaste.net (and the Pinnwand software behind it) but simple posting from stdout is a lot more tedious.
-
glenny1
ncat isn't installed on the system. what is ncat
-
boru
netcat
-
glenny1
ahh, that
-
boru
..and non-gnu netcat installs as nc on FreeBSD iirc.
-
boru
There's gnetcat and netcat.
-
CrtxReavr
Hmm - there should be equiv syntax for 'nc' which should be in the base system, but I'm unsure what it is.
-
boru
The command syntax is the same, yeah
-
glenny1
-
glenny1
volume is on and should be working
-
CrtxReavr
boru, 'cept it's not.
-
glenny1
netcat wasn't installed by default
-
boru
What's not?
-
boru
echo test | nc termbin.com 9999
-
nimaje
both seem to be [OPTIONS...] [hostname] [port] if I understand the man pages right, maybe some options are incompatible, but the general syntax seems to be the same
-
CrtxReavr
For whatever reason, I don't seem to be able to alias with nc
-
boru
What shell are you using?
-
nimaje
why would you even use an alias instead of a function?
-
» CrtxReavr scratches head.
-
boru
Good point. When sprunge was still up, I wrapped it in a function.
-
CrtxReavr
Shit's behaving weird.
-
CrtxReavr
Though now it's working.
-
rwp
Hint: netcat is called nc and installed as part of base in /usr/bin/nc available on every system. (Unless pkgbase has it in an optional package?)
-
nimaje
aliases have the tendency to lead to mysterious problems, because the user forgot one of the finer points of using aliases, like where parameters come from (aliases don't have any parameters, as they are just dumb text replacement)
-
rwp
aliases also do not work when called from a script.
-
CrtxReavr
Depends(TM)
-
» CrtxReavr figured out what was up.
-
glenny1
CrtxReavr: did you need any other info? i'm going to shutdown the machine if not
-
CrtxReavr
Got distracted by nc vs. ncat (vs. user issues)
-
CrtxReavr
looking at your output.
-
CrtxReavr
What if you run: `mixer vol=0.50:0.50 && mixer pcm=0.50:0.50`
-
CrtxReavr
Is that getting reflected in 'mixer -a'
-
CrtxReavr
?
-
glenny1
CrtxReavr: yes, it is
-
nimaje
did you try cat /dev/random > /dev/dsp already? Also against the other dsp devices?
-
glenny1
still can't hear beep command
-
glenny1
nimaje: i did it with a file
-
glenny1
nothing
-
glenny1
dmesg is also listing no errors
-
CrtxReavr
This is a ThinkPad, correct?
-
glenny1
OS: Linux ('Gentoo' '2.18') (6.18.35-gentoo-dist) CPU: Intel(R) Pentium(R) Silver N6000 @ 1.10GHz MEM: 4 GB GPU: Intel(R) UHD Graphics (JSL) (Vulkan) UP: 16 hours 55 minutes 21 seconds ago
-
glenny1
that's the basic specs. it's a Lenovo Ideapad 1i
-
CrtxReavr
And it works in Linux?
-
CrtxReavr
pciconf -lv
-
glenny1
yeah, i have audio on this machine no problem
-
glenny1
the only thing i can think to do is boot a livecd and see if audio plays through the speakers. just to verify the hardware itself works
-
glenny1
however, considering others have had my same issue with the same hardware, i'm not too concerned with trying this
-
glenny1
i also haven't tried headphones--either via USB or headphone port
-
CrtxReavr
Well, USB headphones would be their own sound device.
-
glenny1
yep
-
glenny1
the point is to verify there is at least audio of some kind
-
CrtxReavr
I haven't seen your 'pciconf -lv' output, but otherwise, it seems like the softare is seeing the hardware and doing everyhing it' supposed to do, so I'm left with questioning the hardware.
-
glenny1
CrtxReavr: want to termbin that as well?
-
glenny1
want me*
-
CrtxReavr
sure
-
CrtxReavr
Also maybe your /var/run/dmesg.boot
-
glenny1
-
glenny1
i'm going to go afk for a bit. i haven't eaten all day and need food. i'll be watching IRC
-
CrtxReavr
I don't see anything there that looks like an audio device.
-
CrtxReavr
Oh, wait .
-
glenny1
yeah, it's there
-
glenny1
'Jasper Lake HD Audio'
-
CrtxReavr
yeah
-
CrtxReavr
Now do /var/run/dmesg.boot
-
glenny1
so, i don't feel comfortable doing dmesg. however, the devices are recognized and associated with no errors
-
CrtxReavr
/var/run/dmesg.boot would just be your boot messages
-
glenny1
one thing i did notice is that mixer speaker volume isn't able to be set, but it is when boot has completed
-
CrtxReavr
termbin.com/0sx1 <== mine from this vps
-
ek
Woo-hoo! Look at the security advisories fly!
-
spork_css
"using GLM-5.1 from Z.ai"
-
spork_css
(3 of them)
-
ek
Yep. AI is finding bugs left and right these days (which is good.)
-
scoobybejesus
i'm surprised we've gone this long since the last patch
-
Schamschula
It's fun to update machines based on the first three advisories, only to see more incoming after the updates are complete!
-
satanist
I'm a bit confused about the discription of the execve one, it mentioned a seperate process may access via procfs/linprocfs but doesn't mention what happen when procfs/linprocfs is not mounted
-
satanist
and other debug capabilities might also be possible
-
bsdrobert
GLM is a nice model. Actually the chinese models are great. Cheap and affordable. Open weights if not open source. Essentially the opposite of all these VC-funded US companies.
-
dvl
I got my hosts onto pkgbase just in time for the patches today.
-
bsdrobert
unlucky for me im maintaining a custom branch so i have to merge all these changes manually and build from source.
-
dkeav
oh boy patch tuesday
-
glenny1
ok, back
-
glenny1
CrtxReavr: is there anything specific you'd like me to look for in dmesg?
-
CrtxReavr
Does your sound device show up in there?
-
glenny1
CrtxReavr: yes
-
CrtxReavr
'Cause pciconf shows what the PCI bus can see, but it doesn't really verify a driver has the device initialized.
-
Schamschula
Indeed, updating a patch level within the same release is easier with pkgbase. However, until I do a clean release version update to my test server, my production machines will keep using freebsd-update!
-
dkeav
does the zfs update need a zpool upgrade?
-
glenny1
-
glenny1
plugged in headphones via USB and i can hear audio
-
dutch
hdac0: Command 0x2043b000 timeout on address 2
-
glenny1
dutch: according to forum posts that shouldn't matter
-
dutch
-
glenny1
i've already tried that. it doesn't fix anything
-
glenny1
well, USB headphones work at least :(
-
glenny1
plugging in through the 3.5mm jack gives no audio
-
glenny1
i do want to mention that when the USB headphones were plugged in VLC chose the device immediately. not so for any other outputs. it requires manual selection and even then still outputs no audio
-
Macer
hm. freebsd update huh?
-
bsdrobert
emails still trickling through :)
-
Macer
yeah. updates send out like 50 emails lol
-
ek
dkeav: "does the zfs update need a zpool upgrade?" - Nope.
-
dkeav
danke
-
Macer
but zfs feature flags though
-
ek
Bitte schön.
-
ek
Macer: I just updated one of my hosting servers (non-production) and there is no zpool update required.
-
ek
Err.. zpool upgrade.
-
rtprio
there hasn't been a zfs/zpool upgrade in what feels like a long while
-
rwp
You are not required to upgrade your zpool. But you may if you want to. Or if you want any of the newer features available. But if the existing zpool is working then you are not required to upgrade.
-
rwp
If you do upgrade then be sure to upgrade your bootcode so that it can boot the next time.
-
rwp
As for not having an upgrade in a long time, that's not correct because release 15 came with new zpool features.
-
rwp
The documentation is actually conflicting on zpool upgrades. The release notes or the handbook, I forget which, recommend against upgrading. But zpool status nags about it suggesting that you do upgrade. That's an interesting conflict. But I think it is only that the zfs authors think upgrading is desired since they added the feature and the documentation writers are tired of people forgetting to upgrade their bootcode so recommend
-
rwp
against.
-
dkeav
having used a rescue cd to fix the bootcode, i fully understand
-
dkeav
woops
-
Schamschula
Been there! I don't touch any of my zpools, unless there is a very good reason.
-
rwp
With 15 I have been working through and upgrading my zpools. Figured it was time to get everything sync'd up. And the code seems to be stable for it.
-
ek
Whoops! I did a dumb!
-
rwp
I have learned so much from my mistakes. I'm thinking of making a few more.
-
rwp
ek, Don't tease us like that! Share with us. :-)
-
dkeav
sometimes adventures in fixing things can be fun too
-
dkeav
especially if you have backups :D
-
glenny1
ran sysctl dev.hdaa and the speaker is listed as [DISABLED] for some reason
-
ek
rwp: I used a server list in my for loop instead of the VM list for a reboot for-loop. :(
-
ek
Has nothing to do with an FBSD derp. Just a personal derp.
-
scoobybejesus
I haven't finished looking into it yet, but my zpools are from FreeBSD 12 era, and I believe you can set a compatability level when you upgrade, so if all my boxes are on 15.0 now, then i can set the compat to 14 and rest easy that I'm not accidentally boxing myself out. but still, any zpool upgrade would almost certainly need updated bootcode