Coder Social home page Coder Social logo

dragonfly-packer's Introduction

Packer templates for DragonFly BSD

This is a set of scripts and templates for packer to produce Vagrant usable boxes. The boxes will be available here.

Our intention is to have one box per release supported (minor releases included 5.0.1, 5.0.2, ...) and a weekly box for latest (snapshot).

Please bear in mind that this repo contains scripts and templates specific to our build infrastructure and that may not be suitable for your own case, although in anycase pull requests are welcome :-)

We will build boxes for the following providers:

  • libvirt
  • Virtualbox (built-in in Vagrant)
  • VMWare (the vagrant-vmware plugin requires a license but you can use mech)
  • Hyper-V (some caveats)

At this moment DragonFly BSD does not have support for any virtualization technology with acceleration so you'll have to run the DragonFly BSD boxes in another OS like Linux Windows or MacOS.

References

This templates are loosely in the work from other people:

Probably somebody else's ...

dragonfly-packer's People

Contributors

mneumann avatar tuxillo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dragonfly-packer's Issues

hyperv-iso

I've been trying to get dfly running on Hyper-V for the last 2 or perhaps 3 years, and it keeps failing. I hoped the 6.0.0 would fix things, but it only got worse.

The short version, sometime ago dfly stopped working properly with the virtual hard disk interface on Hyper-V. I think the last time I was able to build an image, I actually had to swap the VHD out for a physical disk. But it seems that even that trick isn't working anymore.

I've tried switching to an older virtual hardware configuration, but the oldest my test Win 10 system supports is v8.0 which is relatively recent, so I don't know if going back further would help.

I've spent countless hours trying various combinations of boot flags trying to get this fixed, but nothing has worked. I just can't seem to read/write to the disk device.

Disabling DMA, and write caching with hw.ata.ata_wc=0 and hw.ata.ata_dma=0 will eliminate most of the kernel errors, but it doesn't fix the problem. And I'll still see the error message "ad0: timeout waiting for DRQ" ... note that with DMA disabled the drive is forced into PIO4 mode. But neither PIO4 or WDMA2 mode appear to work, and those appear to be the only modes that are supported.

Gen 1 VMs allow IDE or SCSI buses, and legacy network adapters. Moving the virtual disk to a SCSI control on a gen 1 VM doesn't help, since dfly doesn't find it all. In fact it doesn't appear to find the SCSI bus at all (no scbus). Switching to a gen 2 VM doesn't help ,because it requires disks to be on the SCSI bus, and thus doesn't seem them. Gen 2 VM also require the newer virtualized network adapter, which dfly doesn't support.

Can someone tell me what magic combination boot loader params are needed to fix this? I've played around with the following flags (as well as using the natacontrol utility to force a mode manually), but nothing seems to work:

hint.acpi.0.disabled=1
hint.ahci.disabled=1
hint.ahci.force150=1
hint.ahci.nofeatures=1
hint.ata.0.disabled=1
hint.atapci.0.msi=0
hint.ehci.0.disabled=1
hint.xhci.0.disabled=1
hw.ahci.force=1
hw.ahci.msi.enable=0
hw.ata.ata_dma=0
hw.ata.ata_dma_check_80pin=0
hw.ata.ata_wc=0
hw.ata.atapi_dma=0
hw.ata.disk_enable=1
hw.ata.wc=0
hw.bwn.usedma=0
hw.clflush_disable=1
kern.cam.ada.write_cache=0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.