Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178972 - app-emulation/virtualbox:- tap0 (bridge) networking don't work when compiled w/ gcc 4.1.1
Summary: app-emulation/virtualbox:- tap0 (bridge) networking don't work when compiled ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-18 08:16 UTC by Sergey Ya. Korshunoff
Modified: 2007-05-20 05:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ya. Korshunoff 2007-05-18 08:16:30 UTC
In system with a portage-2007-05-01, glibc-2.5, build with a gcc-4.1.1 compiler do not work tap0 (bridge) networking in VirtualBox-1.3.8. With NAT networking all is OK. Same system (portage, /etc/make.conf, /etc/portage/*, /etc/make.profile, kernel), build with gcc-3.4.6 do not have such problem. I do not like to rebuild gcc-4.1.1 system with gcc-3.4.6 because this would not give a problem package.

Is there a simple method to check a tap0 interface (included in br0) ?


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-18 08:36:47 UTC
Maybe you could post some errors? 'Do not work' is not much useful to diagnose the problem... Also post emerge --info output.
Comment 2 Alessio Cassibba (X-Drum) 2007-05-18 12:14:25 UTC
hi,
just tested again, virtualbox-1.3.8 (x86 machine) with:
sys-devel/gcc-4.1.1-r3
sys-libs/glibc-2.5-r2
sys-apps/portage-2.1.2.2
sys-apps/baselayout-1.12.9-r2
net-misc/bridge-utils-1.2
sys-apps/usermode-utilities-20040406-r1

i was able to setup a VM with Host interface tap0 and then surf
the web using the vm.
x-drum@storm ~ $ sudo brctl show:
bridge name     bridge id               STP enabled     interfaces
br0             8000.0019b95cbaf5       no              eth0
                                                        tap0

all the system (including virtualbox) was compiled with gcc-4.1.1

Please post some errors (as said in comment #1) 
Comment 3 Sergey Ya. Korshunoff 2007-05-18 19:24:36 UTC
(In reply to comment #2)
> just tested again, virtualbox-1.3.8 (x86 machine) with:
> sys-devel/gcc-4.1.1-r3
> sys-libs/glibc-2.5-r2sys-apps/portage-2.1.2.2
> sys-apps/baselayout-1.12.9-r2
> net-misc/bridge-utils-1.2
> sys-apps/usermode-utilities-20040406-r1
>
> Please post some errors (as said in comment #1) 

Nice to know that there is a success with gcc 4.1.1 In my case there is no errors. Guest OS can not get dhcp info from gateway.

"emerge --info" some times later (cuurently work with gcc-3.4.6 system)

PS: how to test tap0 without VirtualBox?
Comment 4 Sergey Ya. Korshunoff 2007-05-19 03:09:52 UTC
(In reply to comment #2)
> just tested again, virtualbox-1.3.8 (x86 machine) with:
> sys-devel/gcc-4.1.1-r3
> sys-libs/glibc-2.5-r2

oops: i got not working tap0 in VirtualBox in gcc-3.4.6 system too. There was a use flags change...
Comment 5 Sergey Ya. Korshunoff 2007-05-20 05:52:53 UTC
There was a file loss-corruption (power failure).
  emerge -ek world
helped