From: noah <noah123@gmail.com>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: "Jan Engelhardt" <jengelh@computergmbh.de>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: Rescanning SCSI/SATA bus
Date: Wed, 5 Sep 2007 16:04:13 +0200 [thread overview]
Message-ID: <d00698fb0709050704j1014b87al20cfb451ac609e81@mail.gmail.com> (raw)
In-Reply-To: <yq1zm01l0co.fsf@sermon.lab.mkp.net>
2007/9/5, Martin K. Petersen <martin.petersen@oracle.com>:
> >>>>> "Jan" == Jan Engelhardt <jengelh@computergmbh.de> 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
next prev parent reply other threads:[~2007-09-05 14:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-05 9:41 Jan Engelhardt
2007-09-05 13:15 ` Martin K. Petersen
2007-09-05 14:04 ` noah [this message]
2007-09-05 14:26 ` Björn Steinbrink
[not found] ` <d00698fb0709050745p820f0ednf6592b142d1e409c@mail.gmail.com>
2007-09-05 15:15 ` Björn Steinbrink
2007-09-05 15:17 ` Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d00698fb0709050704j1014b87al20cfb451ac609e81@mail.gmail.com \
--to=noah123@gmail.com \
--cc=jengelh@computergmbh.de \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®