[rescue] SCSI problem.

Sandwich Maker adh at an.bradford.ma.us
Thu Jul 24 09:20:53 CDT 2003


"From: "Curtis H. Wilbar Jr." <rescue at hawkmountain.net>
"
">From: adh at an.bradford.ma.us (Sandwich Maker)
">
">"From: "Curtis H. Wilbar Jr." <rescue at hawkmountain.net>
">"
">">From: adh at an.bradford.ma.us (Sandwich Maker)
">">
">">
">">there's a way to turn tcq off for an entire bus or an individual
">">target, but i dunno the details.  iirc it goes in /etc/system though.
">"
">"Actually I think you need to set scsi-options or target<n>-scsi-options
">"(where <n> is the target of the drive) in /kernel/drv/<device>.conf
">"file (where <device> is esp, isp, fas, etc...).  For more info
">"see the man pages for esp.
">
">but you can also patch the driver on the fly with either ndd or
">/etc/system entries.
"
"didn't know you could set these values after boot ?  Didn't notice
"that in the man pages anyway.  

well, since there doesn't seem to be a ndd interface, i think you're
right on this.

"I thought /etc/system is only read at bootup, so how would you do
"anything with /etc/system "on the fly" ?

it is, but it beats messing with driver conf files.
from man -s4 system:
set [<module>:]<symbol> {=, |, &} [~][-]<value>

"Also, in this case, something permanent is desired, so something in
"/etc/system or the apprpopriate conf file in /kernel/drv is desired
"(if ndd will set these values, then that would be good to test out
"if disabling it will solve the problem though (w/o having to reboot)).

i've also seen ndd in an rc file recommended over /etc/system [for
tuning the ip stack], though i'm not sure i approve.  and ndd only
works if there's a /dev entry, which there isn't for scsi drivers.

you can do things in system that ndd can't reach.
________________________________________________________________________
Andrew Hay                                  the genius nature
internet rambler                            is to see what all have seen
adh at an.bradford.ma.us                       and think what none thought



More information about the rescue mailing list