-
dkfkd
why does zfs hang and trash the disc so much?
-
dkfkd
the processes are stuck in tx->tx state
-
jb1277976
so i have a crash report that shows that the drm-kmod is giving me kernel panics. i was told to remove the pkg drm-kmod and install the port. is it possible to install the i915km port without installing the whole drm-kmod or do i have to install the whole port?
-
jb1277976
-
VimDiesel`
Title: Crash2 - Album on Imgur
-
jb1277976
Anyone alive I'm in single user cause I was told to install the drm-know port instead of the pig rebooted and I'm kernel panicking every time. I dropped into zroot shell since that was the defaults in the install im mounted rw but networking dosent work I only see lo plugged into a usbc ether port and did ifconfig and I don't see an interface. Any
-
jb1277976
ideas?
-
mason
jb1277976: Double check loader.conf and rc.conf for typos maybe, from rescue media.
-
ebonheart
dkfkd: what kind of disks are you using? I used ZFS on an SMR drive once, an 8TB barracuda, and it made the disk thrash ridiculously.
-
jadawin
hello all
-
poisone
hello
-
gnathat
how do i fix incredibly small screen resolution in the console?
-
debdrup
gnathat: the question is ambigious; do you mean that the resolution isn't your panels native resolution, or do you mean that the text is small? Is the system using BIOS/UEFI-CSM or UEFI? What console driver are you using?
-
poisone
gnathat vidcontrol
-
debdrup
that doesn't really help, no.
-
gnathat
@debdrup I was messing with the /boot/loader.conf
-
gnathat
#kern.vty.fb.default_mode="800x600"
-
gnathat
but that made the text bigger and the screen smaller
-
[FreeBSD]
cmake, without gui flag seems to pull in a load of x11 and qt stuff
-
meka
As description says, it's meta port. If you need just cmake CLI, you probably want cmake-core
-
[FreeBSD]
i had a message about it conflicting with cmake-core
-
[FreeBSD]
I've just uninstalled cmake seems to get rid of all the deps
-
[FreeBSD]
and kept cmake core
-
[FreeBSD]
thanks
-
[FreeBSD]
is cmake without the gui flag not the same thing though technically
-
jb1277976
Kinda sad but it was a learning experience. Had something urgent come up with mybfreebsd laptop and nobody was here and since I'm new the forums don't approve my message right away so I had to reinstall. Didn't lose anything but there should be a fix or somewhere to go if this channel is all sleep
-
ccx
If I were to write custom init.d scripts, should I put them in /etc, /usr/local/etc, or somewhere else entirely?
-
jkc
/usr/local/etc, I believe.
-
ccx
Sorry, rc.d not init.d; and thanks.
-
ccx
Where is the state of rc system stored? i.e. which services are started already?
-
meka
ccx: service -e
-
meka
those are enabled
-
mason
ccx: The state itself is in rc.conf - the man page for service(8) can give more detail.
-
ccx
Thanks, though I'm speifically asking about state of the services, not which are enabled. Looking at /etc/rc.subr seems to default to $rc_pid but surely not all scripts leave running processes behind.
-
ccx
Thinking of it, do rc.d scripts bring up their dependencies on manual start? Or is that just for ordering?
-
michelem
ccx: see rcorder(8)
-
mason
ccx: Look at force_depend in some RC scripts and in /etc/rc.subr
-
ccx
Thanks again!
-
michelem
Hey folks. I'd like to get a clear head to look into my analysis of this issue.
-
debdrup
Which issue?
-
michelem
I have a jail that runs process A which spawns process B which spawns process C. That runs perfectly for a few minutes. Then system logs show that processes C and then B receive a SIGBUS.
-
debdrup
And presumably you then get a core file that that you can backtrace with lldb, since you built it with debugging symbols, to find out what caused the SIGBUS?
-
michelem
thanks debdrup. I will reconfigure to null-mount rw to get the core file
-
michelem
before I go into that:
dpaste.org/pAK85
-
michelem
'supervise' runs python3.9 as a child. Any reason why the parent (supervise) should crash if a child does?
-
michelem
the error on stdout is indeed "Segmentation fault", which I'll investigate as soon as I get the core file. But why does the parent crash too? Might that suggests an overall memory exhaustion in the jail? Is there any such memory separation in the first place?
-
michelem
I found the cause of the crash of "python", and I'll fix it. I'm still confused as to why that should make the parent process crash. There is no core file for the parent process.
-
debdrup
Without a core file and a program built with debugging symbols (as well as debugging symbols for the userland, libraries and kernel), it's very hard to say anything.
-
michelem
the core file showed that a library was missing (I use "micro jails" with only the required files). The missing file crashed the logging process. Still unclear to my why that caused a domino effect to the other processes. They are completely independent. I now had the library placed, it's been running for ~20 minutes without crash so far.
-
gbe
Hi, does anyone know how to access the hallway track of the vendor summit? I am logged in via Zoom, but I think I am beeing blind. :(
-
debdrup
gbe: it's in the topic in #devsummit on EFnet
-
debdrup
I can PM it if you'll permit me to :)
-
gbe
debdrup: a PM would be nice, since I am currently only on Libera. :)
-
jb1277976
When should you compile ports/package and when should you install a pkg ? is it just time or what?
-
debdrup
jb1277976: I'm not sure I understand the question.
-
jb1277976
When should you compile a port or when should you install a package ? what are the reason why you would do one or the other?
-
debdrup
Packages are built using the default configuration for ports, so in case you want to use some option that isn't default, or if you want to build it for a specific architecture and/or micro-architecture.
-
debdrup
If you need security updates quicker than the project build them is also a good reason for using ports.
-
jb1277976
Thanks debdrup
-
jb1277976
so if I use ports it uses the default configuration like BATCH=1; make clean install clean ?
-
jb1277976
pkg*
-
debdrup
I believe so, yes.
-
debdrup
If you examine the ports tree make files, you'll see that internally, it's using the 'package' target as part of the 'install' target.
-
gnathat
question: why doesn't freebsd have a good progress bar when downloaing or installing something?
-
debdrup
gnathat: what part are you talking about, specifically?
-
gnathat
dont know if it is specific to macports in macos, but that progress bar is great when im downloading.
-
debdrup
macports is an entirely different system, though
-
debdrup
Quite a sizable amount of ports have distfiles which don't report the size of the file correctly, too.
-
gnathat
i know it is different i am just wondering why we dont have a progress bar
-
debdrup
Because nobody implemented it? :D
-
debdrup
If you can work out a way to do progress reports when the remote size is wrong, it'd be cool if you could provide a patch :)
-
gnathat
another question has anyone had slow download rates in the pkg? took me 1 minute to download 20mb pkg
-
debdrup
That's occationally an issue if the servers are being heavily used, which can happen - the package building process is being adapted to be able to use regular CDN services like Akamai, but it requires a not-inconsiderable change to make it work properly.
-
gnathat
is there a way for me to see the status of the servers through the terminaL?
-
rtprio
i've also had the geolocation get confused and go the wrong way across the ocean
-
rwp
I have a friend who is yesterday compiling all of the ports that they use.
-
rwp
Compiling on a 4GB RAM system. 36 hours later I am told it is 90% of the way done.
-
RhodiumToad
seems fairly normal
-
rwp
Yes. Normal. A huge advantage of the pkg binary packages are that they are already compiled and ready go to.
-
RhodiumToad
depends on how long your port list is of course
-
rwp
And if Firefox, Chromium, LibreOffice, are in the list or not. Those are some huge monsters.
-
rwp
I was just reacting to an earlier question about when to use pkg packaged binary ports versus source compiling ports.
-
RhodiumToad
firefox isn't so bad. chromium is a horror to build
-
RhodiumToad
last time I tried it was 9 hours using 4 cores
-
RhodiumToad
and that was likely more than a year ago
-
debdrup
The project builds close to 40k packages, so if you've only got a couple hundred, you can probably finish that quite a bit faster than the beefiest servers in the FreeBSD build cluster.
-
gnathat
4GB or RAM would have been massive in the early 90's
-
debdrup
-
rwp
But something like chromium in the early 1990's would have been unheard of too.
-
RhodiumToad
my first fbsd box might have had 8 or 16 megs, I forget
-
RhodiumToad
maybe even less
-
debdrup
16MB? Surely that'll be enough for anyone. :)
-
RhodiumToad
back in the days when you could boot off two floppies
-
rwp
s/Surely that'll/Should/ There. FTFY!
-
debdrup
Were they floppy, though?
-
RhodiumToad
3.5", so floppy inside the hard shell :-)
-
RhodiumToad
boot.flp and kernel.flp
-
debdrup
I can't remember the size of those two, but they surely couldn't fit on an actual floppy.
-
debdrup
As in, a floppy floppy.
-
» debdrup gives up.
-
RhodiumToad
back in the day, they really did
-
gnathat
ive been moving documents to plain-text and the size differences of the storage im saving is massive
-
RhodiumToad
or do you mean a 5.25" floppy? some of the later 5.25" formats could hold 1.2MB or so
-
gnathat
never realized how much memory an storage eye candy modernity makes
-
RhodiumToad
oh yeah, it's crazy
-
debdrup
RhodiumToad: I mean the 5.25" that are actually floppy, as opposed to just called it.
-
RhodiumToad
you know things have gotten well out of hand when emacs not only isn't the largest process, but is dwarfed by a bunch of things
-
debdrup
HiFD could almost fit a modern bootonly image.
-
debdrup
I don't think the 5.25" ever came in 1.2MB capacity, but I don't really remember.
-
rtprio
man floppy install was the worst; esp when you only had 3-4 floppies to use
-
RhodiumToad
heh
-
RhodiumToad
I probably did the from-scratch floppy install maybe 2 or 3 times, after that it was updating from source for me
-
RhodiumToad
(cvsup! remember that?)
-
gnathat
having used microsoft word for practically all of my life there is a difference of about 500kb in most documents. that accrues significantly. why is word taking up all the space
-
debdrup
...probably not a question for #FreeBSD.
-
gnathat
i know im just rambling now . ill see myself out
-
iio7
Anyone who knows why OpenJDK 17 requires fdescfs and procfs mounted?
-
gewt
what's the best way to go about expanding a volume for a bhyve VM that isn't a zvol? `truncate` a larger disk, dd over, repair headers, and expand as normal for linux?
-
gewt
(the VM is linux)
-
rtprio
gewt: you can truncate in place to expand it
-
gewt
oh, cool. i don't do much with truncate so haven't learned all its power yet
-
rtprio
just make sure the value you're truncating is larger than the disk or otherwise you will, uh truncate it smaller
-
gewt
yeah, makes sense
-
rtprio
i would probably just copy the image befor i start horsing around with it
-
rtprio
but then inside linux, i ususually use volume groups so it's not hard to fdisk to resize, expand the volume group and whatever
-
gewt
yeah of course
-
gewt
yeah, it's already a volume group
-
gewt
i planned ahead, apparently
-
jb1277976
What are some nice apps I should use with FreeBSD to make life simpler? All I know is psearch
-
jb1277976
Ports
-
rtprio
jb1277976: what are you trying to do?
-
winlundn
FreeBSD hangs at boot on my arm64 VM with "cryptoarm AES-CBC" or something. I noticed this happened after I set 1080p resolution in /boot/loader.conf. Coincidence? Modern monitors use crypto on their interfaces, right? my ViewSonic 4k monitor perhaps isn't supported yet by FreeBSD 13.1?
-
winlundn
Or it's the host OS doing something (not FreeBSD)
-
rwp
winlundn, Is that on ZFS? If so you should be able to use the Boot Environments to boot a previous file system clone from before when it was working.
-
winlundn
rwp: ok
-
rwp
After booting a working previous Boot Environment you can mount the current one, fix it, and then boot back to it. "bectl mount zroot/ROOT/default /mnt", fix the loader.conf there, then "bectl umount zroot/ROOT/default" for example.
-
grahamperrin
<dkfkd> "why does zfs hang and trash..." <- dkfkd: maybe a problem with the disk, or related hardware.
-
jb1277976
Why is zfs kinda forced on us during the install? Just wondering
-
V_PauAmma_V
How is ZFS forced on you? You can choose UFS if you'd rather.
-
jb1277976
V_PauAmma_V: I worded it wrong. I chose ufs and my system wouldn't boot. I chose zfs defaults and system ran fine at boot