From owner-freebsd-current@FreeBSD.ORG Mon Jun 29 15:01:18 2009 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 0AEEC10656C5 for ; Mon, 29 Jun 2009 15:01:18 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: from mail-px0-f191.google.com (mail-px0-f191.google.com [209.85.216.191]) by mx1.freebsd.org (Postfix) with ESMTP id D0A8B8FC13 for ; Mon, 29 Jun 2009 15:01:17 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: by pxi29 with SMTP id 29so3485615pxi.3 for ; Mon, 29 Jun 2009 08:01:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=IQR36ChXcHi8Y95lZwf98ILAJ8AcdAOQiqLLL+yWGc4=; b=BS2yhPLrXIiZmqpJb9hDsisbQJKGkbHPoD+OUMQS1NxTNM0IaJqVUaOCPlPXiWMeqY r6fUIv8S8IQdXBuUiIAEfhtExviGTemOCdSMHxi+rBIRZF/Y2oBt7AevC7zTVt9G7z0Y DzxxnmqNFcIzSqvoMsa+ZGhEW349C1q1XiODM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=xNYJVBwIN9AWaPir56dH05yQgcMfVPx95Q7ScvzIQAz1WMLv1hywUTEpx9EhgI6EmQ 9fV6a6nKJ/4L26IG2wnNsP5JDLT372j59vG0PLM/Klgi/bJrniOXWt8sSheVonxCfMS+ 8qKQguiDBp1Phg516NmGQjVo5mw1yFRoKS/9k= MIME-Version: 1.0 Received: by 10.142.80.3 with SMTP id d3mr73922wfb.13.1246286210334; Mon, 29 Jun 2009 07:36:50 -0700 (PDT) In-Reply-To: <4A48C0BC.3030104@haruhiism.net> References: <1246206181.00132972.1246192801@10.7.7.3> <1246206186.00132982.1246194002@10.7.7.3> <1246209783.00133001.1246197001@10.7.7.3> <1246260183.00133237.1246247402@10.7.7.3> <4A48798A.5070604@FreeBSD.org> <4A487BF7.8060103@haruhiism.net> <4A48922D.5090507@FreeBSD.org> <4A48C0BC.3030104@haruhiism.net> Date: Mon, 29 Jun 2009 16:36:50 +0200 Message-ID: <90a5caac0906290736q79d6cb52s1479849b18dd1f94@mail.gmail.com> From: Lucius Windschuh To: Alexander Motin , freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: RFC: ATA to CAM integration patch 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, 29 Jun 2009 15:01:18 -0000 2009/6/29 Kamigishi Rei : > P.S. Could you please change "Native Command Queueing Enabled" to "Native > Command Queueing enabled" ;) just for better looks, as many of FreeBSD's > kernel messages lack proper capitalization and such. Thanks ;) "Native Command Queueing enabled\n", perhaps? I am seeing concatenated messages every now and then, despite using options PRINTF_BUFR_SIZE=256 in my kernel config. This occurs only with you ahci driver: ada0 at ahcich0 bus 0 target 0 lun 0ahcich1: ahci_ch_intr ERROR is 40000001 cs 00000040 ss 00000000 rs 00000040 tfd 6451 serr 00000000 or: ada0: ATA/ATAPI-8 SATA 1.xahcich1: ahci_ch_intr ERROR is 40000001 cs 00000040 ss 00000000 rs 00000040 tfd 6451 serr 00000000 The appended error message occurs on every access to the empty cd0 device: ahcich1: ahci_ch_intr ERROR is 40000001 cs 00000200 ss 00000000 rs 00000200 tfd 2451 serr 00000000 ahcich1 is the port to which my internal DVD burner (cd0) is attached. The controller itself: ahci0@pci0:0:31:2: class=0x010601 card=0x20f817aa chip=0x29298086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) Mobile SATA AHCI Controller' class = mass storage subclass = SATA Sniplet of dmesg: (probe0:ahcich0:0:0:0): SIGNATURE: 0000 (probe1:ahcich1:0:0:0): SIGNATURE: eb14 ada0 at ahcich0 bus 0 target 0 lun 0 ada0: ATA/ATAPI-8 SATA 1.xahcich1: ahci_ch_intr ERROR is 40000001 cs 00000040 ss 00000000 rs 00000040 tfd 6451 serr 00000000 (cd0:ahcich1:0:0:0): Retrying Command GEOM: new disk cd0 GEOM: new disk ada0 device ada0: Serial Number 081119FC1223NPG3SRBC(cd0:ahcich1:0:0:0): error 6 (cd0:ahcich1:0:0:0): Unretryable Error cd0 at ahcich1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: Serial Number M1589HK3233 cd0: 150.000MB/s transfers cd0: Attempt to query device size failed: UNIT ATTENTION, Power on, reset, or bus device reset occurred ada0: 150.000MB/s transfers ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C) ada0: Native Command Queueing Enabled pass0 at ahcich0 bus 0 target 0 lun 0ahcich1: ahci_ch_intr ERROR is 40000001 cs 00000200 ss 00000000 rs 00000200 tfd 2451 serr 00000000 (cd0:ahcich1:0:0:0): Retrying Command pass0: ATA/ATAPI-8 SATA 1.x device pass0: Serial Number 081119FC1223NPG3SRBC pass0: 150.000MB/s transfers(cd0:ahcich1:0:0:0): error 6 (cd0:ahcich1:0:0:0): Unretryable Error pass1 at ahcich1 bus 0 target 0 lun 0 pass1: Removable CD-ROM SCSI-0 device pass1: Serial Number M1589HK3233 pass1: 150.000MB/s transfers SMP: AP CPU #1 Launched! ID: 0x01000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010200 err: 0x00010000 pcm: 0x00000400 ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 1 vector 48 ioapic0: routing intpin 12 (ISA IRQ 12) to lapic 1 vector 49 ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 1 vector 50 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 1 vector 51 ioapic0: routing intpin 21 a(hcich1: PCI IRQ 21ahci_ch_intr ERROR is 40000001 cs 00002000 ss 00000000 rs 00002000 tfd 2451 serr 00000000) to lapic 1 vector 52 ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 1 vector 53 msi: Assigning MSI IRQ 258 to local APIC 1 vector 54 WARNING: WITNESS option enabled, expect reduced performance.(cd0: ahcich1:0:0:0): Retrying Command (cd0:ahcich1:0:0:0): error 6 (cd0:ahcich1:0:0:0): Unretryable Error ahcich1: ahci_ch_intr ERROR is 40000001 cs 00020000 ss 00000000 rs 00020000 tfd 2451 serr 00000000 (cd0:ahcich1:0:0:0): Retrying Command (cd0:ahcich1:0:0:0): error 6 (cd0:ahcich1:0:0:0): Unretryable Error scsi_cd.c::ioctl cmd=4400648b error=25 ahcich1: ahci_ch_intr ERROR is 40000001 cs 00200000 ss 00000000 rs 00200000 tfd 2451 serr 00000000 (cd0:ahcich1:0:0:0): Retrying Command (cd0:ahcich1:0:0:0): error 6 (cd0:ahcich1:0:0:0): Unretryable Error Any more hints I can give you? Lucius