From owner-freebsd-current@FreeBSD.ORG Fri Sep 3 21:58:38 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E73110656D9 for ; Fri, 3 Sep 2010 21:58:38 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 481608FC18 for ; Fri, 3 Sep 2010 21:58:37 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 59605271; Fri, 3 Sep 2010 17:58:37 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 03 Sep 2010 17:58:37 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:subject:date:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; s=smtpout; bh=5LWAISdDlg07+V+d/emnV6RpRtA=; b=tt8MQo0WRl3GKNDglHs/uU4DFx9yMF+ea6J66EBZewIjETKQ/SkX+FS+2TNa1r1MRH7R57WODB2YQHgpQc5kz7X3T4wdNGHZQX5WhEfKmaO2GykipgTDbiP75LrB9/LXzAx45nGXLJ2cSxkbiIHeGkj4o3nNpncRjzHmj2GKrek= X-Sasl-enc: VmQHQi90pHp/0RViqk/nKbTdeA/fqey6IWO8eECXAy4M 1283551116 Received: from tcbug.ixsystems.com (70-14-130-144.pools.spcsdns.net [70.14.130.144]) by mail.messagingengine.com (Postfix) with ESMTPSA id 7E3294081D5; Fri, 3 Sep 2010 17:58:36 -0400 (EDT) From: Josh Paetzel To: freebsd-current@freebsd.org Date: Fri, 3 Sep 2010 16:57:21 -0500 User-Agent: KMail/1.13.5 (FreeBSD/9.0-CURRENT; KDE/4.5.1; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1310169.geUuK8cUQE"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201009031657.29695.josh@tcbug.org> Cc: Randy Stewart Subject: Re: Trouble with a atapi-cam backup.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 21:58:38 -0000 --nextPart1310169.geUuK8cUQE Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Thursday 02 September 2010 15:23:46 Randy Stewart wrote: > Hi all: >=20 > So I finally upgraded my 7.3stable main server to 8.1stable... >=20 > And now my backup to atapi-cam is failing.. I get: >=20 > root@lakerest /usr/tmp]# /usr/local/bin/growisofs -Z /dev/cd0 -R -J > backup_init.08-31-2010.gz >=20 > :-( unable to CAMGETPASSTHRU for /dev/cd0: Inappropriate ioctl for >=20 > device >=20 >=20 > Now atapi-cam I have built into the kernel (not a loaded module).. and > so is scsibus.. and all > its friends. Cam control seems to see the device: >=20 > [root@lakerest /usr/tmp]# camcontrol devlist > at scbus0 target 1 lun 0 (cd0,pass0) >=20 > Any suggestions of what I left out of the kernel would be most > helpful.. >=20 > Oh my kern.conf is: >=20 > ***************************** > include GENERIC > ident mymachine > device atapicam > options IPDIVERT > options IPFIREWALL > ******************************* >=20 > And its an i386 >=20 > Thanks >=20 > R >=20 > ----- > Randall Stewart > randall@lakerest.net >=20 I've had pretty good luck in 8.1 with the ahci and ada drivers, which will= =20 present CDROMs as SCSI devices without ATAPICAM. device ahci device ada # SCSI peripherals device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) device cd # CD device pass # Passthrough device (direct SCSI access) And remove: # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering And ATAPICAM of course. =2D-=20 Thanks, Josh Paetzel --nextPart1310169.geUuK8cUQE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQEcBAABAgAGBQJMgW9JAAoJEKFq1/n1feG2CLAH/28O+ef0kNJsWq1UQSHaaydz nPiqvi1ecsJF8ASFX7vLZL+juWt5tTx+x8HOC03eh55s+i1U2P2qRl7aHVwa2/xg 8wbXoY+N08w6ZyRzAQOUhib/xKxSWl17JDOy9797Ga5ZmpfuTHniSjUjUpss07Ze 6IQ420HSXG8Y60mqKydwmLV7yElfq+5UAmNQaOj3KVYR7WRTaYhpiPPeZ9/DyTlL BcCCIlUH1hQGRuerN8EfgnylCmOcNM1j+azC+LUwmzgfUicULiHvR885KBoUbRBx mVy4CoXJjdbZ0b4ERWSMPe1fkhjeanItvxVBhRpxchGlD52MiZx9uGrdqupx5Vg= =8wwC -----END PGP SIGNATURE----- --nextPart1310169.geUuK8cUQE--