public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: linux-scsi@vger.kernel.org
Subject: 2.6.0-test9: scsi_dev_flags
Date: Sun, 26 Oct 2003 14:47:41 +0000	[thread overview]
Message-ID: <20031026144741.A4326@flint.arm.linux.org.uk> (raw)

How are scsi_dev_flags supposed to work?

2.6.0-test9 appears to have an argument with my syquest drive - it
attempts to spin it up without a cartridge being present.  This doesn't
cause any ill effects except a rather long (== about 8 minutes) delay
in booting.

So, I originally added it to the blacklist in scsi_devinfo.c.  This
worked.  I then realised that it was marked as deprecated, in favour
of passing quirks on the command line.

So, I then tried doing exactly that:

	scsi_dev_flags=SyQuest:SQ3270S:4096

4096 being the BLIST flag value corresponding to BLIST_NOSTARTONADD.

However, it appears that 2.6.0-test9 is completely ignoring this, and
it still tries to spin up the drive without cartridge.  The manufacturer
string is "SyQuest" and the model string is "SQ3270S" so I'm don't
believe the command line string is in error.

An additional question comes out from this - if quirk information is now
to be passed on the kernel command line, how are users supposed to work
out the correct command line argument to give for their quirky hardware
given that it doesn't appear to be as trivial as the code suggests?
(IOW, the scsi_dev_flags option appears to be rather undocumented!)

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

             reply	other threads:[~2003-10-26 14:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-26 14:47 Russell King [this message]
2003-10-26 16:38 ` 2.6.0-test9: scsi_dev_flags Patrick Mansfield
2003-11-01 13:13   ` Russell King
2003-11-01 17:11     ` Patrick Mansfield

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=20031026144741.A4326@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=linux-scsi@vger.kernel.org \
    /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