Re: [bbr-dev] BBR v2.0 installation issues from/on 4.15.0-118-generic 16.04.7 LTS Ubuntu

154 views
Skip to first unread message

Neal Cardwell

unread,
Oct 1, 2020, 11:38:29 AM10/1/20
to Amal Boubaker, BBR Development
Hi,

Thanks for the report.

What kind of virtual machine is the target remote machine? (Google Cloud, VMWare, etc?) The .config file used by the gce-install.sh is configured for a Google Cloud VM, but may not have the drivers needed to work for other virtual or physical platforms.

I just double-checked, and FWIW for me the current tip of the v2alpha branch ( https://github.com/google/bbr/tree/v2alpha ) builds and boots on a Google Cloud VM running an Ubuntu 18.04.3 LTS image.

neal


On Thu, Oct 1, 2020 at 10:23 AM Amal Boubaker <boubak...@gmail.com> wrote:
Dear community,


I hope you are all doing well!

I tried to patch/install BBR v2.0 from a host machine (running on a 4.15.0-118-generic 16.04.7 LTS Ubuntu) to a target remote Virtual Machine (running, as well, on a 4.15.0-118-generic 16.04.7 LTS Ubuntu), following the instructions found here:
However, these errors pop-up (and the target VM i totally screwed, which normal after an aborted installation) (please find attached to this email a screenshot of the installation from the host's point of view)

Did anyone come across these errors? And perhaps knows how to solve such errors?

Thank you very much, in advance, for your time and consideration!


Best regards,
Amal BOUBAKER


--
You received this message because you are subscribed to the Google Groups "BBR Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbr-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbr-dev/70a9887c-3b98-45fd-a966-973bbb53828en%40googlegroups.com.

Amal Boubaker

unread,
Oct 1, 2020, 11:44:38 AM10/1/20
to Neal Cardwell, BBR Development
Hi,

I am sorry I should have mentioned it. I am using an Oracle VM VirtualBox.

Thank you.

Best regards,
Amal

Neal Cardwell

unread,
Oct 1, 2020, 1:13:34 PM10/1/20
to Amal Boubaker, BBR Development
I see. Since the VM is a VirtualBox VM, my guess would be that the .config does not have the driver support needed on that platform.

If you want to use VirtualBox, you may need to run:
  make menuconfig
and then select the options needed for VirtualBox.

See the section:  "When running Gentoo as a guest system, enable the following kernel options on the guest system (either built-in or as modules) to get proper support for the hardware emulated by VirtualBox..."

If you find a set of .config options that work for VirtualBox, and let me know what your .config file is, I can try to add those to the v2alpha .config.

Alternatively, if you don't mind long build times, one options is the following: if you have booted into Virtualbox with some OS, you can grab the config from the booted kernel with something like:
  cp /boot/config-$(uname -r) .config
Then you can edit the CONFIG_ lines in that .config for congestion control to be something like:

CONFIG_TCP_CONG_CUBIC=y
CONFIG_TCP_CONG_DCTCP=y
CONFIG_TCP_CONG_BBR=y
CONFIG_TCP_CONG_BBR2=y
CONFIG_DEFAULT_BBR2=y

Then you can build using that config. But that will likely take a long time to build if you are starting from a major distribution like Ubuntu.

neal

Reply all
Reply to author
Forward
0 new messages