From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 10 00:30:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C21316A46B for ; Wed, 10 Oct 2007 00:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2D05413C465 for ; Wed, 10 Oct 2007 00:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9A0U2dZ046400 for ; Wed, 10 Oct 2007 00:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9A0U22W046397; Wed, 10 Oct 2007 00:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 10 Oct 2007 00:30:02 GMT Resent-Message-Id: <200710100030.l9A0U22W046397@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Andree Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC46B16A417 for ; Wed, 10 Oct 2007 00:21:49 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from m2a2.dyndns.org (f048032011.adsl.alicedsl.de [78.48.32.11]) by mx1.freebsd.org (Postfix) with ESMTP id 5FC7B13C43E for ; Wed, 10 Oct 2007 00:21:49 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: by merlin.emma.line.org (Postfix, from userid 500) id 8A4D2C751; Wed, 10 Oct 2007 02:21:47 +0200 (CEST) Message-Id: <20071010002147.8A4D2C751@merlin.emma.line.org> Date: Wed, 10 Oct 2007 02:21:47 +0200 (CEST) From: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/117052: hald-addon-storage messes up SCSI bus X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Andree List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2007 00:30:02 -0000 >Number: 117052 >Category: ports >Synopsis: hald-addon-storage messes up SCSI bus >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 10 00:30:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD merlin.emma.line.org 6.2-STABLE FreeBSD 6.2-STABLE #9: Thu Sep 27 02:51:12 CEST 2007 toor at merlin.emma.line.org:/usr/obj/usr/src/sys/MERLIN i386 >Description: (Resent report, the first one didn't match the number returned from GNATS.) I have a computer system based on a VIA chipset and AMD Athlon processor, with a SYMBIOS SYM53C895 based SCSI host adaptor (Tekram DC-390U2W) and Plextor PX-32TS SCSI CD-ROM drive. Upon start of hal-0.5.8.20070909 and previous versions, my logs are spammed with line pairs like these, where the long hex number after the @ changes from time to time: (pass0:sym0:0:2:0): phase change 2-3 16 at 3e68cd68 resid=10. (pass0:sym0:0:2:0): phase change 2-3 16 at 3e68cd68 resid=6. (pass0:sym0:0:2:0): phase change 2-3 16 at 3e68c168 resid=10. (pass0:sym0:0:2:0): phase change 2-3 16 at 3e68c168 resid=6. Occasionally, I see parity errors. All of this goes away when I kill the hald-addon-storage process responsible for /dev/cd0 (which corresponds with pass0, see devlist below). So what is hald-addon-storage doing that causes the SCSI driver to complain about phase changes? What method does hald use to probe for media? Can these phase changes be avoided? Or is this actually a pass(4) or sym(4) issue? dmesg extracts: (I've replaced angle brackets by parentheses in these logs so send-pr does not remove information) sym0: (895) port 0xd000-0xd0ff mem 0xe4800000-0xe48000ff,0xe4000000-0xe4000fff irq 16 at device 13.0 on pci0 sym0: Tekram NVRAM, ID 7, Fast-40, LVD, parity checking sym0: [GIANT-LOCKED] ... cd0 at sym0 bus 0 target 2 lun 0 cd0: (PLEXTOR CD-ROM PX-32TS 1.02) Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present (PLEXTOR CD-ROM PX-32TS 1.02) at scbus0 target 2 lun 0 (pass0,cd0) (TANDBERG TDC 4222 =07:) at scbus0 target 6 lun 0 (sa0,pass1) (TANDBERG SLR6 0404) at scbus0 target 12 lun 0 (sa1,pass2) (_NEC DVD_RW ND-4550A 1.08) at scbus3 target 0 lun 0 (pass3,cd1) >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: