From: Jens Axboe <axboe@suse.de>
To: Alexander Gran <alex@zodiac.dnsalias.org>
Cc: Linux-kernel@vger.kernel.org
Subject: Re: Cannot burn without strace on 2.6.8-rc3-mm1
Date: Mon, 9 Aug 2004 17:17:18 +0200 [thread overview]
Message-ID: <20040809151717.GZ10418@suse.de> (raw)
In-Reply-To: <200408091649.20180@zodiac.zodiac.dnsalias.org>
On Mon, Aug 09 2004, Alexander Gran wrote:
> Ok, thats strange:
>
> Just switched form 2.6.7-mm5 to 2.6.8-rc3-mm1
> However I cannot burn with cdrecord.
> cdrecord -v dev=/dev/hdc -dao driveropts=burnfree
> -data /files/Pakete/KNOPPIX_V3.4-2004-05-17-DE.iso
> gives:
>
> alex@t40:~$ cdrecord -v dev=/dev/hdc -dao driveropts\=burnfree
> -data /files/Pakete/KNOPPIX_V3.4-2004-05-17-DE.iso
> Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg
> Schilling
> NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
> and thus may have bugs that are not present in the original version.
> Please send bug reports and support requests to
> <cdrtools@packages.debian.org>.
> The original author should not be bothered with problems of this
> version.
>
> TOC Type: 1 = CD-ROM
> scsidev: '/dev/hdc'
> devname: '/dev/hdc'
> scsibus: -2 target: -2 lun: -2
> Warning: Open by 'devname' is unintentional and not supported.
> Linux sg driver version: 3.5.27
> Using libscg version 'schily-0.8'.
> Driveropts: 'burnfree'
> SCSI buffer size: 64512
> cdrecord: Cannot allocate memory. Cannot get SCSI I/O buffer.
Apply this patch.
> However
> strace cdrecord -v dev=/dev/hdc -dao driveropts=burnfree
> -data /files/Pakete/KNOPPIX_V3.4-2004-05-17-DE.iso
> just works..Strange, um?
Uhm are you sure?
--- linux-2.6.8-rc3-mm1/drivers/block/scsi_ioctl.c~ 2004-08-09 08:59:06.817350600 +0200
+++ linux-2.6.8-rc3-mm1/drivers/block/scsi_ioctl.c 2004-08-09 08:59:36.480841064 +0200
@@ -90,7 +90,7 @@
if (size < 0)
return -EINVAL;
if (size > (q->max_sectors << 9))
- return -EINVAL;
+ size = q->max_sectors << 9;
q->sg_reserved_size = size;
return 0;
--
Jens Axboe
next prev parent reply other threads:[~2004-08-09 15:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-09 14:49 Alexander Gran
2004-08-09 15:17 ` Jens Axboe [this message]
2004-08-09 15:29 ` bert hubert
2004-08-09 17:48 ` Alexander Gran
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=20040809151717.GZ10418@suse.de \
--to=axboe@suse.de \
--cc=Linux-kernel@vger.kernel.org \
--cc=alex@zodiac.dnsalias.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®