Perfectly working CD-R/DVD drive, can mount CDs and DVDs, can burn CDs, just doesn't see what is really in the drive. Requested info: # X-CD-Roast V0.98alpha10 Configuration-File # # Automatically created by the X-CD-Roast-Setup # Don't edit! (Unless you REALLY know what you are doing) # VERSION = "0.98alpha10" PLATFORM = "Linux stalin.easternbloc 2.4.20-pre9-ben0 #2 Sat Oct 12 21:12:46 PDT 2002 ppc PowerBook4,3" WRITER_DEVNR = 0 WRITER_VENDOR = "SONY " WRITER_MODEL = "CD-RW CRX800E " WRITER_MODE = -1 WRITER_SPEED = 8 WRITER_FIFO = 8192 READDEV1_DEVNR = 0 READDEV1_VENDOR = "SONY " READDEV1_MODEL = "CD-RW CRX800E " READDEV2_DEVNR = 0 READDEV2_VENDOR = "SONY " READDEV2_MODEL = "CD-RW CRX800E " AUDIOREAD_INTERFACE = 0 AUDIOREAD_SPEED = 8 AUDIOREAD_OVERLAP = 0 AUDIOREAD_SECTORBURST = 75 IMAGE_DIRS = "/var/tmp" DSP_DEVICE = "" MIX_DEVICE = "" NOTIFY_VIA = 1 NOTIFY_AT = 0 CDDB_HOST = "freedb.freedb.org" CDDB_PORT = 888 LOGFILE = "~/.xcdroast/xcdr098.log" LOGLEVEL = 0 LANGUAGE = -1 OPTION_TOOLTIPS = 1 OPTION_AUTORAISE = 0 OPTION_SAVEPOS = 0 OPTION_PERSONIMAGE = 0 OPTION_OVERWRITEWARN = 0 OPTION_AUTODELETE = 0 OPTION_TITLEPROGRESS = 0 OPTION_DISPLAYCDTEXT = 1 OPTION_SELECTIONMODE = 0 OPTION_DEFWRITEMODE = 0 ROOT_USERS_ACCESS = 2 ROOT_USERS_LISTS = "vladimir" ROOT_HOSTS_ACCESS = 0 ROOT_OPTION_CHANGE_WRITER = 0 ROOT_OPTION_CHANGE_WRITEPARAM = 1 ROOT_OPTION_CHANGE_READER = 0 ROOT_OPTION_CHANGE_READPARAM = 1 ROOT_OPTION_CHANGE_IMAGEDIRS = 0 ROOT_OPTION_CHANGE_LOGOPTIONS = 1 ## yaboot.conf generated by yabootconfig 1.0.5 ## ## run: "man yaboot.conf" for details. Do not make changes until you have!! ## ## For a dual-boot menu, add one or more of: ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ boot=/dev/hda9 device=hd: partition=11 root=/dev/hda11 timeout=50 delay=5 install=/usr/lib/yaboot/yaboot magicboot=/usr/lib/yaboot/ofboot enablecdboot enablenetboot enableofboot default=linux-02 macosx=/dev/hda12 brokenosx append="hdb=ide-scsi" image=/boot/vmlinux-2.4.19-r6-01 label=linux-01 read-only image=/boot/vmlinux-2.4.20-pre9-ben0-02 label=linux-02 read-only # Output of dmesg | grep -i cd (Nothing else of interest involving # the burner shows up, I checked) hdb: SONY CD-RW CRX800E, ATAPI CD/DVD-ROM drive Vendor: SONY Model: CD-RW CRX800E Rev: 1.3p Type: CD-ROM ANSI SCSI revision: 02 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.12
Vlad: This is 'expected' behaviour according to cdrecord documentation, it doesn't distinguish between media types until you run it. Is this causing you any problems?
I hope this isn't 'expected' behavior, considering the fact that if I click 'read all tracks' on the 'Read CD' tab/button, it errors that 'No CD loaded in read device'. I tried with both perfectly good audio and data CDs, niether worked.Oh, and by the way, I can make perfectly OK isos by doing 'cat /dev/cdroms/cdrom0 > ~/blah.iso', then burn them with 'cdrecord ~/blah.iso'. I really don't mind using this method on data CDs, as it's just as fast, and actually takes less clicking, but it doesn't work on Audio CDs.
can you post the output of the following command? cdda2wav -D /dev/cdrom -J -g -Q -H -v1 (replace /dev/cdrom with your cdrom device). also, can you play audio CDs?
while you're at it, can you post the following output 1. lsmod 2. cdrecord -scanbus 3. xcdroast -d 10
-v1 isn't an option, I'm guessing that -vall is what you're going for: root@stalin vladimir # cdda2wav -D /dev/cdroms/cdrom0 -J -g -Q -H -vall cdrom device (/dev/cdroms/cdrom0) is not of type generic SCSI. Setting interface to cooked_ioctl. 86016 bytes buffer memory requested, 4 buffers, 8 sectors #Cdda2wav version 1.11a34_linux_2.4.19-r6_ppc_powerbook4,3, real time sched., soundcard, libparanoia support EnableCdda_cooked (CDIOCSETCDDA) is not available... Tracks:1 42:22.38 CDINDEX discid: xf7pbSbXdIZMozisMVC8Vvm4140- CDDB discid: 0x0209ec01 CD-Text: not detected CD-Extra: not detected Album title: '' from '' T01: 0 42:20.38 audio pre-emphasized copydenied stereo title '' from '' Leadout: 190538 No media catalog number present. scanning for ISRCs: 1 ... EnableCdda_cooked (CDIOCSETCDDA) is not available... EnableCdda_cooked (CDIOCSETCDDA) is not available... Invalid argument Invalid argument Invalid argument Invalid argument Invalid argument Invalid argument Invalid argument Invalid argument index scan: 1...Invalid argument Driver and/or firmware bug detected! Drive cannot play the very last sector (190537)! EnableCdda_cooked (CDIOCSETCDDA) is not available... EnableCdda_cooked (CDIOCSETCDDA) is not available... EnableCdda_cooked (CDIOCSETCDDA) is not available... root@stalin vladimir # Note: That was with my copy of Q2 - Yeehaw. I can "play" audio CDs, all the way up to the point of sound output, which I haven't gotten around to enabling, because these machines have no CDROM -> Audio system abilities, you have to run it through a CD reader program. But xmms does say a time and "play" it, and I can rip CDs with cdparanoia. root@stalin vladimir # lsmod Module Size Used by Not tainted i2c-keywest 7072 0 (autoclean) (unused) dmasound_pmac 64672 0 (unused) dmasound_core 12896 0 [dmasound_pmac] soundcore 4536 3 [dmasound_core] i2c-core 14656 0 [i2c-keywest dmasound_pmac] root@stalin vladimir # cdrecord -scanbus Cdrecord 1.11a34 (powerpc-unknown-linux-gnu) Copyright (C) 1995-2002 J
-v1 isn't an option, I'm guessing that -vall is what you're going for: root@stalin vladimir # cdda2wav -D /dev/cdroms/cdrom0 -J -g -Q -H -vall cdrom device (/dev/cdroms/cdrom0) is not of type generic SCSI. Setting interface to cooked_ioctl. 86016 bytes buffer memory requested, 4 buffers, 8 sectors #Cdda2wav version 1.11a34_linux_2.4.19-r6_ppc_powerbook4,3, real time sched., soundcard, libparanoia support EnableCdda_cooked (CDIOCSETCDDA) is not available... Tracks:1 42:22.38 CDINDEX discid: xf7pbSbXdIZMozisMVC8Vvm4140- CDDB discid: 0x0209ec01 CD-Text: not detected CD-Extra: not detected Album title: '' from '' T01: 0 42:20.38 audio pre-emphasized copydenied stereo title '' from '' Leadout: 190538 No media catalog number present. scanning for ISRCs: 1 ... EnableCdda_cooked (CDIOCSETCDDA) is not available... EnableCdda_cooked (CDIOCSETCDDA) is not available... Invalid argument Invalid argument Invalid argument Invalid argument Invalid argument Invalid argument Invalid argument Invalid argument index scan: 1...Invalid argument Driver and/or firmware bug detected! Drive cannot play the very last sector (190537)! EnableCdda_cooked (CDIOCSETCDDA) is not available... EnableCdda_cooked (CDIOCSETCDDA) is not available... EnableCdda_cooked (CDIOCSETCDDA) is not available... root@stalin vladimir # Note: That was with my copy of Q2 - Yeehaw. I can "play" audio CDs, all the way up to the point of sound output, which I haven't gotten around to enabling, because these machines have no CDROM -> Audio system abilities, you have to run it through a CD reader program. But xmms does say a time and "play" it, and I can rip CDs with cdparanoia. root@stalin vladimir # lsmod Module Size Used by Not tainted i2c-keywest 7072 0 (autoclean) (unused) dmasound_pmac 64672 0 (unused) dmasound_core 12896 0 [dmasound_pmac] soundcore 4536 3 [dmasound_core] i2c-core 14656 0 [i2c-keywest dmasound_pmac] root@stalin vladimir # cdrecord -scanbus Cdrecord 1.11a34 (powerpc-unknown-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling Linux sg driver version: 3.1.24 Using libscg version 'schily-0.6' scsibus0: 0,0,0 0) 'SONY ' 'CD-RW CRX800E ' '1.3p' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * root@stalin vladimir # As for xcdroast -d 10, it feeds a lot of output, and the output won't page or divert to a file, so I just reproduced the problem, and what I think is the proper section of the output is as follows. If there is a way to nicely get all of the output, and you need it all, I'd be glad to do so. DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap READCD dev= "0,0,0" f=- sectors=0-0 2>&1 DGB10: check_medium_loaded: Read speed: 706 kB/s (CD 4x, DVD 0x). DGB10: check_medium_loaded: Write speed: 1411 kB/s (CD 8x, DVD 1x). DGB10: check_medium_loaded: Capacity: 190538 Blocks = 381076 kBytes = 372 MBytes = 390 prMB DGB10: check_medium_loaded: Sectorsize: 2048 Bytes DGB10: -> Detected sectorsize of 2048 bytes DGB10: check_medium_loaded: Copy from SCSI (0,0,0) disk to file '-' DGB10: check_medium_loaded: end: 0 DGB10: check_medium_loaded: addr: 0 DGB10: check_medium_loaded: Time total: 0.000sec DGB10: check_medium_loaded: Read 0.00 kB at 0.0 kB/sec. DGB10: medium loaded return code: 0 DGB1: calling: /usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "0,0,0" -J -g -Q -H -v1 2>&1 DGB10: readtoc: unknown option 1 DGB10: readtoc: help lists all verbose options. DGB10: readtoc: disable disables verbose mode. DGB10: readtoc: all enables all verbose options. DGB10: readtoc: toc display the table of contents. DGB10: readtoc: summary display a summary of track parameters. DGB10: readtoc: indices retrieve/display index positions. DGB10: readtoc: catalog retrieve/display media catalog number. DGB10: readtoc: trackid retrieve/display international standard recording code. DGB10: readtoc: sectors display the start sectors of each track. DGB10: readtoc: titles display any known track titles. DGB2: ------ cdinfo-structure ----- DGB2: nr_tracks: -2 DGB2: total_size: 0 DGB2: cddb_discid: 00000000 DGB2: have_cdtext: -1, have_cdextra: -1 DGB2: title/artist: (NULL)/(NULL) DGB2: cddb_dtitle: (NULL) DGB2: leadout: 0 DGB2: --------- imagelist glist --------- Note: Same CD as before, Quake 2 Also an interesting piece of info, the output shows the use of the command '/usr/lib/xcdroast-0.98/bin/xcdrwrap READCD dev= "0,0,0" f=- sectors=0-0', but the output of that command isn't shown, I've pasted it below: vladimir@stalin vladimir $ /usr/lib/xcdroast-0.98/bin/xcdrwrap READCD dev= "0,0,0" f=- sectors=0-0 Read speed: 706 kB/s (CD 4x, DVD 0x). Write speed: 1411 kB/s (CD 8x, DVD 1x). Capacity: 190538 Blocks = 381076 kBytes = 372 MBytes = 390 prMB Sectorsize: 2048 Bytes Copy from SCSI (0,0,0) disk to file '-' end: 0 addr: 0 Time total: 0.000sec Read 0.00 kB at 0.0 kB/sec. vladimir@stalin vladimir $ Yet another interesting morsel of goodness is that it uses the line '/usr/lib/xcdroast-0.98/bin/xcdrwrap CDDA2WAV -D "0,0,0" -J -g -Q -H -v1', which complains about -v1 not being an option. Oh wee. If that isn't important, I don't know what is.
hmm. well it seems you've somehow found a way to shoot yourself in the foot. the xcdroast ebuild depends on <=app-cdr/cdrtools-1.11.33. from your output, you're using cdrtools-1.11.34 (cdrtools is the package containing cdda2wav and cdrecord. cdda2wav is what xcdroast uses to get the audio from your CD). try downgrading to cdrtools-1.11.33 and see if xcdroast starts working again.
That fixed it. Interesting. I thought portage would detect the dependency and either not upgrade, or not delete <.33 when .34 was installed. I guess I was wrong. Thanks a bunch.
you've hit a case where cdrtools is in your world file and you did an 'emerge' not an 'emerge -u'. that would have caused the behavior you observed. glad it's working for you. marking this as FIXED.