All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Schubert <bs@q-leap.de>
To: linux-scsi@vger.kernel.org, Mike Christie <michaelc@cs.wisc.edu>
Subject: Re: need help with sg ioctls
Date: Tue, 4 Mar 2008 12:08:02 +0100	[thread overview]
Message-ID: <200803041208.02448.bs@q-leap.de> (raw)
In-Reply-To: <200802281743.51332.bs@q-leap.de>

On Thursday 28 February 2008 17:43:51 Bernd Schubert wrote:
> Hello,
>
> for some reasons the kernel.org qla4xxx driver doesn't work for us. Version
> 5.01.00.08 seems to work a bit better, but all default sg-ioctl's are not
> defined.
>
> Adding these manually as in scsi/sg.c works, but IMHO is rather stupid. Is
> there a sane way to call sg_ioctl()?
> I mean it's static and also not exported and the file_operations ioctl
> method is already taken by the qla4xxx driver.
>
> Do I miss something?

Enventually we found the reason for all the trouble. It was a bug in one of 
the debian udev scripts (scsi_devfs.sh), which made it to override /dev 
entries with wrong device major/minors (debian bug Bug#468939).

Sorry for the noise.




-- 
Bernd Schubert
Q-Leap Networks GmbH

      parent reply	other threads:[~2008-03-04 11:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-28 16:43 need help with sg ioctls Bernd Schubert
2008-02-28 20:15 ` Mike Christie
2008-02-28 20:58   ` Bernd Schubert
2008-03-04 11:08 ` Bernd Schubert [this message]

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=200803041208.02448.bs@q-leap.de \
    --to=bs@q-leap.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=michaelc@cs.wisc.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.