On Fri, Jun 5, 2009 at 8:59 AM, Paul
Hartman<paul.hartman+gen...@gmail.com> wrote:
> On Fri, Jun 5, 2009 at 8:49 AM, Mark Knecht<markkne...@gmail.com> wrote:
>> If I could build a mini-Gentoo environment in Cygwin and take
>> advantage of portage and emerge to get cdrtools then this might work
>> for me. I don't have the time or interest to become a real Cygwin-er.
>
> We're definitely getting off-topic for Gentoo now so if you have any
> more Cygwin-related questions you can feel free to email me off-list
> :) Cygwin is pretty simple. Just download setup.exe and run it, point
> it to a place where you want it to download and install, select the
> packages you want (such as normal tools like wget, and dev tools like
> gcc and anything else normally needed to compile programs -- it'll
> automatically select dependencies when you choose the main program),
> then click the icon to get a bash prompt and pretend you're in *nix.
> You now have the advantage of the familiar shell and familiar tools
> when you're in Windows. It is basically self-contained and I don't
> think it does anything to your computer other than when you explicitly
> run it. In the future run setup.exe and just keep clicking "next" and
> it'll download and install any updates for your installed packages.
> I've compiled big packages in Cygwin such as MySQL, wxWindows and Qt4
> and they worked fine.
>
> For fun I will try to insall cdrtools in cygwin now:
>
> "make" fails, so the readme suggests using smake instead, so I try
> that. First download, compile and install smake:
>
> 1. wget ftp://ftp.berlios.de/pub/smake/alpha/smake-1.2a41.tar.gz
> 2. tar zxvf smake-1.2a41.tar.gz
> 3. cd smake-1.2
> 4. make
> 5. make install
>
> That works. By default on my system it installs everything to /opt/schily/
>
> Then, same for cdrtools
> 1. wget ftp://ftp.berlios.de/pub/cdrecord/ALPHA/cdrecord-beta.tar.gz
> 2. tar zxvf cdrtools-beta.tar.gz
> 3. cd cdrtools-2.01.01
> 4. /opt/schily/bin/smake.exe
> 5. /opt/schily/bin/smake.exe install
>
> done... now cdrtools programs are in /opt/schily/bin/ (with .exe
> extension) and appear to work for me.
>
>

Thanks Paul. Great guidance! Worked pretty much first time around, but
still getting used to Cygwin.

OK, a CD that fails in the car and locked up under the Gentoo readcd
-c2scan passes -c2scan under Cygwin, although I still see some
complaints about part of the SCSI command set. NOTE: This is the same
machine that runs Gentoo dual-booted into XP and running Cygwin now,
so same exact hardware, different OD as Joerg requested:

m...@gamer ~
$ /opt/schily/bin/readcd.exe dev=0,0,0 -c2scan
Read  speed:  7056 kB/s (CD  40x, DVD  5x, BD  1x).
Write speed:  7056 kB/s (CD  40x, DVD  5x, BD  1x).
Capacity: 263932 Blocks = 527864 kBytes = 515 MBytes = 540 prMB
Sectorsize: 2048 Bytes
/opt/schily/bin/readcd: Input/Output error. mode select g1: scsi sendcmd: no err
or
CDB:  55 10 00 00 00 00 00 00 14 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 26 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 40s
Copy from SCSI (0,0,0) disk to file '/dev/null'
end:    263932
addr:   263932 cnt: 44
Time total: 133.852sec
Read 681996.16 kB at 5095.2 kB/sec.
Total of 0 hard read errors.
C2 errors total: 0 bytes in 0 sectors on disk
C2 errors rate: 0.000000%
C2 errors on worst sector: 0, sectors with 100+ C2 errors: 0

m...@gamer ~
$

None the less it passes without errors. I'm thinking this implies the
problem is the car's ability to read the CD and not what's on the CD
itself. That could be the player, or it could be the media. Since I'm
getting low on CD-R's I'll pick up a new spindle tomorrow. The
original CD-R was TDK which the car's player didn't have trouble with.
My copies were done on Maxell and most recently on some Office Depot
CD-Rs. I'll get a spindle of TDK tomorrow.

Always up for other interpretations as to what might be going on, and
also VERY interested in learning a good set of commands with cdrtools
to copy and write CD's without having to use k3b.

Cheers,
Mark

Reply via email to