Skip site navigation (1)Skip section navigation (2)
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
--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
> <HP DVD Writer 1140r FH23>         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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009031657.29695.josh>