Re: wormcontrol write speed

1999-09-26 Thread Soren Schmidt

It seems Nick Hibma wrote:

>And, oh while you are at it, why not create a CAM SIM that makes IDE
>available through CAM. That would save me a lot of work :-)

Its not on my current TODO list, I want all the lowlevel things 
done first. If somebody writes the support I'll consider putting
it in, but no promises...

-Søren


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-26 Thread Nick Hibma


And, oh while you are at it, why not create a CAM SIM that makes IDE
available through CAM. That would save me a lot of work :-)

Nick

On Sun, 26 Sep 1999, Soren Schmidt wrote:

> It seems Christopher Masto wrote:
> > On Wed, Sep 22, 1999 at 09:27:37AM +0200, Soren Schmidt wrote:
> > > Anyhow, I have some changes to the worm stuff, it needs to be dealt with
> > > to handle modern HW, and to deal with all the possible block formats
> > > thats possible on a CD nowadays. It will probably mean the death of
> > > the worm stuff as is now, but I'm the last user anyways so
> > 
> > Any chance of getting a passthrough or "SCSI emulation" so that
> > cdrecord could be used instead?  (Then you won't have to worry about
> > different CD-R quirks)
> 
> If somebody writes it there is a chance. I dont have this on my TODO
> list. I could maybe be talked into providing a generic ATAPI interface
> that would give you a method of injecting ATAPI commands directly
> into the systemi, cdrecord etc could use that then.
> 
> > I have an Acer CRW 6202A which doesn't seem to work with FreeBSD
> > (current as of five minutes ago, including the rev 1.19 of
> > atapi-cd.c).  "wormcontrol blank" (with a CD-RW of course) runs for a
> > little while, then aborts with an I/O error.  Also, all IDE devices
> > are completely locked up while it's running.
> 
> What I/O error ?? its impossible to diagnose on no data...
>  
> > The dd also sort of works for a while, then gets an I/O error.  Same
> > with fixate (which also locks up the IDE busses).
> 
> What I/O error ?? its impossible to diagnose on no data...
>  
> > I'm currently recompiling with ATAPI_DEBUG and ACD_DEBUG in the hopes
> > that I'll be able to produce a better bug report.  Any suggestions?
> 
> Provide data, the system spits out lots of sensekey things and the
> like on errors, those are invaluable data to diagnose this...
> 
> -Søren
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 
> 

-- 
e-Mail: [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-26 Thread Soren Schmidt

It seems Christopher Masto wrote:
> On Wed, Sep 22, 1999 at 09:27:37AM +0200, Soren Schmidt wrote:
> > Anyhow, I have some changes to the worm stuff, it needs to be dealt with
> > to handle modern HW, and to deal with all the possible block formats
> > thats possible on a CD nowadays. It will probably mean the death of
> > the worm stuff as is now, but I'm the last user anyways so
> 
> Any chance of getting a passthrough or "SCSI emulation" so that
> cdrecord could be used instead?  (Then you won't have to worry about
> different CD-R quirks)

If somebody writes it there is a chance. I dont have this on my TODO
list. I could maybe be talked into providing a generic ATAPI interface
that would give you a method of injecting ATAPI commands directly
into the systemi, cdrecord etc could use that then.

> I have an Acer CRW 6202A which doesn't seem to work with FreeBSD
> (current as of five minutes ago, including the rev 1.19 of
> atapi-cd.c).  "wormcontrol blank" (with a CD-RW of course) runs for a
> little while, then aborts with an I/O error.  Also, all IDE devices
> are completely locked up while it's running.

What I/O error ?? its impossible to diagnose on no data...
 
> The dd also sort of works for a while, then gets an I/O error.  Same
> with fixate (which also locks up the IDE busses).

What I/O error ?? its impossible to diagnose on no data...
 
> I'm currently recompiling with ATAPI_DEBUG and ACD_DEBUG in the hopes
> that I'll be able to produce a better bug report.  Any suggestions?

Provide data, the system spits out lots of sensekey things and the
like on errors, those are invaluable data to diagnose this...

-Søren



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-25 Thread Christopher Masto

On Wed, Sep 22, 1999 at 09:27:37AM +0200, Soren Schmidt wrote:
> Anyhow, I have some changes to the worm stuff, it needs to be dealt with
> to handle modern HW, and to deal with all the possible block formats
> thats possible on a CD nowadays. It will probably mean the death of
> the worm stuff as is now, but I'm the last user anyways so

Any chance of getting a passthrough or "SCSI emulation" so that
cdrecord could be used instead?  (Then you won't have to worry about
different CD-R quirks)

I have an Acer CRW 6202A which doesn't seem to work with FreeBSD
(current as of five minutes ago, including the rev 1.19 of
atapi-cd.c).  "wormcontrol blank" (with a CD-RW of course) runs for a
little while, then aborts with an I/O error.  Also, all IDE devices
are completely locked up while it's running.

The dd also sort of works for a while, then gets an I/O error.  Same
with fixate (which also locks up the IDE busses).

I'm currently recompiling with ATAPI_DEBUG and ACD_DEBUG in the hopes
that I'll be able to produce a better bug report.  Any suggestions?
-- 
Christopher Masto Senior Network Monkey  NetMonger Communications
[EMAIL PROTECTED][EMAIL PROTECTED]http://www.netmonger.net

Free yourself, free your machine, free the daemon -- http://www.freebsd.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-25 Thread Sergey Babkin

David Scheidt wrote:
> 
> On Fri, 24 Sep 1999, Sergey Babkin wrote:
> 
> > > There is no worm or wormlike support in the SCSI system anymore.
> >
> > Do I need to configure the SCSI target driver for cdrecord or
> > does it just use the CD-ROM driver ? Thank you!
> 
> It uses either the cd driver, or the passthrough one.  I can't remember off
> hand.  (I think it is pass0).

Seems like the cd driver should work. I have tried today and
it turned out that even for a 2-year-old system wormcontrol
does not work any more on the SCSI devices. cdrecord seems
to work on either cd or worm driver (which is still here in
that 2-years-old system). 

My old system needed a little patching of physio() to get
cdrecord running but this bug seems to be fixed long since
then in -current.

-SB


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-24 Thread David Scheidt

On Fri, 24 Sep 1999, Sergey Babkin wrote:

> > There is no worm or wormlike support in the SCSI system anymore.
> 
> Do I need to configure the SCSI target driver for cdrecord or
> does it just use the CD-ROM driver ? Thank you!

It uses either the cd driver, or the passthrough one.  I can't remember off
hand.  (I think it is pass0).

David Scheidt



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-24 Thread Sergey Babkin

Soren Schmidt wrote:
> 
> It seems Sergey Babkin wrote:
> > Soren Schmidt wrote:
> > >
> > > It seems Luigi Rizzo wrote:
> > > > > Anyhow, I have some changes to the worm stuff, it needs to be dealt with
> > > > > to handle modern HW, and to deal with all the possible block formats
> > > > > thats possible on a CD nowadays. It will probably mean the death of
> > > > > the worm stuff as is now, but I'm the last user anyways so
> > > >
> > > > NO! There is me as well
> >
> > Count me as the third one :-)
> 
> Come on guys, the only driver that can use worm* is the atapi-cd driver,
> the SCSI system no longer has this functionality.
> What I mean is that I'll probably sometime when I get the time, will
> change this interface so it better suits my needs. You will still
> have an util to burn ATAPI cd with :)

Does it still work on SCSI in an about-2-years-old (pre-CAM) 3.0 snapshot ?
I suppose it does because the worm driver is still here. I'm going
to backup my 3.0 system at home to CDROMs befor upgrading to 4.0,
that's why I'm asking.
 
> > By the way, a stupid question: 4.0-current (at least the latest snapshot)
> > seems to have no worm driver. Is it merged with the cdrom driver now ?
> > Does it still work with the SCSI devices ? In particular, with Philips 3660 ?
> 
> Se above, if you want to use burners under CAM SCSI you have to use cdrecord.
> There is no worm or wormlike support in the SCSI system anymore.

Do I need to configure the SCSI target driver for cdrecord or
does it just use the CD-ROM driver ? Thank you!

-SB


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-22 Thread Soren Schmidt

It seems Sergey Babkin wrote:
> Soren Schmidt wrote:
> > 
> > It seems Luigi Rizzo wrote:
> > > > Anyhow, I have some changes to the worm stuff, it needs to be dealt with
> > > > to handle modern HW, and to deal with all the possible block formats
> > > > thats possible on a CD nowadays. It will probably mean the death of
> > > > the worm stuff as is now, but I'm the last user anyways so
> > >
> > > NO! There is me as well
> 
> Count me as the third one :-)

Come on guys, the only driver that can use worm* is the atapi-cd driver,
the SCSI system no longer has this functionality.
What I mean is that I'll probably sometime when I get the time, will
change this interface so it better suits my needs. You will still
have an util to burn ATAPI cd with :)

> > For what ?? -stable ?? I wont touch that one...
> > If its for the old wd driver, it'll ofcause stay around until that is
> > gone too :)
> > 
> > Or have I missed something ??
> 
> By the way, a stupid question: 4.0-current (at least the latest snapshot)
> seems to have no worm driver. Is it merged with the cdrom driver now ?
> Does it still work with the SCSI devices ? In particular, with Philips 3660 ?

Se above, if you want to use burners under CAM SCSI you have to use cdrecord.
There is no worm or wormlike support in the SCSI system anymore.

-Soren


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-22 Thread Sergey Babkin

Soren Schmidt wrote:
> 
> It seems Luigi Rizzo wrote:
> > > Anyhow, I have some changes to the worm stuff, it needs to be dealt with
> > > to handle modern HW, and to deal with all the possible block formats
> > > thats possible on a CD nowadays. It will probably mean the death of
> > > the worm stuff as is now, but I'm the last user anyways so
> >
> > NO! There is me as well

Count me as the third one :-)
 
> For what ?? -stable ?? I wont touch that one...
> If its for the old wd driver, it'll ofcause stay around until that is
> gone too :)
> 
> Or have I missed something ??

By the way, a stupid question: 4.0-current (at least the latest snapshot)
seems to have no worm driver. Is it merged with the cdrom driver now ?
Does it still work with the SCSI devices ? In particular, with
Philips 3660 ?

Thanks!

-SB


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-22 Thread Paulo Fragoso

On Wed, 22 Sep 1999, Soren Schmidt wrote:

> I've just commited a change to the ata driver & wormcontrol, so now
> you should be able to use the keywords: single double quad max
> in the speed selection field. Its not very well tested yet though..
> Try it and watch with systat how high the transfer rate really is
> when burning...
> 
> -Soren

Escuse me my mistake. I tried use other media but (as expected) was burned
at double speed.

Thanks,
Paulo Fragoso.

--
"  ... Overall we've found FreeBSD to excel in performace, stability,
technical support, and of course price. Two years after discovering
FreeBSD, we have yet to find a reason why we switch to anything else"
-David Filo, Yahoo!



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-22 Thread Soren Schmidt

It seems Paulo Fragoso wrote:
> > > I'm using one atapi-cdrw (CREATIVE CD-RW RW4224E/1.36) and works fine but
> > > I don't know change speed to 4x, now I'm burning at double speed (I'm
> > > spending 37min to burn one full cd). I've got other unit (YAMAHA-SCSI)
> > > which spends 17min for a full cd but using cdrecord speed=4.
> > > 
> > > Are there any way to make wormcontrol burns cds at 4x speed?
> > 
> > Not directly, but your driver _should_ use the max speed as default.
> > You could ad a command to force the drive to max speed in the driver
> > though...
> 
> Did my media (CDR not CDRW) may have caused fall-back speed? I'll try with
> another media and return.

I've just commited a change to the ata driver & wormcontrol, so now
you should be able to use the keywords: single double quad max
in the speed selection field. Its not very well tested yet though..
Try it and watch with systat how high the transfer rate really is
when burning...

-Soren


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-22 Thread Paulo Fragoso

On Wed, 22 Sep 1999, Soren Schmidt wrote:

> It seems Paulo Fragoso wrote:
> > Hi,
> > 
> > I'm using one atapi-cdrw (CREATIVE CD-RW RW4224E/1.36) and works fine but
> > I don't know change speed to 4x, now I'm burning at double speed (I'm
> > spending 37min to burn one full cd). I've got other unit (YAMAHA-SCSI)
> > which spends 17min for a full cd but using cdrecord speed=4.
> > 
> > Are there any way to make wormcontrol burns cds at 4x speed?
> 
> Not directly, but your driver _should_ use the max speed as default.
> You could ad a command to force the drive to max speed in the driver
> though...

Did my media (CDR not CDRW) may have caused fall-back speed? I'll try with
another media and return.

Paulo Fragoso.

> 
> -Soren
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 

--
"  ... Overall we've found FreeBSD to excel in performace, stability,
technical support, and of course price. Two years after discovering
FreeBSD, we have yet to find a reason why we switch to anything else"
-David Filo, Yahoo!



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-21 Thread Soren Schmidt

It seems Luigi Rizzo wrote:
> > Anyhow, I have some changes to the worm stuff, it needs to be dealt with
> > to handle modern HW, and to deal with all the possible block formats
> > thats possible on a CD nowadays. It will probably mean the death of
> > the worm stuff as is now, but I'm the last user anyways so
> 
> NO! There is me as well

For what ?? -stable ?? I wont touch that one...
If its for the old wd driver, it'll ofcause stay around until that is
gone too :)

Or have I missed something ??

-Soren


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-21 Thread Luigi Rizzo

> Anyhow, I have some changes to the worm stuff, it needs to be dealt with
> to handle modern HW, and to deal with all the possible block formats
> thats possible on a CD nowadays. It will probably mean the death of
> the worm stuff as is now, but I'm the last user anyways so

NO! There is me as well

cheers
luigi

---+-
  Luigi RIZZO, [EMAIL PROTECTED]  . Dip. di Ing. dell'Informazione
  http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
  TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy)

  http://www.iet.unipi.it/~luigi/ngc99/
  First International Workshop on Networked Group Communication  
---+-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-21 Thread Soren Schmidt

It seems Daniel O'Connor wrote:
> 
> On 22-Sep-99 Soren Schmidt wrote:
> > > Are there any way to make wormcontrol burns cds at 4x speed?
> 
> >  Not directly, but your driver _should_ use the max speed as default.
> >  You could ad a command to force the drive to max speed in the driver
> >  though...
> 
> IMHO there should be a way to force it..
> 
> You can get 8x drives and 6x media.. Not a good idea put them together unless
> you change the write speed.

Right, but all the drives I've seen falls back from max speed if the medium
is crappy, that is not to say that they chose the right speed though :)

Anyhow, I have some changes to the worm stuff, it needs to be dealt with
to handle modern HW, and to deal with all the possible block formats
thats possible on a CD nowadays. It will probably mean the death of
the worm stuff as is now, but I'm the last user anyways so

-Soren


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-21 Thread Daniel O'Connor


On 22-Sep-99 Soren Schmidt wrote:
> > Are there any way to make wormcontrol burns cds at 4x speed?

>  Not directly, but your driver _should_ use the max speed as default.
>  You could ad a command to force the drive to max speed in the driver
>  though...

IMHO there should be a way to force it..

You can get 8x drives and 6x media.. Not a good idea put them together unless
you change the write speed.

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: wormcontrol write speed

1999-09-21 Thread Soren Schmidt

It seems Paulo Fragoso wrote:
> Hi,
> 
> I'm using one atapi-cdrw (CREATIVE CD-RW RW4224E/1.36) and works fine but
> I don't know change speed to 4x, now I'm burning at double speed (I'm
> spending 37min to burn one full cd). I've got other unit (YAMAHA-SCSI)
> which spends 17min for a full cd but using cdrecord speed=4.
> 
> Are there any way to make wormcontrol burns cds at 4x speed?

Not directly, but your driver _should_ use the max speed as default.
You could ad a command to force the drive to max speed in the driver
though...

-Soren


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message