mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Bill Davidsen <davidsen@tmr.com>
Cc: Luke-Jr <luke-jr@utopios.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: ide-cd doesn't replace ide-scsi?
Date: Tue, 29 Nov 2005 15:58:22 +0100	[thread overview]
Message-ID: <58cb370e0511290658m682ae978hea2100f57252a928@mail.gmail.com> (raw)
In-Reply-To: <438B70AA.7090805@tmr.com>

On 11/28/05, Bill Davidsen <davidsen@tmr.com> wrote:
> Luke-Jr wrote:
> > Note: results are with 2.6.13 (-gentoo-r4 + supermount) and 2.6.14 (-gentoo)
> > I've been struggling with burning DVD+R DL discs and upgrading the firmware on
> > my DVD burner, and just today decided to rmmod ide-cd and try using ide-scsi.
> > Turns out it works... so is ide-cd *supposed* to handle cases other than
> > simple reading and burning or is this a bug? If not a bug, should ide-scsi
> > really be marked as deprecated?
> > Also, two bugs with ide-scsi:
> > 1. On loading the module, it detects and allocates 6 SCSI devices for a single
> > DVD burner (Toshiba ODD-DVD SD-R5272); kernel log for this event attached
> > 2. On attempted unloading of the module, rmmod says 'Killed' and the module
> > stays put, corrupt. There was some kind of error in dmesg, but it appears to
> > have avoided syslog-- If I see it again, I'll save it.
>
> I think you may have the probe-all-LUNs set, and a CD burner which
> responds to more than one. That's one possible cause for this.

That may be it.

> Unfortunately using ide-cd still doesn't have the code set to allow all
> burning features to work if you are not root. Even if you have
> read+write there's one command you need to do multi-session which is
> only allowed to root. Works fine for single sessions, I guess that's all
> someone uses.

Interesting because both drivers ide-cd and sr+ide-scsi use exactly
the same code (block/scsi_ioctl.c) to verify which commands don't
need root privileges.  Care to give details?

> Haven't tried unloading the module, so I have no advice on that other
> than "don't do that."

Known problem with ide-scsi, reference counting for "virtual" SCSI host
is missing (it was always buggy but was exposed in 2.6.x something by
sr.c changes).

Bartlomiej

  reply	other threads:[~2005-11-29 14:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-28 12:18 Luke-Jr
2005-11-28 21:03 ` Bill Davidsen
2005-11-29 14:58   ` Bartlomiej Zolnierkiewicz [this message]
2005-11-29 15:23     ` Jens Axboe
2005-11-30  2:54       ` Luke-Jr
2005-11-30  9:03       ` Luke-Jr
2005-11-30  2:53     ` Luke-Jr
2005-11-29 19:12   ` Luke-Jr
2005-12-02 16:32     ` Bill Davidsen

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=58cb370e0511290658m682ae978hea2100f57252a928@mail.gmail.com \
    --to=bzolnier@gmail.com \
    --cc=davidsen@tmr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luke-jr@utopios.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

all inboxes | Powered by JetHome®