-
sozuba
daemon: theissues arose after i could feel the heat. And it gets worsewhen i start doing simple tasks, etc
-
daemon
but no load showed via top
-
sozuba
daemon: yes, right now.That's the test
-
daemon
ACPI / power profile mishandling?
-
sozuba
what i amatalking about is experience and the need for why we started looking at this inthe first place
-
daemon
its certainly weird
-
sozuba
i gave up once a month ago, tryingto figure out abnormal heating after freebsd install,i amgoing it another go,and this timei hopingto find the cause and RhodiumToad is helping me
-
daemon
what asbout netbsd and openbsd
-
RhodiumToad
I think if you can demonstrate a significant difference between 12.4 and 13.2 then it definitely merits a bug report
-
sozuba
works wellinlinux, even with fairly hard daily use,i don'tfeel the heat on my laptop
-
daemon
just out of curiosity
-
daemon
a bug in what though
-
RhodiumToad
don't complicate things yet :-)
-
sozuba
RhodiumToad: booting up 12.4,i think its goingto be the same as 13.2,regardless of earlier short term result
-
daemon
its got to be some weird shared resource acpi shinnangans
-
daemon
if you fance boot 5.x :D
-
daemon
fancy a party*
-
RhodiumToad
don't be silly :-)
-
sozuba
there is a 5.0?
-
daemon
RhodiumToad, fan/cooling controlled via OS is my bet :P
-
daemon
sozuba, yes there is, that is where we all had sound blasters that required MAKEDEV :)
-
sozuba
Hahaha
-
daemon
I miss the old days; dialing 'into' the internet via a diamond 56k on com3 ahhhhh rose tinted glasses
-
daemon
anyhow your overheating problem; you need to isolate the actual problem
-
daemon
if it is ONLY freebsd
-
daemon
then you have a starting point
-
daemon
the question then becomes what does FreeBSD do that the other OS's do not
-
daemon
does it apply to other BSD's?
-
daemon
we swap alot of code
-
daemon
so netbsd and openbsd do they have the same issue?
-
daemon
if they do not you narrow down the issue further and ffurther
-
daemon
because heck you are an edgecase either way
-
daemon
its going to be some power control thing
-
RhodiumToad
yeah, looking into acpi_thermal is probably going to have to be the next stop
-
sozuba
Just booted and its already interesting, you are going ot love it
-
RhodiumToad
do tell
-
RhodiumToad
this is 12.4?
-
sozuba
yes
-
sozuba
-
daemon
that is still bloody hoy
-
daemon
hot*
-
daemon
from a cold boot
-
sozuba
-
sozuba
Powerd is not running
-
daemon
look I do not want to be rude here but you are <SURE> you have decent thermal compound and a decent cooling setup on this thing right
-
RhodiumToad
ok. so a main difference here is that it's not going below C1 state
-
RhodiumToad
can you do sysctl hw.acpi ?
-
sozuba
cpu 100% idle
-
sozuba
sure
-
sozuba
-
daemon
-1 must be infinity (I really do not read the acpi sysctls often :D)
-
RhodiumToad
hrm. so ACPI isn't really giving any control here
-
daemon
maybe that is the issue
-
daemon
the system may have been designed with the thought the OS will control via ACPI
-
RhodiumToad
hm. but this is a lenovo, aka ibm?
-
sozuba
ibm sold it long back didn't it?
-
daemon
was'nt there a kernel meta module you could load to try load a bunch of proprietary ACPI controls?
-
RhodiumToad
kldload acpi_ibm
-
RhodiumToad
try that
-
RhodiumToad
and if it loads, try the sysctl hw.acpi again
-
sozuba
ok
-
RhodiumToad
it looks like acpi_ibm has its own thermal subsystem separate from acpi_thermal
-
sozuba
loaded
-
daemon
hw.acpi.thermal.tz0._CRT: 127.1C
-
daemon
-- CRT?
-
RhodiumToad
critical
-
daemon
ah
-
RhodiumToad
that's the temperature at which it forces a shutdown
-
sozuba
should i give 5 mins before doing dev.cpu, for the changes to settle?
-
RhodiumToad
nah, just do it now
-
sozuba
ok
-
daemon
do not hold us in suspense :P better?
-
sozuba
-
RhodiumToad
oh, also, sysctl dev.acpi_ibm
-
daemon
thqat is a LOT more lines of text
-
daemon
so it did something
-
RhodiumToad
more than what? that's looking at a different sysctl node
-
daemon
I was looking at dev.cpu >.>
-
daemon
its late
-
sozuba
-
RhodiumToad
hm
-
RhodiumToad
sysctl dev.acpi_ibm.0.fan=1
-
RhodiumToad
try that
-
daemon
report if it starts hovering of course :P
-
sozuba
out of sysctl dev.acpi_ibm.0.fan=1 is -> dev.acpi_ibm.0.fan: 0 -> 1
-
sozuba
ouput*
-
daemon
did the fans spin up?
-
RhodiumToad
ok, now do sysctl dev.acpi_ibm again, and also sysctl dev.cpu and sysctl hw.acpi
-
RhodiumToad
that "fan" setting is supposedly for automatic vs manual mode, with 0 being manual
-
sozuba
daemon: i just checked, it looks like it is.
-
RhodiumToad
when you run linux, is the fan usually on?
-
daemon
just as an aside RhodiumToad is way smarter than me :P I was just curious but it seems we have the solution to the problem
-
sozuba
-
daemon
I thin k modifications to /etc/sysctl.conf are nexty
-
sozuba
well, none of the sensors ever showed the fan was running, so i got a bit worried and checked it, it always runs, very silent, I have to placemy ear very close to the vent
-
sozuba
Also revently i wanted to try controlling the speed of the fan, so i installed think pad specific fan control tool, it messed up, so uninstalled and let the kernel handle it
-
sozuba
and the everythign was back to norma
-
daemon
well
-
daemon
01:31, <RhodiumToad> that "fan" setting is supposedly for automatic vs manual mode, with 0 being manual
-
daemon
would suggest it wants manual control via software
-
daemon
so ... yeah acpi shinangans
-
RhodiumToad
sozuba: what do we see for sysctl dev.cpu and sysctl hw.acpi now?
-
sozuba
-
RhodiumToad
is the fan still running?
-
» LxGHTNxNG rotates slowly
-
sozuba
-
sozuba
yes, just checked again, it is running
-
RhodiumToad
ok. powerd is not running?
-
sozuba
no it is not running
-
RhodiumToad
can you do service powerd onestart wait a few seconds then service powerd onestop
-
sozuba
sure
-
sozuba
done waiting few seconds
-
RhodiumToad
ideally we want to generate some cpu load. what's a good cpu-heavy program in the base system?
-
daemon
compile opneoffice
-
sozuba
stopped
-
daemon
that or do a quick perl -e 'while(1) { int(rand(9999))*int(rand(9999)) }'
-
daemon
but that is a single core
-
sozuba
would it be better to do the load test in an installed system, or it doesn;t matter if it is a live medium
-
sozuba
?*
-
daemon
does not matter
-
sozuba
okay :)
-
RhodiumToad
dd if=/dev/zero bs=4k count=10000000 | xz -T0 -c >/dev/null &
-
daemon
larry approves the perl method ;o
-
RhodiumToad
then look at top while that is running
-
sozuba
ok
-
RhodiumToad
perl is not in base
-
daemon
I know :(
-
RhodiumToad
xz is a convenient cpu-heavy thread-enabled program
-
daemon
even though they are gpl perl and zsh should be 'options' on the installer they are both so handy
-
sozuba
top shows 96% usage for user and 4% usage for system ~
-
RhodiumToad
ok, and sysctl dev.cpu shows what now?
-
sozuba
tem is close to 79,81
-
daemon
still below tjmax
-
RhodiumToad
fan is still running?
-
sozuba
-
sozuba
let me check the fan
-
daemon
its a lenovo I havea 6th gen
-
daemon
you will feel that shit if its fan is on
-
daemon
put your hand behind it or under it depending on model
-
sozuba
yes fan running, but suprisingly still just less fan sound, usually i can hear the sound
-
sozuba
let emcheck again
-
daemon
remember that the tjmax is 90c
-
daemon
the fan should scale with load
-
sozuba
yes can confirm fan is running
-
daemon
i.e. it should get louder with the higher the load
-
daemon
it sounds like it is not operating correctly by all accounts
-
sozuba
yup, that's what it has been doing so far, but here i don't know
-
daemon
I mean its not hitting thermal cut out
-
daemon
that is the point you have a problem
-
sozuba
teem is 92, should i stop the stress test?
-
sozuba
temp*
-
daemon
no
-
RhodiumToad
yeah, kill %1 should stop it
-
daemon
the cpu will auto thermal throttle if it is at risk
-
RhodiumToad
no need to push it that far
-
sozuba
DONE
-
daemon
we not going to get de-lidding? :D
-
sozuba
sorry for the caps
-
RhodiumToad
no worries
-
daemon
im just glad its not only me that somehow manages to hit caps lock accidentaly
-
sozuba
i have butter fingers, i do all sorts of things with my keyboard :P
-
daemon
kinky bugger ;)
-
RhodiumToad
has the temperature gone back down?
-
sozuba
come on man, i didn't mean it in that sense
-
sozuba
:)
-
daemon
I know I just could not help my self lol; but indeed with RhodiumToad on this one; has the thing cooled?
-
sozuba
yup temp is 58,58,61,61
-
daemon
so ... sysctl.conf? or rc.conf and kld_list
-
RhodiumToad
if you do a proper install, then the thing to do is probably this:
-
RhodiumToad
acpi_ibm_load="YES" in /boot/loader.conf
-
RhodiumToad
dev.acpi_ibm.0.fan=1 in /etc/sysctl.conf
-
sozuba
okay will do, noted down
-
RhodiumToad
and probably a good idea to do service powerd enable
-
sozuba
okay
-
sozuba
so the issu is the fan and power are notproperly managed?
-
daemon
I have this fun upcoming; that 6th gen X1 I mentioned earlier is going to be BSD in a month or two -_-
-
daemon
there controlled in software
-
daemon
BSD does not control anything unless you tell it to
-
sozuba
daemon: ah okay
-
daemon
really kinda crap to be honest for fundamental hardware like cpu's and the ilk
-
daemon
I would expect that to have a fallback
-
sozuba
daemon, Yeah I agree :D
-
daemon
well I will get the same fun as you in a month of so; so I guess at least I know now :D
-
daemon
installing freebsd on a system that is XHD this will be fun
-
sozuba
haha, i think yo wont have much problwm with yours.
-
sozuba
RhodiumToad: i'll have to go out now toget somethings done,are we done for now? If so, i'll finish my stuff then cmeback and install anddo what you suggested, then check everything we checkednow and the, keep you posted whenyou are available
-
sozuba
if not, i can continue testing now and postpone my suffs for later :)
-
sozuba
no worries, just let meknow
-
daemon
I mean ~ if your problem is solved then surely you should offer thanks?
-
RhodiumToad
I have other stuff to do today
-
RhodiumToad
you can catch me around tomorrow or so, most likely
-
sozuba
RhodiumToad: when ever you are free and available, i very mcuh understand you have a life beyond this
-
RhodiumToad
daemon: well, we don't know if it's really solved
-
sozuba
daemon: always, i amnot sure of the issues is sorted, RhodiumToad hasn;tsaid anythingof that sort. But i amvery thnakful tohimand you for spending your time and effort tohelp me
-
daemon
RhodiumToad, everything is grey -_- be british about it; we had sun today
-
sozuba
Thank you guys :)
-
daemon
sozuba, and we hope it is solved :)
-
daemon
sozuba, have a good evening
-
sozuba
i hope so too,i can'twait tofinally play around with freebsd and alsoget some work done with it
-
sozuba
daemon: you too
-
daemon
~ I use windows bsd and linux, use the right tool for the job :P
-
» daemon bows head
-
sozuba
have a lovely eveningyou two daemon and RhodiumToad
-
sozuba
thanks again
-
daemon
np always welcome :)
-
sozuba
daemon: I rarely use windows, even then on a vM
-
sozuba
And members of family who still have windows
-
sozuba
linux has been what i used
-
sozuba
I amstillfiguring out the right tool for me
-
sozuba
well,honestly I amstill figuringout a lot in life.
-
sozuba
sometime i wonder where I am, haha
-
daemon
I need to bail its 2am in the uk :P so after this message I am gone, but if you like freebsd and its ports system you should also checkout gentoo; bsd for servers, linux for docker, windows for ui :P bye bye o/
-
sozuba
anyway,that's life.
-
sozuba
i used gentoo for 7 months
-
sozuba
loved it
-
sozuba
unfortunately my laptopcoundlt handlethe compiling
-
sozuba
understand have a good ngiht then
-
sozuba
bye guys
-
sozuba
take care
-
sozuba
catch you later
-
markmcb
gentoo + laptop = great in the winter time, lol
-
debdrup
#freebsd is probably not the right place for that.
-
markmcb
right place for what?
-
rtprio
markmcb: waxing poetic about gentoo
-
markmcb
lol, ok, sorry. it's not an exaggerated comment. compilation = heat. laptops don't tend to handle heat well. i wasn't aware humor was not allowed.
-
rtprio
i think it was _mostly_ sozuba
-
markmcb
ah, ok. i thought you all just really hated my joke. :)
-
markmcb
anyone know if it's possible to setup geli such that it looks for a keyfile, and if not found prompts for a passphrase?
-
rtprio
have you tried the example in the man page?
-
markmcb
yeah, unless i'm doing it wrong, it seems to want both the key and the passphrase vs. key or passphrase
-
rtprio
the one with the "two User Keys: one for your employee and one for you as the company's security officer"
-
markmcb
yes. it's more of a loader.conf questioni guess. i can get it to work with just a key, if the provider has been setup like that, but i can't seem to get it to not prompt me for a passphrase if i've provided a key, but fallback to passphrase if the key isn't present
-
markmcb
it will have to remain an unsolved mystery for tonight. good night all.
-
endrift
Anyone know where I could search to find out info about what broke when updating py-cryptography past 3.4.8? I see that it got reverted in ed4bec1e01390965296c2f510e87de9ccf8cef63 but I can't find info about why
-
RhDoc
maybe in bugs.freebsd.org or the mailing lists?
-
parv
Could try Ports Git repository
cgit.freebsd.org/ports ; the "review" section
reviews.freebsd.org; & Bugzilla
bugs.freebsd.org/bugzilla
-
VimDiesel
Title: ports - FreeBSD ports tree
-
RhDoc
I mean, in SW development I am used to have the "why" referenced in the commit message of a specific change
-
RhDoc
haven't had a look on the commits of freebsd - is it any different here?
-
parv
See the reason in src/; in ports/ sometimes not
-
RhDoc
well, in that case I'd directly ask tcberner or leave a comment at
reviews.freebsd.org/R11:ed4bec1e01390965296c2f510e87de9ccf8cef63
-
VimDiesel
Title: R11:ed4bec1e0139
-
RhDoc
or the maintainer of that port
-
parv
Thanks to RhDoc's URL for "reviews", reason is "Revert due to multiple breakage reports."
-
RhDoc
yeah, but endrift was curious about what exactly broke. "multiple breakage reports" without mentioning the reports themselves wouldn't help in that case
-
parv
In that case need would need to trawl through mailing list, bugzilla
-
endrift
unfortunate
-
meena0
it's fairly simple, more or less
-
endrift
I'm now facing a separate issue that py39-boost-libs is shipping a static lib that was built without -fPIC, but I'm trying to build something that builds a shared lib against it
-
endrift
because....there is no py-libtorrent-rasterbar2 port yet
-
endrift
the yak shaving continues
-
meena0
endrift: are you compiling your own ports?
-
endrift
wasn't trying to, but the port I was using before an update seems to be currently broken
-
endrift
ultimately I just want to use deluge, but installing that via pkg shows nothing, installing via pip tries to pull a newer twisted[tls] that requires a newer cryptography
-
endrift
found I could install deluge by forcing it to use the existing twisted install, or at least an older one, but then it complains that libtorrent is missing
-
endrift
so I'm trying to install that, without much luck
-
endrift
libtorrent-rasterbar2 itself installs, but it doesn't include the python libs, and there's no py-libtorrent-rasterbar2
-
endrift
and trying to build it manually incurs the linker error mentioned above
-
meena0
-
VimDiesel
Title: pipx
-
endrift
I feel like you've missed the problem
-
meena0
install the c and c++ deps, and try pipx for the python stuff
-
endrift
those are already installed, but compiled without -fPIC
-
endrift
by the installed pkg
-
parv
endrift, You may not like this plan: remove the existing related packages; compile however you want & what you possibly can (use packages for the rest)
-
meena0
aye, i was indeed missing the gym context
-
endrift
parv: I was planning to see if I could just rebuild the boost python libs at this point
-
endrift
I think everything else should just work after that, though I know mixing ports and packages is a bad plan
-
parv
endrift, Right, right
-
endrift
unsure I have anything else that depends on this
-
endrift
it's a static lib anyway so...wait
-
endrift
I can just build a local copy and link against that
-
meena0
let's back up for a second: why are the… things compiled without -fPIC?
-
endrift
Dunno, that's just how the pkg builds it
-
endrift
It might be an issue with boost's bespoke build system
-
endrift
it wouldn't surprise me, it is boost
-
endrift
that said, I think there may be ports currently marked as broken as a direct result of this
-
endrift
freshports.org/devel/boost-python-libs this is the port that ships a static lib built without -fPIC
-
VimDiesel
Title: FreshPorts -- devel/boost-python-libs: Framework for interfacing Python and C++
-
endrift
ah I double checked, the broken port was marked broken for a different issue
-
meena0
-
VimDiesel
Title: FreshPorts -- devel/boost-python-libs: Framework for interfacing Python and C++
-
endrift
actually, hm, why is my local build of libtorrent-rasterbar trying to link against the static lib...? I can probably get it to link against the shared lib instead
-
sozuba
Installing freebsd, and if i am making a uefi setup gpt is the prefered partition right? or bsd would suffice?
-
sozuba
i am already reading the documents, just asking for peopels opinion and experience :)
-
sozuba
going ahead with uefi
-
sozuba
i mean gpt
-
imm_
sozuba: good choice
-
sozuba
imm_: thanks and reason?
-
nerozero
now days rust port is become outdated wile latest version is still compiling by the poudriere ...
-
sozuba
readung this ->
forums.freebsd.org/threads/wireless…rface-not-listed-but-it-works.59150 it says wireless interface wont be visible under ifconfig and we just have to accept it and work with that
-
VimDiesel
Title: Solved - Wireless interface not listed (but it works) | The FreeBSD Forums
-
sozuba
is that the case? if so why?
-
sozuba
sysctl -n net.wlan.devices shows iwm0 exists, so why is not listed under ifconfig
-
meena0
sozuba: you need to map it to a WLAN(4) device
-
sozuba
meena0: ah okay, will do thank you :)
-
meena0
-
VimDiesel
Title: Chapter 33. Advanced Networking | FreeBSD Documentation Portal
-
sozuba
meena0: yes read and configured
-
sozuba
thank you, i though tere was something missing, some module or stuff
-
sozuba
:)
-
sozuba
what is tmi?
-
sozuba
okay too muc information, urban dictionary:p
-
sozuba
guys, does anyone know if my syntax is correct?
-
sozuba
dev.acpi_ibm.0.fan=1
-
sozuba
should there be space between charcters and = sign?
-
RhodiumToad
in sysctl.conf, no space needed
-
sozuba
Hi RhodiumToad thanks :)
-
sozuba
installation complete, butt the tempreature is still high with nothing running and cpu 100% idle.
-
sozuba
55,55,53,53 C
-
RhodiumToad
you changed /boot/loader.conf and /etc/sysctl.conf? and rebooted after?
-
sozuba
yup, as you said
-
sozuba
and powerd is enabled
-
RhodiumToad
ok, let's see the sysctl dev.cpu and sysctl hw.acpi
-
sozuba
sure
-
sozuba
-
RhodiumToad
also, is the fan running?
-
sozuba
yes it is running, i can hear it clearly
-
sozuba
clearly meaning, movig my ear close to the wentt
-
sozuba
vent*
-
sozuba
-
RhodiumToad
hmm.
-
RhodiumToad
can you try sysctl dev.acpi_ibm.0.fan_level=7
-
sozuba
sure
-
sozuba
done, the temperate is still high 57,57,54,55
-
sozuba
should i post dev.cpu again?
-
RhodiumToad
does the fan sound the same? and did the output say 0 -> 7
-
sozuba
the fan still sounds the same
-
sozuba
and yes, dev.acpi_ibm.0.fan_level: 0 -> 7
-
RhodiumToad
ok, now do sysctl dev.acpi_ibm.0.fan=0
-
sozuba
ok
-
RhodiumToad
and when you do that, does the fan go off, speed up, or stay the same?
-
sozuba
dev.acpi_ibm.0.fan_level: 7 -> 0
-
sozuba
stays the same
-
sozuba
but will try again and see
-
sozuba
checked again, it feels like it has no impact on the fan
-
sozuba
it stays the same
-
RhodiumToad
no, set fan_level to 7 and .fan to 0
-
sozuba
oh sorry
-
RhodiumToad
setting .fan to 0 should put the fan on manual mode, and fan_level=7 should be the fastest controlled speed
-
RhodiumToad
but if it doesn't actually change, that suggests that none of these settings have any effect
-
sozuba
i dodn't see any change
-
sozuba
in the way fan functions
-
sozuba
sound, inyernsity/umpact remains same
-
RhodiumToad
temps are still high?
-
sozuba
dev.acpi_ibm.0.fan: 1 -> 0 and dev.acpi_ibm.0.fan_level: 0 -> 7
-
sozuba
yes, temp is high 57,57,53,53
-
RhodiumToad
ok. I think I'm out of ideas; this should probably be a bug report.
-
RhodiumToad
you'll need to collect this info to attach to the report:
-
sozuba
both dev.cpu and hw.api?
-
RhodiumToad
the exact model name and age of the laptop, the contents of /var/run/dmesg.boot, the output of sysctl dev.cpu; sysctl hw.acpi; sysctl dev.acpi_ibm
-
sozuba
okay, will do. Thank you very much RhodiumToad
-
RhodiumToad
mention specifically that changing the fan= and fan_level= settings did not do any good, and that powerd isn't helping
-
sozuba
okay will do, will post a link here after,to keep you updated
-
RhodiumToad
also, point out specifically that it's running pretty warm even when the system is idle and the clock speeds stepped all the way down
-
RhodiumToad
and stress that this is OS-dependent and that it's noticable cooler in linux
-
RhodiumToad
i.e. not just different reported temps, but you can actually feel a difference (assuming that is the case)
-
sozuba
Got it, will mention that.
-
RhodiumToad
also that it was running hot both with and without acpi_ibm loaded
-
sozuba
Bug component should be kernel right?
-
sozuba
while filing
-
RhodiumToad
yes
-
sozuba
sure, will mention that too
-
sozuba
ok
-
sozuba
Does this title sound apt? "Excesive Laptop Heating with 99-100% CPU idle"
-
RhodiumToad
mention the type of laptop in the title
-
sozuba
ok
-
sozuba
sounds good? Excessive heating on Lenovo Thinkpad E450, even at 99-100% of CPU idle
-
RhodiumToad
good enough
-
sozuba
awesome :)
-
RhodiumToad
might be worth posting to the forums too
-
RhodiumToad
(with the same info)
-
sozuba
Yeah was thingking the same. Will do
-
sozuba
RhodiumToad: i was going through the output of sysinfo -a, and i noticed this->
termbin.com/g1w8 , does this have ny significance to my issue?
-
sozuba
mainly, The acpi_wmi.ko module is loaded, however it is not being loaded upon the system boot time from /boot/loader.conf.
-
RhodiumToad
did you load coretemp yourself manually? also what is kld_list set to in /etc/rc.conf, if anything?
-
sozuba
RhodiumToad: yes i loaded it manually
-
sozuba
there is no kld_list in my rc.conf
-
RhodiumToad
it's fine for modules to be brought in as dependencies of other modules or via rc.conf rather than having to put everything in loader.conf
-
sozuba
understood
-
RhodiumToad
hm
-
RhodiumToad
pchtherm is in there?
-
RhodiumToad
what does sysctl dev.pchtherm show?
-
RhodiumToad
I'm guessing that was loaded by devmatch
-
sozuba
output of dev.pctherm ->
termbin.com/bl1ys
-
sozuba
-
sozuba
-
RhodiumToad
ok. so the pchtherm output is consistent with the rest
-
RhodiumToad
that also tells us that 93C is this system's limit for normal operation, and 115C is when it will shutdown
-
sozuba
ah okay cool :)
-
RhodiumToad
pchtherm just lets us read info from the device, it doesn't seem to have any tunable knobs that might be relevant to the problem
-
sozuba
i thought it was something i forgot to set and may be is what causing the issue :D. I also got a bit hopeful :P
-
sozuba
dev.pctehrm, dev.cpu hw.acpi, should those be attached as files or pasted in the summary?
-
RhodiumToad
probably best as files
-
sozuba
okay
-
markmcb
every morning i wake up to sendmail driving a load of 5+ on 8 cpus and doubling my systems wattage. how do i completely disable it? i have sendmail_enable="NONE" set
-
RhodiumToad
what's it doing?
-
markmcb
smmsp is trying sendmail -i root
-
RhodiumToad
(you could do cp /usr/share/examples/dma/mailer.conf /etc/mail/mailer.conf to ensure that anything trying to send mail uses DMA instead)
-
RhodiumToad
you also want sendmail_submit_enable="NO" in rc.conf
-
» RhodiumToad builds with the WITHOUT_SENDMAIL option, so can't easily check these settings
-
markmcb
thanks, i'll give those a shot.
-
RhodiumToad
hm, sendmail_submit_enable="NO" should not be needed as long as sendmail_enable="NONE"
-
RhodiumToad
but the mailer.conf change is needed to prevent programs directly invoking sendmail
-
RhodiumToad
dma will handle local mail delivery only
-
RhodiumToad
(or you can configure it to punt to a smarthost)
-
markmcb
so there's no way to globally disable email? redirecting to other things is the only option?
-
RhodiumToad
well, you could point all the mailer.conf entries to /usr/bin/false
-
RhodiumToad
you'd then want to go through the periodic.conf files and make sure every periodic thing was configured not to send mail
-
RhodiumToad
also, cron
-
RhodiumToad
the ability to send mail is assumed by a lot of things
-
markmcb
ouch. ok, i'll try that. three weeks on freebsd now. maybe i don't understand enough yet, but this is a weird design element of the OS. regardless, thanks for the help!
-
jgh_
all Unixen
-
aesthetikx
I have a CUPS related question (FreeBSD on both ends). I have a printer that prints with 'lpr file.txt' no problem. I want to print from a remote computer. Thus, I thought 'cat file.txt | ssh me⊙tc lpr' would work. However, it reports that the printer is not found. Sshing in first, and then using lpr works as expected. What would cause lpr to see different printers, for the same user
-
aesthetikx
account, based on if it was run directly with ssh or after loging in with ssh?
-
aesthetikx
afaik I don't have anything weird in .bashrc or .bash-profile that would be causing this.
-
yuripv
no tty?
-
aesthetikx
I suppose that is true, although I am not sure why lpr would care
-
yuripv
try with ssh -t
-
aesthetikx
"lpstat -a" lists the printer in both cases
-
aesthetikx
ok will do thanks
-
RhodiumToad
my guess is the PATH is different
-
RhodiumToad
echo $PATH when logged in normally, and ssh you@where env | grep PATH
-
aesthetikx
"pseudo-terminal will not be allocated because stdin is not a terminal" which I guess makes sense due to cat
-
aesthetikx
ok lets see what PATH says
-
RhodiumToad
note that /usr/bin/lpr is the old-school BSD print subsystem, while /usr/local/bin/lpr is the CUPS one
-
aesthetikx
indeed
-
RhodiumToad
if you're relying on a .profile to set $PATH (or provide an alias for lpr), non-interactive ssh won't run that
-
aesthetikx
ok, indeed, `which lpr` is different, I will investigate that; you guys are quick
-
RhodiumToad
(best place to set such things is in ~/.login_conf)
-
aesthetikx
should ahve thought of that
-
aesthetikx
also, lingo wise, what would you call "ssh somewhere; command" vs "ssh somewhere command"
-
aesthetikx
e.g. "running over ssh" vs "sshing and then running a command", is there a smarter sounding way to say that
-
aesthetikx
so, I had added /usr/local/bin to PATH in my .zshrc, hence the difference. I will man about .login_conf
-
RhodiumToad
man login.conf
-
RhodiumToad
note that the per-user file is ~/.login_conf with an underscore not a . which is slightly confusing
-
aesthetikx
right gotcha
-
RhodiumToad
stuff set in ~/.login_conf should apply both to normal logins and ssh, and in recent fbsd versions also to things run from cron
-
aesthetikx
side note, and thanks for pointing me in the right direction with login.conf, why would man -k or apropos login_conf return nothing appropriate? I find that often man -k doesn't return hits for exact text matches in man pages, or maybe i misunderstand what apropos does
-
RhodiumToad
it's just searching the manpage titles, and the manpage for login.conf doesn't have login_conf in its title
-
aesthetikx
i see, thankyou
-
markmcb
I tweaked all the mail stuff ... is there a way to trigger whatever is happening in periodic nightlies so I can test the config?
-
RhodiumToad
you can run 'periodic daily' as root
-
markmcb
thanks. assuming that was the source of the issue, it seems to be resolved.
-
markmcb
looking through the main pages for mailwrapper and mailer.conf and not seeing anything, but if i configed a smtp mailer, is there a way to substitute my actual email for anything mailed to "root"?
-
RhodiumToad
which smtp mailer?
-
markmcb
msmtp is the one i usually use
-
RhodiumToad
presumably that will have an aliases or forwarding mechanism
-
» RhodiumToad hasn't used it
-
markmcb
ah i see, so handle it with the mailer (vs. substitute before then)
-
RhodiumToad
sendmail and dma both respect /etc/aliases by default, I believe
-
RhodiumToad
most other mailers should too
-
RhodiumToad
so just root: my⊙ra in there should help :-)
-
RhodiumToad
see the default /etc/aliases for more commentary
-
markmcb
perfect, looking in the docs and it has a flag to point to a standard alias file, so i should be good
-
markmcb
behold. my first perodic email! :) thanks for that help.
-
Rayyan
hi
-
Rayyan
is there some sort of package that needs to be installed to get $XDG_RUNTIME_DIR defined?
-
Rayyan
defining it manually in profile feels like a bit of a hack
-
markmcb
i manually define XDG stuff in my .zshenv ... i've found this to be the most portable way to go and have it work across OSes
-
markmcb
i never found a better way, so i have my own "setupconfigs.sh" i run on any new install and this is part of it
-
yo9fah
hi all
-
sozuba
RhodiumToad: Looks like i can attach only one file, should i upload a zip file? or is it fround at for security reasons?
-
sozuba
frowned*
-
meena
one at a time
-
sozuba
meena: how? there is no attach button, just submit button.
-
meena0
sozuba: it just means you have to do it for every single file
-
sozuba
meena0: I don't understand what you are saying, sorry.
-
sozuba
i can attach files one by one, if there is an option. The only option i have is submit the PR
-
sozuba
if i press the submit button with one file attached, will i get an option to submit more after the submission?
-
meena0
yes
-
meena0
but also only one at a time
-
sozuba
ah okay, that's fine, as along as i can attach all the files.
-
sozuba
Thank you
-
meena0
-
VimDiesel
Title: amdtemp: Fix missing 49 degree offset on current EPYC CPUs by valpackett · Pull Request #754 · freebsd/freebsd-src · GitHub
-
meena0
I wonder if this could be a similar issue
-
sozuba
-
VimDiesel
Title: 271938 – Excessive heating on Lenovo Thinkpad E450 even with CPU @ 100% idle
-
sozuba
meena0: looked at that Link, I am not savy enough to say if that's realted to mine, but looks related :D
-
sozuba
i'll dig through
-
sozuba
okay I gota go now. Bye people
-
grahamperrin
yuripv: do you see 'Spam' in the header at Bugzilla?
-
-
meena0
grahamperrin: do you have a newer version of bugzilla somehow?
-
grahamperrin
meena: no, the same version.
-
grahamperrin
If I recall correctly, all committers automatically gain some privileges (I didn't realise this until some time after I got my commit bit … don't know whether it's documented).
-
meena0
grahamperrin: it looks like you just set a different style
-
» grahamperrin signs in with his non-privileged ID to compare …
-
grahamperrin
Oh, right, the blue. I find the Classic skin easier on the eye. <
bugs.freebsd.org/bugzilla/userprefs.cgi>
-
VimDiesel
Title: Log in to FreeBSD Bugzilla
-
-
grahamperrin
Nothing exciting for me in the Administration tab, incidentally. I'm quite certain that I don't want to "Set up whining".
-
markmcb
am i correct to say there is nothing like linux's udev unique names for devices, e.g., /dev/disk/by-uuid/ ? seems gpt partition names are the closest thing.
-
grahamperrin
markmcb: not a direct answer, but as far as I know it's commonplace for loader.conf(5) to include these two lines:
-
grahamperrin
kern.geom.label.disk_ident.enable="0"
-
grahamperrin
kern.geom.label.gptid.enable="0"
-
markmcb
this looks promising. i'm finding blog mentions, but can't seem to find the relevant docs. regardless, thanks for the insight!
-
RhodiumToad
the installer puts those lines in loader.conf on zfs systems
-
markmcb
is there a reason they should be off?
-
markmcb
or is it simply people want to see their labels and disk ids override that?
-
RhodiumToad
yeah, zfs insists on tasting every device, so if they're on, it's inconsistent what device names show up as members of a given zpool
-
RhodiumToad
i.e. sometimes the members will show up as /dev/ada0p2 or whatever and other times the same disk will show as /dev/gptid/xxx...
-
RhodiumToad
turning them off was seen as less confusing
-
markmcb
interesting, so a file system tool's output drove disabling an OS feature? is this viewed as a ZFS bug?
-
RhodiumToad
it's not the tool output, it's that zfs would actually attach the /dev/gptid/... device
-
markmcb
right, but i assume that's ok if they point to the same thing
-
markmcb
seems like it's just the human side of it that's confusing, or am i misunderstanding?
-
RhodiumToad
yeah, but it causes issues
-
RhodiumToad
in particular if you detach the device under one name, it can immediately reattach it via the other
-
markmcb
ouch. and it's not considered a zfs bug?
-
RhodiumToad
(gmirror can have the same issue, incidentally)
-
timothias
zfs is a prickly pear
-
RhodiumToad
it's not clear how to fix it
-
grahamperrin
> … finding blog mentions, but can't seem to find the relevant docs. …
-
grahamperrin
I think I encountered the same (lack of documentation) a few weeks ago …
-
markmcb
yeah, i feel like a big fat warning should be a comment above those lines lines in loader.conf
-
RhodiumToad
part of the problem is that glabel's labels disappear and reappear according to whether the provider is open on another path
-
RhodiumToad
so when you close a device, the labels reappear, and that provokes other geom classes (including zfs) to taste them
-
RhodiumToad
so e.g. zfs or gmirror sees them as a newly-arrived device whose metadata shows them to be part of the zpool or mirror, so it attaches them
-
timothias
and when they say taste, they mean "influencer in a supermarket licking ice cream and putting it back" taste.
-
markmcb
lol
-
RhodiumToad
not quite :-)
-
RhodiumToad
geom is very flexible, but sometimes so flexible that it ties itself into knots
-
endrift
I seem to be having issues with ctld
-
endrift
I have a setup to export a handful of targets, which used to work until I rebooted today
-
endrift
Now when the initiator on the other end attempts to connect, daemon.log reports the target can't be found, and the initiator errors out
-
endrift
however, ctlstat clearly shows the target is present
-
endrift
restarting ctld does not help
-
RhodiumToad
when was it last rebooted before today?
-
endrift
it's all going over the correct subnet too
-
endrift
yesterday
-
RhodiumToad
I'm wondering if you did some manual configuration that was lost on the reboot
-
endrift
I upgraded from 13.1-STABLE (because oops I forgot to rebuild -RELEASE) to 13.2-RELEASE last night, but it worked fine after rebooting into it
-
grahamperrin
-
VimDiesel
Title: Re: kern.geom.label.disk_ident.enable="0" and kern.geom.label.gptid.enable="0"
-
endrift
and I haven't really poked at it since
-
endrift
I definitely didn't change anything with ctld in the meantime either
-
endrift
I also tried re-rebooting and that didn't help
-
RhodiumToad
hm
-
endrift
actually...I'm unsure it worked last night. I'm using it to export zvols for VMs, but the VM on this target didn't get booted due to IOMMU issues
-
endrift
which I've since fixed
-
endrift
so I'm not sure where in that process it failed
-
RhodiumToad
so it might have been the update to 13.2 that broke it?
-
endrift
I suppose it's possible
-
endrift
not sure where I'd go to start fixing that though
-
RhodiumToad
hm
-
endrift
I'm unsure exactly where in 13.1-STABLE I was
-
RhodiumToad
bunch of changes in ctld at least between 13.1 and 13.2
-
endrift
I didn't really update /etc when upgrading, which might be a problem
-
endrift
I'm still not sure how to do that properly when doing a source build
-
RhodiumToad
man etcupdate
-
endrift
ah thanks
-
meena0
if that doesn't help, we need to fix it
-
RhodiumToad
my own builds are WITHOUT_CTL so I can't easily test it
-
RhodiumToad
er, WITHOUT_ISCSI
-
RhodiumToad
ok, so it looks like the major change to ctld was factoring a bunch of code out into a library
-
RhodiumToad
fair few changes in sys/cam/ctl but they mostly look like error checks
-
RhodiumToad
I don't see anything regarding changes in /etc that spring out as relevant to this
-
RhodiumToad
have you tried increasing the debug levels for ctld and cfiscsi?
-
endrift
RhodiumToad: how would I do that?
-
endrift
also wow I had a bunch of conflicted cruft in /etc, that's all resolved now, thanks
-
RhodiumToad
cfiscsi has sysctls to set debug level
-
RhodiumToad
ctld has a -d option to run in foreground and spew debug output to stdout
-
endrift
after re-merging /etc (and accidentally messing a few things up) and rebooting, it seems to be working again
-
endrift
thanks for the man page RhodiumToad
-
endrift
It might be a coincidence but...I'll take it
-
RhodiumToad
hm, interesting
-
meena0
I have a 13-STABLE jail with syslogd and apache24 running, and nothing logged
-
meena0
truss -p `pgrep syslogd` # doesn't show anything either
-
meena0
fun!
-
meena0
well, almost nothing…
-
RhodiumToad
tried running 'logger foo' in the jail?
-
RhodiumToad
erk, why is my /home full
-
markmcb
is there any resource that shows what's planned to be in future releases? like a road map?
-
RhodiumToad
only looking at what's going on in -current, afaik
-
rwp
The steady state of disks is full.
-
meena0
-
VimDiesel
Title: FreeBSD 14.0 Planning - HackMD
-
meena0
note that as OpenSSL and LLVM 15.0 integration delays 14.0 branching, more stuff from that 15.0 list might make it into 14.0
-
markmcb
ooh, nice. this is great.
-
yuripv
grahamperrin: yep, i just didn't want to mark entire mail account as spam, and just one post
-
phryk
i asked this before, but to upgrade my existing freebsd 13.1 to 14… do i just untar the kernel.txz and base.txz over my running system?
-
meena0
phryk: that'll possibly wipe a good deal of your /etc
-
phryk
meena0: yeah. i vaguely remember there being some snapshot mechanism for ufs. if i make a snapshot of the current step i should be able to easily roll back if something important gets nuked, right?
-
RhodiumToad
not easily.
-
meena0
phryk: rsync -a /etc /var/backup/$(date)
-
RhodiumToad
ufs snapshots are read-only, and in 13.1 you can't do snapshots on journalled ufs afaik
-
RhodiumToad
probably easier to upgrade from sources
-
phryk
Haven't built kernel/base from sources in ages. Essentially just check out the right branch for both, do make && make install, reboot, done?
-
RhodiumToad
make -jN buildworld buildkernel
-
RhodiumToad
then make installkernel and reboot
-
RhodiumToad
then make installworld, and then do etcupdate (make sure you did the preparation steps for etcupdate before installing anything)
-
RhodiumToad
then reboot, and then there's a make delete-old-libs or something like that to remove old files
-
RhodiumToad
this is all documented, so read the docs
-
phryk
ye, just found it. 25.6 in the handbook
-
RhodiumToad
the various reboots are because a 14 kernel can run 13's binaries (assuming you didn't remove COMPAT_FREEBSD13 from the kernel build), but not vice-versa
-
meena0
RhodiumToad: logger works, and pkg also logs, so something's up with apache24
-
phryk
the git branch for 14 is "main"?
-
V_PauAmma_V
Yep.
-
phryk
good. :)
-
RhodiumToad
o/~ where has all my diskspace gone o/~
-
phryk
mhh. my /usr/src is currently empty and "etcupdate extract" fails. if i understand the etcupdate docs correctly, i should first check out the code for the version i'm currently running, do "etcupdate extract && etcupdate diff" and only then update the code in /usr/src to 14?
-
RhodiumToad
something like that