Re: UDF and CD-RW

2005-08-09 Thread Roland Smith
On Tue, Aug 09, 2005 at 07:47:19PM +0200, Laszlo Nagy wrote:

> I wonder why there is no documentation for this program? Probably there 
> are human beings using it but probably they are very special persons 
> with special knowledge. 

Most probably because the developer didn't need it or never got around
to making any.

> I could not find useful postings about this topic (CDRW and packet
> writing) in mailing lists. Very sad. :-( I'm totally lost.

Packet writing seems to never have gained much popularity in the UNIX
world. My guess would be that multigigabyte harddisks and the
availability of DVD-rewriters has something to do with it. I currently
use dvd+rw-tools (growisofs) to burn DVD's.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpIbJCXW1Yur.pgp
Description: PGP signature


Re: UDF and CD-RW

2005-08-09 Thread Laszlo Nagy


Looks like it is the right program. But it does not work. I have 
ide-scsi emulation enabled on my CDRW drive, so it is named /dev/cd0. I 
have a blank disc in the drive (created with "cdrecord speed=4 -v 
blank=fast").

Here are the results:
   



 

Formatting (please be patient (+/- 10 minutes)) ...SCSI command 
error on /dev/cd0: Status=0x8c

Sense data: Key=0x0 () Code=0x0 Qual=0x0
format unit returned : Bad address
fail
Formatting failed because of : Bad address
Disc access statistics
  sector reads  0  (0 Kbyte)
  sector written0  (0 Kbyte)
  switches  0
   



When I try it with my -ide-scsi emulation setup I get the same error,
but different sense data:

Formatting (please be patient (+/- 10 minutes)) ...SCSI command 
error on /dev/cd1: Status=0x8c

Sense data: Key=0x6 () Code=0x29 Qual=0x0
format unit returned : Bad address

I've looked at the source for cdrw_format, but couldn't find anything
obviously wrong with it.
 

I wonder why there is no documentation for this program? Probably there 
are human beings using it but probably they are very special persons 
with special knowledge. I could not find useful postings about this 
topic (CDRW and packet writing) in mailing lists. Very sad. :-( I'm 
totally lost.


 Les

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: UDF and CD-RW

2005-08-09 Thread Roland Smith
On Tue, Aug 09, 2005 at 05:11:01PM +0200, Laszlo Nagy wrote:
> 
> >
> >Looking at the port makefile, one of the programs that is installed is
> >called cdrw_format. Maybe you should try that.
> >
> >Roland
> > 
> >
> Looks like it is the right program. But it does not work. I have 
> ide-scsi emulation enabled on my CDRW drive, so it is named /dev/cd0. I 
> have a blank disc in the drive (created with "cdrecord speed=4 -v 
> blank=fast").
> Here are the results:

> Formatting (please be patient (+/- 10 minutes)) ...SCSI command 
> error on /dev/cd0: Status=0x8c
> Sense data: Key=0x0 () Code=0x0 Qual=0x0
> format unit returned : Bad address
> fail
> Formatting failed because of : Bad address
> Disc access statistics
>sector reads  0  (0 Kbyte)
>sector written0  (0 Kbyte)
>switches  0

When I try it with my -ide-scsi emulation setup I get the same error,
but different sense data:

Formatting (please be patient (+/- 10 minutes)) ...SCSI command 
error on /dev/cd1: Status=0x8c
Sense data: Key=0x6 () Code=0x29 Qual=0x0
format unit returned : Bad address

I've looked at the source for cdrw_format, but couldn't find anything
obviously wrong with it.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgp9Tr5a4bIUK.pgp
Description: PGP signature


Re: UDF and CD-RW

2005-08-09 Thread Laszlo Nagy




Looking at the port makefile, one of the programs that is installed is
called cdrw_format. Maybe you should try that.

Roland
 

Looks like it is the right program. But it does not work. I have 
ide-scsi emulation enabled on my CDRW drive, so it is named /dev/cd0. I 
have a blank disc in the drive (created with "cdrecord speed=4 -v 
blank=fast").

Here are the results:

earth# cdrw_format -D -F /dev/cd0
Opening device /dev/cd0

Device dentifies itself as : SCSI   busnum = 0, target = 0, lun = 0

CD-RW has a capacity of 359847 blocks (736966656 bytes)

Formatting (please be patient (+/- 10 minutes)) ...SCSI command 
error on /dev/cd0: Status=0x8c

Sense data: Key=0x0 () Code=0x0 Qual=0x0
format unit returned : Bad address
fail
Formatting failed because of : Bad address
Disc access statistics
   sector reads  0  (0 Kbyte)
   sector written0  (0 Kbyte)
   switches  0
earth#


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: UDF and CD-RW

2005-08-09 Thread Roland Smith
On Tue, Aug 09, 2005 at 09:51:45AM +0200, Laszlo Nagy wrote:
> 
>  Hi All!
> 
> I'm trying to use packet writing software on FreeBSD. The FreeBSD 
> counterpart of the Linux "udftools" package is the "udfclient" port. 
> However, I cannot use it. It does not allow me to create a new 
> filesystem, telling me that I need to packet-format first. But I don't 
> know how to do that. Can you please help?

Looking at the port makefile, one of the programs that is installed is
called cdrw_format. Maybe you should try that.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpVyeGMBPJUM.pgp
Description: PGP signature


UDF and CD-RW

2005-08-09 Thread Laszlo Nagy


 Hi All!

I'm trying to use packet writing software on FreeBSD. The FreeBSD 
counterpart of the Linux "udftools" package is the "udfclient" port. 
However, I cannot use it. It does not allow me to create a new 
filesystem, telling me that I need to packet-format first. But I don't 
know how to do that. Can you please help?


Details:

uname -a

FreeBSD earth.msnet 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #3: Mon Aug  8 
22:17:04 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/EARTH  i386


cd_sessions /dev/cd0

Opening device /dev/cd0
Device has MMC profile 0x0a
Disc info for disc in device /dev/cd0
   MMC profile: CD-RW rewritable
   sequential :  no
   recordable : yes
   erasable   : yes
   rewritable : yes
   packet writing : yes
   disc state : empty disc
   last session state : empty
   sectorsize : 2048
   Number of sessions 1
   Session 0
   start  at 0
   ends   at 359847
   length for359847
   next writable at  0
   free blocks   359847
   packet size   0

Disc access statistics
   sector reads  0  (0 Kbyte)
   sector written0  (0 Kbyte)
   switches  0

newfs_udf -P test -L test /dev/cd0

Opening device /dev/cd0

   bufcache thread initialising


Disc info for disc in device /dev/cd0
   MMC profile: CD-RW rewritable
   sequential :  no
   recordable : yes
   erasable   : yes
   rewritable : yes
   packet writing : yes
   disc state : empty disc
   last session state : empty
   sectorsize : 2048
   Number of sessions 1
   Session 0
   start  at 0
   ends   at 359847
   length for359847
   next writable at  0
   free blocks   359847
   packet size   0

Closing disc
Dismounting disc
   syncing disc
   wait for syncing disc to idle
   stopping bufcache thread
   bufcache thread joining
   signal disc its finished with writing
   wait for final disc idling
   close device
Disc access statistics
   sector reads  0  (0 Kbyte)
   sector written0  (0 Kbyte)
   switches  0

Disk is empty; please packet-format it before use

Thanks,

  Les

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"