misc/134051: SK driver does not honor carp advskew unless PROMISC
mode is enabled
Scott Ullrich
sullrich at gmail.com
Mon Apr 27 21:10:04 UTC 2009
>Number: 134051
>Category: misc
>Synopsis: SK driver does not honor carp advskew unless PROMISC mode is enabled
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 27 21:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Scott Ullrich
>Release: 8-CURRENT
>Organization:
pfSense
>Environment:
FreeBSD gate1.geekgod.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Apr 24 13:41:50 EDT 2009 sullrich at FreeBSD_8_Builder.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8 i386
>Description:
CARP does not work correctly with the SK driver unless PROMISC mode is enabled. This problem is present on FreeBSD6-FreeBSD8. It seems the multicast filter is not being setup correctly?
skc0: [ITHREAD]
skc1: <Marvell Gigabit Ethernet> port 0xd100-0xd1ff mem 0xd0420000-0xd0423fff irq 19
at device 5.0 on pci5
skc1: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
sk1: <Marvell Semiconductor, Inc. Yukon> on skc1sk1: Ethernet address: 00:10:f3:0b:49:23
miibus5: <MII bus> on sk1
e1000phy5: <Marvell 88E1011 Gigabit PHY> PHY 0 on miibus5
e1000phy5: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
skc1: [ITHREAD]
skc2: <Marvell Gigabit Ethernet> port 0xd200-0xd2ff mem 0xd0424000-0xd0427fff irq 18
at device 6.0 on pci5
skc2: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
sk2: <Marvell Semiconductor, Inc. Yukon> on skc2sk2: Ethernet address: 00:10:f3:0b:49:24
miibus6: <MII bus> on sk2
>How-To-Repeat:
Install 2 FreeBSD machines. One with SK nics and one without.
One the machine with SK NICS:
ifconfig carp0 create
ifconfig carp0 192.168.1.1/24
ifconfig carp0 advskew 25
On the second machine:
ifconfig carp0 create
ifconfig carp0 192.168.1.1/24
ifconfig carp0 advskew 254
Notice the machine with the lower advskew is BACKUP.
Now issue the command on the machine with SK nics:
ifconfig sk0 PROMISC
carp0 should go from BACKUP to MASTER after enabling PROMISC.
>Fix:
ifconfig carp0 PROMISC
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list