i386/122794: Kernel panic after brings lagg(8) up if NICs are not bringed up before

Robert Hass robhass at gmail.com
Tue Apr 15 14:50:04 UTC 2008


>Number:         122794
>Category:       i386
>Synopsis:       Kernel panic after brings lagg(8) up if NICs are not bringed up before
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 15 14:50:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Robert Hass
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD lab02 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Apr 15 09:04:04 CEST 2008     root at lab02:/usr/src/sys/i386/compile/LAB  i386

>Description:
I noticed lagg(8) bug. If I will issue below commands:

ifconfig lagg0 create
ifconfig lagg0 laggproto lacp laggport fxp0 laggport fxp1
ifconfig lagg0 1.1.1.2/24
ifconfig lagg0 up

Effect is kernel panic.

If I will bring fxp0 and fxp1 (ifconfig fxpX up) before adding
them do lagg0 then everthing is working correctly.

[root at lab02 ~]# dmesg | grep fxp
fxp0: <Intel 82558 Pro/100 Ethernet> port 0xdcc0-0xdcdf mem 0xfa001000-0xfa001fff,0xff100000-0xff1fffff irq 10 at device 13.0 on pci0
miibus0: <MII bus> on fxp0
fxp0: Ethernet address: 00:08:c7:59:ab:3f
fxp0: [ITHREAD]
fxp1: <Intel 82558 Pro/100 Ethernet> port 0xdca0-0xdcbf mem 0xfa000000-0xfa000fff,0xff000000-0xff0fffff irq 7 at device 14.0 on pci0
miibus1: <MII bus> on fxp1
fxp1: Ethernet address: 00:08:c7:52:b7:85
fxp1: [ITHREAD]

>How-To-Repeat:
Just start the system and use below commands:

ifconfig lagg0 create
ifconfig lagg0 laggproto lacp laggport fxp0 laggport fxp1
ifconfig lagg0 1.1.1.2/24
ifconfig lagg0 up

Effect -> PANIC

fxp0 and fxp1 are not configured in rc.conf or command line

>Fix:
None

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list