Netgate m1n1wall

Author Topic: NanoBSD+VGA Snapshots  (Read 2459 times)

0 Members and 1 Guest are viewing this topic.

Offline rcfa

  • Sr. Member
  • ****
  • Posts: 565
    • View Profile
NanoBSD+VGA Snapshots
« on: May 16, 2012, 12:46:31 am »
Just a small question: are the VGA versions of the nanobsd supposed to be automatically built, or is that something you build manually for the stable releases, or is vga presence now automatically detected and is part of the regular nanobsd build anyway?

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14934
    • View Profile
NanoBSD+VGA Snapshots
« Reply #1 on: May 16, 2012, 07:53:48 am »
We have to set a flag in the builder config, it's an either-or build for nanobsd or nanobsd-vga, so we do one run of each for releases. There is no automatic detection.

The current builder doesn't support doing both in the same run. It could, but that would practically double the already loooooong amount of time it takes to do a snapshot run.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline rcfa

  • Sr. Member
  • ****
  • Posts: 565
    • View Profile
NanoBSD+VGA Snapshots
« Reply #2 on: May 16, 2012, 08:05:55 am »
How about on odd dates a serial build, and on even days a VGA build?
That way the build time doesn't get longer, and we who require the VGA feature aren't left out of the fun, and at most someone has to wait one day to get updated build?

Just an idea ;)

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14934
    • View Profile
NanoBSD+VGA Snapshots
« Reply #3 on: May 16, 2012, 08:10:40 am »
Just not feasible. When we test NanoBSD, the gear we test with is primarily ALIX, so having to way for an alternate day or snapshot run to see if a test build works is out of the question, especially when it already can take 6-8 hours for a snapshot run to finish as-is.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline rcfa

  • Sr. Member
  • ****
  • Posts: 565
    • View Profile
NanoBSD+VGA Snapshots
« Reply #4 on: May 16, 2012, 08:30:32 am »
Bummer. I guess someone needs to donate some SSDs to speed up the build times, presuming disk speed is the bottleneck...
...and/or come up with a smart idea like an autodetecting kernel that makes two separate builds superfluous....
...and/or find a way to do it in a single build in parallel, i.e. build everything at once, and then just package up the different components, which should differ only minimally, and output two packages. That would at least mean all the source is only compiled once, the linker would have to run twice on some parts, and the disk image would have to be packaged up twice

Kind of bad when a difference that small requires an entire 6-8h build run :(

Anyway, thanks for the answer.

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14934
    • View Profile
Re: NanoBSD+VGA Snapshots
« Reply #5 on: May 16, 2012, 08:45:16 am »
[Split this off into its own topic]

The servers are plenty fast, it's just that all of the IO operations required to create and duplicate nanobsd images are very high. It would probably kill an SSD even over time.

There are too many things that differ to do them both in one run effectively, namely it would have to build two completely different sets of kernels and other various adjustments that need to happen along the way. There is no way a single image could ever be "automatic" to do this, some hardware will bomb if it tries to load a kernel with VGA in it, there's no working around that.

Even if we altered/injected the kernels into NanoBSD images it's still quite a bit of duplication of files and such. That's what we do for the serial memstick image.

If someone wants to tinker with the builder code and find a way to do it, more power to them, have at it. The current NanoBSD+VGA code was contributed or it may still not exist.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline rcfa

  • Sr. Member
  • ****
  • Posts: 565
    • View Profile
Re: NanoBSD+VGA Snapshots
« Reply #6 on: May 20, 2012, 08:41:06 pm »
Is it possible to upgrade from a 2.0.1 VGA nanobsd to a 2.1 serial nanobsd?
Is it possible to later upgrade from a pre-release 2.1 serial nanobsd to a release 2.1 VGA kernel?

If so, I could still test 2.1, because I really only need the console for the initial setup, after that, I have ssh and the web interface, but I would have to have a way to revert back to a VGA

I assume the config files are not downward compatible, such that going from a 2.1 prerelease back to a 2.0.1 release wouldn't work, right?

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14934
    • View Profile
Re: NanoBSD+VGA Snapshots
« Reply #7 on: May 20, 2012, 08:43:13 pm »
Yes/Correct on all counts.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline DigitalSpirit

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: NanoBSD+VGA Snapshots
« Reply #8 on: August 01, 2012, 02:05:43 am »
If i create wrap_vga kernel and replace it in latest snapshot img and change bootloader from boot0sio to boot0
will vga work?