GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    cuddle (cuddle@mastodon.bsd.cafe)'s status on Wednesday, 22-Nov-2023 17:14:06 JST cuddle cuddle

    Is anyone having trouble passing through a network device through QEMU into a FreeBSD (14) VM (guest)?

    I'm not exactly sure what to do, since QEMU officially has docs that are quite outdated for BSD, but for whatever reason, after upgrading to FreeBSD 14 (from 13), I can't connect to the network anymore.

    Here's the argument: -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::5555-:22

    Also tried bridge, but that also doesn't work.

    In conversation Wednesday, 22-Nov-2023 17:14:06 JST from mastodon.bsd.cafe permalink
    • Embed this notice
      gnutelephony (gnutelephony@floss.social)'s status on Wednesday, 22-Nov-2023 17:14:05 JST gnutelephony gnutelephony
      in reply to

      @cuddle I suspect you want -net nic,model=virtio instead of e1000.

      In conversation Wednesday, 22-Nov-2023 17:14:05 JST permalink
    • Embed this notice
      gnutelephony (gnutelephony@floss.social)'s status on Wednesday, 22-Nov-2023 17:38:26 JST gnutelephony gnutelephony
      in reply to

      @cuddle I have a shell script I use to run freebsd from qemu easily in serial console mode with ssh access and user mode networking. And I had tried the FreeBSD 14 rc candidate with it. But it was on an arch system, so its also was using a recent kernel and qemu, too.

      In conversation Wednesday, 22-Nov-2023 17:38:26 JST permalink
    • Embed this notice
      cuddle (cuddle@mastodon.bsd.cafe)'s status on Wednesday, 22-Nov-2023 17:38:27 JST cuddle cuddle
      in reply to
      • gnutelephony

      @gnutelephony I tried with virtio too, but no luck...

      In conversation Wednesday, 22-Nov-2023 17:38:27 JST permalink

      Attachments


      1. https://bsdcafemedia01.server-gestiti.it/bsdmmedia01/media_attachments/files/111/453/251/197/686/160/original/24843b106f960020.png
    • Embed this notice
      gnutelephony (gnutelephony@floss.social)'s status on Wednesday, 22-Nov-2023 18:11:30 JST gnutelephony gnutelephony
      in reply to

      @cuddle
      This is what my qemu config roughly looks like for freebsd...

      disk="${HOME}/nfs/qemu/$lock.qcow2"
      net="-net nic,model=virtio -net user,hostfwd=tcp::${port}-:22"
      drive="-drive if=virtio,media=disk,index=0,file=${disk}"
      serial="-nographic -serial mon:stdio"
      console="-display curses"
      qemu="qemu-system-x86_64 -accel kvm"
      $qemu $name $mem $nic $net $drive $serial

      In conversation Wednesday, 22-Nov-2023 18:11:30 JST permalink
    • Embed this notice
      cuddle (cuddle@mastodon.bsd.cafe)'s status on Wednesday, 22-Nov-2023 18:11:31 JST cuddle cuddle
      in reply to
      • gnutelephony

      @gnutelephony I'm on Debian 12 (QEMU 7.2.5). I'm not quite sure what's wrong going on, recently with FreeBSD 13, I encountered an error where the boot process gets stuck after the installation. On FreeBSD 14, I'm not seeing this issue anymore. I've tried with VirtualBox and it worked just fine there, so maybe as a last resort, I'll try (network issue) inside VirtualBox later this evening...

      Here's that previous post: https://mastodon.bsd.cafe/@cuddle/111214712236785615

      In conversation Wednesday, 22-Nov-2023 18:11:31 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: bsdcafemedia01.server-gestiti.it
        cuddle (@cuddle@bsd.cafe)
        from cuddle
        Attached: 1 image Is anyone facing the same issue with QEMU where the FreeBSD guest gets stuck on the boot process? It gets stuck at "Loading configured modules" and since there's no verbose message, it's hard to know if it's loading to get into a deadlock. QEMU Version: 7.2.5 (debian 12 packaged)

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.