Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756997AbXIEOEX (ORCPT ); Wed, 5 Sep 2007 10:04:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755400AbXIEOEP (ORCPT ); Wed, 5 Sep 2007 10:04:15 -0400 Received: from qb-out-0506.google.com ([72.14.204.226]:54528 "EHLO qb-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755524AbXIEOEP (ORCPT ); Wed, 5 Sep 2007 10:04:15 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uoMxrUXT95sOZZ8FxnQkc3gXPg2xB2PiVLyN/9vbsFvzZ9p9R/5BHpjmLE2WKxBLnl2zQsE5vy4z3b3lcig2sT4jei4O+UThTm5UtxIGF3Nyut5T+hyJIi+lEReyLKuyJDQmEwguNGFb7Ekp5K3lFZeXuQ6S4ygWacd3VSK8vsU= Message-ID: Date: Wed, 5 Sep 2007 16:04:13 +0200 From: noah To: "Martin K. Petersen" Subject: Re: Rescanning SCSI/SATA bus Cc: "Jan Engelhardt" , "Linux Kernel Mailing List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1236 Lines: 38 2007/9/5, Martin K. Petersen : > >>>>> "Jan" == Jan Engelhardt writes: > > Jan> 11:40 sun:../scsi_host/host0 # echo 1 >scan > Jan> -bash: echo: write error: Invalid argument > > Jan> What is the proper way to trigger a rescan, if it comes to be > Jan> necessary? > > echo "- - -" > scan > This doesn't appear to work either (2.6.22, sata_nv). # find /sys -name scan /sys/module/scsi_mod/parameters/scan /sys/class/scsi_host/host9/scan /sys/class/scsi_host/host8/scan /sys/class/scsi_host/host7/scan /sys/class/scsi_host/host6/scan /sys/class/scsi_host/host5/scan /sys/class/scsi_host/host4/scan /sys/class/scsi_host/host3/scan /sys/class/scsi_host/host2/scan /sys/class/scsi_host/host1/scan /sys/class/scsi_host/host0/scan # echo --- > /sys/class/scsi_host/host9/scan -bash: echo: write error: Invalid argument # echo --- > /sys/module/scsi_mod/parameters/scan -bash: /sys/module/scsi_mod/parameters/scan: Permission denied -- noah - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/