Date: Fri, 3 Sep 2010 16:57:21 -0500 From: Josh Paetzel <josh@tcbug.org> To: freebsd-current@freebsd.org Cc: Randy Stewart <randall@lakerest.net> Subject: Re: Trouble with a atapi-cam backup.. Message-ID: <201009031657.29695.josh@tcbug.org> In-Reply-To: <A7262970-85AF-4AAA-947D-22DE37906797@lakerest.net> References: <A7262970-85AF-4AAA-947D-22DE37906797@lakerest.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Thursday 02 September 2010 15:23:46 Randy Stewart wrote: > Hi all: > > So I finally upgraded my 7.3stable main server to 8.1stable... > > And now my backup to atapi-cam is failing.. I get: > > root@lakerest /usr/tmp]# /usr/local/bin/growisofs -Z /dev/cd0 -R -J > backup_init.08-31-2010.gz > > :-( unable to CAMGETPASSTHRU for /dev/cd0: Inappropriate ioctl for > > device > > > 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: > > [root@lakerest /usr/tmp]# camcontrol devlist > <HP DVD Writer 1140r FH23> at scbus0 target 1 lun 0 (cd0,pass0) > > Any suggestions of what I left out of the kernel would be most > helpful.. > > Oh my kern.conf is: > > ***************************** > include GENERIC > ident mymachine > device atapicam > options IPDIVERT > options IPFIREWALL > ******************************* > > And its an i386 > > Thanks > > R > > ----- > Randall Stewart > randall@lakerest.net > I've had pretty good luck in 8.1 with the ahci and ada drivers, which will 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. -- Thanks, Josh Paetzel [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009031657.29695.josh>
