NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mounting DVD
Replying to a few emails below...
On Fri, 22 Jan 2010, Dave wrote:
> On second thought, though, can your DVD RAM drive definitely read
> DVD+R media? ("cdrecord -prcap"?)
cdrecord: Warning: using inofficial libscg transport code version
(frueauf-scsi-bsd.c-1.47nb1 '@(#)scsi-bsd.c 1.47 09/04/19 Copyright
1997-2009 J. Schilling').
End LBA: 2295103
Read Speed: 11080 == 8x DVD
Write Speed: 11080 == 8x DVD
End LBA: 2295103
Read Speed: 8310 == 6x DVD
Write Speed: 8310 == 6x DVD
End LBA: 2295103
Read Speed: 5540 == 4x DVD
Write Speed: 5540 == 4x DVD
End LBA: 2295103
Read Speed: 3324 == 2x DVD
Write Speed: 3324 == 2x DVD
Cdrecord-ProDVD-ProBD-Clone 2.01.01a64 (amd64-unknown-netbsd5.0.)
Copyright (C) 1995-2009 Jrg Schilling
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'MATSHITA'
Identifikation : 'DVD-RAM UJ880AS '
Revision : '1.50'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Drive capabilities, per MMC-3 page 2A:
Does read CD-R media
Does write CD-R media
Does read CD-RW media
Does write CD-RW media
Does read DVD-ROM media
Does read DVD-R media
Does write DVD-R media
Does read DVD-RAM media
Does write DVD-RAM media
Does support test writing
Does read Mode 2 Form 1 blocks
Does read Mode 2 Form 2 blocks
Does read digital audio blocks
Does restart non-streamed digital audio reads accurately
Does support Buffer-Underrun-Free recording
Does read multi-session CDs
Does read fixed-packet CD media using Method 2
Does read CD bar code
Does not read R-W subcode information
Does read raw P-W subcode data from lead in
Does return CD media catalog number
Does return CD ISRC information
Does support C2 error pointers
Does deliver composite A/V data
Does play audio CDs
Number of volume control levels: 256
Does support individual volume control setting for each channel
Does support independent mute setting for each channel
Does not support digital output on port 1
Does not support digital output on port 2
Loading mechanism type: tray
Does support ejection of CD via START/STOP command
Does not lock media on power up via prevent jumper
Does allow media to be locked in the drive via PREVENT/ALLOW command
Is currently in a media-locked state
Does not support changing side of disk
Does not have load-empty-slot-in-changer feature
Does not support Individual Disk Present feature
Maximum read speed: 11080 kB/s (CD 62x, DVD 8x, BD 2x)
Current read speed: 11080 kB/s (CD 62x, DVD 8x, BD 2x)
Maximum write speed: 11080 kB/s (CD 62x, DVD 8x, BD 2x)
Current write speed: 11080 kB/s (CD 62x, DVD 8x, BD 2x)
Rotational control selected: CLV/PCAV
Buffer size in KB: 2048
Copy management revision supported: 1
Number of supported write speeds: 4
Write speed # 0: 11080 kB/s CLV/PCAV (CD 62x, DVD 8x, BD 2x)
Write speed # 1: 8310 kB/s CLV/PCAV (CD 47x, DVD 6x, BD 1x)
Write speed # 2: 5540 kB/s CLV/PCAV (CD 31x, DVD 4x, BD 1x)
Write speed # 3: 3324 kB/s CLV/PCAV (CD 18x, DVD 2x, BD 0x)
Current performance according to MMC get performance:
Maximum performance according to MMC get performance:
Supported CD-RW media types according to MMC-4 feature 0x37:
Does write multi speed CD-RW media
Does write high speed CD-RW media
Does write ultra high speed CD-RW media
Does not write ultra high speed+ CD-RW media
Supported profiles according to MMC-4 feature list:
Current: DVD+R
Profile: DVD-RAM
Profile: DVD+R/DL
Profile: DVD+R (current)
Profile: DVD+RW
Profile: DVD-R/DL sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RW sequential recording
Profile: DVD-R sequential recording
Profile: DVD-ROM (current)
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
Profile: Removable Disk
Supported features according to MMC-4 feature list:
Feature: 'Profile List' (current) (persistent)
Feature: 'Core' (current) (persistent)
Feature: 'Morphing' (current) (persistent)
Feature: 'Removable Medium' (current) (persistent)
Feature: 'Write Protect'
Feature: 'Random Readable' (current)
Feature: 'Multi Read'
Feature: 'CD Read'
Feature: 'DVD Read' (current)
Feature: 'Random Writable'
Feature: 'Incremental Streaming Writable'
Feature: 'Formattable'
Feature: 'Defect Management'
Feature: 'Restricted Overwrite'
Feature: 'DVD+RW'
Feature: 'DVD+R' (current)
Feature: 'Rigid Restricted Overwrite'
Feature: 'CD Track at Once'
Feature: 'CD Mastering'
Feature: 'DVD-R/-RW Write'
Feature: 'CD-RW Write'
Feature: 'DVD+R/DL Read'
Feature: 'Power Management' (current) (persistent)
Feature: 'S.M.A.R.T.'
Feature: 'CD Audio analog play'
Feature: 'Microcode Upgrade'
Feature: 'Time-out' (current) (persistent)
Feature: 'DVD-CSS'
Feature: 'Real Time Streaming' (current)
Feature: 'Logical Unit Serial Number' (current) (persistent) Serial:
'UF83 289387'
Feature: 'Disk Control Blocks' (current)
Feature: 'DVD CPRM'
On Fri, 22 Jan 2010, Steven Bellovin wrote:
> Can you run disklabel on the device?
tx:reed$ sudo disklabel /dev/cd0a
# /dev/cd0a:
type: ATAPI
disk: mydisc
label: fictitious
flags: removable
bytes/sector: 2048
sectors/track: 100
tracks/cylinder: 1
sectors/cylinder: 100
cylinders: 22952
total sectors: 2295104
rpm: 300
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
4 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 2295104 0 4.2BSD 0 0 0 # (Cyl. 0 -
22951*)
d: 2295104 0 ISO9660 0 # (Cyl. 0 -
22951*)
disklabel: boot block size 0
disklabel: super block size 0
disklabel: partitions a and d overlap
On Sat, 23 Jan 2010, Sad Clouds wrote:
> Check if the DVD is a double layer type. For example it would say
> something like DVD+R DL on the disk. If it is, then check your DVD
> drive has support for reading double layer discs. You can use
> sysutils/cdrtools package to find out capabilities of your drive:
>
> cdrecord -v dev=/dev/rcd0d -checkdrive
(I think some of this is repeated from above.)
scsidev: '/dev/rcd0d'
devname: '/dev/rcd0d'
scsibus: -2 target: -2 lun: -2
cdrecord: Warning: using inofficial libscg transport code version
(frueauf-scsi-bsd.c-1.47nb1 '@(#)scsi-bsd.c 1.47 09/04/19 Copyright
1997-2009 J. Schilling').
SCSI buffer size: 61440
cdrecord: Warning: The DMA speed test has been skipped.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a64 (amd64-unknown-netbsd5.0.)
Copyright (C) 1995-2009 Jrg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.9'.
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'MATSHITA'
Identifikation : 'DVD-RAM UJ880AS '
Revision : '1.50'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: DVD+R
Profile: DVD-RAM
Profile: DVD+R/DL
Profile: DVD+R (current)
Profile: DVD+RW
Profile: DVD-R/DL sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RW sequential recording
Profile: DVD-R sequential recording
Profile: DVD-ROM (current)
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr).
Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1572864 = 1536 KB
On Sat, 23 Jan 2010, Magnus Eriksson wrote:
> You could just try reading from /dev/cd0a with dd, if that doesn't
> work then that's a pretty good indication that something's more
> seriously wrong.
I used dd to get the first 51200 bytes (so yes I can read from it).
hexdump shows the following (I don't know why so short):
0000000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0008000 \0 B E A 0 1 001 \0 \0 \0 \0 \0 \0 \0 \0 \0
0008010 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0008800 \0 N S R 0 3 001 \0 \0 \0 \0 \0 \0 \0 \0 \0
0008810 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0009000 \0 T E A 0 1 001 \0 \0 \0 \0 \0 \0 \0 \0 \0
0009010 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
000c800
Home |
Main Index |
Thread Index |
Old Index