* Cannot burn without strace on 2.6.8-rc3-mm1
@ 2004-08-09 14:49 Alexander Gran
2004-08-09 15:17 ` Jens Axboe
2004-08-09 15:29 ` bert hubert
0 siblings, 2 replies; 4+ messages in thread
From: Alexander Gran @ 2004-08-09 14:49 UTC (permalink / raw)
To: Linux-kernel
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.
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?
alex@t40:~$ lspci
0000:00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev
03)
0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev
03)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0
EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev
01)
0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage
Controller (rev 01)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97
Modem Controller (rev 01)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf
[Radeon Mobility 9000 M9] (rev 02)
0000:02:00.0 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus
Controller (rev 01)
0000:02:00.1 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus
Controller (rev 01)
0000:02:01.0 Ethernet controller: Intel Corp. 82540EP Gigabit Ethernet
Controller (Mobile) (rev 03)
0000:02:02.0 Ethernet controller: Atheros Communications, Inc. AR5211 802.11ab
NIC (rev 01)
kernel config:
http://zodiac.dnsalias.org/misc/config-2.6.8-rc3-mm1
dmesg:
http://zodiac.dnsalias.org/misc/dmesg-2.6.8-rc3-mm1
regards
Alex
--
Encrypted Mails welcome.
PGP-Key at http://zodiac.dnsalias.org/misc/pgpkey.asc | Key-ID: 0x6D7DD291
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Cannot burn without strace on 2.6.8-rc3-mm1
2004-08-09 14:49 Cannot burn without strace on 2.6.8-rc3-mm1 Alexander Gran
@ 2004-08-09 15:17 ` Jens Axboe
2004-08-09 15:29 ` bert hubert
1 sibling, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2004-08-09 15:17 UTC (permalink / raw)
To: Alexander Gran; +Cc: Linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Cannot burn without strace on 2.6.8-rc3-mm1
2004-08-09 14:49 Cannot burn without strace on 2.6.8-rc3-mm1 Alexander Gran
2004-08-09 15:17 ` Jens Axboe
@ 2004-08-09 15:29 ` bert hubert
2004-08-09 17:48 ` Alexander Gran
1 sibling, 1 reply; 4+ messages in thread
From: bert hubert @ 2004-08-09 15:29 UTC (permalink / raw)
To: Alexander Gran; +Cc: Linux-kernel
On Mon, Aug 09, 2004 at 04:49:17PM +0200, Alexander Gran wrote:
> Driveropts: 'burnfree'
> SCSI buffer size: 64512
> cdrecord: Cannot allocate memory. Cannot get SCSI I/O buffer.
>
> 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?
Try:
LD_ASSUME_KERNEL=2.4 cdrecord -v dev=/dev/hdc etc etc etc.
Not that this is correct, but if that helps it will have narrowed down the
problem. Also show 'ldd cdrecord' and 'ldd strace'.
I've seen a problem before that was solved by strace and it had to do with
the TLS NPTL stuff.
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-09 18:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-09 14:49 Cannot burn without strace on 2.6.8-rc3-mm1 Alexander Gran
2004-08-09 15:17 ` Jens Axboe
2004-08-09 15:29 ` bert hubert
2004-08-09 17:48 ` Alexander Gran
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.