public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] Confused by cdrecord
@ 2006-06-20 22:37 Daiajo Tibdixious
  2006-06-21  2:31 ` John Myers
  0 siblings, 1 reply; 5+ messages in thread
From: Daiajo Tibdixious @ 2006-06-20 22:37 UTC (permalink / raw
  To: gentoo-amd64

I did
$ mkisofs -o FILE.iso -V "LABEL" -U -iso-level 4 -publisher "ME" -r DIRECTORY
       :
Total translation table size: 0
Total rockridge attributes bytes: 1894
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 21000
2144493 extents written (4188 MB)

where uppercase was my actual values. This bit looks okay.

I then burned it so DVD with
$ cdrecord-ProDVD -dev=/dev/cdrw -sao FILE.iso
Cdrecord-ProDVD-Clone 2.01.01b03 (i686-pc-linux-gnu) Copyright (C)
1995-2006 Jörg Schilling
Unlocked features: ProDVD Clone
Limited  features:
This copy of cdrecord is licensed for:
private/research/educational_non-commercial_use
cdrecord-ProDVD: Warning: Running on Linux-2.6.15-gentoo-r7
cdrecord-ProDVD: There are unsettled issues with Linux-2.5 and newer.
cdrecord-ProDVD: If you have unexpected problems, please try Linux-2.4
or Solaris.
scsidev: '/dev/cdrw'
devname: '/dev/cdrw'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'PIONEER '
Identifikation : 'DVD-RW  DVR-109 '
Revision       : '1.09'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
Driver flags   : DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Starting to write CD/DVD at speed 8 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Track 01: Total bytes read/written: 4391921664/4391921664 (2144493 sectors).

which also looks okay.

I physically moved the disk from my burner to my DVD ROM drive.
I wonder why I can't now mount it?
$ mount -t iso9660 /dev/cdrom1 /mnt/dvdrom
mount: block device /dev/cdrom1 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom1,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

$ dmesg|tail
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdd, sector 0
SQUASHFS error: sb_bread failed reading block 0x0
SQUASHFS error: unable to read superblock
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdd, sector 64
isofs_fill_super: bread failed, dev=hdd, iso_blknum=16, block=16

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-amd64] Confused by cdrecord
  2006-06-20 22:37 [gentoo-amd64] Confused by cdrecord Daiajo Tibdixious
@ 2006-06-21  2:31 ` John Myers
  2006-06-21  6:27   ` [gentoo-amd64] " Daiajo Tibdixious
  0 siblings, 1 reply; 5+ messages in thread
From: John Myers @ 2006-06-21  2:31 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

On Tuesday 20 June 2006 15:37, Daiajo Tibdixious wrote:
> I physically moved the disk from my burner to my DVD ROM drive.
> I wonder why I can't now mount it?
1. Can you mount the disk when it's in the burner?

2. Can you mount other disks (esp. burned disks) in the DVD-ROM drive?


-- 
# 
# electronerd, the electronerdian from electronerdia
#

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-amd64] Re: Confused by cdrecord
  2006-06-21  2:31 ` John Myers
@ 2006-06-21  6:27   ` Daiajo Tibdixious
  2006-06-21  7:31     ` Robert Longbottom
  0 siblings, 1 reply; 5+ messages in thread
From: Daiajo Tibdixious @ 2006-06-21  6:27 UTC (permalink / raw
  To: gentoo-amd64

On 6/21/06, John Myers <electronerd@electronerdia.net> wrote:
> On Tuesday 20 June 2006 15:37, Daiajo Tibdixious wrote:
> > I physically moved the disk from my burner to my DVD ROM drive.
> > I wonder why I can't now mount it?
> 1. Can you mount the disk when it's in the burner?

Yes I can (to my surprise).
I can see the files and they look okay.
I notice all the files in the directory I specified are there, and I
wanted a single directory with the files in it. I though from "man
mkisofs" that would be the case.
Anyway I can work with this as a short term backup solution.

> 2. Can you mount other disks (esp. burned disks) in the DVD-ROM drive?

Yes, the 2006.0 universal disk for instance, which I burned with Nero
on a windows machine.
I have never tried to mount anything I've burned from Linux, simply
because this is the first time
I've used cdrecord.
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-amd64] Re: Confused by cdrecord
  2006-06-21  6:27   ` [gentoo-amd64] " Daiajo Tibdixious
@ 2006-06-21  7:31     ` Robert Longbottom
  2006-06-21 20:55       ` [gentoo-amd64] " Duncan
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Longbottom @ 2006-06-21  7:31 UTC (permalink / raw
  To: gentoo-amd64

On Wed, June 21, 2006 7:27 am, Daiajo Tibdixious wrote:
> On 6/21/06, John Myers <electronerd@electronerdia.net> wrote:
>> On Tuesday 20 June 2006 15:37, Daiajo Tibdixious wrote:
>> > I physically moved the disk from my burner to my DVD ROM drive.
>> > I wonder why I can't now mount it?
>> 1. Can you mount the disk when it's in the burner?
>
> Yes I can (to my surprise).
> I can see the files and they look okay.
> I notice all the files in the directory I specified are there, and I
> wanted a single directory with the files in it. I though from "man
> mkisofs" that would be the case.
> Anyway I can work with this as a short term backup solution.
>
>> 2. Can you mount other disks (esp. burned disks) in the DVD-ROM drive?
>
> Yes, the 2006.0 universal disk for instance, which I burned with Nero
> on a windows machine.
> I have never tried to mount anything I've burned from Linux, simply
> because this is the first time
> I've used cdrecord.

I've noticed similar problems - some dvd's that I burn can only be re-read
in my burner and not in my other dvd-rom drive.  But some work.

I've wondered if it is something to do with the disc variant -R, +R and
all that, but I've never really looked into it.  Now I always test that I
can read back the contents of the disc to a temp directory just to be sure
it works.

Robert.




-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-amd64]  Re: Re: Confused by cdrecord
  2006-06-21  7:31     ` Robert Longbottom
@ 2006-06-21 20:55       ` Duncan
  0 siblings, 0 replies; 5+ messages in thread
From: Duncan @ 2006-06-21 20:55 UTC (permalink / raw
  To: gentoo-amd64

"Robert Longbottom" <RobertCL@iname.com> posted
36655.144.98.76.45.1150875071.squirrel@dragonfly.dnsalias.net, excerpted
below, on  Wed, 21 Jun 2006 08:31:11 +0100:

> I've noticed similar problems - some dvd's that I burn can only be re-read
> in my burner and not in my other dvd-rom drive.  But some work.
> 
> I've wondered if it is something to do with the disc variant -R, +R and
> all that, but I've never really looked into it.  Now I always test that I
> can read back the contents of the disc to a temp directory just to be sure
> it works.

It could be.  The author of CDRecord has a bit of a feud going with the
Linux kernel hackers over the proper way to handle SCSI (thus the bit in
there about 2.6 kernel support) and has refused to add DVD support to the
GPL version as well, because he charges for that and has it in his
slaveryware version.  Various distributions have hacked DVD support in,
but there's a bit of difference between the -R and the +R support, the
details of which I'm not too sure of myself.

A quick esearch reveals dvdrtools, a fork of cdrtools including dvd
support.  That must be the version various distributions are using, given
Schily's refusal to add dvd support to his freedomware cdrtools. 
There's also dvd-rw-tools.

Here, I just use k3b for burning and let it worry about most of the
details. So far, it has "just worked".

The problem might also be with "session-at-once" vs. "disk-at-once".  A
multi-session CD/DVD won't be closed out at the end of writing, thus
allowing additional sessions to be added.  After the last session you are
supposed to close out the disk.  Some ROM drives won't be able to read the
un-closed disks until they are closed out, altho any burner should still
read it just fine. I always use (and verify the setting of) disk-at-once in
k3b, since I never do multi-session disks. 

Due to the way sessions work, with a lead-in and a close-out for each
session as well as the entire disk, each session wastes a bit of capacity,
so a multi-session disk won't be able to store the same amount of bytes as
a disk-at-once disk.  The more sessions, the more wasted capacity and less
available storage.  Both for this reason and due to the disk-closeout
issue on CD/DVD-ROM drives, I find it less hassle to just do disk-at-once
and not worry about individual sessions.



-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-21 20:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 22:37 [gentoo-amd64] Confused by cdrecord Daiajo Tibdixious
2006-06-21  2:31 ` John Myers
2006-06-21  6:27   ` [gentoo-amd64] " Daiajo Tibdixious
2006-06-21  7:31     ` Robert Longbottom
2006-06-21 20:55       ` [gentoo-amd64] " Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox