On Mon, Feb 14, 2000 at 20:36:18 -0500, John W. DeBoskey wrote:
> > On Mon, Feb 14, 2000 at 16:27:37 -0500, John W. DeBoskey wrote:
> > > Hi,
> > >
> > > I have a -current system (current as of 1pm EST today) which I
> > > am trying to use with a Pioneer DVR-S201 dvd writer...
> > >
> > > FreeBSD FreeBSD2.unx.sas.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0:
> > > Mon Feb 14 15:39:24 EST 2000
> > > [EMAIL PROTECTED]:/usr/src/sys/compile/FreeBSD i386
> > >
> > >
> > > The appropriate portions of dmesg:
> > >
> > > pass6 at ahc4 bus 0 target 6 lun 0
> > > pass6: <PIONEER DVD-R DVR-S201 1.10> Removable CD-ROM SCSI-2 device
> > > pass6: 10.000MB/s transfers (10.000MHz, offset 15)
> > > cd1 at ahc4 bus 0 target 6 lun 0
> > > cd1: <PIONEER DVD-R DVR-S201 1.10> Removable CD-ROM SCSI-2 device
> > > cd1: 10.000MB/s transfers (10.000MHz, offset 15)
> > > cd1: cd present [1 x 2048 byte records]
> >
> > Ahh, nice expensive toy. :)
>
> Yes, now to get it working ... You need this type of backup capacity
> when you're dealing with terabyte sized data servers...
I think you need more capacity than that for terabytes worth of data.
You'd need ~217 DVD-R disks (at 4.7GB apiece) to backup a terabyte worth of
data.
If I had multiple terabytes to backup, and I wanted to back it up quick,
I'd get an Ampex DST 812. :)
Have you tried out cdrecord with that drive yet?
> I changed the code as follows:
>
> scsi_inquiry(&ccb->csio,
> /* retries */ retry_count,
> /* cbfcnp */ NULL,
> /* tag_action */ MSG_SIMPLE_Q_TAG,
> /* inq_buf */ (u_int8_t *)inq_buf,
> #if 0
> /* inq_len */ sizeof(struct scsi_inquiry_data),
> #else
> /* inq_len */ SHORT_INQUIRY_LENGTH,
> #endif
> /* evpd */ 0,
> /* page_code */ 0,
> /* sense_len */ SSD_FULL_SIZE,
> /* timeout */ timeout ? timeout : 5000);
>
> and rebuilt. I then reran 'camcontrol inquiry' on the different
> devices and it seems to work like a champ:
>
> #./camcontrol inquiry cd0
> pass5: <YAMAHA CRW4260 1.0g> Removable CD-ROM SCSI-2 device
> pass5: 3.300MB/s transfers
> #./camcontrol inquiry cd1
> pass6: <PIONEER DVD-R DVR-S201 1.10> Removable CD-ROM SCSI-2 device
> pass6: 10.000MB/s transfers (10.000MHz, offset 15)
> #./camcontrol inquiry da0
> pass0: <SEAGATE ST34572W 0784> Fixed Direct Access SCSI-2 device
> pass0: Serial Number JK2556760WV28L
> pass0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
>
> So, it seems like you nailed it the first time.
Cool!
> >
> > If that works, we can then try to figure out what is going on.
>
> Ok, point me in the right direction and I'll be glad to help any way
> I can.. Is the above a non-permanent fix that should be put in before
> 4.0-RELEASE?
Well, that may be the fix we should use. 'camcontrol inquiry', and more
specifically, scsi_print_inquiry(), doesn't use the full inquiry data, so
there's not much point in getting the whole thing.
If we end up doing something with the additional inquiry data in the
camcontrol inquiry code, we can probably do the two stage inquiry, like the
probe code. (The probe code first issues a 36 byte inquiry, looks at how
much inquiry data the drive claims to support, and then issues the
appropriate longer inquiry.)
Anyway, a fix will go in before 4.0, I'll just need to run it by Justin and
Matt for a sanity check.
Ken
--
Kenneth Merry
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message