bugCompact Disc Input and Control Library - Bugs: bug #40035, libcdio 0.90 can't read most CDs...

 
 

bug #40035: libcdio 0.90 can't read most CDs properly on Mac OS X 10.6

Submitter:  None
Submitted:  Sun 15 Sep 2013 08:36:30 PM UTC
   
 
Category:  None Severity:  5 - Average
Item Group:  libcdio Status:  Need Info
Privacy:  Public Assigned to:  rocky
Originator Email:  -email is unavailable- Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sat 21 Sep 2013 02:14:35 AM UTC, comment #8: 


> Programming is not my forte, but I'm sure this info will be helpful to Mednafen's developer. I'll pass it along.


Thanks! In the git repository, I have just updated in git the section on how to set the verbosity. I have also added in an example program logging.c in the examples directory.

In doing this I've added a couple more debug messages inside the library itself. It is possible in tracking down this specific, Madnafen developers may want more information. If that happens, we can add more debug messages.

> Since MMC and Mac OS X is a known issue, this bug report can be closed.


Ok. Closed.

Rocky Bernstein <rocky>
Group administrator
Tue 17 Sep 2013 07:34:30 PM UTC, comment #7: 

Programming is not my forte, but I'm sure this info will be helpful to Mednafen's developer. I'll pass it along.

Since MMC and Mac OS X is a known issue, this bug report can be closed.

Thank you for all your help.

Anonymous
Tue 17 Sep 2013 08:48:45 AM UTC, comment #6: 

To get more logging in code that uses the libcdio library, #include <cdio/logging.h>, set cdio_loglevel_default to CDIO_LOG_DEBUG.

See src/cd-info.c and look for cdio_loglevel_default in that file.

Also see http://www.gnu.org/software/libcdio/doxygen/logging_8h.html

I will improve the libcdio documentation to show this better and add an example file in the next release of libcdio.

The libcdio block read commands on OSX on your OSX system work. That is what was used to give the file list information in iso9660. And inside the tests an ISO 96660 file is read and extracted.

Rocky Bernstein <rocky>
Group administrator
Mon 16 Sep 2013 11:32:30 PM UTC, comment #5: 

Mednafen is an open source project that emulates multiple consoles: http://mednafen.sourceforge.net/ The development forum is here: http://forum.fobby.net/index.php?t=thread&frm_id=4&

I get the same result running the commands as root.

If accessing the CD with MMC and libcdio won't work in OS X, what libcdio commands would work?

Can you go into more detail about enabling the verbose log setting?

Anonymous
Mon 16 Sep 2013 08:47:55 AM UTC, comment #4: 

The mmc_read error is to be expected on OSX and is a known limitation. Being able to access an OSX drive for MMC is black art and apparently there are little documented but better ways to get access to the drive than libcdio uses. If I recall correctly there is some weirdness in exclusive versus non-exclusive access. The test might succeed if you run as root and/or nothing else is using the CD.

For of the known mmc problems, everything checks out so far as I can tell. The CD in particular seems to be 230MB so it shouldn't be subject to the recently fixed bugs. (Still, trying against current sources never hurts).

So the next avenue to go down is getting more detail about what's failing than "can't read most CDs properly on Mac OS X 10.6" and what mednafin is doing that is failing.

The cdio library has a verbose log setting which causes it to report what it is doing in more detail. If mednafin has a way of setting that, this might be useful.

Rocky Bernstein <rocky>
Group administrator
Mon 16 Sep 2013 03:26:29 AM UTC, comment #3: 

The output from "cd-info --iso9660" is the same as just "cd-info" except for this extra info:

Volume Set :
ISO9660 filesystem
/:
  d---1xrxrxr 0 0 [fn 00] [LSN     22]      2048 Jul 29 1999 04:10:53  .
  d---1xrxrxr 0 0 [fn 00] [LSN     22]      2048 Jul 29 1999 04:10:53  ..
  ----1xrxrxr 0 0 [fn 00] [LSN    409] 233248768 Jul 27 1999 11:45:02  bigfile.dat
  --i21xrxrxr 0 0 [fn 01] [LSN 186942]   8924160 (  7864320) Jul 16 1999 05:22:26  chrono11.str
  --i21xrxrxr 0 0 [fn 01] [LSN 190782]  10114048 (  8912896) Jul 16 1999 05:23:48  chrono13.str
  --i21xrxrxr 0 0 [fn 01] [LSN 195134]  11564224 ( 10190848) Jul 16 1999 05:17:42  chrono3.str
  --i21xrxrxr 0 0 [fn 01] [LSN 204686]   9203040 (  8110080) Jul 16 1999 05:18:40  chrono5.str
  --i21xrxrxr 0 0 [fn 01] [LSN 200110]  10634624 (  9371648) Jul 16 1999 05:20:00  chrono7.str
  --i21xrxrxr 0 0 [fn 01] [LSN 208646]  10114048 (  8912896) Jul 16 1999 05:21:06  chrono9.str
  --i21xrxrxr 0 0 [fn 01] [LSN 217598]  95191040 ( 83886080) Jul 15 1999 04:54:56  credits.str
  --i21xrxrxr 0 0 [fn 01] [LSN 155999]   3939180 (  3471360) Sep 02 1998 00:49:48  crylogo.str
  --i21xrxrxr 0 0 [fn 01] [LSN 290198]    130144 (   114688) Apr 28 1999 03:36:28  dummy.str
  --i2-xrxrxr 0 0 [fn 01] [LSN 157694]  10783360 (  9502720) Jul 14 1999 09:26:48  kaindem1.str
  --i2-xrxrxr 0 0 [fn 01] [LSN 162334]  27069952 ( 23855104) Jul 14 1999 09:55:50  kaindem2.str
  --i2-xrxrxr 0 0 [fn 01] [LSN 173982]  11805920 ( 10403840) Jul 14 1999 09:44:52  kaindem3.str
  --i2-xrxrxr 0 0 [fn 01] [LSN 179062]  18313120 ( 16138240) Jul 14 1999 09:51:12  kaindem4.str
  --i21xrxrxr 0 0 [fn 01] [LSN 258558]  73531360 ( 64798720) Jun 09 1999 01:23:24  kainint.str
  ----1xrxrxr 0 0 [fn 00] [LSN 114300]      3532 Jul 27 1999 06:22:32  locals.tbl
  --i21xrxrxr 0 0 [fn 01] [LSN 154479]   3532480 (  3112960) Jul 30 1998 02:07:50  publogo.str
  ----1xrxrxr 0 0 [fn 00] [LSN     24]    788480 Jul 27 1999 11:46:42  slus_007.08
  ----1xrxrxr 0 0 [fn 00] [LSN     23]        60 May 07 1999 01:42:36  system.cnf
  --i21xrxrxr 0 0 [fn 01] [LSN 212998]  10690400 (  9420800) Jul 07 1999 08:07:04  verse.str
  d---1xrxrxr 0 0 [fn 00] [LSN 114302]      2048 Jul 27 1999 12:31:28  voice

/VOICE/:
  d---1xrxrxr 0 0 [fn 00] [LSN 114302]      2048 Jul 27 1999 12:31:28  .
  d---1xrxrxr 0 0 [fn 00] [LSN     22]      2048 Jul 29 1999 04:10:53  ..
  --i21xrxrxr 0 0 [fn 01] [LSN 114303]    446208 (   393216) Jul 09 1999 10:14:50  voice00.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 114495]    446208 (   393216) Jul 09 1999 10:14:52  voice01.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 114687]    632128 (   557056) Jul 09 1999 10:14:54  voice02.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 114959]    483392 (   425984) Jul 09 1999 10:14:56  voice03.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 115167]    594944 (   524288) Jul 09 1999 10:15:00  voice04.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 115423]    632128 (   557056) Jul 09 1999 10:15:02  voice05.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 115695]    780864 (   688128) Jul 09 1999 10:15:04  voice06.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 116031]   1115520 (   983040) Jul 09 1999 10:15:08  voice07.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 116511]    818048 (   720896) Jul 09 1999 10:15:12  voice08.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 116863]    929600 (   819200) Jul 09 1999 10:15:16  voice09.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 117263]   1003968 (   884736) Jul 09 1999 10:15:20  voice10.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 117695]   1152704 (  1015808) Jul 09 1999 10:15:26  voice11.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 118191]   1264256 (  1114112) Jul 09 1999 10:15:32  voice12.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 118735]   1412992 (  1245184) Jul 09 1999 10:15:38  voice13.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 119343]   1710464 (  1507328) Jul 09 1999 10:15:44  voice14.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 120079]   1896384 (  1671168) Jul 09 1999 10:15:52  voice15.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 120895]   2082304 (  1835008) Jul 09 1999 10:16:02  voice16.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 121791]   2231040 (  1966080) Jul 09 1999 10:16:12  voice17.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 122751]   2379776 (  2097152) Jul 09 1999 10:16:24  voice18.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 123775]   2714432 (  2392064) Jul 09 1999 10:16:36  voice19.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 124943]   2937536 (  2588672) Jul 09 1999 10:16:50  voice20.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 126207]   3123456 (  2752512) Jul 09 1999 10:17:04  voice21.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 127551]   3569664 (  3145728) Jul 09 1999 10:17:20  voice22.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 129087]   6023808 (  5308416) Jul 09 1999 10:17:40  voice23.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 131679]   4462080 (  3932160) Jul 09 1999 10:18:02  voice24.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 133599]   5131392 (  4521984) Jul 09 1999 10:18:24  voice25.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 135807]   5837888 (  5144576) Jul 09 1999 10:18:52  voice26.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 138319]   7250880 (  6389760) Jul 09 1999 10:19:24  voice27.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 141439]   9667840 (  8519680) Jul 09 1999 10:20:06  voice28.xa
  --i21xrxrxr 0 0 [fn 01] [LSN 145599]  20637120 ( 18186240) Jul 09 1999 10:21:08  voice29.xa

XA sectors  


"make check" spits out this:

Making check in doc
make[1]: Nothing to be done for `check'.
Making check in include
Making check in cdio
make  check-am
make[3]: Nothing to be done for `check-am'.
Making check in cdio++
make[2]: Nothing to be done for `check'.
make[2]: Nothing to be done for `check-am'.
Making check in lib
Making check in driver
make[2]: Nothing to be done for `check'.
Making check in iso9660
make[2]: Nothing to be done for `check'.
Making check in udf
make[2]: Nothing to be done for `check'.
Making check in cdio++
make[2]: Nothing to be done for `check'.
make[2]: Nothing to be done for `check-am'.
Making check in src
make[1]: Nothing to be done for `check'.
Making check in test
Making check in data
make  bad-cat1.cue bad-cat1.toc bad-cat2.cue bad-cat2.toc bad-cat3.cue bad-cat3.toc bad-file.toc bad-mode1.cue bad-mode1.toc bad-msf-1.cue bad-msf-1.toc bad-msf-2.cue bad-msf-2.toc bad-msf-3.cue bad-msf-3.toc cdda.bin cdda.cue cdtext.bin cdtext.cdt cdtext.cue cdda.bin copying-rr.iso copying.iso data1.toc data2.toc isofs-m1.bin isofs-m1.cue isofs-m1.toc joliet.iso p1.bin p1.cue p1.nrg t1.toc t2.toc t3.toc t4.toc t5.toc t6.toc t7.toc t8.toc t9.toc t10.toc vcd2.toc videocd.nrg cdtext.toc data5.toc data6.toc data7.toc test-udf1.iso
make[3]: Nothing to be done for `bad-cat1.cue'.
make[3]: Nothing to be done for `bad-cat1.toc'.
make[3]: Nothing to be done for `bad-cat2.cue'.
make[3]: Nothing to be done for `bad-cat2.toc'.
make[3]: Nothing to be done for `bad-cat3.cue'.
make[3]: Nothing to be done for `bad-cat3.toc'.
make[3]: Nothing to be done for `bad-file.toc'.
make[3]: Nothing to be done for `bad-mode1.cue'.
make[3]: Nothing to be done for `bad-mode1.toc'.
make[3]: Nothing to be done for `bad-msf-1.cue'.
make[3]: Nothing to be done for `bad-msf-1.toc'.
make[3]: Nothing to be done for `bad-msf-2.cue'.
make[3]: Nothing to be done for `bad-msf-2.toc'.
make[3]: Nothing to be done for `bad-msf-3.cue'.
make[3]: Nothing to be done for `bad-msf-3.toc'.
make[3]: Nothing to be done for `cdda.bin'.
make[3]: Nothing to be done for `cdda.cue'.
make[3]: Nothing to be done for `cdtext.bin'.
make[3]: Nothing to be done for `cdtext.cdt'.
make[3]: Nothing to be done for `cdtext.cue'.
make[3]: Nothing to be done for `cdda.bin'.
make[3]: Nothing to be done for `copying-rr.iso'.
make[3]: Nothing to be done for `copying.iso'.
make[3]: Nothing to be done for `data1.toc'.
make[3]: Nothing to be done for `data2.toc'.
make[3]: Nothing to be done for `isofs-m1.bin'.
make[3]: Nothing to be done for `isofs-m1.cue'.
make[3]: Nothing to be done for `isofs-m1.toc'.
make[3]: Nothing to be done for `joliet.iso'.
make[3]: Nothing to be done for `p1.bin'.
make[3]: Nothing to be done for `p1.cue'.
make[3]: Nothing to be done for `p1.nrg'.
make[3]: Nothing to be done for `t1.toc'.
make[3]: Nothing to be done for `t2.toc'.
make[3]: Nothing to be done for `t3.toc'.
make[3]: Nothing to be done for `t4.toc'.
make[3]: Nothing to be done for `t5.toc'.
make[3]: Nothing to be done for `t6.toc'.
make[3]: Nothing to be done for `t7.toc'.
make[3]: Nothing to be done for `t8.toc'.
make[3]: Nothing to be done for `t9.toc'.
make[3]: Nothing to be done for `t10.toc'.
make[3]: Nothing to be done for `vcd2.toc'.
make[3]: Nothing to be done for `videocd.nrg'.
make[3]: Nothing to be done for `cdtext.toc'.
make[3]: Nothing to be done for `data5.toc'.
make[3]: Nothing to be done for `data6.toc'.
make[3]: Nothing to be done for `data7.toc'.
make[3]: Nothing to be done for `test-udf1.iso'.
Making check in driver
make  abs_path bincue cdda cdrdao freebsd gnu_linux mmc_read mmc_write nrg osx realpath solaris win32
  CC       abs_path-abs_path.o
  CCLD     abs_path
  CC       bincue-helper.o
  CC       bincue-bincue.o
  CCLD     bincue
  CC       cdda-helper.o
  CC       cdda-cdda.o
  CCLD     cdda
  CC       cdrdao-helper.o
  CC       cdrdao-cdrdao.o
  CCLD     cdrdao
  CC       freebsd-freebsd.o
  CCLD     freebsd
  CC       gnu_linux-helper.o
  CC       gnu_linux-gnu_linux.o
  CCLD     gnu_linux
  CC       mmc_read-mmc_read.o
  CCLD     mmc_read
  CC       mmc_write-mmc_write.o
  CCLD     mmc_write
  CC       nrg-helper.o
  CC       nrg-nrg.o
  CCLD     nrg
  CC       osx-osx.o
  CCLD     osx
  CC       realpath-realpath.o
  CCLD     realpath
  CC       solaris-solaris.o
  CCLD     solaris
  CC       win32-win32.o
  CCLD     win32
make  check-TESTS
PASS: abs_path
PASS: bincue
PASS: cdda
++ WARN: /Users/macosx/libcdio_tmp/src/libcdio-0.90/test/data/cdtext.toc line 47: SILENCE not fully implimented
++ WARN: /Users/macosx/libcdio_tmp/src/libcdio-0.90/test/data/t1.toc line 5: SILENCE not fully implimented
++ WARN: number of minutes (180) truncated to 99.
++ WARN: /Users/macosx/libcdio_tmp/src/libcdio-0.90/test/data/data1.toc line 7: SILENCE not fully implimented
++ WARN: /Users/macosx/libcdio_tmp/src/libcdio-0.90/test/data/data2.toc line 8: unimplimented keyword: ZERO
++ WARN: could not retrieve file info for `foo.bin': No such file or directory
PASS: cdrdao
SKIP: freebsd
SKIP: gnu_linux
Wait for drive error
FAIL: mmc_read
PASS: mmc_write
PASS: nrg
PASS: osx
-- Temp directory is /private/var/tmp/
PASS: realpath
SKIP: solaris
SKIP: win32
=============================================================
1 of 9 tests failed
(4 tests were not run)
Please report to https://savannah.gnu.org/bugs/?group=libcdio
=============================================================
make[3]: * [check-TESTS] Error 1
make[2]: * [check-am] Error 2
make[1]: * [check-recursive] Error 1
make: * [check-recursive] Error 1


Based on the make check error, I'd guess that libcdio can't read from the drive completely. I didn't try the latest git source, but I will if you think it will help.

Anonymous
Sun 15 Sep 2013 10:50:16 PM UTC, comment #2: 

Does running
   cd-info --iso9660

show file system information?

Does running from instide the libcdio source directory

   make check

give any failures?

If the CD (improperly) contains more than 4GB of data, try using current git sources which fix bugs there. See bug #39373.


Rocky Bernstein <rocky>
Group administrator
Sun 15 Sep 2013 08:45:12 PM UTC, comment #1: 

Here's the output from "./configure; make":


checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define _EXTENSIONS_... yes
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wchar-subscripts... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wmissing-declarations... yes
checking whether gcc understands -Wunused... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wwrite-strings... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Wno-sign-compare... yes
checking for perl... /usr/bin/perl
checking for diff... /usr/bin/diff
adding -w to diff in regression tests
adding --unified to diff in regression tests
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdbool.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking sys/cdio.h usability... no
checking sys/cdio.h presence... no
checking for sys/cdio.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether gcc supports ISOC99 _Pragma()... yes
checking for ntddcdrm.h... no
checking for ddk/ntddcdrm.h... no
checking for ntddscsi.h... no
checking for ddk/ntddscsi.h... no
checking for ddk/scsi.h... no
checking for S_ISLNK() macro... yes
checking for S_ISSOCK() macro... yes
checking for struct timespec... yes
checking how to create empty arrays... []
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format... func_convert_file_noop
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking for cos in -lm... yes
configure: WARNING: I don't see GNU ld. I'm going to assume --without-versioned-libs
checking Checking what sed uses for extended regular expressions... -E
checking IOKit/IOKitLib.h usability... yes
checking IOKit/IOKitLib.h presence... yes
checking for IOKit/IOKitLib.h... yes
checking CoreFoundation/CFBase.h usability... yes
checking CoreFoundation/CFBase.h presence... yes
checking for CoreFoundation/CFBase.h... yes
checking for DiskArbitration framework... yes
checking extern long timezone variable... yes
checking for chdir... yes
checking for drand48... yes
checking for fseeko... yes
checking for fseeko64... no
checking for ftruncate... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for getpwuid... yes
checking for gettimeofday... yes
checking for lseek64... no
checking for lstat... yes
checking for memcpy... yes
checking for memset... yes
checking for rand... yes
checking for seteuid... yes
checking for setegid... yes
checking for snprintf... yes
checking for setenv... yes
checking for strndup... no
checking for unsetenv... yes
checking for tzset... yes
checking for sleep... yes
checking for _stati64... no
checking for usleep... yes
checking for vsnprintf... yes
checking for readlink... yes
checking for realpath... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for timegm... yes
checking for struct tm.tm_gmtoff... yes
checking whether time.h defines daylight and timezone variables... yes
checking whether time.h defines tzname variable... yes
checking for ld used by GCC... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char *inbuf, size_t *inbytesleft, char *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking pkg-config is at least version 0.9.0... yes
checking for CDDB... no
configure: WARNING: new enough libcddb not found. CDDB access disabled. Get libcddb from http://libcddb.sourceforge.net
checking for connect in -lsocket... no
checking for gethostbyname... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for mvprintw in -lncurses... yes
checking for keypad in -lncurses... yes
checking that generated files are newer than configure... done
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating example/C++/Makefile
config.status: creating example/C++/OO/Makefile
config.status: creating example/Makefile
config.status: creating include/Makefile
config.status: creating include/cdio/Makefile
config.status: creating include/cdio++/Makefile
config.status: creating include/cdio/version.h
config.status: creating doc/doxygen/Doxyfile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating lib/cdio++/Makefile
config.status: creating lib/driver/Makefile
config.status: creating lib/iso9660/Makefile
config.status: creating lib/udf/Makefile
config.status: creating libcdio.pc
config.status: creating libcdio++.pc
config.status: creating libiso9660.pc
config.status: creating libiso9660++.pc
config.status: creating libudf.pc
config.status: creating package/libcdio.spec
config.status: creating src/Makefile
config.status: creating test/check_common_fn
config.status: creating test/data/Makefile
config.status: creating test/driver/Makefile
config.status: creating test/driver/bincue.c
config.status: creating test/driver/cdrdao.c
config.status: creating test/driver/nrg.c
config.status: creating test/testgetdevices.c
config.status: creating test/testisocd2.c
config.status: creating test/testpregap.c
config.status: creating test/Makefile
config.status: creating test/check_cue.sh
config.status: creating test/check_iso.sh
config.status: creating test/check_nrg.sh
config.status: creating test/check_udf.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing checks commands
configure:
Using CD-ROM drivers : cdrdao, BIN/CUE, NRG, Darwin
Building cd-info     : yes
Building cd-read     : yes
Building cdda-player : yes
Building iso-info    : yes
Building iso-read    : yes
Building C++ programs: yes
make  all-recursive
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in include
Making all in cdio
make  all-am
Making all in cdio++
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in lib
Making all in driver
  CC       _cdio_generic.lo
  CC       _cdio_stdio.lo
  CC       _cdio_stream.lo
  CC       abs_path.lo
  CC       aix.lo
  CC       bsdi.lo
  CC       audio.lo
  CC       cd_types.lo
  CC       cdio.lo
  CC       cdtext.lo
cdtext.c: In function 'cdtext_get_const':
cdtext.c:293: warning: comparison is always false due to limited range of data type
cdtext.c: In function 'cdtext_set':
cdtext.c:472: warning: comparison is always false due to limited range of data type
  CC       device.lo
  CC       disc.lo
  CC       ds.lo
  CC       freebsd.lo
  CC       freebsd_cam.lo
  CC       freebsd_ioctl.lo
  CC       gnu_linux.lo
  CC       bincue.lo
  CC       cdrdao.lo
  CC       image_common.lo
  CC       nrg.lo
  CC       logging.lo
  CC       mmc.lo
  CC       mmc_hl_cmds.lo
  CC       mmc_ll_cmds.lo
  CC       mmc_util.lo
  CC       aspi32.lo
  CC       win32_ioctl.lo
  CC       win32.lo
  CC       netbsd.lo
  CC       os2.lo
  CC       osx.lo
  CC       read.lo
  CC       realpath.lo
  CC       sector.lo
  CC       solaris.lo
  CC       track.lo
  CC       utf8.lo
  CC       util.lo
  CCLD     libcdio.la
/usr/bin/ranlib: file: .libs/libcdio.a(freebsd_cam.o) has no symbols
/usr/bin/ranlib: file: .libs/libcdio.a(freebsd_ioctl.o) has no symbols
/usr/bin/ranlib: file: .libs/libcdio.a(aspi32.o) has no symbols
/usr/bin/ranlib: file: .libs/libcdio.a(win32_ioctl.o) has no symbols
ranlib: file: .libs/libcdio.a(freebsd_cam.o) has no symbols
ranlib: file: .libs/libcdio.a(freebsd_ioctl.o) has no symbols
ranlib: file: .libs/libcdio.a(aspi32.o) has no symbols
ranlib: file: .libs/libcdio.a(win32_ioctl.o) has no symbols
Making all in iso9660
  CC       iso9660.lo
  CC       iso9660_fs.lo
  CC       xa.lo
  CCLD     libiso9660.la
Making all in udf
  CC       udf.lo
  CC       udf_file.lo
  CC       udf_fs.lo
  CC       udf_time.lo
  CC       filemode.lo
  CCLD     libudf.la
Making all in cdio++
  CXX      iso9660.lo
  CXXLD    libiso9660++.la
  CXX      cdio.lo
  CXX      devices.lo
  CXXLD    libcdio++.la
make[3]: Nothing to be done for `all-am'.
Making all in src
  CC       cd-drive.o
  CC       util.o
  CC       getopt.o
  CC       getopt1.o
  CCLD     cd-drive
  CC       cd-info.o
  CC       cddb.o
  CCLD     cd-info
  CC       cd-read.o
  CCLD     cd-read
  CC       iso-info.o
  CCLD     iso-info
  CC       iso-read.o
iso-read.c: In function ‘main’:
iso-read.c:335: warning: ‘bytes_written’ may be used uninitialized in this function
  CCLD     iso-read
  CC       cdda-player.o
  CCLD     cdda-player
  CC       mmc-tool.o
  CCLD     mmc-tool
Making all in test
Making all in data
make[3]: Nothing to be done for `all'.
Making all in driver
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in example
  CC       audio.o
  CCLD     audio
  CC       cdchange.o
cdchange.c: In function ‘main’:
cdchange.c:63: warning: comparison is always false due to limited range of data type
cdchange.c:63: warning: comparison is always false due to limited range of data type
  CCLD     cdchange
  CC       cdio-eject.o
  CCLD     cdio-eject
  CC       cdtext.o
  CCLD     cdtext
  CC       device.o
  CCLD     device
  CC       discid.o
  CCLD     discid
  CC       drives.o
  CCLD     drives
  CC       eject.o
  CCLD     eject
  CC       extract.o
  CCLD     extract
  CC       isofile.o
  CCLD     isofile
  CC       isofile2.o
  CCLD     isofile2
  CC       isofuzzy.o
  CCLD     isofuzzy
  CC       isolist.o
  CCLD     isolist
  CC       isolsn.o
  CCLD     isolsn
  CC       mmc1.o
  CCLD     mmc1
  CC       mmc2.o
  CCLD     mmc2
  CC       mmc2a.o
  CCLD     mmc2a
  CC       mmc3.o
  CCLD     mmc3
  CC       sample3.o
  CCLD     sample3
  CC       sample4.o
  CCLD     sample4
  CC       tracks.o
  CCLD     tracks
  CC       udf1.o
  CCLD     udf1
  CC       udffile.o
  CCLD     udffile
make[2]: Nothing to be done for `all-am'.

Anonymous
Sun 15 Sep 2013 08:36:30 PM UTC, original submission:  

To be fair, I've only tested this with two different DVD/CD rewritable drives, but the results were the same for both.

Here's the output from cd-info:


cd-info version 0.90 x86_64-apple-darwin10.8.0
Copyright (c) 2003, 2004, 2005, 2007, 2008, 2011, 2012 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
CD location   : /dev/rdisk5
CD driver name: OS X
   access mode: OS X

Vendor                      : SONY
Model                       : DVD RW DRX-S90U
Revision                    : 1.D0
Hardware                                  : CD-ROM or DVD
Can eject                                 : Yes
Can close tray                            : Yes
Can disable manual eject                  : Yes
Can select juke-box disc                  : No

Can set drive speed                       : Yes
Can read multiple sessions (e.g. PhotoCD) : Yes
Can hard reset device                     : Yes

Reading....
  Can read Mode 2 Form 1                  : No
  Can read Mode 2 Form 2                  : No
  Can read (S)VCD (i.e. Mode 2 Form 1/2)  : No
  Can read C2 Errors                      : No
  Can read IRSC                           : No
  Can read Media Channel Number (or UPC)  : No
  Can play audio                          : No
  Can read CD-DA                          : No
  Can read CD-R                           : No
  Can read CD-RW                          : No
  Can read DVD-ROM                        : Yes

Writing....
  Can write CD-RW                         : No
  Can write DVD-R                         : Yes
  Can write DVD-RAM                       : Yes
  Can write DVD-RW                        : Yes
  Can write DVD+RW                        : No
________________________________

Disc mode is listed as: CD-DATA (Mode 1)
CD-ROM Track List (1 - 1)
  #: MSF       LSN    Type   Green? Copy?
  1: 00:02:00  000000 data   true   no  
170: 64:34:04  290404 leadout (651 MB raw, 567 MB formatted)
Media Catalog Number (MCN): not supported by drive/driver
Last CD Session LSN: failed
________________________________
CD Analysis Report
CD-ROM with ISO 9660 filesystem
ISO 9660: 290404 blocks, label `SLUS_00708                      '
Application: PLAYSTATION
Preparer   : CRYSTAL_DYNAMICS
Publisher  : EIDOS_INTERACTIVE
System     : PLAYSTATION
Volume     : SLUS_00708
Volume Set :
XA sectors  


This is an original, pressed PlayStation CD that I want to use with the Mednafen emulator. Mednafen uses libcdio for it's CD-ROM and CD image reading. I know that this drive can read/play CD-DA, CD-R and CD-RW, but libcdio doesn't support it.

The library was compiled with the standard "./configure; make; sudo make install" commands on Mac OS X 10.6.8. I've tried reading other CDs; both data, audio and mixed with the same result. I can try to provide more info if you tell me what to do next.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rocky (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-21 rocky StatusNone Need Info
        Assigned toNone rocky
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code