From owner-freebsd-bugs@FreeBSD.ORG Wed Nov 12 15:00:10 2008 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 A1804106564A for ; Wed, 12 Nov 2008 15:00:10 +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 8F0208FC14 for ; Wed, 12 Nov 2008 15:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mACF0AtK054738 for ; Wed, 12 Nov 2008 15:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mACF0ANl054737; Wed, 12 Nov 2008 15:00:10 GMT (envelope-from gnats) Date: Wed, 12 Nov 2008 15:00:10 GMT Message-Id: <200811121500.mACF0ANl054737@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Corey Smith" Cc: Subject: Re: kern/127391: [ata] Intel 6300ESB SATA150 cannot find disk and boot under 6.3 [regression] X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Corey Smith List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 15:00:10 -0000 The following reply was made to PR kern/127391; it has been noted by GNATS. From: "Corey Smith" To: bug-followup@freebsd.org, satz@iranger.com, jhb@freebsd.org Cc: Subject: Re: kern/127391: [ata] Intel 6300ESB SATA150 cannot find disk and boot under 6.3 [regression] Date: Wed, 12 Nov 2008 09:29:14 -0500 ------=_Part_4673_3720519.1226500155016 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Attached is a patch again 6-STABLE from yesterday that fixes the problem on my Dell PowerEdge 750 with an Intel 6300ESB. Effectively this patch reverses this commit by jhb on 2007/06/29: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/isa/clock.c.diff?r1=1.222.2.2;r2=1.222.2.3;only_with_tag=RELENG_6 I found this by checking out different dates between the 6.2 and 6.3 release dates for 6-STABLE until I found the commit that causes the hard drive to go undetected. To test patch, checkout the latest 6-STABLE and: cat src-sys-i386-isa-clock-c_against-6-4-PRERELEASE.patch | patch -d /usr The patch is untested on 7-STABLE but I'm sure that removing the same function will fix that branch as well. I do know that 7.0-RELEASE and 7.1-BETA2 exhibit the same regression. -Corey Smith ------=_Part_4673_3720519.1226500155016 Content-Type: text/x-diff; name=src-sys-i386-isa-clock-c_against-6-4-PRERELEASE.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fng251b10 Content-Disposition: attachment; filename=src-sys-i386-isa-clock-c_against-6-4-PRERELEASE.patch LS0tIHNyYy4yMDA4LjExLjExLjAyLjAwLjAwL3N5cy9pMzg2L2lzYS9jbG9jay5jCUZyaSBBdWcg IDEgMTc6MjQ6MTcgMjAwOAorKysgc3JjL3N5cy9pMzg2L2lzYS9jbG9jay5jCVR1ZSBOb3YgMTEg MjA6Mjk6MjYgMjAwOApAQCAtMjkzLDIyICsyOTMsNyBAQAogCWludCBnZXRpdF9jYWxscyA9IDE7 CiAJaW50IG4xOwogCXN0YXRpYyBpbnQgc3RhdGUgPSAwOwotI2VuZGlmCiAKLQlpZiAodHNjX2Zy ZXEgIT0gMCAmJiAhdHNjX2lzX2Jyb2tlbikgewotCQl1aW50NjRfdCBzdGFydCwgZW5kLCBub3c7 Ci0KLQkJc2NoZWRfcGluKCk7Ci0JCXN0YXJ0ID0gcmR0c2MoKTsKLQkJZW5kID0gc3RhcnQgKyAo dHNjX2ZyZXEgKiBuKSAvIDEwMDAwMDA7Ci0JCWRvIHsKLQkJCWNwdV9zcGlud2FpdCgpOwotCQkJ bm93ID0gcmR0c2MoKTsKLQkJfSB3aGlsZSAobm93IDwgZW5kIHx8IChub3cgPiBzdGFydCAmJiBl bmQgPCBzdGFydCkpOwotCQlzY2hlZF91bnBpbigpOwotCQlyZXR1cm47Ci0JfQotI2lmZGVmIERF TEFZREVCVUcKIAlpZiAoc3RhdGUgPT0gMCkgewogCQlzdGF0ZSA9IDE7CiAJCWZvciAobjEgPSAx OyBuMSA8PSAxMDAwMDAwMDsgbjEgKj0gMTApCg== ------=_Part_4673_3720519.1226500155016--