免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1706 | 回复: 5
打印 上一主题 下一主题

########### dvdrecord的问题,急。在线等!谢谢! ########### [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-14 20:24 |只看该作者 |倒序浏览
系统:FC4
硬件:hdc:cdrom;hdd:DVD RAM
目的:把一个test.iso烧到dvd光盘上.
现象:
[root@VeryLook dvd]# dvdrecord dev=/dev/hdd -v -eject /tmp/test.iso
dvdrtools v0.1.3
Portions (c) 2002 Red Hat, Inc.
Based on:
Cdrecord 1.11a15 (i386-redhat-linux-gnu) Copyright (C) 1995-2001 Jorg Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/hdd'
devname: '/dev/hdd'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27


一直就是这个状态,不动了,但dvd光驱的灯一直亮,但是不闪!


然后我找了一下资料,说:
___________________
默认的情况下,系统会将刻录机视作只读的驱动器,只加载普通的CD/DVD-ROM驱动,光驱无法写入。
因此,需要用ide-scsi 伪设备驱动程序来驱动刻录机,将普通的IDE接口的设备模拟成一个SCSI接口的设备,这时才能向其中刻录。
更改/boot/grub/grub.conf文件在kernel /boot/vmlinuz-2.XXX ro root=/dev/hda1之后,添hdc=ide-scsi。
___________________

我就这么做了,在grub.conf里添加了hdd=ide-scsi(因为我dvd在hdd)
可是从新启动系统后,系统找不到dvd光驱了!/dev/下面没有hdd!

大家帮帮我吧,急死了,弄了一天,也没弄好。谢谢了!

论坛徽章:
1
水瓶座
日期:2014-03-20 18:21:14
2 [报告]
发表于 2005-12-14 21:32 |只看该作者
首先,不要用ide-scsi,那是老的2.4内核用的,新2.6内核不需要了
dvdrecord dev=这个你写错了,dev=ATAPI:0,0,1,一般是这样的,你可以先scan一下,刻录用的那个dev不是我们通常所理解的那个“dev”

论坛徽章:
0
3 [报告]
发表于 2005-12-14 22:59 |只看该作者
谢谢你 ecloud    天使,
我不用ide-scsi了,然后执行:
[root@VeryLook /]# dvdrecord -scanbus dev=ATAPI
INFO: dvdrecord's functionality is now replaced by cdrecord
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 http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Use of ATA is preferred over ATAPI.
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) '' '' '' NON CCS Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'HL-DT-ST' 'CD-ROM GCR-8483B' '1.01' Removable CD-ROM
        1,1,0   101) 'MATSHITA' 'DVD-RAM SW-9585S' 'P101' Removable CD-ROM
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *


然后执行:

[root@VeryLook /]# dvdrecord -v -eject dev=ATAPI:1,1,0 /home/gy/dvd.iso
INFO: dvdrecord's functionality is now replaced by cdrecord
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
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 http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:1,1,0'
devname: 'ATAPI'
scsibus: 1 target: 1 lun: 0
Use of ATA is preferred over ATAPI.
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'MATSHITA'
Identifikation : 'DVD-RAM SW-9585S'
Revision       : 'P101'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0012
Profile: 0x0012 (current)
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0015
Profile: 0x0013
Profile: 0x0014
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002 (current)
cdrecord: Found unsupported DVD-RAM media.
cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.
Using generic SCSI-3/mmc   CD-ROM driver (mmc_cd).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO
FIFO size      : 4194304 = 4096 KB
Track 01: data     0 MB         padsize:  236 KB
Total size:        0 MB (00:04.02) = 302 sectors
Lout start:        1 MB (00:06/02) = 302 sectors
Current Secsize: 2048
cdrecord: Unspecified command not implemented for this drive.
Speed set to 4155 KB/s
Starting to write CD/DVD at speed  23.0 in real TAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
cdrecord: Unspecified command not implemented for this drive.
cdrecord: Cannot get next writable address.
Writing  time:    0.005s
Average write speed 752.5x.
Fixating...
Fixating time:    0.000s
cdrecord: fifo had 6 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

这样就结束了,dvd光盘也没有刻录进东西,为什么呢?

论坛徽章:
1
水瓶座
日期:2014-03-20 18:21:14
4 [报告]
发表于 2005-12-14 23:55 |只看该作者
简单的说,就是它不支持你的dvd,他用了mmc2和mmc3的驱动都没有成功,估计是没戏了,你也可以试试别的驱动

论坛徽章:
0
5 [报告]
发表于 2005-12-15 08:56 |只看该作者
to: ecloud   天使
我看DVD光驱上写着:DVD MULTI Record
不知道代表什么意思呢,你指的别的驱动什么意思啊,是dvdrecord不认这个光驱吗,需要更改dvdrecord的默认驱动程序?我的光驱还是能mount上的,也能往光盘上写东西,但是在mount的时候出现了如下警告:
EXT2-fs warning:mounting unchecked fs, running e2fsck is recommended
不知道和这个有关系吗?
难道dvd光盘也需要格式化分区吗?如果需要怎么做才能好用呢?

不好意思,我还是个菜鸟,还请多多指教!谢谢!

论坛徽章:
0
6 [报告]
发表于 2006-11-29 14:28 |只看该作者
你的iso文件是怎么生成的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP