misc/154443: Kernel module bridgestp.ko missing after upgrade (if_bridge.ko depend on it)

Martin Olsson elof2 at sentor.se
Tue Feb 1 18:10:10 UTC 2011


>Number:         154443
>Category:       misc
>Synopsis:       Kernel module bridgestp.ko missing after upgrade (if_bridge.ko depend on it)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 01 18:10:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Martin Olsson
>Release:        6.4 -> 7.x
>Organization:
>Environment:
>From 6.4-RELEASE to e.g. 7.3-RELEASE
>Description:
I did a binary upgrade from FreeBSD 6.4 (i386) to FreeBSD 7.3 using 'freebsd-update'. Everything is working fine except bridge().

Fortunetly, I don't manage the machine via the bridge0 interface. If I did, the remote upgrade would have cut me off and no longer let me ssh to it again. ...hence the Serious severity.


The problem is simply that the file /root/kernel/bridgestp.ko is missing on the upgraded system. When ifconfig try to create bridge0, the kernel module if_bridge.ko is loaded and when it in turn try to load bridgestp.ko, dmesg say:
"KLD if_bridge.ko: depends on bridgestp - not available"



On another FreeBSD 7.3 machine, installed as 7.3 directly from CD, the file /root/kernel/bridgestp.ko is present and bridge0 can be created. The problem only seem to exist when performing a major upgrade. (Note: I have only tested a binary upgrade, not the "build world" approach)


On the upgraded 7.3 machine I've run freebsd-update in IDS-mode. It didn't complain about any /boot/kernel/* files at all.
The upgrade itself didn't log any errors.

>How-To-Repeat:
Upgrade a 6.4 system to 7.x.
'/usr/sbin/freebsd-update -r 7.3-RELEASE upgrade'
>Fix:


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


More information about the freebsd-bugs mailing list