From owner-freebsd-current@FreeBSD.ORG Mon Feb 18 15:48:45 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90D0A16A469 for ; Mon, 18 Feb 2008 15:48:45 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id E6A1C13C4D1 for ; Mon, 18 Feb 2008 15:48:44 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so1412328rvb.43 for ; Mon, 18 Feb 2008 07:48:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=vDdA2t527WmO1LIgT6JCP5Fo4DHQsAiMvU15PIju/hQ=; b=k7ROl/kSu6iFGVzmrM3elnuBqeSB98myRUK+82CdPbu1XIEIdZ7udyrb7/Q+ppFd+9riIoLzRqElEdTOpR9e+llNnnX7xa4L71nrVxnkc90Bu32lt+okJMPXRZ50oNBRBauWBQt8T1F4EipHiV01xQxVVWpPBLLH+xpA1KVdW1w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ZmqfcOeDCugqNaHF6q1FikQOCcVOiY/DzTudUd55dqxQV0PhZIpbSGqRVSq/NYjYTU3+gwMUc1zZoVkG66IaTehslQBTb97ZvR4Y/gtCZmvTa9JMf0aWo4umA3Vy6fCjv4+knASGUv3AKPEoL2HdgQsGr78qjFFXOx0m/rU+4KI= Received: by 10.140.147.13 with SMTP id u13mr3904751rvd.228.1203349723416; Mon, 18 Feb 2008 07:48:43 -0800 (PST) Received: by 10.141.170.18 with HTTP; Mon, 18 Feb 2008 07:48:43 -0800 (PST) Message-ID: <2e77fc10802180748p5e78ef98s5fbbc27b8e7df3aa@mail.gmail.com> Date: Mon, 18 Feb 2008 15:48:43 +0000 From: "Niki Denev" Sender: ndenev@gmail.com To: JoaoBR In-Reply-To: <200802181228.18458.joao@matik.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200704182239.59842.gelsemap@superhero.nl> <200802181149.17068.joao@matik.com.br> <9914.195.50.100.20.1203346646.squirrel@www.superhero.nl> <200802181228.18458.joao@matik.com.br> X-Google-Sender-Auth: f31c06b805982c91 Cc: freebsd-current@freebsd.org, "Gelsema, P \(Patrick\)" Subject: Re: Adaptec AHD U320 operating as only U160 (take care with this hack!) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 15:48:45 -0000 On Feb 18, 2008 3:28 PM, JoaoBR wrote: > On Monday 18 February 2008 11:57:26 Gelsema, P (Patrick) - FreeBSD wrote: > > On Mon, February 18, 2008 15:49, JoaoBR wrote: > > > On Monday 18 February 2008 11:07:03 Scott Long wrote: > > >> You are confusing people by posting a response to a discussion that has > > >> already moved beyond where you are responding. The real fix to the > > >> original poster's problem has already been identified, please catch > > >> up. > > > > > > not so sure about this ... > > > > > > firstable I guess I was the original poster some month ago ... > > > > > > secondable I let it clear that it seems to work for Adaptec's 29320 but > > > not on > > > other adaptors which I let also clear in my former msg, just read it > > > entirely > > > > Joao, > > > > is this because of your hack or because of the cvs commit: > > src/sys/dev/aic7xxx aic79xx_osm.c version 1.32? > > > > That is why I am confused. > > > > If you get it because of the committed version, could you please let me > > know how how I can repeat this on my machine, as I would love to see this > > version committed to RELENG_7_0. > > > no, also not my hack, I believe it was Niki or Justin who suggested to comment > a part in cam_xpto.c > > only with this hack the problem occures > > BTW without it the drives are still only at 160/80 negotiated > > There is some misunderstanding here. I had the negotiation problem, and as a result of this i started playing around with DTrace on this machine and discovered that if I comment these lines my drives were correctly detected. I posted this as a pointer/clue to the problem. Then Justin replied, that the actual problem is in the aic79xx driver not properly exporting it's capabilites to CAM, and the latest revisions of aic_79xx_osm.c > 1.30 fix this. There is no need to touch cam_xpt.c, just update aic_79xx_osm.c, and the problem should be resolved. --Niki