mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joerg Schilling <schilling@fokus.fraunhofer.de>
To: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [Bugme-new] [Bug 6745] New: kernel hangs when trying to read   atip wiith cdrecord
Date: Sun, 25 Jun 2006 12:53:55 +0200	[thread overview]
Message-ID: <449E6B43.nail9A11I1BV@burner> (raw)


You did write:

>> Executing 'read buffer' command on Bus 1 Target 0, Lun 0 timeout 40s
>> CDB:  3C 00 00 00 00 00 00 FC 00 00
>> 
>> So the kernel doesn't timeout/return for some reason.
>> You can find the full log here:
>> http://muenchen-surf.de/lohmaier/cdrecord_atip_log
>> 
>> If that information is not enough to handle the process, please tell me what
>> else you need. Thank you.
>> 

>We seem to have an awful lot of these "CD burner doesn't work but it did in
>2.4" reports.

>Does anyone have the vaguest inklink of how we broke it?

There are various reasons....

One important problem of course is the fact that various distributors (e.g. 
RedHat, Suse, Debian, Ubuntu) are ungrading cdrecord slower than the Linux 
kernel changes it's interfaces. Related  to is problem: the Linux Kernel folks
do not inform me before breaking Linux kernel interfaces, so I am informed too 
late in order to add a workaround to cdrecord in time.

The most recent interface changes have been:

-	Instead of fixing the bug that allowed anyone to send arbitrary SCSI 
	commands to CD/DVD-recorders (caused by not requiring write permission
	on the node), the behavior of SCSI generic was changed (in 2.6.8.1).

	Old behavior: open device as root and send commands as user.
	New behavior: open device as user and send commands as root.

-	Some time between January 2006 and 2004, a new rlimit "RLIMIT_NOFILE"
	was added and implemented in a way that is not compatible to previous
	kernel behavior.

	Old behavior: mlockall(MCL_CURRENT|MCL_FUTURE) done as root was honored
			for the same process if later continued as user.
	New behavior: mlockall(MCL_CURRENT|MCL_FUTURE) done as root is no longer
			honored for the same process if later continued as user.


Another problem is caused by the fact that various distributors (e.g. RedHat, 
Suse, Debian, Ubuntu) are applying patches to cdrecord that break cdrecord.


The problem mentioned in this thread seems to be caused by the fact that
Linux sometimes ignores timeouts. I have no idea how to help in this (timeout) 
case.



Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

             reply	other threads:[~2006-06-25 10:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-25 10:53 Joerg Schilling [this message]
2006-06-25 11:06 ` Andrew Morton
2006-06-25 11:46   ` Joerg Schilling
2006-06-25 19:35     ` Joerg Schilling
  -- strict thread matches above, loose matches on Subject: below --
2006-06-28  7:29 Joerg Schilling
2006-06-28 11:19 ` Christian Lohmaier
2006-06-28  7:18 Joerg Schilling
2006-06-26 18:49 Christian Lohmaier
2006-06-26 18:21 Joerg Schilling
2006-06-25 19:40 Joerg Schilling
2006-06-26  0:01 ` Christian Lohmaier
     [not found] <200606242036.k5OKaSvp031813@fire-2.osdl.org>
2006-06-24 21:47 ` Andrew Morton
2006-06-25 11:05   ` Jan Engelhardt
2006-06-25 11:36     ` Andrew Morton
2006-06-25 19:00       ` Christian Lohmaier
2006-06-25 11:07   ` Arjan van de Ven
2006-06-25 11:37     ` Andrew Morton
2006-06-26 18:59   ` Christian Lohmaier

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=449E6B43.nail9A11I1BV@burner \
    --to=schilling@fokus.fraunhofer.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®