Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  1 Jun 2011 00:35:32 +0400 (MSD)
From:      "Lev A. Serebryakov" <lev@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        n_hibma@FreeBSD.org
Subject:   usb/157474: svn revisions 221612 (for stable/8) and 214831/214761 (for head) breaks API/ABI without any notice.
Message-ID:  <20110531203532.AB8244AC2D@onlyone.friendlyhosting.spb.ru>
Resent-Message-ID: <201105312040.p4VKe9p5032689@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110531203532.AB8244AC2D>