burncd issue

2010-02-02 Thread Dánielisz László
hi,

I found another problem :)
I'm using burncd about a while but today I have the following error while 
trying to write a dvd:

burncd -f /dev/acd0 data pats-tt2.iso fixate
next writeable LBA 2352
writing from file pats-tt2.iso size 4579840 KB
written this track 1568 KB (0%) total 1568 KB
burncd: write_file: Device busy

Then I tryed growisofs, but it says 


#growisofs
growisofs: Command not found.

# whereis growisofs
growisofs:

Do you have any idea how to fix this? 

Thank you!



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: burncd issue

2010-02-02 Thread Dánielisz László
It looks like I'm to tired today :-)
I think installing dvd+rw-tools and cdrtools might fix the problem with 
growisofs, but I still don't know why burncd is not working.




From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Tue, February 2, 2010 10:05:45 PM
Subject: burncd issue

hi,

I found another problem :)
I'm using burncd about a while but today I have the following error while 
trying to write a dvd:

burncd -f /dev/acd0 data pats-tt2.iso fixate
next writeable LBA 2352
writing from file pats-tt2.iso size 4579840 KB
written this track 1568 KB (0%) total 1568 KB
burncd: write_file: Device busy

Then I tryed growisofs, but it says 


#growisofs
growisofs: Command not found.

# whereis growisofs
growisofs:

Do you have any idea how to fix this? 

Thank you!



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: burncd issue

2010-02-02 Thread Dánielisz László
It looks that I should recompile my kernel for using growisofs

# growisofs -dvd-compat -speed=4 -Z /dev/acd0=pats-tts2.iso
:-( unable to open64(pats-tts2.iso,O_RDONLY): No such file or directory

# camcontrol devlist -v
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)

Do you have any idea how can I avoid the recompilation?




From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Tue, February 2, 2010 10:10:32 PM
Subject: Re: burncd issue

It looks like I'm to tired today :-)
I think installing dvd+rw-tools and cdrtools might fix the problem with 
growisofs, but I still don't know why burncd is not working.




From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Tue, February 2, 2010 10:05:45 PM
Subject: burncd issue

hi,

I found another problem :)
I'm using burncd about a while but today I have the following error while 
trying to write a dvd:

burncd -f /dev/acd0 data pats-tt2.iso fixate
next writeable LBA 2352
writing from file pats-tt2.iso size 4579840 KB
written this track 1568 KB (0%) total 1568 KB
burncd: write_file: Device busy

Then I tryed growisofs, but it says 


#growisofs
growisofs: Command not found.

# whereis growisofs
growisofs:

Do you have any idea how to fix this? 

Thank you!



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: burncd issue

2010-02-02 Thread Dánielisz László
Well, I fixed that too by adding the following lines to /boot/loader.conf:
atapicam_load=YES
hw.ata.atapi_dma=1

DVD writing is in progress:
  517341184/4689756160 (11.0%) @3.9x, remaining 14:14 RBU 100.0% UBU  53.1%
  535756800/4689756160 (11.4%) @4.0x, remaining 14:05 RBU 100.0% UBU  65.3%
  554205184/4689756160 (11.8%) @4.0x, remaining 14:03 RBU 100.0% UBU  81.6%
  572227584/4689756160 (12.2%) @3.9x, remaining 13:54 RBU 100.0% UBU  81.6%
  591822848/4689756160 (12.6%) @4.2x, remaining 13:43 RBU 100.0% UBU  36.7%


If you don't want to reboot your machine you should do a kldload atapi


László




From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Tue, February 2, 2010 10:30:13 PM
Subject: Re: burncd issue

It looks that I should recompile my kernel for using growisofs

# growisofs -dvd-compat -speed=4 -Z /dev/acd0=pats-tts2.iso
:-( unable to open64(pats-tts2.iso,O_RDONLY): No such file or directory

# camcontrol devlist -v
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)

Do you have any idea how can I avoid the recompilation?




From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Tue, February 2, 2010 10:10:32 PM
Subject: Re: burncd issue

It looks like I'm to tired today :-)
I think installing dvd+rw-tools and cdrtools might fix the problem with 
growisofs, but I still don't know why burncd is not working.




From: Dánielisz László laszlo_daniel...@yahoo.com
To: freebsd-questions@freebsd.org
Sent: Tue, February 2, 2010 10:05:45 PM
Subject: burncd issue

hi,

I found another problem :)
I'm using burncd about a while but today I have the following error while 
trying to write a dvd:

burncd -f /dev/acd0 data pats-tt2.iso fixate
next writeable LBA 2352
writing from file pats-tt2.iso size 4579840 KB
written this track 1568 KB (0%) total 1568 KB
burncd: write_file: Device busy

Then I tryed growisofs, but it says 


#growisofs
growisofs: Command not found.

# whereis growisofs
growisofs:

Do you have any idea how to fix this? 

Thank you!



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: burncd issue

2010-02-02 Thread Polytropon
On Tue, 2 Feb 2010 13:30:13 -0800 (PST), Dánielisz László 
laszlo_daniel...@yahoo.com wrote:
 It looks that I should recompile my kernel for using growisofs

No, you should read man growisofs. :-)

Honestly: You're trying to run growisofs on an acd device:

 # growisofs -dvd-compat -speed=4 -Z /dev/acd0=pats-tts2.iso
 :-( unable to open64(pats-tts2.iso,O_RDONLY): No such file or directory

Not mentioning the open64() error, this won't work. The
growisofs program uses cd instead of acd - this is the
ATAPICAM SCSI over ATA mechanism. You can easily load
the atapicam.ko module to make it available.

Then, you should get something like this:

% camcontrol devlist
HL-DT-ST DVD-RAM GSA-H58N 1.01   at scbus2 target 0 lun 0 (cd1,pass3)

The SCSI ID 2:0:0 corresponds to the /dev/cd1 device. If
you have sufficient permissions (needed for cd, xpt, pass,
check /etc/devfs.rules for permanent settings), you can
run e. g.

% growisofs -dvd-compat -Z /dev/dvd=pats-tts2.iso

You don't need to specify -speed, because growisofs sets
the right speed correctly.

As you see, I'm accessing /dev/dvd; this is a symlink to
the correct cd device, in this case

% growisofs -dvd-compat -Z /dev/cd1=pats-tts2.iso

would be the good command.



Your output

 # camcontrol devlist -v
 scbus-1 on xpt0 bus 0:
  at scbus-1 target -1 lun -1 (xpt0)

still looks a bit strange - empty identification, negative
ID numbers...



 Do you have any idea how can I avoid the recompilation?

Missing ATAPICAM.


Is it a CD or a DVD you're burning? If it's just a CD, how
about cdrecord (which I prefer to burncd for many years now)?

% cdrecord dev=2,0,0 speed=16 -v -eject -tao -data pats-tts2.iso

By the way, I have an alias for that because I'm lazy. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org