Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  9 Oct 2007 09:27:42 +0200 (CEST)
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@freebsd.org
Subject:   hald-addon-storage messes up SCSI bus 
Message-ID:  <20071009072742.8F5C9C643@merlin.emma.line.org>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Matthias Andree
>Organization:	
>Confidential:	no 
>Synopsis:	hald-addon-storage messes up SCSI bus 
>Severity:	serious 
>Priority:	low 
>Category:	ports 
>Class:		sw-bug 
>Release:	FreeBSD 6.2-STABLE i386
>Environment:
System: FreeBSD merlin.emma.line.org 6.2-STABLE FreeBSD 6.2-STABLE #9: Thu Sep 27 02:51:12 CEST 2007 toor@merlin.emma.line.org:/usr/obj/usr/src/sys/MERLIN i386


	
>Description:
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@3e68cd68 resid=10.
(pass0:sym0:0:2:0): phase change 2-3 16@3e68cd68 resid=6.
(pass0:sym0:0:2:0): phase change 2-3 16@3e68c168 resid=10.
(pass0:sym0:0:2:0): phase change 2-3 16@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:

	





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071009072742.8F5C9C643>