From owner-freebsd-gnome@FreeBSD.ORG Thu Dec 20 17:03:40 2007 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20D2116A41A; Thu, 20 Dec 2007 17:03:40 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao106.cox.net (eastrmmtao106.cox.net [68.230.240.48]) by mx1.freebsd.org (Postfix) with ESMTP id 80E3913C455; Thu, 20 Dec 2007 17:03:39 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmmtao106.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20071220170340.XPZG476.eastrmmtao106.cox.net@eastrmimpo03.cox.net>; Thu, 20 Dec 2007 12:03:40 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo03.cox.net with bizsmtp id T4uc1Y00N4iy4EG0000000; Thu, 20 Dec 2007 11:54:37 -0500 Date: Thu, 20 Dec 2007 11:03:42 -0600 To: "Andriy Gapon" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <476A8A01.3040202@icyb.net.ua> <476A9D99.2050804@icyb.net.ua> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <476A9D99.2050804@icyb.net.ua> User-Agent: Opera Mail/9.25 (Linux) Cc: kde@freebsd.org, freebsd-gnome@freebsd.org Subject: Re: multislot cardreader and hald X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 17:03:40 -0000 On Thu, 20 Dec 2007 10:51:37 -0600, Andriy Gapon wrote: > on 20/12/2007 18:47 Jeremy Messenger said the following: >> On Thu, 20 Dec 2007 09:28:01 -0600, Andriy Gapon >> wrote: >> >>> When I connect a USB multislot cardreader (CF, SD, etc) with only one >>> card inserted to my computer my /var/log/messages gets spammed with the >>> endless reports like the following: >>> kernel: Opened disk da1 -> 6 >>> kernel: (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 >>> 0 0 >>> kernel: (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error >>> kernel: (da2:umass-sim0:0:0:2): SCSI Status: Check Condition >>> kernel: (da2:umass-sim0:0:0:2): NOT READY csi:0,aa,55,41 asc:3a,0 >>> kernel: (da2:umass-sim0:0:0:2): Medium not present field replaceable >>> unit: 1 >>> kernel: (da2:umass-sim0:0:0:2): Unretryable error >>> kernel: Opened disk da2 -> 6 >>> kernel: (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 >>> 0 0 >>> kernel: (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error >>> kernel: (da3:umass-sim0:0:0:3): SCSI Status: Check Condition >>> kernel: (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,41 asc:3a,0 >>> kernel: (da3:umass-sim0:0:0:3): Medium not present field replaceable >>> unit: 1 >>> kernel: (da3:umass-sim0:0:0:3): Unretryable error >>> kernel: Opened disk da3 -> 6 >>> >>> These reports are for the empty slots. >>> If I disable hald these messages get printed only a few times, but with >>> hald this happens endlessly, apparently every 2 seconds. >>> >>> I am curious if this is hald itself or KDE acting through it. >> >> It's FreeBSD since you still get w/out hald, report to freebsd-usb@. > > It's true that messages come from the kernel but, as I said, without > hald I get only a few of them and that's it. With hald running these > messages are produced every 2 seconds until the card-reader is > disconnected. So hald must be doing something silly here, like never > giving up on probing those da disks without any media behind them. I am no expert on hald, but if I understand it correct. If there is no probe in hald then hald will never know if you put/keep your da disks in and pull out. I bet other OSs do the same things. Correct me if I am wrong. Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org