From owner-freebsd-scsi@FreeBSD.ORG Wed Oct 31 15:57:18 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56C89A49 for ; Wed, 31 Oct 2012 15:57:18 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 0E75D8FC1C for ; Wed, 31 Oct 2012 15:57:17 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1TTafG-0001K5-IG; Wed, 31 Oct 2012 15:57:10 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1TTafG-0006MS-47; Wed, 31 Oct 2012 15:57:10 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q9VFv9xO001187; Wed, 31 Oct 2012 15:57:09 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q9VFv9Vh001186; Wed, 31 Oct 2012 15:57:09 GMT (envelope-from mexas) Date: Wed, 31 Oct 2012 15:57:09 GMT From: Anton Shterenlikht Message-Id: <201210311557.q9VFv9Vh001186@mech-cluster241.men.bris.ac.uk> To: freebsd-scsi@freebsd.org, Joerg.Pulz@frm2.tum.de Subject: Re: isp(4) broken in RELENG_9 In-Reply-To: X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2012 15:57:18 -0000 Date: Wed, 31 Oct 2012 16:25:17 +0100 (CET) From: Joerg Pulz somewhere on the road between RELENG_9_1 and RELENG_9 changes to isp(4) make the driver unable to attach to the device. Here is the boot output of the failing RELENG_9: isp0: port 0x3000-0x30ff mem 0xf7140000-0xf7143fff,0xf7200000-0xf72fffff irq 16 at device 0.0 on pci3 isp0: error 22 loading dma map for control areas isp0: Cannot setup DMA device_attach: isp0 attach returned 6 isp0: port 0x3400-0x34ff mem 0xf7144000-0xf7147fff,0xf7300000-0xf73fffff irq 17 at device 0.1 on pci3 isp0: error 22 loading dma map for control areas isp0: Cannot setup DMA device_attach: isp0 attach returned 6 Here is the boot output of the still working RELENG_9_1: isp0: port 0x3000-0x30ff mem 0xf7140000-0xf7143fff,0xf7200000-0xf72fffff irq 16 at device 0.0 on pci3 isp1: port 0x3400-0x34ff mem 0xf7144000-0xf7147fff,0xf7300000-0xf73fffff irq 17 at device 0.1 on pci3 I've taken a quick look at the changes, but could not find anything obvious that causes that error. Thanks for any hints on how to fix this. As the isp(4) code base for CURRENT and RELENG_9 is the same, it should fail in current too, but i can't verify as i don't have a spare card for testing. I'm on -current r235474 ia64. isp(4) works for me: $ dmesg|grep isp0 isp0: port 0xc000-0xc0ff mem 0xe0040000-0xe0040fff irq 71 at device 1.0 on pci192 (probe2:isp0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe2:isp0:0:0:0): CAM status: SCSI Status Error (probe2:isp0:0:0:0): SCSI status: Check Condition (probe2:isp0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) pass3 at isp0 bus 0 scbus2 target 0 lun 0 da3 at isp0 bus 0 scbus2 target 0 lun 1 da4 at isp0 bus 0 scbus2 target 0 lun 2 da5 at isp0 bus 0 scbus2 target 0 lun 5 $ Anton