linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wojtek Pilorz <wpilorz@bdk.pl>
To: Bruce Blinn <blinn@MissionCriticalLinux.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	root@chaos.analogic.com,
	Masoud Sharbiani <masu@cr213096-a.rchrd1.on.wave.home.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Reading Windows CD on Linux 2.4.6
Date: Tue, 18 Sep 2001 13:04:43 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0109181248480.22180-100000@celebris.bdk.pl> (raw)
In-Reply-To: <3BA6791A.616636CE@MissionCriticalLinux.com>

On Mon, 17 Sep 2001, Bruce Blinn wrote:

> Date: Mon, 17 Sep 2001 15:28:42 -0700
> From: Bruce Blinn <blinn@MissionCriticalLinux.com>
> To: Alan Cox <alan@lxorguk.ukuu.org.uk>
> Cc: root@chaos.analogic.com,
>      Masoud Sharbiani <masu@cr213096-a.rchrd1.on.wave.home.com>,
>      linux-kernel@vger.kernel.org
> Subject: Re: Reading Windows CD on Linux 2.4.6
> 
> Alan Cox wrote:
> > 
> > > Here are the results of the methods that were suggested for producing a
> > > CD image.  They all seem to fail at the same place because the resulting
> > > file is the same size.
> > >
> > >       # dd if=/dev/cdrom of=/tmp/cd1.iso
> > >       dd: /dev/cdrom: Input/output error
> > >       1440+0 records in
> > >       1440+0 records out
> > 
> > Bad CD image - or that is all the data on it. If its bad blocks you can tell
> > dd to continue past bad blocks and pad them with zero - handy for rescueing
> > uncompressed tape backups
> 
> I do not think the disk is missing data or that there are any bad
> blocks.  The reason I say this is because I can access every file on the
> disk when the CD is mounted as an iso9660 file system on a 2.2.19
> kernel.  I compared the files with the originals and they are identical.
Maybe it is not a single session disk?

Could you try
cdrecord -toc dev=x,y
where x,y are numbers returned for your SCSI (either native or emulated)
device by
 cdrecord -scanbus

I have never played with multisession disks so far, but I don't think dd
could read anything more than the first track ...

> 
> The only reason I found out dd would not copy the disk is because Masoud
> asked for an image.
> I tried using dd to copy a much larger CD (150 Mb) and it fails at the
> same place and the resulting file is the same size (737280 bytes).  So
> it fails long before the end of the data.
This would again make me suspect Win software does not produce 
single-session disks ...

> 
> By the way, dd works fine when copying other CDs that were not created
> under Windows.
> 
> Thanks,
> Bruce
> 
Best regards,

Wojtek


  parent reply	other threads:[~2001-09-18 11:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-14 20:14 Reading Windows CD on Linux 2.4.6 Bruce Blinn
2001-09-15  0:11 ` Masoud Sharbiani
2001-09-17 19:39   ` Bruce Blinn
2001-09-17 19:50     ` Mike Fedyk
2001-09-17 19:55     ` Richard B. Johnson
2001-09-17 21:22       ` Bruce Blinn
2001-09-17 21:41         ` Alan Cox
2001-09-17 22:28           ` Bruce Blinn
2001-09-17 23:08             ` H. Peter Anvin
2001-09-17 23:34               ` Mike Fedyk
2001-09-18 11:04             ` Wojtek Pilorz [this message]
2001-09-18 16:09               ` Bruce Blinn
2001-09-18 21:17               ` Bruce Blinn
2001-09-19  5:49                 ` Wojtek Pilorz
2001-09-18  2:30         ` Richard B. Johnson
2001-09-18 15:39           ` Bruce Blinn
2001-09-18 16:49             ` Richard B. Johnson
2001-09-18 21:43               ` Bruce Blinn
2001-09-19 13:25                 ` Richard B. Johnson
2001-09-18 11:09         ` Wakko Warner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.21.0109181248480.22180-100000@celebris.bdk.pl \
    --to=wpilorz@bdk.pl \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=blinn@MissionCriticalLinux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masu@cr213096-a.rchrd1.on.wave.home.com \
    --cc=root@chaos.analogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).