-
hernan
hi, im trying to boot and imported win7 img in bhyve. it boots into uefi interactive shell. any ideas how to solve this ?
-
michaeldexter
Was the Windows 7 installation already UEFI-ready?
-
hernan
michaeldexter: dont know.. its from a virtualbox vm
-
hernan
maybe not
-
hernan
virtualbox vdi*
-
hernan
is there an alternatie config from uefi that i could use in the vm.conf ?
-
hernan
michaeldexter: maybe its legacy
-
michaeldexter
hernan: It would need to be converted to UEFI first. Reportedly this can be done with some versions of Windows 7.
-
meena
this is a fascinating case of dunning kruegerism:
bugs.freebsd.org/bugzilla/show_bug.cgi?id=271403
-
VimDiesel
Title: 271403 – System unusable at first boot after install of 13.2-RELEASE amd64
-
meena
like, yeah, been there, done that
-
vkarlsen
meena: Oh, it's Dennis
-
» RhodiumToad grumbles about the lack of a siginvertset
-
meena
vkarlsen: who's Dennis?
-
elgrande
grahamperrin: you maybe saw Mina here?
-
» RhodiumToad is not grahamperrin, but notes that Mina (meena) is often here but is currently marked afk
-
elgrande
I set up a azure cloud native freebsd instance with 2 vcpus up and running. Trying to make a Orleans bootstrap script soon(tm).
-
elgrande
RhodiumToad: a meena, I recall here.
-
elgrande
for root on azure you can create a different user in azure console and then # sudo /bin/csh
-
elgrande
password based ssh login works there have not tried ssh keys there.
-
meena
I wonder if this was about cloud-init
-
vkarlsen
meena: Dennis Clarke of Blastwave fame
-
» meena used to be an OpenCSW committer
-
last1
what might cause zfs send dset@now | cat > /dev/null to only do about 100MB/sec ?
-
last1
dd read/writes can do 600MB/sec, FTP/SCP transfers of files also net 500-700MB/sec
-
meena
last
-
meena
last1: what if you skip cat?
-
meena
I don't think our cat is as optimised as GNU cat
-
last1
even without cat, I get about the same speeds
-
last1
zfs send dset@now | mbuffer -s 128k -m 1G | pv -rtab > /dev/null
-
last1
110-120MB/sec
-
qtc`
"gptzfsboot tries to find all ZFS pools that are composed of BIOS-visible hard disks or partitions on them." man GPTZFSBOOT(8)
-
qtc`
does anyone know if a way to boot a ZFS pool form a non BIOS-visible disk?
-
_xor
meena: Not sure if it's an issue on my end, but FreeBSD-clibs-dev had an issue installing due to not being able to rename some temp files (or dirs) in /usr/include/c++/v1.
-
_xor
meena: Can't remember off the top of my head, but it looked like existing files in /usr/include/c++/v1 weren't being dealt with before installing the new ones. Though now that I think about, if it's using /usr/bin/install, then that should happened automatically.
-
qtc`
Usecase: use USB to boot NVME on a motherboard that doesn't support booting from NVME. (I've done this on Linux, so I would assume freeBSD could also do this as well)
-
meena
_xor: i usually blame whoever committed last
-
elgrande
Any idea how to resolve this so that Arch Linux is satisfied:
bugs.freebsd.org/bugzilla/show_bug.cgi?id=69 ?
-
VimDiesel
Title: 69 – "Erase pencil mark!" does not leave enough clues
-
RhodiumToad
qtc`: depends what exactly you mean by "boot"
-
RhodiumToad
qtc`: on a non-UEFI system, neither boot nor loader can access anything that the bios can't access, so all of /boot would need to be on the USB. but from that point on, anything that the kernel can access is available
-
acu
is 14.0 suppose to be stable ? if so - where is the download for it --- stable/14 branch --- 12 May 2023 -stable/14 branch created; release engineering continues on this branch
-
acu
-
VimDiesel
Title: FreeBSD 14.0 Release Process | The FreeBSD Project
-
acu
-
VimDiesel
Title: Get FreeBSD | The FreeBSD Project
-
acu
-
VimDiesel
Title: Index of /snapshots/amd64/amd64/ISO-IMAGES/14.0/
-
coreystephanphd
acu: No, the code freeze was delayed. The core team is still pushing things to that step first.
-
acu
coreystephanphd, thanks - anyhow - once in stable, whatever it is built on that will end in 14 Release I assume
-
coreystephanphd
Yes. There will not be binary upgrades available until (at least) -ALPHA, otherwise -BETA or -RC. So for an ordinary end user not doing production testing etc., 13.2-RELEASE (which just came out a month or 2 ago) is the place to be.
-
markmcb
if using synth, do i just use "make config" if i want to tweak a port's config options, or is there a way to do that in synth? i'm not seeing one in the docs.
-
» elgrande is anxious to see how azure likes -CURRENT (GitHub version)
-
qtc`
RhodiumToad > anything that the kernel can access is available.
-
qtc`
thats the method I used with Linux. but I don't know how to accomplish this with freeBSD
-
qtc`
maybe I'm just looking at the wrong portion docs?
-
RhodiumToad
what you need to do is to split off /boot from the rest of the root filesystem, put it on a bootable USB, and put appropriate definitions into /boot/loader.conf (and in /etc/fstab to mount /boot)
-
RhodiumToad
I don't know if it's documented as such
-
RhodiumToad
is this a UEFI system or legacy boot? and does it support GPT?
-
qtc`
No, right now I'm working on a MBR/BIOS system
-
qtc`
But I plan to move one of the installs over toa GPT system when its setup/configured correctly
-
RhodiumToad
ok. so the USB needs to be partitioned for bootable MBR, and you need to install /boot/boot on it as bootcode
-
RhodiumToad
give it an "a" slice big enough to hold /boot with some spare space
-
RhodiumToad
then put vfs.root.mountfrom="zfs:zroot/ROOT/default" or whatever in the loader.conf on the usb
-
qtc`
gpart bootcode -b /boot/pmbr -p /boot/boot -i 2 da0
-
qtc`
look correct?
-
RhodiumToad
it's /boot/mbr for non-GPT
-
RhodiumToad
actually no
-
RhodiumToad
gpart bootcode -b /boot/mbr da0 and gpart bootcode -b /boot/boot da0s1 (or whatever the active partition is)
-
RhodiumToad
-p is only used for GPT where you have a freebsd-boot partition, which isn't what you're doing here
-
RhodiumToad
I think /boot/boot expects a BSD-style partition table, too
-
RhodiumToad
so gpart create -s MBR da0; gpart add -t freebsd da0; gpart create -s BSD da0s1; etc.
-
elgrande
14 kernel boots fine waiting for buildworld if i may keep my iPhone such long.
-
elgrande
but most important: azure uses tux as logo for a freebsd vm in the app.
-
RhodiumToad
qtc`: are you getting the idea or do I need to go into more detail?
-
qtc`
I think I get the idea, will need to reformat the usb and copy data again before i know if i got it
-
_xor
Is there a non-polling way to be notified when a jail stops/dies? Like is there a file descriptor or something created somewhere that I can select()?
-
_xor
Also, what are prison_* functions?
-
_xor
Oh, nevermind, just saw the comment. "Kernel support functions for jail()"
-
qtc`
I'm definitely doing something wrong
pad.bsd.to/p/usb-boot
-
VimDiesel
Title: FreeBSD Etherpad
-
qtc`
I'm getting "Boot error"
-
qtc`
RhodiumToad> does what i'm doing look correct?
-
parv
The "etherpad" -- which widget produces the raw text without any controls, formatting, etc?
-
parv
"Print" produces the browser print dialog.
-
V_PauAmma_V
Etherpad is for group work on documents. Did you want the pastebin (
bsd.to) instead?
-
VimDiesel
Title: dpaste
-
parv
qtc` posted on etherpad; so was trying to see if could get that in plainer text. V_PauAmma_V, thanks for the reminder about "bsd.to"
-
qtc`
here is the pastebin
bsd.to/HNpP
-
VimDiesel
Title: dpaste/HNpP (Bash)
-
parv
Does the order of "newfs" & "gpart bootcode" matter? Or, my question is would "newfs" not erase bootcode?
-
midnight
ahh.. I run bhyve guests with a stdio and just stuff them into the background with a tmux session. I accidentally killed the tmux window that a single bhyve guest was using. bhyve is still running in the background. Is there some way of re-attaching to what I'm assuming is now a dangling stdio handle?
-
midnight
I *could* just restart the bhyve in a fresh tmux window but.. ehh.
-
qtc`
parv> Does the order of "newfs" & "gpart bootcode" matter?
-
qtc`
I would think so, so when it didnt work I rebooted into the live installer and ran the gpart bootcode for da0 again
-
qtc`
so it doesn't look like that is the issue
-
parv
Ok
-
elgrande
any good ios freebsd ssh client that can be recommended?
-
parv
Don't know about "ios freebsd ssh client"; For iOS, ty mosh & La Terminal
-
parv
I haven't used any much
-
elgrande
ty, one of those works with screen off?
-
parv
Can't say
-
elgrande
trying la terminal when dropping out again
-
elgrande
la terminal looks promising
-
midnight
woops, reptyr will instakill a bhyve session. restarting the bhyve guest it is then.
-
meena
midnight: what? how?
-
midnight
meena: I was running bhyve using a stdio com1 in a tmux window. I wanted to kill that session, but not the whole server, so I c-b,: kill-window by accident. The bhyve guest was functioning fine in the background. I wanted to open a new shell in that tmux, then reptyr to recapture the stdio for that guest. I installed reptyr, then ran: reptyr [bhyve pid]. That failed with "Unable to attach to pid 61149:
-
midnight
Capabilities insufficient". I then observed that the bhyve process was gone, and the guest was not responding to network ping. I then completed the kill with bhyvectl --destroy, and restarted. It's possible I missed something obvious I guess.
-
meena
if you can reproduce this, especially with another type of console attached to it, so you may be able to observe what's going on, it might very well be worth a bug report
-
meena
it doesn't matter what reptyr is doing, bhyve should be more resilient than that
-
midnight
Doesn't reptyr do some process injection stuff with ptrace?
-
meena
I don't care
-
meena
00:25 <meena> it doesn't matter what reptyr is doing, bhyve should be more resilient than that
-
midnight
But, probably I agree with you. It's okay in my case, it was more a "ooh opportunity to try"
-
meena
that's how i discover a lot of bugs
-
midnight
indeed :-D
-
meena
"this is probably going to work out just fine!" followed by, "there's no reason why this shouldn't have worked out just fine! wtf?"
-
midnight
hah, heard that