From owner-freebsd-sparc64@FreeBSD.ORG Fri Nov 26 15:18:24 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 CE52416A4CE for ; Fri, 26 Nov 2004 15:18:24 +0000 (GMT) Received: from callahan.capri.pl (callahan.capri.pl [217.149.242.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B20343D48 for ; Fri, 26 Nov 2004 15:18:23 +0000 (GMT) (envelope-from mk@capri.pl) Received: from cqo234.neoplus.adsl.tpnet.pl (cqo234.neoplus.adsl.tpnet.pl [83.31.246.234]) (authenticated bits=0) by callahan.capri.pl (8.12.9p2/8.12.9) with ESMTP id iAQFIKfS090672 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 26 Nov 2004 16:18:21 +0100 (CET) (envelope-from mk@capri.pl) Date: Fri, 26 Nov 2004 16:21:44 +0100 (CET) From: mk@capri.pl X-X-Sender: mk@grendel.oldford.pl To: freebsd-sparc64@freebsd.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: 5.3 on ultra2: scsi disk not detected - next one X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michal Konieczny List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2004 15:18:24 -0000 Tests continue - there's another disk having trouble, now even worse: the disk in question is Seagate ST39103LC. Solaris is absolutely happy with this disk - it detects it during verbose boot-up (target 1, target 0 is the "hero" from previous posts): [ID 936769 kern.info] fas0 is /sbus@1f,0/SUNW,fas@e,8800000 [ID 193665 kern.info] sd0 at fas0: target 0 lun 0 [ID 936769 kern.info] sd0 is /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0 [ID 365881 kern.info] [ID 193665 kern.info] sd1 at fas0: target 1 lun 0 [ID 936769 kern.info] sd1 is /sbus@1f,0/SUNW,fas@e,8800000/sd@1,0 [ID 365881 kern.info] [ID 193665 kern.info] sd6 at fas0: target 6 lun 0 [ID 936769 kern.info] sd6 is /sbus@1f,0/SUNW,fas@e,8800000/sd@6,0 Disk is completely accessible - low level formatting, creating partitions, creating file system, mounting. Here is disklabel from Solaris' format, with just single large partition created for testing purposes: ascii name = pcyl = 9744 ncyl = 9742 acyl = 2 nhead = 6 nsect = 304 Part Tag Flag Cylinders Size Blocks 0 root wm 0 - 9741 8.47GB (9742/0/0) 17769408 1 unassigned wu 0 0 (0/0/0) 0 2 backup wu 0 - 9741 8.47GB (9742/0/0) 17769408 3 unassigned wm 0 0 (0/0/0) 0 4 unassigned wm 0 0 (0/0/0) 0 5 unassigned wm 0 0 (0/0/0) 0 6 unassigned wm 0 0 (0/0/0) 0 7 unassigned wm 0 0 (0/0/0) 0 It just works as expected - with Solaris. Booting FreeBSD from CDROM install fails miserably: Waiting 15 seconds for SCSI devices to settle md0: Preloaded image 4194304 bytes at 0xc04923e8 esp0: SCSI bus parity error esp0: !TC on DATA XFER [intr 10, stat 86, step 4] prevphase 1, resid 24 esp0: SCSI bus parity error esp0: !TC on DATA XFER [intr 10, stat 86, step 4] prevphase 1, resid 20 (probe0:esp0:0:0:0): AutoSense Failed esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 24 esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 20 esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 14 esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 24 esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 24 esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 24 esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 24 esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 24 esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 24 esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 24 SMP: AP CPU #1 Launched! esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 8 panic: trap: division by zero cpuid = 1 boot() called on cpu#1 Uptime: 18s Cannot dump. No dump device defined. There're now in my hands two disks that cause severe trouble to FreeBSD. Am I the only one to have bad luck encountering such beasts ? Here is some more data from sysinfo - both disks are seen as wide, 20MHz sync clock. Both work with Solaris, none works with FreeBSD. First causes only parity errors, second - kernel panic. SUNW,fas0 is a "Sun FAS366 Fast" SCSI controller Class Type : SCSI Model : FAS366 Fast Name : SUNW,fas0 Node ID : -268016888 Type : controller Unit : 0 Manufacturer : Sun Aliases : fas0 Target6 Sync Speed : 10000 Target1 Tq : 1 Target1 Wide : 1 Target1 Sync Speed : 20000 Target0 Tq : 1 Target0 Wide : 1 Target0 Sync Speed : 20000 Scsi Selection Timeout: 250 Scsi Options : 8184 Scsi Watchdog Tick : 10 Scsi Tag Age Limit : 2 Scsi Reset Delay : 3000 SCSI Initiator ID : 7 Hm Rev : 34 Device Type : scsi Clock Frequency : 40 MHz Intr : 32, 0 Interrupts : 32 Reg : 14, 142606336, 16, 14, 142671872, 64 Attached : c0t0d0 c0t1d0 c0t0d0 (sd0) is a "IBM DRVS09D" SCSI 8.5 GB disk drive AKA Name : sd0 Capacity : 8.5 GB Class Type : SCSI Device Files : /dev/rdsk/c0t0d0s0 Model : DRVS09D Name : c0t0d0 Node ID : 1 Revision : 0370 Serial # : 13600063QARS Type : disk drive Unit : 0 Manufacturer : IBM Aliases : sd0 SCSI Version/Protocol : SCSI-2 ANSI Version : ANSI X3.301-1997 (SCSI-3) Supports : Wide SCSI: 16-bit Data Transfers Supports : Wide SCSI: 16-bit Addressing Supports : Syncronous Data Transfers Supports : Command Queuing Supports : Linked Commands Class Prop : atapi Class : scsi Inquiry Revision Id : 0370 Inquiry Product Id : DRVS09D Inquiry Vendor Id : IBM Pm Hardware State : needs-suspend-resume Ddi Kernel Ioctl : TRUE HW Capacity : 8.5 GB HW Physical Cylinders : 7049 HW Cylinder Skew : 84 HW Tracks : 10 HW Track Skew : 36 HW Sectors : 272 HW Sector Size (bytes): 512 HW Altsectperzone : 2 HW RPM : 10020 HW Interleave : 1 OS Capacity : 8.5 GB OS Disklabel : IBM-DRVS09D-0370 OS Data Cylinders : 6589 OS Physical Cylinders : 6591 OS Altcyl : 2 OS Tracks : 10 OS Sectors : 272 OS Sector Size (bytes): 512 OS RPM : 10020 OS Interleave : 1 P A R T I T I O N S START NUMBER OF SIZE PART SECTOR SECTORS (MB) TYPE USAGE c0t0d0s0 0 12288960 6000 hsfs /cdrom/fbsd_miniinst/s0 c0t0d0s1 12288960 1049920 512 c0t0d0s2 0 17922080 8751 c0t0d0s7 13338880 4583200 2237 c0t1d0 (sd1) is a "IBM-PSG ST39103LC !#" SCSI 8.5 GB disk drive AKA Name : sd1 Capacity : 8.5 GB Class Type : SCSI Device Files : /dev/rdsk/c0t1d0s0 Model : ST39103LC !# Name : c0t1d0 Node ID : 2 Revision : B222 Serial # : LS0558650512 Type : disk drive Unit : 1 Manufacturer : IBM-PSG Aliases : sd1 Target : 6 Class : scsi Inquiry Revision Id : B222 Inquiry Product Id : ST39103LC !# Inquiry Vendor Id : IBM-PSG Pm Components : NAME=spindle-motor, 0=off, 1=on Pm Hardware State : needs-suspend-resume Ddi Kernel Ioctl : TRUE Target : 1 Class Prop : atapi HW Capacity : 8.5 GB HW Physical Cylinders : 9772 HW Cylinder Skew : 56 HW Tracks : 6 HW Alttracksperzone : 13 HW Track Skew : 44 HW Sectors : 304 HW Sector Size (bytes): 512 HW RPM : 10016 HW Interleave : 1 OS Capacity : 8.5 GB OS Disklabel : IBM-PSG-ST39103LC!#-B222 OS Unit : 1 OS Slave : 8 OS Data Cylinders : 9742 OS Physical Cylinders : 9744 OS Altcyl : 2 OS Tracks : 6 OS Sectors : 304 OS Sector Size (bytes): 512 OS RPM : 10016 OS Interleave : 1 P A R T I T I O N S START NUMBER OF SIZE PART SECTOR SECTORS (MB) TYPE USAGE c0t1d0s0 0 17769408 8676 hsfs /cdrom/fbsd_miniinst/s0 c0t1d0s2 0 17769408 8676 -- Michal Konieczny mk@capri.pl