usb/157474: svn revisions 221612 (for stable/8) and 214831/214761 (for head) breaks API/ABI without any notice.

Lev A. Serebryakov lev at FreeBSD.org
Tue May 31 20:40:10 UTC 2011


>Number:         157474
>Category:       usb
>Synopsis:       svn revisions 221612 (for stable/8) and 214831/214761 (for head) breaks API/ABI without any notice.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 31 20:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Lev A. Serebryakov
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD blob.home.serebryakov.spb.ru 8.2-STABLE FreeBSD 8.2-STABLE #17: Tue May 31 22:07:48 MSD 2011 lev at blob.home.serebryakov.spb.ru:/usr/obj/usr/src/sys/BLOB amd64


>Description:

  Revisions 214831 and 214761 (in HEAD), MFCed as 221612 into stable/8, change number of function arguments and size of sttructures, used by 3rd party USB2COM modules, without bumping OSVERSION.
  As result, old 3rd party modules (like umcs7840) could be (and will be) loaded which leads to almost immedate kernel panic.
  Other porblem is, that there is no way for modules authors to distingusih old and new API in sources.

>How-To-Repeat:

  Upgrade system without recompiling `comms/umcs7840' module, reboot.

>Fix:
  I don't know. Bump OSVERSION, maybe?
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-usb mailing list