From: "Amit D. Chaudhary" <amit_c@comcast.net>
To: Jim.Roarick@Bull.com
Cc: linux-scsi@vger.kernel.org
Subject: Re: SCSI_IOCTL_GET_IDLUN
Date: Wed, 12 May 2004 12:34:06 -0700 [thread overview]
Message-ID: <40A27C2E.6040205@comcast.net> (raw)
In-Reply-To: <OFEC3573DC.7085A76C-ON07256E92.00606938-07256E92.00606ED8@az05.bull.com>
Jim,
It seems like the problem is due to an addition in 2.6.5 to
drivers/scsi/st.c, st_ioctl() function to make a call scsi_cmd_ioctl()
which is in drivers/block/scsi_ioctl() before making a call to scsi_ioctl()
scsi_cmd_ioctl() does put a 0 instead of proper data for
SCSI_IOCTL_GET_IDLUN, SCSI_IOCTL_GET_BUS_NUMBER, etc.
Let's wait for a day or so to see if someone else responds that there is
might be a work in progress.
Amit
Jim.Roarick@Bull.com wrote:
> We have an application that does an open of a pseudo tape device (
> /dev/st(x) ), followed by an ioctl (SCSI_IOCTL_GET_IDLUN) to get the
> address information. This worked fine in 2.4.6-20 and 2.6.1 but in 2.6.5
> returns null with no error indicated.
>
> Did something change in mid-stream and, if so, how does one make it work
> again?
>
> Sorry for the lack of a low level description, I am neither a kernel
> person or a driver person, merely an application person.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2004-05-12 19:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-12 17:33 SCSI_IOCTL_GET_IDLUN Jim.Roarick
2004-05-12 19:34 ` Amit D. Chaudhary [this message]
2004-05-12 22:53 ` SCSI_IOCTL_GET_IDLUN Amit D. Chaudhary
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=40A27C2E.6040205@comcast.net \
--to=amit_c@comcast.net \
--cc=Jim.Roarick@Bull.com \
--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