cdrecord problems (cdrecord -scanbus returning error). Please help

cdrecord problems (cdrecord -scanbus returning error). Please help

Post by sugapabl » Tue, 13 Aug 2002 22:24:02



Just to note: I have successfully recorded a cd on this machine before,
so I'm doubly confused on why I'm having so much trouble now.

I ran cdrecord to look for the location of my cd-r and received somethign
that looked like this

0,0,0: " " " Removable Disk not present
0,1,0:
0,2,0:
0,3,0:
0,4,0:
0,5,0:
0,6,0:
0,7,0:

cdrecord would not write to whatever 0,0,0 was.

My cd-r is USB (Microsolutions Backpack) and I did mount a usb camera a
little while ago so I unmounted the camera and rebooted the machine
hoping it would pick up the cd-r.

This really messed things up.

Now when I type cdrecord -scanbus I get the following:


Cdrecord 1.11a15 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.

What's going on?

--

http://www.sugapablo.com

To email me, remove "Sugapablo-" from the email address

 
 
 

cdrecord problems (cdrecord -scanbus returning error). Please help

Post by sugapabl » Wed, 14 Aug 2002 05:30:50


While reading on the internet and trying to find a solution (not finding
one...grr), someone said you should run a strace.  I don't know what the
output means, but maybe someone here does:

[root@localhost sugapablo]# strace cdrecord -scanbus
execve("/usr/bin/cdrecord", ["cdrecord", "-scanbus"], [/* 46 vars */]) = 0
uname({sys="Linux", node="localhost.sugapablo.com", ...}) = 0
brk(0)                                  = 0x807c57c
fcntl64(0, F_GETFD)                     = 0
fcntl64(1, F_GETFD)                     = 0
fcntl64(2, F_GETFD)                     = 0
access("/etc/suid-debug", F_OK)         = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=55915, ...}) = 0
old_mmap(NULL, 55915, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\203"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1275300, ...}) = 0
old_mmap(NULL, 1292000, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40024000
mprotect(0x40156000, 38624, PROT_NONE)  = 0
old_mmap(0x40156000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x131000) = 0x40156000
old_mmap(0x4015c000, 14048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4015c000
close(3)                                = 0
munmap(0x40016000, 55915)               = 0
getrlimit(0x7, 0xbfffd290)              = 0
setrlimit(RLIMIT_NOFILE, {rlim_cur=109, rlim_max=1024}) = 0
brk(0)                                  = 0x807c57c
brk(0x807c6fc)                          = 0x807c6fc
brk(0x807d000)                          = 0x807d000
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)
open("/etc/default/cdrecord", O_RDONLY) = -1 ENOENT (No such file or directory)
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
write(1, "Cdrecord 1.11a15 (i586-mandrake-"..., 82Cdrecord 1.11a15 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
) = 82
fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
brk(0x807f000)                          = 0x807f000
open("/dev/sg0", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sg1", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sg2", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sg3", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sg4", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sg5", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sg6", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sg7", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sg8", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sg9", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sg10", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg11", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg12", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg13", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg14", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg15", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg16", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg17", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg18", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg19", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg20", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg21", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg22", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg23", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg24", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg25", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg26", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg27", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg28", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg29", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg30", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sg31", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/sga", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgb", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgc", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgd", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sge", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgf", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgg", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgh", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgi", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgj", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgk", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgl", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgm", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgn", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgo", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgp", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgq", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgr", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgs", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgt", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgu", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgv", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgw", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgx", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgy", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/sgz", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/pg0", O_RDWR)                = -1 ENOSYS (Function not implemented)
open("/dev/pg0", O_RDWR)                = -1 ENOSYS (Function not implemented)
open("/dev/pg0", O_RDWR)                = -1 ENXIO (No such device or address)
open("/dev/pg1", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/pg2", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/pg3", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/pg4", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/pg5", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/pg6", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/pg7", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/pg8", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/pg9", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/pg10", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/pg11", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/pg12", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/pg13", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/pg14", O_RDWR)               = -1 ENOENT (No such file or directory)
open("/dev/pg15", O_RDWR)               = -1 ENOENT (No such file or directory)
write(2, "cdrecord: No such file or direct"..., 86cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
) = 86
write(2, "cdrecord: For possible targets t"..., 80cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
) = 80
munmap(0x40016000, 4096)                = 0
_exit(-1)                               = ?
[root@localhost sugapablo]#

--
Sugapablo-russ...@stargate.net
http://www.sugapablo.com

To email me, remove "Sugapablo-" from the email address

 
 
 

cdrecord problems (cdrecord -scanbus returning error). Please help

Post by MH » Fri, 16 Aug 2002 04:33:11



> Just to note: I have successfully recorded a cd on this machine before,
> so I'm doubly confused on why I'm having so much trouble now.

> I ran cdrecord to look for the location of my cd-r and received somethign
> that looked like this

> 0,0,0: " " " Removable Disk not present
> 0,1,0:
> 0,2,0:
> 0,3,0:
> 0,4,0:
> 0,5,0:
> 0,6,0:
> 0,7,0:

> cdrecord would not write to whatever 0,0,0 was.

> My cd-r is USB (Microsolutions Backpack) and I did mount a usb camera a
> little while ago so I unmounted the camera and rebooted the machine
> hoping it would pick up the cd-r.

> This really messed things up.

> Now when I type cdrecord -scanbus I get the following:


> Cdrecord 1.11a15 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 J?rg
> Schilling cdrecord: No such file or directory. Cannot open '/dev/pg*'.
> Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord
> -scanbus'. Make sure you are root.

> What's going on?

I'm guessing that cdrecord does not recognize USB devices. When you say you
recorded CDs on this machine before, were you using a USB device?
 
 
 

1. Help: cdrecord-scanbus complaints about "wrong size for CD capabilities"

Hi,
I have two IDE working (it's a dual boot PC) drives (an ASUS CDROM and a LG CDRW)
in a LM 8.2/KDE 3.0 system.
Mandrake initially configured the CDRW (hdb) as a SCSI emulation and left
the LG CDROM as hdd. As Xcdroast did not recognize
the CDROM (for ro) I slightly modified my files and now both drives are SCSI emulated
(see below parts of my fstab and lilo.conf).
Supermount seems to be working as I can view the content of a cd inserted into
either drive by clicking on its respective icon.
Yet, when I run (as root) cdrecord-scanbus it complaints about a wrong CD capabilities page (see below).
What's more, when running the cdrecord -scanbus after boot it does NOT list the CDRW data
(first response line is 0,0,0, 0)
and then the Warning appears !).
Yet after manually mounting the CDRW (/mnt/cdrom2) I get the full output as below.

Please advise both regarding the warning and the inconsistent response
from cdrecord (maybe some supermount problem???).

Thanks a lot in advance !

Michael Badt

--------------------Output from: cdrecord - scanbus (as root)-------------------------
Cdrecord 1.11a15 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
Using libscg version 'schily-0.5'
scsibus0:  
0,0,0              0) 'HL-DT-ST'     'CD-RW GCE-8160B '   '1.02' Removable CD-ROM  
cdrecord: Warning: controller returns wrong size for CD capabilities page.
0,1,0      1) 'ASUS '           'CD-S400      '       '2.40'            Removable CD-ROM
0,2,0      2) *
0,3,0      3) *
0,4,0      4) *
0,5,0      5) *
0,6,0      6) *
0,7,0      7) *  

----------relevant part of my.t fstab-------------------------------------------------
/mnt/cdrom /mnt/cdrom supermount dev=/dev/scd1,fs=iso9660,ro,--,user,iocharset=iso8859-1 0 0  
/mnt/cdrom2 /mnt/cdrom2 supermount dev=/dev/scd0,fs=iso9660,--,user,iocharset=iso8859-1 0 0

---------------------------------- my lilo.conf---------------------------------
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=windows
keytable=/boot/us.klt
lba32
prompt
nowarn
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
ignore-table

image=/boot/vmlinuz
label=linux
root=/dev/hdc1
initrd=/boot/initrd.img append="quiet devfs=mount hdb=ide-scsi hdd=ide-scsi"
vga=788
read-only
------------------------snip--------------------

2. how to make linux browser looks like windows browser

3. cdrecord -scanbus problem

4. fully conecting win98 with linux

5. cdrecord scanbus sg driver & root vs. user problem

6. Linking huge applications on Solaris 2.3

7. Problems running cdrecord -scanbus

8. Bill Gates Pie

9. cdrecord -scanbus doesn't work

10. cdrecord -scanbus doesn't show everything

11. cdrecord -scanbus

12. cdrecord -scanbus seg faults