From owner-freebsd-questions Wed Sep 6 5: 6:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 45B4B37B43E for ; Wed, 6 Sep 2000 05:06:11 -0700 (PDT) Received: from bagabeedaboo.security.at12.de (dial-213-168-73-22.netcologne.de [213.168.73.22]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id OAA27556; Wed, 6 Sep 2000 14:06:04 +0200 (MET DST) Received: from localhost (localhost.security.at12.de [127.0.0.1]) by bagabeedaboo.security.at12.de (8.11.0/8.11.0) with ESMTP id e86C5rB03455; Wed, 6 Sep 2000 14:06:03 +0200 (CEST) (envelope-from pherman@frenchfries.net) Date: Wed, 6 Sep 2000 14:05:53 +0200 (CEST) From: Paul Herman To: Ewout Vonk Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Trouble with 'dd', my cdrom/rw and wormcontrol on FBSD 4.1 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 6 Sep 2000, Ewout Vonk wrote: > I am having some trouble with my Aopen CDROM and HP 7200i CD-RW.. When I > try to make an exact copy of a cd using: > > dd if=/dev/acd0c of=cd.img and > dd if=/dev/acd1c of=cd.img > > It gives the error: 'dd: /dev/acd0c: Bad Address' and > it gives the error: 'dd: /dev/acd1c: Bad Address' Try a different block size (and better to use the raw device), like: dd if=/dev/racd0c of=cd.img bs=8k ...my CD-ROM seems to need a block size of at least 2k. > When I run: > > 'wormcontrol prepdisk double' or 'wormcontrol prepdisk single' > having done 'ln -s /dev/acd0c /dev/rworm0' > It gives the error: > > 'wormcontrol: ioctl(WORMIOCPREPDISK): Inappropriate ioctl for device' > > On FreeBSD 3.3 it used to work, just as with the dd command.. I don't know about this (I don't use wormcontrol) but I wouldn't be mixing character devices (those with the "r") with block devices (those without the "r")... The only advide I would suggest here (if it helps at all) is: ln -sf /dev/racd0c /dev/rworm0 ln -sf /dev/acd0c /dev/worm0 But like I said, I don't use wormcontrol... -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message