From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 18 11:10:14 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06EB51065678 for ; Mon, 18 Jul 2011 11:10:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EAAAA8FC08 for ; Mon, 18 Jul 2011 11:10:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p6IBADHu028931 for ; Mon, 18 Jul 2011 11:10:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6IBADwO028930; Mon, 18 Jul 2011 11:10:13 GMT (envelope-from gnats) Date: Mon, 18 Jul 2011 11:10:13 GMT Message-Id: <201107181110.p6IBADwO028930@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Alexander Motin Cc: Subject: Re: kern/150315: [ata] sizeof(union ccb) changed between 7.x and 8.x X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Motin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 11:10:14 -0000 The following reply was made to PR kern/150315; it has been noted by GNATS. From: Alexander Motin To: bug-followup@FreeBSD.org, wollman@freebsd.org Cc: Subject: Re: kern/150315: [ata] sizeof(union ccb) changed between 7.x and 8.x Date: Mon, 18 Jul 2011 13:43:08 +0300 The main problem is not just in union ccb size change. Problem is that elements newly added to several structures were added not to the ends, and in some places there are arrays of structures used. As result providing compatibility layer would required to repack all requests and responses, reordering their fields. I am not sure that supporting it now (1.5 years after 8.0 release) worth polluting code. Speaking about smartctl -- the best way is to rebuild it, as new version also supports CAM ATA. -- Alexander Motin