Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102978 - bridge is not perfect
Summary: bridge is not perfect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 07:43 UTC by Patrizio Bassi
Modified: 2005-08-30 08:52 UTC (History)
0 users

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 Patrizio Bassi 2005-08-18 07:43:42 UTC
i'm using bridge with lastest -pre5 baseyout. 
 
get 2 problems: 
1)device eth0 entered promiscuous mode 
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 
eth0: Setting promiscuous mode. 
eth0: Setting promiscuous mode. 
eth0: Setting promiscuous mode. 
eth0: Setting promiscuous mode. 
eth0: Setting promiscuous mode. 
device eth1 entered promiscuous mode 
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9 
eth1: Setting promiscuous mode. 
eth1: Setting promiscuous mode. 
eth1: Setting promiscuous mode. 
eth1: Setting promiscuous mode. 
eth1: Setting promiscuous mode. 
 
promiscuos mode asked 5 times per eth interface. 
i'm not sure it's kernel driver or bridge asks 5 times that. 
 
2) sure of this: 
when halting the system i get eth0, eth1 stopped, bridge interface too, but it says that eth0 
interface doesn't exists (of course...it has been stopped previously). 
 
suggestion: stop bridge service before stopping eth or add a check for running eth interfaces.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-08-30 05:56:42 UTC
We only set promiscous mode once per bridge port, so it's likely a driver issue
as my dmesg only shows promiscous being set once.

As to the ordering issue, you need to have a depend function in conf.d/net like so

depend_br0() {
   need net.eth0 net.eth1
}
Comment 2 Patrizio Bassi 2005-08-30 08:47:11 UTC
1) ok 
 
2) doesn't work now 
/etc/init.d/net.eth1 stop 
 * Stopping eth1 
 *   Bringing down eth1 
 *     Shutting down eth1 ...                                                                                         [ ok ] 
root@blight conf.d # /etc/init.d/net.eth0 stop 
 * Stopping eth0 
 *   Bringing down eth0 
 *     Shutting down eth0 ...                                                                                         [ ok ] 
root@blight conf.d # /etc/init.d/net.blight restart 
 * Starting eth0 
 *   Bringing up eth0 
 *     0.0.0.0                                                                                                        [ ok ] 
 * Starting eth1 
 *   Bringing up eth1 
 *     0.0.0.0                                                                                                        [ ok ] 
 * Starting blight 
 *   Bringing up blight 
 *     172.16.92.100 
 *     blight does not exist    
Comment 3 Patrizio Bassi 2005-08-30 08:52:29 UTC
sorry my fault, works perfectly now.