📄 index.html
字号:
<TR VALIGN="TOP" ALIGN="JUSTIFY"> <TD><FONT SIZE="-1"><SUP>(*)</SUP></FONT> <TD><FONT SIZE="-1">As of 5.14 HP-UX support was classified as "initial." Version 5.18 in turn is the one which has undergone <A HREF="tools/HP/">HP quality assurance</A> testing and is delivered on <A HREF="http://www.software.hp.com/">HP software depot</A>.</FONT></TR> </TABLE> </TR></TABLE><P><HR><H3>Foreword</H3><P ALIGN="JUSTIFY">As of May 2003 I've decided to advise users to<B>turn to <<AHREF="mailto:cdwrite@other.debian.org">cdwrite@other.debian.org</A>>on support matters.</B> It's an open list, meaning that you don't haveto be <A HREF="http://lists.debian.org/cdwrite/">subscribed</A> to posta problem report. List archives can be found at both <AHREF="http://lists.debian.org/cdwrite/">subscribe page</A> and <AHREF="http://www.mail-archive.com/cdwrite%40other.debian.org/">mail-archive.com</A>.<B>When submitting report, provide versioning information, exactcommand line, <I>exact output</I> generated by the program andcomplement it with <NOBR>dvd+rw-mediainfo</NOBR> output for<I>resulting</I> recording.</B> Do check couple of last <AHREF="http://lists.debian.org/cdwrite/">archived months</A>, as theissue might have been discussed <I>recently</I>. If you've chosen tocontact me personally and haven't heard back within a week or so, then you most likely overlooked something on this page. Please read it moreattentively<A HREF="keys.txt">...</A><P ALIGN="JUSTIFY">Special thanks for hardware donations [inchronological order]:<BR><A HREF="http://www.inserve.se/"><IMG SRC="inserve.gif"ALT="Inserve Technology" BORDER=0></A> <A HREF="http://www.hp.com/"><IMG SRC="hp.gif"ALT="HP" BORDER=0></A> <A HREF="http://www.linuxfund.org/"><IMG SRC="linuxfund.gif"ALT="LinuxFund" BORDER=0></A> <A HREF="http://dmu.commtech-fastcom.com/dmu_overview.html"><IMGSRC="commtech.gif" ALT="comm*tech" BORDER=0></A> <A NAME="tutorial"><P><HR></A><H3>Tutorial</H3><P><HR WIDTH="50%" ALIGN="LEFT"><UL><P><LI><P ALIGN="JUSTIFY">If your burner unit is managed by some<NOBR><B>Linux<SUP>(*)</SUP></NOBR> removable mediaautomounting/autoplaying facility</B>, such as autofs, supermount,subfs/submount, magicdev, autorun or similar, take it <B>out</B> of itscontrol! I can't help you with the latter, check your systemdocumentation (such as google perhaps:-) for specific instructions.<FONT COLOR="brown"><B>Failure to take your unit out of<NOBR>Linux<SUP>(*)</SUP></NOBR> automounting/autoplaying facilitycontrol can result in busted recording, a coaster!</B></FONT> At thevery least you have to make sure your unit is not automounted duringrecordings. <!-- Linux kernel should have/implement "open forexclusive use," but it doesn't. Therefore the trouble... ---><TABLE BORDER="0"><TR VALIGN="TOP" ALIGN="JUSTIFY"><TD><FONT SIZE="-1"><SUP>(*)</SUP></FONT><TD><FONT SIZE="-1">dvd+rw-tools support Solaris volume manager andIRIX mediad in more gracious manner and it's safe to leave recorderunder <I>their</I> control.</FONT></TR></TABLE><P><LI><P ALIGN="JUSTIFY">Remember to <B>consult <AHREF="hcn.html">Hardware Compatibility Notes</A></B> for possiblecaveats or vendor-specific instructions for your unit. Well, suchreminder belongs at the end of tutorial, but I consider it importantenough to bring it up already here:-)<P><LI><P ALIGN="JUSTIFY"><B>If you have an IDE unit and run 2.4.xkernel,</B> you most likely want to "route" it through ide-scsiemulation layer by either:<P><UL><LI>passing "<TT>hd<FONT COLOR="red">X</FONT>=ide-scsi</TT>"argument to kernel;<LI>appending following lines to your /etc/modules.conf:<BLOCKQUOTE><PRE>options ide-cd ignore=hd<FONT COLOR="red">X</FONT>pre-install sg modprobe ide-scsipre-install sr_mod modprobe ide-scsipre-install ide-scsi modprobe ide-cd</PRE></BLOCKQUOTE></UL><P ALIGN="JUSTIFY">Keep in mind that once hd<FONT COLOR="red">X</FONT>is routed through ide-scsi, you can no longer refer to <TT>/dev/hd<FONTCOLOR="red">X</FONT></TT><SUP>(*)</SUP>, but to corresponding<TT>/dev/scd<FONT COLOR="red">N</FONT></TT> only.<P><TABLE BORDER="0" WIDTH="95%" ALIGN="CENTER"><TR VALIGN="TOP" ALIGN="JUSTIFY"><TD><FONT SIZE="-1"><SUP>(*)</SUP></FONT><TD><FONT SIZE="-1">well, except as in <TT>hdparm -d [0|1] /dev/hd<FONTCOLOR="red">X</FONT></TT>. <B>As for DMA settings.</B> Several users ofNEC[-based] units have reported that their systems crash during DVDrecording. The problem appears to be related to DMA settings, at leastswitching it off reportedly helps. The problem appears to be specific tosome IDE chipsets...</FONT></TR></TABLE><P><LI><P ALIGN="JUSTIFY"><B>If you have an external unit,</B> just getit working as CD-ROM first. I myself have no personal experiencewhatsoever with <A HREF="http://www.linux-usb.org/">USB</A> or <AHREF="http://www.linux1394.org/">IEEE1394/Firewire</A> optical storagedevices and have to direct you elsewhere for specific instructions. Ihowever am confident that if you manage to get your drive working<I>reliably</I> as <NOBR>CD-ROM</NOBR> <I>and</I> <NOBR>CD-R[W]</NOBR>burner, then you won't have any troubles with dvd+rw-tools either. USBconnected drives were reported to be working fine since eternity.Firewire connected drives in turn were reported to fail miserably under2.4.18. The failure didn't seem to be DVD recording related as itreportedly failed burning even CD-R media. Firewire support wassubstantially revamped in 2.4.19, and dvd+rw-tools were reported towork with this and later kernels.<P><LI><P ALIGN="JUSTIFY">If you're running 2.4.19 or .20, considerapplying <A HREF="sg-2.4.19.patch">this drivers/scsi/sg.c patch</A>.The bug is fixed in .21. I write "consider" and not"do" for the following reasons:<P><UL><LI>dvd+rw-tools are not affected by this bug (as they don't use SG_IOinterface), cdrecord [potentially] is;<LI>I however haven't actually experienced the problem with cdrecord(maybe yet, kernel could have managed to keep buffers neatly alignedwhile talking to cdrecord those times I tried), it was VMware that hasfailed miserably on me;</UL><P ALIGN="JUSTIFY">As of version 5.6 dvd+rw-tools add support for SG_IOpass-through or in other words support for Linux 2>=5[.43],where "generic" SCSI interface can be bypassed by issuingSG_IO ioctl directly against block device, such as <TT>/dev/hd<FONTCOLOR="red">X</FONT></TT>. I wish it worked without need for <AHREF="http://marc.theaimsgroup.com/?t=105410790500005&r=1&w=2">interim</A>patches <A HREF="ide-cd-2.5.69.patch">#1</A> and <AHREF="ide-cd-2.5.69.+patch">#2</A>, (the latter is relative to2.5.69-75, the 1st problem is addressed in .71, 2nd one - .75-bk3 in"<AHREF="http://marc.theaimsgroup.com/?l=linux-kernel&m=105787192005635&w=2">lastminute</A>" prior first 2.6 cut. As for 2.6 in more general sense.As you can imagine this new interface renders ide-scsi layersuperfluous and "the[ir] official plan™" is to scrapit. I'm not really fond of the idea, but not for /dev/sg* account. Imean I [personally] would prefer to keep ide-scsi and use SG_IOpass-through with <TT>/dev/scdN</TT>, rather than with<TT>/dev/hdX</TT>:-)<P ALIGN="JUSTIFY">If you have to make dvd+rw-tools work under Linuxkernel 2.6.8, then upgrade the tool-chain to 5.21.x or later andmanually reward the installed binaries with set-root-uid flag. But the"supported" recommendation is to just stay away from thisparticular kernel version. <B>As for 2.6>8, dvd+rw-tools 5.21.x isrequirement.</B> Oh! dvd+rw-booktype utility would require set-root-uidprivilege then. Given its semi-official status and the fact that thisutility works only with limited number of units, installation procedure<I>abstains</I> from installing dvd+rw-booktype set-root-uid, leavingthis security sensitive choice to the end-user.<P><LI><P ALIGN="JUSTIFY"><B>Download, unpack and compile the <AHREF="tools/?M=D">the tool-chain</A>.</B> To build the thing do pick the.tar.gz archive, which contains Makefile as well as .spec file. Youwill <B>need both C and C++ compilers</B> installed. Separatesource code files found in the <A HREF="tools/?M=D">download catalog</A>are provided mainly for on-line reference purposes (such as <AHREF="tools/growisofs.c">revision history</A>:-). <P ALIGN="JUSTIFY">If your Linux kernel supports multiple ABIs (e.g.Linux-sparc64 can run even 32-bit Linux-sparc applications, as well asLinux-x86_64 can execute legacy 32-bit i386 binaries), make sure youcompile for <I>native</I> 64-bit ABI (which can normally be done with'<TT>make TARGET_ARCH=-m64</TT>'). The problem here is that 64-bitkernel has to explicitly convert ioctl structures passed by 32-bitapplications and apparently it does really lousy job when it comes toCDROM_SEND_PACKET ioctl deployed by dvd+rw-tools.<P><LI><P ALIGN="JUSTIFY">As new media products and brands are beingintroduced to the market all the time, it apparently pays off to<B><I>periodically</I> check for firmware updates.</B> For elder unitsfirmware update might even be an <B>absolute requirement</B> for usingnew media. Special note for HP users. HP no longer posts firmwareupdates on a web-page. Instead they let some Windows auto-update gizmoto pick firmware updates among <NOBR><TT>dvd[1-6]00*.exe</TT></NOBR>files in <AHREF="ftp://ftp.hp.com/pub/information_storage/software/">their FTPdirectory</A>, so that readers of this page tend to miss them...<P><LI><P ALIGN="JUSTIFY"><B>Formatting the BD and DVD+RW media.</B>Virgin BD and DVD+RW media needs to be initally formatted prior usage.Once again, <B>only virgin BD and DVD+RW media needs to beformatted.</B> As of version 5.10 growisofs detects blanks and appliesinitial formatting procedure automatically. Otherwise same effect canbe achieved by passing the device name, e.g. <TT>/dev/scd0</TT>, as anargument to <A HREF="tools/dvd+rw-format.cpp">dvd+rw-format</A>. Well,in <A HREF="Blu-ray">BD case</A> it does offer more flexibility thangrowisofs. To make formatting process reasonably fast, less than 1minute, the media gets formatted only partially, as you can notice byobserving progress indicator displayed by dvd+rw-format. The finalindicator value varies from firmware to firmware, values as low as 1.6%were observed. But it does not mean that you can only write thatlittle. The unit keeps formatting <I>transparently</I>, as you add moredata. Oh! Do keep in mind that DVD capacity of 4.7GB is expressed insalesman's GB, i.e. 1000<SUP>3</SUP> and not 1024<SUP>3</SUP>. Andso is one of BD.<P ALIGN="JUSTIFY">It was observed that excessive reformats can renderDVD+RW media unusable already after 10-20 reformats. It appears to be afirmware deficiency, not some common media defect [at least it wasperfectly possible to salvage the media in a unit of different brand],but I don't recommend [enforced] reformat in either case.<P ALIGN="JUSTIFY">Note that <B>re-formatting procedure does notsubstitute for blanking.</B> If you want to nullify the media, e.g. forprivacy reasons, do it explicitly with '<TT>growisofs <NOBR>-Z</NOBR>/dev/scd<FONT COLOR="red">N</FONT>=/dev/zero</TT>'. Otherwise justwrite over previous recording as it simply wasn't there, nore-formatting is required.<!---<P ALIGN="JUSTIFY">DVD+R media does not require any formattingprocedure applied and is ready to use out-of-the-box. Apparently, areminder that 1st generation units (Ricoh MP5120A and derivatives)are not capable of burning DVD+R is needed.---><A NAME="growisofs"><P></A><LI><P ALIGN="JUSTIFY"><B>Burning with <AHREF="tools/growisofs.c">growisofs</A>.</B> There is hardly a need formanual for growisofs. In a nutshell growisofs just passes all commandline arguments to mkisofs and dumps its output directly onto the media.The first part means that you basically can [well, <I>should</I>]consult <A HREF="mkisofs.8.html">mkisofs manual page</A> andaccompanying reference documentation (including multisession relatedsection[s]) and the second part means that you shouldn't expect anISO-image on the standard output (nor make sure you have enough freetemporary storage<TT>:-)</TT>. Differences from mkisofs command lineare:<P><UL><LI>you may not use -o option;<LI>you don't have to specify -C option, growisofs will construct onefor you;<LI>there is internal -Z option for initial session recording, thissubstitutes for originally suggested 'mkisofs | dd of=/dev/scd0';</UL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -