Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2004 00:35:22 +0100
From:      Melvyn Sopacua <freebsd-questions@webteckies.org>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: Using the ATAPI/CAM Driver
Message-ID:  <200402010035.22746.freebsd-questions@webteckies.org>
In-Reply-To: <200401311254.16755.bsd@elkins.org>
References:  <200401302148.28075.bsd@elkins.org> <200401311725.55042.freebsd-questions@webteckies.org> <200401311254.16755.bsd@elkins.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-02=_6uDHA7+VlyufAws
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Saturday 31 January 2004 18:54, Jeff Elkins wrote:

> > > I _can_ mount cds using the /dev/acd* devices, while using the /dev/c=
d*
> > > devices for writing.  Is this the way atapi cdrws are supposed to work
> > > under freebsd?
> >
> > So, is cam compiled into the kernel? Do you have the xpt SCSI driver?
> > If cam is configured correctly, there should be mentioning of cd0
> > in /var/run/dmesg.boot and the cd's should be listed via:
> >
> > camcontrol devlist
>
> kathix# camcontrol devlist
> <DMI MultiFlash 3.00>              at scbus0 target 0 lun 0 (pass0,da0)
> <DMI MultiFlash 3.00>              at scbus0 target 0 lun 1 (pass1,da1)
> <DMI MultiFlash 3.00>              at scbus0 target 0 lun 2 (pass2,da2)
> <DMI MultiFlash 3.00>              at scbus0 target 0 lun 3 (pass3,da3)
> <SEAGATE ST15230N 0638>            at scbus1 target 0 lun 0 (pass4,da4)
> <PLEXTOR DVDR   PX-708A 1.03>      at scbus3 target 0 lun 0 (pass5,cd0)
> <TOSHIBA CD-ROM XM-6202B 1110>     at scbus3 target 1 lun 0 (pass6,cd1)
>
>
> cd0 at ata1 bus 0 target 0 lun 0
> cd0: <PLEXTOR DVDR   PX-708A 1.03> Removable CD-ROM SCSI-0 device
> cd0: 16.000MB/s transfers
>
> cd1 at ata1 bus 0 target 1 lun 0
> cd1: <TOSHIBA CD-ROM XM-6202B 1110> Removable CD-ROM SCSI-0 device
> cd1: 16.000MB/s transfers

Try getting rid of the DMI devices. As you can see above, the cd's claim bu=
s0,=20
while cam puts them on bus 3. Still a chance that the seagate overrides the=
m=20
though.

If:=20
cdrecord dev=3D3,0,0 yourfiles.iso

works correctly, you might want to follow this up to -current or -hardware.
=2D-=20
Melvyn

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
=46reeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Ja=
n 28=20
18:01:18 CET 2004    =20
root@sarevok.lan.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG =
=20
i386
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D

--Boundary-02=_6uDHA7+VlyufAws
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAHDu6Ov9JNmfFN5URArzRAJ4rMbJd0o7AnDrPoDav2aL1+wahQACfQs9K
uY2HMLO+Nlr6xdyb92tzQJA=
=BGF0
-----END PGP SIGNATURE-----

--Boundary-02=_6uDHA7+VlyufAws--



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