01:13:53 why does zfs hang and trash the disc so much? 01:16:08 the processes are stuck in tx->tx state 02:14:21 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? 02:26:10 Anyone seen this https://imgur.com/a/ieYJ094 02:26:11 Title: Crash2 - Album on Imgur 03:07:18 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 03:07:18 ideas? 03:30:39 jb1277976: Double check loader.conf and rc.conf for typos maybe, from rescue media. 07:12:22 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. 08:43:34 hello all 10:39:17 hello 10:56:28 how do i fix incredibly small screen resolution in the console? 11:17:29 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? 11:57:48 gnathat vidcontrol 12:07:45 that doesn't really help, no. 12:53:45 @debdrup I was messing with the /boot/loader.conf 12:54:12 #kern.vty.fb.default_mode="800x600" 12:54:37 but that made the text bigger and the screen smaller 13:30:15 <[FreeBSD]> cmake, without gui flag seems to pull in a load of x11 and qt stuff 13:32:38 As description says, it's meta port. If you need just cmake CLI, you probably want cmake-core 13:33:35 <[FreeBSD]> i had a message about it conflicting with cmake-core 13:33:44 <[FreeBSD]> I've just uninstalled cmake seems to get rid of all the deps 13:33:49 <[FreeBSD]> and kept cmake core 13:33:58 <[FreeBSD]> thanks 13:34:16 <[FreeBSD]> is cmake without the gui flag not the same thing though technically 14:50:18 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 14:55:56 If I were to write custom init.d scripts, should I put them in /etc, /usr/local/etc, or somewhere else entirely? 14:57:01 /usr/local/etc, I believe. 14:58:06 Sorry, rc.d not init.d; and thanks. 15:00:01 Where is the state of rc system stored? i.e. which services are started already? 15:04:47 ccx: service -e 15:04:50 those are enabled 15:09:33 ccx: The state itself is in rc.conf - the man page for service(8) can give more detail. 15:12:36 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. 15:15:12 Thinking of it, do rc.d scripts bring up their dependencies on manual start? Or is that just for ordering? 15:21:52 ccx: see rcorder(8) 15:22:10 ccx: Look at force_depend in some RC scripts and in /etc/rc.subr 15:25:05 Thanks again! 15:34:46 Hey folks. I'd like to get a clear head to look into my analysis of this issue. 15:36:08 Which issue? 15:36:35 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. 15:38:34 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? 15:39:16 thanks debdrup. I will reconfigure to null-mount rw to get the core file 15:40:13 before I go into that: https://dpaste.org/pAK85 15:40:53 'supervise' runs python3.9 as a child. Any reason why the parent (supervise) should crash if a child does? 15:41:53 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? 15:48:53 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. 15:51:09 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. 16:15:29 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. 18:51:02 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. :( 18:52:56 gbe: it's in the topic in #devsummit on EFnet 18:53:26 I can PM it if you'll permit me to :) 18:54:39 debdrup: a PM would be nice, since I am currently only on Libera. :) 18:56:00 When should you compile ports/package and when should you install a pkg ? is it just time or what? 19:02:30 jb1277976: I'm not sure I understand the question. 19:04:09 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? 19:05:43 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. 19:06:47 If you need security updates quicker than the project build them is also a good reason for using ports. 19:13:31 Thanks debdrup 19:14:40 so if I use ports it uses the default configuration like BATCH=1; make clean install clean ? 19:14:54 pkg* 19:15:04 I believe so, yes. 19:15:31 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. 19:15:32 question: why doesn't freebsd have a good progress bar when downloaing or installing something? 19:16:07 gnathat: what part are you talking about, specifically? 19:16:22 dont know if it is specific to macports in macos, but that progress bar is great when im downloading. 19:16:50 macports is an entirely different system, though 19:17:11 Quite a sizable amount of ports have distfiles which don't report the size of the file correctly, too. 19:17:18 i know it is different i am just wondering why we dont have a progress bar 19:17:30 Because nobody implemented it? :D 19:18:05 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 :) 19:19:47 another question has anyone had slow download rates in the pkg? took me 1 minute to download 20mb pkg 19:21:17 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. 19:22:30 is there a way for me to see the status of the servers through the terminaL? 19:25:43 i've also had the geolocation get confused and go the wrong way across the ocean 19:28:57 I have a friend who is yesterday compiling all of the ports that they use. 19:28:58 Compiling on a 4GB RAM system. 36 hours later I am told it is 90% of the way done. 19:29:25 seems fairly normal 19:29:43 Yes. Normal. A huge advantage of the pkg binary packages are that they are already compiled and ready go to. 19:29:45 depends on how long your port list is of course 19:30:18 And if Firefox, Chromium, LibreOffice, are in the list or not. Those are some huge monsters. 19:30:54 I was just reacting to an earlier question about when to use pkg packaged binary ports versus source compiling ports. 19:31:33 firefox isn't so bad. chromium is a horror to build 19:31:59 last time I tried it was 9 hours using 4 cores 19:32:11 and that was likely more than a year ago 19:32:14 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. 19:32:39 4GB or RAM would have been massive in the early 90's 19:33:02 gnathat: w3m and https://pkg-status.freebsd.org 19:33:17 But something like chromium in the early 1990's would have been unheard of too. 19:33:25 my first fbsd box might have had 8 or 16 megs, I forget 19:33:41 maybe even less 19:33:43 16MB? Surely that'll be enough for anyone. :) 19:33:59 back in the days when you could boot off two floppies 19:34:13 s/Surely that'll/Should/ There. FTFY! 19:34:14 Were they floppy, though? 19:34:30 3.5", so floppy inside the hard shell :-) 19:34:54 boot.flp and kernel.flp 19:35:33 I can't remember the size of those two, but they surely couldn't fit on an actual floppy. 19:35:42 As in, a floppy floppy. 19:35:48 * debdrup gives up. 19:35:48 back in the day, they really did 19:35:49 ive been moving documents to plain-text and the size differences of the storage im saving is massive 19:36:30 or do you mean a 5.25" floppy? some of the later 5.25" formats could hold 1.2MB or so 19:36:59 never realized how much memory an storage eye candy modernity makes 19:37:19 oh yeah, it's crazy 19:38:03 RhodiumToad: I mean the 5.25" that are actually floppy, as opposed to just called it. 19:38:37 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 19:39:42 HiFD could almost fit a modern bootonly image. 19:40:29 I don't think the 5.25" ever came in 1.2MB capacity, but I don't really remember. 19:40:55 man floppy install was the worst; esp when you only had 3-4 floppies to use 19:41:27 heh 19:41:58 I probably did the from-scratch floppy install maybe 2 or 3 times, after that it was updating from source for me 19:42:38 (cvsup! remember that?) 19:42:39 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 19:43:48 ...probably not a question for #FreeBSD. 19:44:54 i know im just rambling now . ill see myself out 20:35:30 Anyone who knows why OpenJDK 17 requires fdescfs and procfs mounted? 20:37:14 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? 20:37:29 (the VM is linux) 20:50:30 gewt: you can truncate in place to expand it 20:50:57 oh, cool. i don't do much with truncate so haven't learned all its power yet 20:51:29 just make sure the value you're truncating is larger than the disk or otherwise you will, uh truncate it smaller 20:51:41 yeah, makes sense 20:51:48 i would probably just copy the image befor i start horsing around with it 20:52:54 but then inside linux, i ususually use volume groups so it's not hard to fdisk to resize, expand the volume group and whatever 20:58:21 yeah of course 20:58:28 yeah, it's already a volume group 20:58:33 i planned ahead, apparently 21:06:33 What are some nice apps I should use with FreeBSD to make life simpler? All I know is psearch 21:27:34 Ports 21:41:24 jb1277976: what are you trying to do? 22:31:54 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? 22:32:36 Or it's the host OS doing something (not FreeBSD) 22:37:52 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. 22:38:37 rwp: ok 22:39:41 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. 23:37:49 "why does zfs hang and trash..." <- dkfkd: maybe a problem with the disk, or related hardware. 23:48:48 Why is zfs kinda forced on us during the install? Just wondering 23:50:44 How is ZFS forced on you? You can choose UFS if you'd rather. 23:59:54 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