
cdrecord -shared memory problem ??? -
Hi out there,
I have a problem during my first steps with cdrecord.
I tried to delete a RW disc first, to have a cheap object for cdrecord
training :-))
Here's my report:
May be somebody has an idea ?
-----------------------------
Check if recorder is available
------------------------------
[root@localhost root]# cdrecord dev=0,5,0 -checkdrive
Cdrecord release 1.8a32 Copyright (C) 1995-1999 J?rg Schilling
scsidev: '0,5,0'
scsibus: 0 target: 5 lun: 0
Using libscg version 'schily-0.1'
Device type : Removable CD-ROM
Version : 2
Response Format: 2
Capabilities : SYNC
Vendor_info : 'YAMAHA '
Identifikation : 'CRW4416S '
Revision : '1.0g'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
-----------------------------------
Check command language for blanking
------------------------------------
[root@localhost root]# cdrecord dev=0,5,0 -blank=help
Blanking options:
all blank the entire disk
disc blank the entire disk
disk blank the entire disk
fast minimally blank the entire disk (PMA, TOC,
pregap)
minimal minimally blank the entire disk (PMA, TOC,
pregap)
track blank a track
unreserve unreserve a track
trtail blank a track tail
unclose unclose last session
session blank last session
--------------------------------------
Try blanking....
------------------------------------
[root@localhost root]# cdrecord dev=0,5,0 -blank=all -debug
dev: 0,5,0 speed: -1 fs: -1
Cdrecord release 1.8a32 Copyright (C) 1995-1999 J?rg Schilling
TOC Type: 1 = CD-ROM
fs: 4194304 buflen: 4198400
cdrecord: Invalid argument. shmget failed
------------------------------
Analysis with strace ??
-------------------------------
[root@localhost root]# strace cdrecord dev=0,5,0 -blank=all -debug
execve("/usr/local/bin/cdrecord", ["cdrecord", "dev=0,5,0",
"-blank=all", "-debug"], [/* 28 vars */]) = 0
brk(0) = 0x186e4a0
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=0, st_size=0, ...}) = 0
mmap(ptrace: umoven: Input/output error
) = 0x30014000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
fstat(3, {st_mode=0, st_size=0, ...}) = 0
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
mmap(ptrace: umoven: Input/output error
) = 0x3001a000
mmap(ptrace: umoven: Input/output error
) = 0x16be000
mprotect(0x1799000, 355048, PROT_NONE) = 0
mmap(0xdc1a, 2555, 0xc2000000, 0x7 /* MAP_???
*/|MAP_FIXED|MAP_GROWSDOWN|MAP_DENYWRITE|MAP_EXECUTABLE|0x126c0, 1064,
0xc200
0000) = 0x17ce000
mmap(0x36c, 959, 0xe0000000, 0x8 /* MAP_???
*/|MAP_FIXED|MAP_ANONYMOUS|MAP_GROWSDOWN|0x280, 959, 0xe0000000) =
0x17ec000
close(3) = 0
munmap(0x30014000, 22258) = 0
getpid() = 913
brk(0) = 0x186e4a0
brk(0x186e640) = 0x186e640
brk(0) = 0x186e640
brk(0x186f000) = 0x186f000
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
setrlimit(RLIMIT_NOFILE, {rlim_cur=109, rlim_max=1024}) = 0
open("/etc/default/cdrecord", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/default/cdrecord", O_RDONLY) = -1 ENOENT (No such file or
directory)
fstat(1, {st_mode=0, st_size=0, ...}) = 0
mmap(ptrace: umoven: Input/output error
) = 0x30014000
ioctl(1, 0x402c7413, 0x7fffdde8) = 0
write(1, "dev: 0,5,0 speed: -1 fs: -1\n", 28dev: 0,5,0 speed: -1 fs: -1
) = 28
write(1, "Cdrecord release 1.8a32 Copyrigh"..., 63Cdrecord release
1.8a32 Copyright (C) 1995-1999 J?rg Schilling
) = 63
fstat(2, {st_mode=0, st_size=0, ...}) = 0
write(1, "TOC Type: 1 = CD-ROM\n", 21TOC Type: 1 = CD-ROM
) = 21
mlockall(0x6000, 0x30014000, 0x15, 0x17df060, 0x7f7f7f7f) = 0
sched_get_priority_max(0x2, 0, 0, 0x17df060, 0x7f7f7f7f) = 99
sched_setscheduler(0, 0x2, 0x7fffe4c8, 0x17df060, 0x7f7f7f7f) = 0
write(2, "fs: 4194304 buflen: 4198400\n", 28fs: 4194304 buflen: 4198400
) = 28
shmget(IPC_PRIVATE, 4198400, IPC_CREAT|0x180|0600) = -1 EINVAL (Invalid
argument)
write(2, "cdrecord: Invalid argument. shmg"..., 42cdrecord: Invalid
argument. shmget failed
) = 42
munmap(0x30014000, 4096) = 0
_exit(22) = ?
[root@localhost root]#