All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joachim Geiler <Joachim.Geiler@t-online.de>
To: linux-scsi@vger.kernel.org
Subject: Re: cdrom_ioctl() hanging in 2.6.3
Date: Mon, 23 Feb 2004 20:58:27 +0100	[thread overview]
Message-ID: <c1dlvr$hc3$1@sea.gmane.org> (raw)
In-Reply-To: c1c43f$pm4$1@sea.gmane.org

Joachim Geiler wrote:

> Andrew Morton wrote:
> 
>> 
>> Gents,
>> 
>> apparently KDE's `k3b' command is consistently hanging when accessing a
>> SCSI CDROM.  See http://bugs.kde.org/show_bug.cgi?id=75553
>> 
>> Frank has generated a stack backtrace, below.
>> 
>> Is this an adaptec driver problem, or a generic thing?
>> 
>> Thanks.

Hello again,

I did a strace of the syscalls of k3b before it hangs (kernel 2.6.3mm2). I
think the following tail of the trace may be of interest:


lstat64("/dev/sr0", {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0
open("/dev/sr0", O_RDONLY|O_NONBLOCK)   = 12
fstat64(12, {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0
ioctl(12, 0x5321, 0x1)                  = 12
close(12)                               = 0
open("/dev/sr0", O_RDONLY|O_NONBLOCK)   = 12
fstat64(12, {st_mode=S_IFBLK|0660, st_rdev=makedev(11, 0), ...}) = 0
ioctl(12, 0x5382, 0xbfffdc58)           = 0
ioctl(12, 0x5386, 0xbfffdd24)           = 0
close(12)                               = 0
open("/dev/sr0", O_RDONLY|O_NONBLOCK)   = 12
ioctl(12, 0x5393 <unfinished ...>

Here the process hangs in D state....

/dev/sr0 is a yamaha cdrw 6416 at symbios 53c875.


Joachim
 


  reply	other threads:[~2004-02-23 19:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-22 21:47 cdrom_ioctl() hanging in 2.6.3 Andrew Morton
2004-02-23  5:47 ` Joachim Geiler
2004-02-23 19:58   ` Joachim Geiler [this message]
2004-02-23 21:11     ` Jens Axboe

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='c1dlvr$hc3$1@sea.gmane.org' \
    --to=joachim.geiler@t-online.de \
    --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 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.