Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-24-2006, 07:46 PM
|
#1
|
Member
Registered: Feb 2006
Distribution: Ubuntu 11.1
Posts: 32
Rep:
|
Burned DVD cannot be mounted (DVD-R DL)
In short, I burned two isos to a dvd, and the same drive that burned the dvd can't mount it. Is there something I can do to make the drive mount the dvd, or make the dvd more readable, or reuse the dvd in some other way?
Here is the terminal output from when I burned the DVD:
Code:
# cdrecord -dao stentz-dvd-i386/FC4-i386-DVD.iso stentz-dvd-x86_64/FC4-x86_64-DVD.iso
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to -
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: '/dev/cdrom'
devname: '/dev/cdrom'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'LITE-ON '
Identifikation : 'DVDRW SOHW-1693S'
Revision : 'KS0A'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: Found DVD media: using cdr_mdvd.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
scsi_set_streaming
Speed set to 5540 KB/s
Starting to write CD/DVD at speed 4.0 in real SAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
trackno=0
Turning BURN-Free off
cdrecord: Turning BURN-Free on
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Track 01: Total bytes read/written: 2750582784/2750582784 (1343058 sectors).
cdrecord: Success. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 14 7E E8 00 00 1F 00
status: 0x4 (CONDITION MET/GOOD)
resid: 63488
cmd finished after 207.009s timeout 200s
write track data: error after 0 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
cdrecord: Success. test unit ready: scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x01 (logical unit is in process of becoming ready) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.594s timeout 200s
cdrecord: Success. flush cache: scsi sendcmd: no error
CDB: 35 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x01 (logical unit is in process of becoming ready) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.319s timeout 1000s
Trouble flushing the cache
- I had to remove the bugzilla url from this quote, because new users aren't allowed to post urls.
This is the error message from when I attempt to mount the dvd:
Code:
/dev/hdc: Invalid argument
mount: block device /dev/hdc is write-protected, mounting read-only
/dev/hdc: Invalid argument
mount: I could not determine the filesystem type, and none was specified
|
|
|
02-25-2006, 09:10 AM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
Try again, this time use growisofs instead.
|
|
|
02-25-2006, 10:39 PM
|
#3
|
Member
Registered: Feb 2006
Distribution: Ubuntu 11.1
Posts: 32
Original Poster
Rep:
|
Should I use the same disc, or another disc? Also, are there any options I should be sure to pass to growisofs?
|
|
|
02-26-2006, 09:39 AM
|
#4
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
Is the DVD media RW?, if yes then use it.
As far as the options for growisofs to burn the 2 ISO files to the media try something along the lines of;
growisofs -dvd-compat -Z /dev/hdc -joliet-long -max-iso9660-filenames -J -V -r -D <Path to files>
See 'man growisofs' minus the single quotemarks for the details and other options.
To burn the ISO image (sorry olny one per CD allowed) try something like;
growisofs -Z /dev/hdc=image.iso
My burner is /dev/hdc please adjust either command to match your actual hardware.
|
|
|
02-26-2006, 09:27 PM
|
#5
|
Member
Registered: Feb 2006
Distribution: Ubuntu 11.1
Posts: 32
Original Poster
Rep:
|
The discs I have are Verbatim brand DVD-Recordable Dual Layer (DVD-R DL Ver3.0/2X-4X Rev.1.0) Because they're so big, I was hoping to make one install disc for Fedora Core for both 32 and 64 bit architectures (I've got a 64bit Athalon chip, and I'm currently running 32 bit RHEL 4)
Code:
$ growisofs -Z /dev/hdc=stentz-dvd-i386/FC4-i386-DVD.iso
:-( /dev/hdc: media is not recognized as recordable DVD: 10015
I also tried /dev/dvd and /dev/dvdwriter (both are symbolic links) and they gave the same error.
|
|
|
02-27-2006, 05:38 AM
|
#6
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
Hmmm......
What does 'ls -l /dev/dvd' and 'ls -l /dev/dvdwriter' show (just wondering).
You should have seen something like (I'm overwriting a DVD+RW disc, the first four of the output are blanking the TOC);
$ growisofs -Z /dev/hdc=CentOS-42-DVD-x86_64.iso
WARNING: /dev/hdc already carries isofs!
About to execute 'builtin_dd if=CentOS-42-DVD-x86_64.iso of=/dev/hdc obs=32k seek=0'
/dev/hdc: "Current Write Speed" is 4.1x1385KBps.
851968/2439096320 ( 0.0%) @0.0x, remaining 190:47 RBU 100.0%
851968/2439096320 ( 0.0%) @0.0x, remaining 333:53 RBU 100.0%
851968/2439096320 ( 0.0%) @0.0x, remaining 524:40 RBU 100.0%
851968/2439096320 ( 0.0%) @0.0x, remaining 667:46 RBU 100.0%
851968/2439096320 ( 0.0%) @0.0x, remaining 810:52 RBU 100.0%
1736704/2439096320 ( 0.1%) @0.2x, remaining 491:12 RBU 97.4%
<snip>
2435088384/2439096320 (99.8%) @3.9x, remaining 0:00 RBU 12.0%
builtin_dd: 1190976*2KB out @ average 3.4x1385KBps
/dev/hdc: flushing cache
/dev/hdc: stopping de-icing
/dev/hdc: writing lead-out
|
|
|
02-27-2006, 06:49 AM
|
#7
|
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687
Rep:
|
If I got this right - you used the same DVD:
Quote:
The discs I have are Verbatim brand DVD-Recordable
|
in this case - you cannot reuse them - it's not a RW - the disc you already made ...it's gone and you need to use a fresh one
|
|
|
02-27-2006, 05:03 PM
|
#8
|
Member
Registered: Feb 2006
Distribution: Ubuntu 11.1
Posts: 32
Original Poster
Rep:
|
I was attempting to use a fresh DVD, because I understood that DVD-R is not DVD-RW.
Code:
$ ls -l /dev/dvd /dev/dvdwriter
lrwxrwxrwx 1 root root 3 Feb 27 11:16 /dev/dvd -> hdc
lrwxrwxrwx 1 root root 3 Feb 27 11:16 /dev/dvdwriter -> hdc
|
|
|
02-27-2006, 07:54 PM
|
#9
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
Looking deeper.....
What version of the cdrtools and dvd+rw-tools rpm packages do you have installed.
rpm -qa --queryformat="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'cdr*' 'dvd+rw' 'mkisofs'| sort
With some media (blank is OK) what is the output of the command;
dvd+rw-mediainfo /dev/hdc
|
|
|
02-27-2006, 08:09 PM
|
#10
|
Member
Registered: Feb 2006
Distribution: Ubuntu 11.1
Posts: 32
Original Poster
Rep:
|
Code:
$ rpm -qa --queryformat="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'cdr*' 'dvd+rw' 'mkisofs'| sort
cdrecord-2.01.1-5.i386.rpm
mkisofs-2.01.1-5.i386.rpm
I hope that tells you what you need to know about cdrtools and dvd+rw-tools.
Code:
$ dvd+rw-mediainfo /dev/hdc
INQUIRY: [LITE-ON ][DVDRW SOHW-1693S][KS0A]
GET [CURRENT] CONFIGURATION:
Mounted Media: 15h, DVDunknown
Current Write Speed: 4.0x1385=5540KB/s
Write Speed #0: 4.0x1385=5540KB/s
Write Speed #1: 2.0x1385=2770KB/s
GET [CURRENT] PERFORMANCE:
Write Performance: 4.0x1385=5540KB/s@[0 -> 0]
Speed Descriptor#0: 00/0 R@2.4x1385=3324KB/s W@4.0x1385=5540KB/s
Speed Descriptor#1: 00/0 R@2.4x1385=3324KB/s W@2.0x1385=2770KB/s
READ DVD STRUCTURE[#0h]:
Media Book Type: 2Fh, DVD-R book [revision 15]
Legacy lead-out at: 2092896*2KB=4286251008
READ DISC INFORMATION:
Disc status: blank
Number of Sessions: 1
State of Last Session: empty
Number of Tracks: 1
READ TRACK INFORMATION[#1]:
Track State: invisible incremental
Track Start Address: 0*2KB
Next Writable Address: 0*2KB
Free Blocks: 4171712*2KB
Track Size: 4171712*2KB
READ CAPACITY: 1*2048=2048
And out of curiosity, I checked on the hosed disc:
Code:
$ dvd+rw-mediainfo /dev/hdc
INQUIRY: [LITE-ON ][DVDRW SOHW-1693S][KS0A]
GET [CURRENT] CONFIGURATION:
Mounted Media: 15h, DVDunknown
GET [CURRENT] PERFORMANCE:
Write Performance: 4.0x1385=5540KB/s@[0 -> 0]
:-( empty GET PERFORMACE descriptor
READ DVD STRUCTURE[#0h]:
Media Book Type: 2Fh, DVD-R book [revision 15]
Legacy lead-out at: 2092896*2KB=4286251008
READ DISC INFORMATION:
Disc status: complete
Number of Sessions: 1
State of Last Session: incomplete
Number of Tracks: 0
READ CAPACITY: 1*2048=2048
Last edited by 01d55; 02-27-2006 at 08:14 PM.
|
|
|
02-28-2006, 03:07 AM
|
#12
|
Member
Registered: Feb 2006
Distribution: Ubuntu 11.1
Posts: 32
Original Poster
Rep:
|
Quote:
Originally Posted by Lenard
|
Done (I think), but growisofs throws me the same error message as before.
Code:
$ rpm -qa --queryformat="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'cdr*' 'dvd+rw*' 'mkisofs'| sort
cdrecord-2.01.1-5.i386.rpm
dvd+rw-tools-5.21.4.10.8-4.i386.rpm
mkisofs-2.01.1-5.i386.rpm
The versions seem the same - rpm didn't give me any complaints (#rpm -Uv *.rpm in the directory with the src.rpms)
Last edited by 01d55; 02-28-2006 at 03:08 AM.
|
|
|
02-28-2006, 07:39 AM
|
#13
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
No, after downloading you extract the source rpm, for example;
rpm -ivh cdrtools-2.01.01.0.a03-3.src.rpm
Then from /usr/src/redhat/SPECS;
rpmbuild -bb cdrtools.spec
When the build is done from the /usr/src/redhat/RPMS/i386 location install the cdrecord and mkisofs binary rpms;
rpm -Uvh cdrecord-2*.rpm mkisofs*.rpm
Repeat the extract, build and install process for the dvd+rw-tools source rpm.
You will end up with these rpms installed;
cdrecord-2.01.01.0.a03-3.i386.rpm
dvd+rw-tools-5.21.4.10.8-6.2.1.i386.rpm
mkisofs-2.01.01.0.a03-3.i386.rpm
You may be able to download/install the binary rpms listed above from the Fedora Development repository, but I'm not 100% sure.
|
|
|
02-28-2006, 04:22 PM
|
#14
|
Member
Registered: Feb 2006
Distribution: Ubuntu 11.1
Posts: 32
Original Poster
Rep:
|
Code:
# ls
cdda2wav-2.01.01.0.a03-3.i386.rpm
cdrecord-2.01.01.0.a03-3.i386.rpm
cdrecord-devel-2.01.01.0.a03-3.i386.rpm
cdrtools-debuginfo-2.01.01.0.a03-3.i386.rpm
dvd+rw-tools-5.21.4.10.8-6.2.1.i386.rpm
dvd+rw-tools-debuginfo-5.21.4.10.8-6.2.1.i386.rpm
mkisofs-2.01.01.0.a03-3.i386.rpm
# rpm -Uvh cdrecord-2*.rpm dvd+rw-tools-5*.rpm mkisofs*.rpm
Preparing... ########################################### [100%]
1:mkisofs ########################################### [ 33%]
2:cdrecord ########################################### [ 67%]
3:dvd+rw-tools ########################################### [100%]
Those less than 100% values for mkisofs and cdrecord worry me. What do they mean? rpm -qa checks out, though, so it looks like it worked:
Code:
# rpm -qa --queryformat="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'cdr*' 'dvd+rw*' 'mkisofs'| sort
cdrecord-2.01.01.0.a03-3.i386.rpm
dvd+rw-tools-5.21.4.10.8-6.2.1.i386.rpm
mkisofs-2.01.01.0.a03-3.i386.rpm
|
|
|
02-28-2006, 04:50 PM
|
#15
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
Those less than 100% values for cdrecord and mkisofs worry me a bit to....
What about using growisofs and dvd+rw-mediainfo, are things looking better???
|
|
|
All times are GMT -5. The time now is 10:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|