Skip to contentSkip to conversation

Cannot burn without strace on 2.6.8-rc3-mm1

DISCUSSION Alexander Gran 3 participants 4 messages Aug 9, 2004 Block layer

lore
Share & tools
lore
#0 lore raw

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 
<[email protected]>.
      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

Signature · 2 lines
Encrypted Mails welcome.
PGP-Key at http://zodiac.dnsalias.org/misc/pgpkey.asc | Key-ID: 0x6D7DD291
#1 lore raw
Quoted 19 lines · Alexander Gran

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 
<[email protected]>.
      The original author should not be bothered with problems of this 
version.
Quoted 10 lines

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.

Quoted 4 lines

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?

drivers/block/scsi_ioctl.c renamed from drivers/block/scsi_ioctl.c~ +1 -1
@@ -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;
Signature · 1 line
Jens Axboe
#2 lore raw
In reply to Alexander Gran
Quoted 8 lines · Alexander Gran

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.

Signature · 2 lines
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
#3 lore raw

Am Montag, 9. August 2004 17:29 schrieb bert hubert:

Quoted 2 lines

Try:
LD_ASSUME_KERNEL=2.4 cdrecord -v dev=/dev/hdc etc etc etc.

Doesn't work, same error.

regards
Alex

Signature · 2 lines
Encrypted Mails welcome.
PGP-Key at http://zodiac.dnsalias.org/misc/pgpkey.asc | Key-ID: 0x6D7DD291