From owner-freebsd-sparc64@FreeBSD.ORG Thu Nov 25 18:45:52 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E33516A4CE for ; Thu, 25 Nov 2004 18:45:52 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 120B743D1F for ; Thu, 25 Nov 2004 18:45:52 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id iAPImnx5069606; Thu, 25 Nov 2004 11:48:50 -0700 (MST) (envelope-from scottl@freebsd.org) Message-ID: <41A6287B.60201@freebsd.org> Date: Thu, 25 Nov 2004 11:46:19 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040929 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michal Konieczny References: In-Reply-To: X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-sparc64@freebsd.org Subject: Re: 5.3 on ultra2: scsi disk not detected X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2004 18:45:52 -0000 mk@capri.pl wrote: >>I boot FreeBSD off of da0 and NetBSD off of da1. Both can see all three >>devices. So it's not a problem that is related to the number of disks. >>My guess here, since I'm not a Solaris expert and don't know how to >>extract the information out of it that would be helpful, is that either >>your misbehaving disk is 'special' and solaris knows to do special >>things with it, or it's stuck in narrow mode or has a faulty pin and >>solaris is smart enough to deal with that. Neither FreeBSD nor Linux >>know how to do domain validation, so a faulty pin on the upper half of >>the bus would show up as a mystery parity error. A faulty pin on the >>lower half of the bus could interfer with selections on the other >>low-numbered devices, though I have no idea how solaris could compensate >>for this. > > > I tried to attach this disk in narrow mode, using SCA80->68pin converter, > then using 68pin->50pin converter, then attaching it in place of CDROM. > This trick works with Sun IPX and SparcStation5, but Ultra2 just can't see the > disk connected this way. Although I'm industrial microcontroller hardware > designer, so I'm really fluent with hardware peculiarities, I just don't > knwow SCSI protocol details so I can't diagnose this from software point > of view. I'll learn, but this requires some time. > For now it looks to me that Ultra2 is unable to talk with this disk in > narrow mode - but maybe I'm wrong, just like I said - I don't know SCSI > enough. > Shimming down the cable using connectors like that is usually a recipe for trouble. The drive will _think_ that it can talk wide, but you've mechanically removed the wires that allow it. You said earlier that there was a jumper to force narrow negotiation. If that doesn't make a difference, then it might not be a narrow/wide problem at all. > >>I can hack the driver to allow you to force everything into async-narrow >>mode. That might help identify the problem, but it won't help much if >>it's a case of the drive needing special instructions that we don't >>understand. A SCSI bus capture would be ideal. > > > Give me a hint how to get SCSI bus capture and I'll do that - for now I > can attach multi-input logic state analyzer physically to the bus, but > maybe there's some more obvious software solution ... A logic analyzer probably won't tell you anything. Can you boot up solaris with the special drive and run 'prtconf' and send me the output? Scott