Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.mid.net!news.sdsmt.edu!nntp.uac.net!uhog.mit.edu!news.kei.com!newsfeed.internetmci.com!in1.uu.net!quack!quack.kfu.com!nsayer From: nsayer@quack.kfu.com (Nick Sayer) Subject: Re: HP4020i (CD-R) Usage question (dd input/output error?) Message-ID: <ntc8Zwt@quack.kfu.com> Keywords: CD-R, iso9660, 4020, worm Sender: news@quack.kfu.com (0000-News(0000)) Organization: The Duck Pond public unix, +1 408 249 9630, log in as guest. References: <franky.836557636@pwood1> Date: Sat, 6 Jul 1996 00:19:53 UTC Lines: 70 franky@pinewood.nl (Frank ten Wolde) writes: >Hello, >I need some help/reference with respect to the CD-Recordable >HP 4020i and how to use it under FreeBSD-2.2-960612-SNAPSHOT. >I use the following set of commands and get the following output: > # wormcontrol select HP 4020i > # wormcontrol prepdisk double dummy > # wormcontrol track data > # rtprio 5 team -v 1m 5 < IMAGE | dd of=/dev/rworm0 obs=20k > 1093 kilobytes, 0 seconds > [ The green light on the 4020i blinks for a few seconds ] > [ The red (write) light blinks for a few seconds ] > 1093 kbytes written [Carriage Return] > dd: /dev/rworm0: Input/output error > 2186+1 records in > 54+0 records out > 1105920 bytes transferred in 4 secs (276480 bytes/sec) > # wormcontrol fixate 1 > # >I'm worried about the error from 'dd'. Is this caused by the 'dummy' >command or is something else going wrong? If your image is not 1105920 bytes, then the write was cut short. Dummy runs on my 4020i do not do this, but one thing I discovered is that after each dummy run I must eject and close the media tray. If I don't do this, then writes fail after the capacity of a CDROM is filled, regardless of doing a fixate and a new prepdisk. So before you do a dummy run, push the little button and then push the tray back in. I also think it's a good idea to add the rtprio to the dd in the pipeline above. Like this: rtprio 5 team -v 1m < IMAGE | rtprio 5 dd of=/dev/rworm0 obs=20k What's the point of elevating the team if the dd doesn't also get elevated? With such precautions, I have burned CDs with full X running and (the equivalent of) 115.2 kbps data transfer on a serial port in the background with no problems. This on a 486DX2-66 with an AHA-2842 SCSI controller. >I also noticed that if I configure the kernel for the worm0 device, >the cd0c device is no longer configured. Thus: > kernel without worm0 device : > cd0c (4020i) available for mounting CD9660 disks > kernel with worm0 device : > worm0 (4020i) available for writing > cd0c (4020i) NOT available (device not configured) >Is there a way in FreeBSD to have both the worm0 AND cd0 device >configured simultaneously? Not that I know of. My system has a separate 4x for reading that predated the 4020i. -- Nick Sayer <nsayer@quack.kfu.com> | N6QQQ @ N0ARY.#NORCAL.CA.USA.NOAM | "These proceedings are closed." +1 408 249 9630, log in as 'guest' | URL: http://www.kfu.com/~nsayer/ | -- Gen. Douglass MacArthur