-
jasassin
i've tried multiple ways to get freebsd to install from a flash drive... (dd it per instructions on freebsd and linux and even tried rufus on windows) it always ends up at mountroot. i just don't understand.
-
RhodiumToad
what's the output you're seeing on boot?
-
RhodiumToad
and what exact dd command did you use?
-
jasassin
the one from the freebsd.org website
-
jasassin
its straightforward. the instructions just dont work. have you ever tried it?
-
RhodiumToad
yes, often
-
RhodiumToad
please show exactly what you did and what you saw
-
jasassin
dd if=FreeBSD-13.1-RELEASE-amd64-memstick.img of=/dev/da0 bs=1M conv=sync
-
jasassin
it boots then drops to a Mountroot prompt
-
jasassin
(the device was different, but that doesn't matter it wrote to the flash drive obviously since it starts to boot)
-
RhodiumToad
that's not enough information - what was actually shown on the screen before that prompt
-
jasassin
i'll have to try again later i dont have the system and stuff now, but thanks for your assistance! it's appreciated!
-
polyex
i know /usr/src/release has scripts to make .iso but .img can be made too right?
-
RhodiumToad
did you actually look in /usr/src/release?
-
polyex
ya i saw amd64/make-memstick.sh and that's prolly it but i searched in there for "img" and it wasn't there
-
polyex
i thought if it made a .img file that would be there
-
polyex
RhodiumToad ^
-
RhodiumToad
the filename to produce is passed as a parameter to the script so obviously it doesn't appear in it
-
RhodiumToad
# Usage: make-memstick.sh <directory tree or manifest> <image filename>
-
RhodiumToad
the actual filenames are in the makefiles
-
polyex
oh
-
signalblue
anyone know how to get an NFS server on FreeBSD mounted on a Windows 10 workstation?
-
RhodiumToad
that sounds like more of a windows question than a freebsd question
-
signalblue
RhodiumToad: seeing as the packets don't make it over to the server, i'd say you're right.
-
rtprio
i feel like it's something i've done but have no memory of doing it
-
RhodiumToad
you've tested that basic networking connectivity exists between the two?
-
signalblue
yes
-
rtprio
i think you maybe need mountd -n ?
-
signalblue
mountd already running as pid 1028
-
rtprio
-n Allow non-root mount requests to be served.
-
geobarrod
Hi again. I find the solution for activate 0-RTT in FreeBSD 14.0-STABLE with OpenSSL 3.x, Nginx 1.24 and TLS 1.3. The option ssl_prefer_server_ciphers off;
-
_xor
signalblue: I assume UNIX Services for Windows is installed and running?
-
_xor
Also, last I remember it only supports NFSv2 or maybe NFSv3, don't remember.
-
imm_
hi; when doing freebsd-update, does it merge the local changes with new version of config files? I did the update recently and it said it will ignore the changes in sshd_config instead of merging them
-
nerozero
Hi there ...
-
nerozero
trying to get some clue why the following IFS works not as expected
-
nerozero
-
VimDiesel
Title: dpaste/geYk (Bash)
-
tercaL
How do i duplicate the users and password config from one jail to another?
-
holopros
tercaL: not sure if that will work, but you can try to copy these files from /etc - passwd, master.passwd, pwd.db, spwd.db
-
tercaL
holopros: Interesting idea, will try that. thanks.
-
angry_vincent
anyone running thinkpas x13, the ryzen version?
-
angry_vincent
thinkpad*
-
KingShark
if i set up a local repository with poudriere to provide my one and only freebsd machine with custom built packages on top of the official binaries and not disable the official repository, will i still run into 'dependency hell' at some point or is it sane?
-
debdrup
KingShark: if your ports branch + package building+publishing matches the schedule of the official servers, it shouldn't give you any trouble - however, getting that exactly right is quite difficult without a fair bit of scripted sanity checking.
-
KingShark
i am giving it a go. its not a production machine, just a desktop, if it breaks i reinstall :) minor rant, poudriere not having the poudriere-devel feature to fetch deps as binaries is a big letdown.
-
LxGHTNxNG
tewkses ur buries
-
KingShark
will look into that 'synth' tool
-
RhodiumToad
why not use poudriere-devel?
-
KingShark
no particular reason just got made aware of synth when looking up how to do it with poudriere
-
KingShark
reddit.com/r/freebsd/comments/u8480…lling_port_dependencies_as_packages 'ports-mgmt/synth is the correct tool you're looking for to do this job. It works similarly to poudriere, but is intended more for single machines and one of the things it excels at is exactly the use case you're after. '
-
VimDiesel
Title: Installing port dependencies as packages? : freebsd
-
KingShark
idk. sounded like it might be best suit for my usecase :)
-
debdrup
synth won't let you build a partial package repository while using binary packages for the dependencies like poudriere-devel will, I think.
-
KingShark
'It can be configured to use pre-built packages for dependencies' not sure
-
KingShark
maybe i try them all!
-
KingShark
right now i am poudriering all the dependencies for that one package i want :'(
-
KingShark
200ish lmao
-
KingShark
if i install poudriere-devel, will it co-exist with poudriere or be a replacement?
-
debdrup
it conflicts
-
debdrup
poudriere is used by the project, while synth is a community thing - both have advantages and disadvantages, so you'll have to decide what's most important to you
-
KingShark
its like chosing between expensive wines when you just want to get drunk
-
debdrup
can't say i've ever been in that position
-
KingShark
i will likely be fine with either option as long as it provides a repository with the packages i want :D
-
dstolfa
KingShark: synth is kind of deprecated in the sense that it doesn't really support flavors iirc
-
debdrup
that's kinda what i was getting at, yeah
-
KingShark
i will give poudriere-devel a go for now.. cleaning up my poudriere install now
-
dstolfa
it highly depends on what you're building. if you're just building a few standalone binaries that you fetch from your package builder instead of the main one (bonus points if they are statically linked), then you'll be fine
-
debdrup
if something is maintained by the project, it usually means it'll be supported for an incredibly long time, but that its update frequency may not be what people are after
-
phryk
emaste: is it okay if i query you? i got some conceptual questions about vt and maybe possible future fanciness for it.
-
KingShark
dstolfa, yeah i just want to have a few selected packages installed from a local repository because the official binaries are outdated and ports has newer ones
-
debdrup
community projects on the other hand tend to get much more frequent updates, until at some point the developer moves on
-
dstolfa
hm, if ports has newer ones, surely they should be built upstream in the latest repository as opposed to quarterly? maybe there's a delay of a few hours but they should appear very soon
-
debdrup
there's a unavoidable lag between when a port is bumped and when the new package is available, partially due to how long it takes to build things using poudriere, but also because the package distribution servers need to be kept tightly in sync
-
LxGHTNxNG
software engineering isn't good.
-
emaste
phryk: sure
-
phryk
nice :3
-
debdrup
LxGHTNxNG: if you can't contribute meaningfully, I suggest you find somewhere other than #freebsd and related channels.
-
LxGHTNxNG
you're one of those, eh? people what think meaning is realL
-
LxGHTNxNG
?
-
LxGHTNxNG
have fun with that.
-
KingShark
funny. i for example wanted to have the ports version of youtube_dl because it is marked as version 2023.03.14 in the ports tree. but on closer inspection, the binary via pkg search is marked the same. it outputs version 2021.12.17 when using youtube-dl --version though. cant trust anyone nowadays :D
-
KingShark
i guess the ports version would do the same if i built it
-
debdrup
KingShark: youtube_dl is considered deprecated by everyone except its developers, in favour of yt-dlp
-
KingShark
i noticed the binary version does not work with youtube links i feed in so i thought its because of being the 2021 release
-
debdrup
yt-dlp will even install a youtube_dl symlink
-
KingShark
giving yt-dlp a try
-
KingShark
seems to work fine
-
Freaky
hmm, I used to have a script for monitoring memory on a per NUMA domain basis, can't find it now
-
Freaky
oops
-
Freaky
swp_pager_getswapspace(3): failed
-
Freaky
ran a rg -a over my code directory and it ended up eating 37GB of memory
-
KingShark
i mounted a share provided by a nas and the device went to sleep. all attempts to unmount it fail.. including umount -f.. anything more i can try? :)
-
dstolfa
KingShark: might need more information than that
-
KingShark
it just does not finish, no output. i tried -N according to the manpage now
-
KingShark
ok -N seems to have done the trick. so i guess something held a lock on the mnt, whyever
-
KingShark
lsof did not finish either
-
Freaky
-
VimDiesel
Title: GitHub - Freaky/numastat: FreeBSD NUMA domain memory monitor
-
debdrup
Freaky: ooo, that looks very handy
-
Freaky
-
VimDiesel
Title: Excessive Swapping with FreeBSD NUMA
-
debdrup
Unbalanced NUMA domains with wired memory is, I think, largely an unsolved issue for every OS/kernel?
-
Freaky
I'm prepared to believe all operating systems suck
-
debdrup
It's a pretty fundamental problem to the properties of wired memory, and it's why the wiki article for the memory subsystem specifically mentions ARC as being wired.
-
debdrup
It can also be an issue with FreeBSDs unified buffer cache, depending on the exact workload.
-
debdrup
It'd be less of an issue if ARC was integrated to the unified buffer cache, but I don't know the state of that work.
-
debdrup
It'd probably*
-
Freaky
might be nice if top(1) could do memory on a per-domain basis, bit like it does with CPUs
-
debdrup
I mean, there's separate queues per-domain for with the page daemon and laundry system having separate threads, so it might be possible to instrument it in top.
-
debdrup
-
VimDiesel
Title: Exploring Swap on FreeBSD | Klara Inc
-
Freaky
vm.domain.*.stats has most of it, though wired doesn't seem to be there properly
-
Freaky
stats.unswappable is 0 for me
-
veg
so, I'm trying to compile libtorrent and hit a number of "/usr/include/netinet/ip.h:174:9: error: 'u_char' does not name a type; did you mean 'char'?" errors, is there a basic list of packages one needs in order to compiler c++ that I may have missed?
-
RhodiumToad
no, that's probably a bug in the thing you're trying to compile
-
RhodiumToad
e.g. it's not including some header file that's required before netinet/ip.h
-
veg
oh my
-
veg
some Linuxism, no doubt
-
RhodiumToad
looking at the port for libtorrent, the port has a patch that inserts #include <sys/types.h> before the include of netinet/in.h in connection_manager.h
-
veg
you're amazing, RhodiumToad
-
RhodiumToad
it also has a couple of other patches that insert required includes
-
veg
I was about to ask how I could pick at ports
-
rtprio
veg: pick how? update? modify?
-
BillyJoeBob
Anyone else have issues with formatting SD cards with a USB multicard reader?
-
BillyJoeBob
gpart add -t ms-basic-data da0 keeps saying invalid argument, mkfs.exfat /dev/da0 keeps saying failed to get the size of /dev/da0, dmesg says da0: Attempt to query device size failed: NOT READY, Medium not present although running gpart destroy da0 and gpart create -s mbr da0 both run without issue.
-
BillyJoeBob
gpart add -t ms-basic-data da0 keeps saying invalid argument, mkfs.exfat /dev/da0 keeps saying failed to get the size of /dev/da0, dmesg says da0: Attempt to query device size failed: NOT READY, Medium not present although running gpart destroy da0 and gpart create -s mbr da0 both run without issue.
-
BillyJoeBob
Opps
-
BillyJoeBob
Sorry for the double post
-
RhodiumToad
gpart show da0 shows what?
-
RhodiumToad
ms-basic-data isn't valid for mbr, it's a gpt type
-
RhodiumToad
I _think_ when i've seen exfat filesystems on mbr the type has been ntfs, though I'm not sure
-
BillyJoeBob
Geom name: da0
-
BillyJoeBob
modified: false
-
BillyJoeBob
state: OK
-
BillyJoeBob
fwheads: 255
-
BillyJoeBob
fwsectors: 63
-
BillyJoeBob
last: 124735487
-
BillyJoeBob
first: 63
-
BillyJoeBob
entries: 4
-
BillyJoeBob
scheme: MBR
-
BillyJoeBob
Consumers:
-
BillyJoeBob
Hmm
-
BillyJoeBob
Maybe paste on pastebin
-
RhodiumToad
that's not the output of gpart show :-)
-
BillyJoeBob
-
VimDiesel
Title: debian Pastezone
-
RhodiumToad
anyway, if you're using mbr, you need gpart add -t ntfs da0 mkfs.exfat /dev/da0s1
-
RhodiumToad
(I _think_ ntfs is the correct type)
-
BillyJoeBob
wtf, that works
-
BillyJoeBob
lol
-
BillyJoeBob
It's actually for a Nikon D3500 camera which uses exfat. I can't read the data from that camera so I'm hoping that formatting it in a way that FreeBSD likes will help.
-
RhodiumToad
why can't you read it?
-
BillyJoeBob
I have no idea but when I mount the SD card, it shows all the folders but no files. Put it in a Windows machine and I can see everything.
-
BillyJoeBob
Well, that's good news. I'm able to take a picture. Now to pop the card back into FreeBSD and see if it can read the files now.
-
BillyJoeBob
I don't get this. The camera can see the images on the SD card, I see the folders the camera made but the files are no where to be found :/
-
BillyJoeBob
And I know that the image is being stored to the SD card since the camera can't show any images with the card missing. Hmm
-
BillyJoeBob
And I've been able to access files from an exfat formatted drive/SD card before so I'm clueless as to whnat's going on.