Abstraction leakage burning test DVD+R

2011-10-29 Thread freebsd-questions
Hello,

After my dump/restore test failed back in May of 2010[1], I finally got 
around to burning a test DVD after installing about 2.5 inches of 
semi-rigid foam under the machine to dampen any local vibration.

In designing the test, I was under the mistaken impression that buffer 
under-runs would reduce the amount of space for writing. Apparently, 
DVD+R media supports loss-less linking[2].


Test Procedure (using ATAPI interface, rather than the newer ATAPI/CAM 
interface). The man pages do not imply any major differences for this 
test. The drive in question is a LG drive with the SuperMulti logo.

Test procedure:
1.# mkfifo auxout aux45G

2. In other terminals:
# cat auxout | md5
# dd if=aux45G count=2197266 bs=2048 | md5

3. Write test disk:
# dd if=/dev/urandom bs=2048 count=2295104 | \
 tee auxout aux45G | dd of=/dev/acd0 bs=2048

Error:
dd:/dev/acd0: Input/output error
679+0 records in
678+0 records out
1388544 bytes transferred in 80.97 seconds 
(step 4 not completed due to premature burn failure after 684 
blocks, 80 seconds (from 'dd if=aux45G'...) (15743 bytes/sec))
Drive spun up at least twice during this time.

4. Read test (in another term 'cat aux45G | md5')
# dd if=/dev/acd0 bs=2048 count=2295104 | tee aux45G | md5

Questions:
Currently, the drive is locked. Before forcefully ejecting it and 
risking an new disk, I want to know what may have gone wrong. Was 
I expecting too much of FreeBSD on old hardware? 

The hardware is a Pentium-II desktop machine with 256MB of RAM, with a 
Promise ATA100 controller card. An extra-long 80-wire cable is in use 
(to ad4).
acd0: DVDR HL-DT-STDVD-RAM GSA-H55N/1.03 at ata-1-master UDMA33
ad4: 78167MB Maxtor 6Y080L0 YAR41WB0 at ata-2-master UDMA100

dd if=/dev/urandom of=/home/test
Wrote at 4485315 bytes/second: faster than I was expecting (based on 
linux's slow urandom function), but still slow enough to cause buffer 
under-runs. So the second question is: do I have to do anything special 
to enable buffer underrun protection? (with DVD+R's lossless linking 
feature, no data should be lost.)

How important is running ATAPI/CAM? Obviously DVD burning was happening 
before the release of version 8, as far as I know.

If running out of data is supposed to be abstracted away, did I find a 
bug that only shows up on old hardware or heavy load? (Or possibly drive 
firmware bug?)

Regards,

James Phillips

# uname -a
FreeBSD dusty.inet 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 
15:48:17 UTC 2009  
r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

[1] dump/restore (to DVD+R) test failure
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=290415+0+archive/2010/freebsd-questions/20100530.freebsd-questions

[2] Why DVD+R(W) is superior to DVD-R(W)
http://www.myce.com/article/Why-DVDRW-is-superior-to-DVD-RW-203/

PS: is signing messages on the mailing list a faux-pas?

-- 
OpenPGP Public Key: http://phillipsjk.ca/signature0611.txt



signature.asc
Description: Digital signature


Re: Burning a DVD

2011-01-23 Thread Jens Jahnke
Hi,

On Sat, 22 Jan 2011 20:33:29 +0100
Polytropon free...@edvax.de wrote:

P And HERE is the mistake: You need to specify the /dev/cd0
P device which gets accessed by the ATAPICAM facility. The
P /dev/acd0 device does not understand SCSI commands.

do'h. :-)
Thanks for pointing out. It works now.

Regards,

Jens

-- 
23. Hartung 2011, 11:14
Homepage : http://www.jan0sch.de

The following statement is not true.
The previous statement is true.


pgpyD9dPjmE3n.pgp
Description: PGP signature


Burning a DVD

2011-01-22 Thread Jens Jahnke
Hi,

I tried to burn a dvd after doing setup according to the handbook.

/boot/loader.conf:
atapicam_load=YES
hw.ata.atapi_dma=1

/etc/devfs.conf:
linkacd0cdrom
linkacd0dvd
permacd00660
permpass0   0660
permxpt00660

ls -la /dev/acd0
crw-rw  1 root  operator0,  98 22 Jan 19:26 /dev/acd0

But when I try
growisofs -dvd-compat -dry-run -Z /dev/acd0 /path/to/video
I get:
:-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for
device

No matter if I try as regular user or as root the error message stays
the same.

Any ideas?

Regards,

Jens

-- 
22. Hartung 2011, 19:41
Homepage : http://www.jan0sch.de

Cheit's Lament:
If you help a friend in need, he is sure to remember you--
the next time he's in need.


pgpPpt1qLlvch.pgp
Description: PGP signature


Re: Burning a DVD

2011-01-22 Thread Peter Vereshagin
I've seen the future Jens = it is motto.
2011/01/22 19:47:18 +0100 Jens Jahnke jan0...@gmx.net = To freebsd questions 
:

JJ growisofs -dvd-compat -dry-run -Z /dev/acd0 /path/to/video
JJ :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for
JJ device
JJ No matter if I try as regular user or as root the error message stays
JJ the same.
JJ Any ideas?

Should you use cd0 but not acd0?
cd0 should be detected as a scsi device emulated via the kernel from the acd0.

73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)
--
http://vereshagin.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: Burning a DVD

2011-01-22 Thread Polytropon
On Sat, 22 Jan 2011 19:47:18 +0100, Jens Jahnke jan0...@gmx.net wrote:
 Hi,
 
 I tried to burn a dvd after doing setup according to the handbook.
 
 /boot/loader.conf:
 atapicam_load=YES
 hw.ata.atapi_dma=1
 
 /etc/devfs.conf:
 link  acd0cdrom
 link  acd0dvd
 perm  acd00660

And HERE is the mistake: You need to specify the /dev/cd0
device which gets accessed by the ATAPICAM facility. The
/dev/acd0 device does not understand SCSI commands.



 But when I try
 growisofs -dvd-compat -dry-run -Z /dev/acd0 /path/to/video
 I get:
 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for
 device

Fully correct. See man growisofs for an explaination
of what /dev/dvd refers to. You can either use

growisofs -dvd-compat -Z /dev/dvd=/path/to/file.iso

or

growisofs -dvd-compat -Z /dev/dvd -r -J /path/to/files

if you have devfs.conf point dvd to cd0 - or you simply
specify /dev/cd0 instead of /dev/dvd.



 No matter if I try as regular user or as root the error message stays
 the same.

Of course. :-)

Remember: ATA - /dev/acd0, ATAPICAM (SCSI over ATAPI) - /dev/cd0,
and therefore /dev/dvd - /dev/cd0 for simplified access.

Given you set the permissions correctly, burning DVDs as a
non-root user should be no problem.



-- 
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


Re: Burning a DVD

2011-01-22 Thread Glen Barber
Hi,

On 1/22/11 1:47 PM, Jens Jahnke wrote:
 Hi,
 
 I tried to burn a dvd after doing setup according to the handbook.
 
 /boot/loader.conf:
 atapicam_load=YES
 hw.ata.atapi_dma=1
 
 /etc/devfs.conf:
 link  acd0cdrom
 link  acd0dvd
 perm  acd00660
 perm  pass0   0660
 perm  xpt00660
 
 ls -la /dev/acd0
 crw-rw  1 root  operator0,  98 22 Jan 19:26 /dev/acd0
 
 But when I try
 growisofs -dvd-compat -dry-run -Z /dev/acd0 /path/to/video
 I get:
 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for
 device
 

I believe you have to use /dev/cd0 when doing this.  You should have a
/dev/cd0 device after atapicam was loaded.

Regards,

-- 
Glen Barber
___
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: [Solved] Having problems burning a DVD

2009-12-04 Thread Al Plant

James Phillips wrote:

Hello,

After making two coasters with a graphical CD burning program using Ubuntu, I 
decided to try using FreeBSD: I want to start backing up to DVD anyway.

After some searching I learned I missed some details in the handbook on the 
first and second reads such as:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html
The program growisofs(1) will be used to perform DVD recording. This command is 
part of the dvd+rw-tools utilities (sysutils/dvd+rw-tools). The dvd+rw-tools support all 
DVD media types.

I had hard time finding the non-existent growisofs package!

These tools use the SCSI subsystem to access to the devices, therefore the 
ATAPI/CAM support must be added to your kernel. If your burner uses the USB interface 
this addition is useless, and you should read the Section 18.5 for more details on USB 
devices configuration.

Using the atapicd driver generated the following error message:
 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device

After the command:
$ growisofs -dvd-compat -Z /dev/acd0=8.0-RELEASE-i386-dvd1.iso
before you ask:
MD5 (8.0-RELEASE-i386-dvd1.iso) = 5336cd827991e4d4cff6d73c4a5ca105
Release announcement: 5336cd827991e4d4cff6d73c4a5ca105

I tried playing with /etc/devfs.conf as suggested by Predrag Punosevac
$ id
uid=1002(backup) gid=1002(backup) groups=1002(backup),5(operator),1003(Share)
$ cat /etc/devfs.conf  |sed 's/#.*//g'
linkcd0 cdrom
linkcd0 dvd
linkcd0 rdvd
own cdrom   root:operator
own dvd root:operator
own rdvdroot:operator
permcd0 0660
permcdrom   0660
permdvd 0660
permrdvd0660
permxpt00660
permpass0   0660
- that sed command was stolen from a script expecting CRlf
-originally used device acd0 (until enabling atapicam)
$ cat /boot/loader.conf
acpi_load=no
apm_load=yes
atapicam_load=yes
#ata_load=yes# enabled by default
scbus_load=yes
cd_load=yes
pass_load=yes
atapicd_load=no
#hw.ata.atapi_dma=1  # enabled by default

With the atapicam driver I was able to somehow get growisofs to go through the 
motions of burning the DVD, even have a kernel message from GEOM reading the 
BSD label:
$ tail /var/log/messages
Dec  3 20:00:00 dusty newsyslog[833]: logfile turned over due to size100K
Dec  3 20:00:28 dusty kernel: GEOM_LABEL: Label for provider acd0t01 is 
iso9660/FreeBSD_Install.

but can't read the disk to verify it:
$ dd if=/dev/cd0 bs=2048 | md5
996592+0 records in
996592+0 records out
2041020416 bytes transferred in 1292.388284 secs (1579263 bytes/sec)
19b087536234b316b64232ba6b1c1799

Umm. Nevermind. I added the block size so nobody would try suggesting it has an 
effect :P  previous error:
$ dd if=/dev/cd0 | md5
dd: /dev/cd0: Invalid argument
0+0 records in
0+0 records out
0 bytes transferred in 0.000721 secs (0 bytes/sec)
d41d8cd98f00b204e9800998ecf8427e


I noticed that the hash does not match the ISO file. Is that normal for DVDs? 
For CD images I often get the md5 hash to match.

The man page for atapicam(4) warns:
atapicam and ATAPI-specific target drivers (acd(4), ast(4), and afd(4))
 can be configured in the same kernel.  Simultaneous access to the same
 device through the SCSI generic drivers and the ATAPI-specific drivers
 may cause problems and is strongly discouraged.

Is there anything special I should do to try to disable the atapicd driver? I don't think 
my 'atapicd_load=no' line in /boot/loader.conf has much of an effect.

Regards,

James Phillips



  __
Looking for the perfect gift? Give the gift of Flickr! 


http://www.flickr.com/gift/
___
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


Aloha JP,

This is what I use on FreeBSD from the command line to burn DVD's.
I have used it on FreeBSD 8* for a while. (Simple and it works.)-


##

dvdburner.doc
DVD+R burner Setup and operation


From sysutils/dvd+rw-tools
Intall the DVD port

# growisofs

( used the following from all the suggestions and it worked with Manolis 
 DVD p1 7.2)


1st  Put hw.ata.atapi_dma=1 in the /boot/loader.conf
2nd Put apticam_load=YES in the /boot/loader.conf

(That 2nd 18.7.2 instruction is not clear in the Handbook section and 
should be added.)



Then Run # growisofs -dvd-compat -Z 
dev/cd0=/usr/home/alp/FreeBSD_7/7.2-RELEASE-p1-i386-disc1.iso

(all on one line)

Then Use  cd0 as a DVD burner and make the DVD-R

I tested the DVD on a spare box and it installed just fine.

##


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

Re: [Solved] Having problems burning a DVD

2009-12-04 Thread James Phillips


--- On Fri, 12/4/09, Al Plant n...@hdk5.net wrote:

 From: Al Plant n...@hdk5.net
 Subject: Re: [Solved] Having problems burning a DVD
 To: James Phillips anti_spam...@yahoo.ca
 Cc: freebsd-questions@freebsd.org
 Received: Friday, December 4, 2009, 12:26 PM
 James Phillips wrote:
SNIP!
  I noticed that the hash does not match the ISO file.
 Is that normal for DVDs? For CD images I often get the md5
 hash to match.
SNIP!
 Aloha JP,
 
 This is what I use on FreeBSD from the command line to burn
 DVD's.
 I have used it on FreeBSD 8* for a while. (Simple and it
 works.)-
 
Yes, I got that far, hence the [Solved] tag.

I was mainly concerned that I made a mess of my /boot/loader.conf

I am also a little concerned that the DVD only reads a ~1.5MB/s (a little 
faster than 1x), but it appears to work. Burning happened at ~7x according to 
growisofs.

 
 Then Run # growisofs -dvd-compat -Z
 dev/cd0=/usr/home/alp/FreeBSD_7/7.2-RELEASE-p1-i386-disc1.iso
 (all on one line)
 
 Then UseĀ  cd0 as a DVD burner and make the DVD-R
 
 I tested the DVD on a spare box and it installed just
 fine.
 

I found out why the checksum didn't match: the -dvd-compat option adds 6 2048 
byte sectors of zeros to the end of the disk.

So, I was able to verify the md5 sum by reading only the number of sectors 
present in the iso file.

$ dd if=/dev/dvd bs=2048 count=996586 | md5

I noticed the size discrepancy while doing a binary search using the iseek 
(dd)(and count) argument(s) to narrow down the location of the corruption.

Regards,

James Phillips



  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
___
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: [Solved] Having problems burning a DVD

2009-12-03 Thread James Phillips
Hello,

After making two coasters with a graphical CD burning program using Ubuntu, I 
decided to try using FreeBSD: I want to start backing up to DVD anyway.

After some searching I learned I missed some details in the handbook on the 
first and second reads such as:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html
The program growisofs(1) will be used to perform DVD recording. This command 
is part of the dvd+rw-tools utilities (sysutils/dvd+rw-tools). The dvd+rw-tools 
support all DVD media types.

I had hard time finding the non-existent growisofs package!

These tools use the SCSI subsystem to access to the devices, therefore the 
ATAPI/CAM support must be added to your kernel. If your burner uses the USB 
interface this addition is useless, and you should read the Section 18.5 for 
more details on USB devices configuration.

Using the atapicd driver generated the following error message:
 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device

After the command:
$ growisofs -dvd-compat -Z /dev/acd0=8.0-RELEASE-i386-dvd1.iso
before you ask:
MD5 (8.0-RELEASE-i386-dvd1.iso) = 5336cd827991e4d4cff6d73c4a5ca105
Release announcement: 5336cd827991e4d4cff6d73c4a5ca105

I tried playing with /etc/devfs.conf as suggested by Predrag Punosevac
$ id
uid=1002(backup) gid=1002(backup) groups=1002(backup),5(operator),1003(Share)
$ cat /etc/devfs.conf  |sed 's/#.*//g'
linkcd0 cdrom
linkcd0 dvd
linkcd0 rdvd
own cdrom   root:operator
own dvd root:operator
own rdvdroot:operator
permcd0 0660
permcdrom   0660
permdvd 0660
permrdvd0660
permxpt00660
permpass0   0660
- that sed command was stolen from a script expecting CRlf
-originally used device acd0 (until enabling atapicam)
$ cat /boot/loader.conf
acpi_load=no
apm_load=yes
atapicam_load=yes
#ata_load=yes# enabled by default
scbus_load=yes
cd_load=yes
pass_load=yes
atapicd_load=no
#hw.ata.atapi_dma=1  # enabled by default

With the atapicam driver I was able to somehow get growisofs to go through the 
motions of burning the DVD, even have a kernel message from GEOM reading the 
BSD label:
$ tail /var/log/messages
Dec  3 20:00:00 dusty newsyslog[833]: logfile turned over due to size100K
Dec  3 20:00:28 dusty kernel: GEOM_LABEL: Label for provider acd0t01 is 
iso9660/FreeBSD_Install.

but can't read the disk to verify it:
$ dd if=/dev/cd0 bs=2048 | md5
996592+0 records in
996592+0 records out
2041020416 bytes transferred in 1292.388284 secs (1579263 bytes/sec)
19b087536234b316b64232ba6b1c1799

Umm. Nevermind. I added the block size so nobody would try suggesting it has an 
effect :P  previous error:
$ dd if=/dev/cd0 | md5
dd: /dev/cd0: Invalid argument
0+0 records in
0+0 records out
0 bytes transferred in 0.000721 secs (0 bytes/sec)
d41d8cd98f00b204e9800998ecf8427e


I noticed that the hash does not match the ISO file. Is that normal for DVDs? 
For CD images I often get the md5 hash to match.

The man page for atapicam(4) warns:
atapicam and ATAPI-specific target drivers (acd(4), ast(4), and afd(4))
 can be configured in the same kernel.  Simultaneous access to the same
 device through the SCSI generic drivers and the ATAPI-specific drivers
 may cause problems and is strongly discouraged.

Is there anything special I should do to try to disable the atapicd driver? I 
don't think my 'atapicd_load=no' line in /boot/loader.conf has much of an 
effect.

Regards,

James Phillips



  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
___
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: Having problems burning a DVD

2007-11-25 Thread Harry Matthiesen Jensen
On Sat, Nov 24, 2007 at 12:45:33PM -0700, Predrag Punosevac wrote:
   
 I think you are probably missing
 
 permxpt00666
 permpass0   0666

Which file are these to be set in?

 # Misc other devices
 
 permcdrom   0666
 permdvd 0666
 permrdvd0666
 permcd0 0666
 permacd0   0666
 permxpt00666
 permpass0   0666

..and where to set these?

Are all to be set in devfs.conf?

Thanks in advance

-- 
Mvh/Brgds Harry
FreeBSD 8.0-CURRENT #16: Nov 17 08:54:39 CET 2007 i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Having problems burning a DVD

2007-11-25 Thread Roland Smith
On Sun, Nov 25, 2007 at 09:42:59AM +0100, Harry Matthiesen Jensen wrote:
 On Sat, Nov 24, 2007 at 12:45:33PM -0700, Predrag Punosevac wrote:

  I think you are probably missing
  
  permxpt00666
  permpass0   0666
 
 Which file are these to be set in?
 
  # Misc other devices
  
  permcdrom   0666
  permdvd 0666
  permrdvd0666
  permcd0 0666
  permacd0   0666
  permxpt00666
  permpass0   0666
 
 ..and where to set these?
 
 Are all to be set in devfs.conf?

Looking at the format, I'd say yes.

On my own system, I put the pass devices in devfs.rules, because they
can be generated at runtime;

add path 'pass*' mode 0666 group wheel

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpHaDQ1miQPW.pgp
Description: PGP signature


Re: Having problems burning a DVD

2007-11-25 Thread Predrag Punosevac

Harry Matthiesen Jensen wrote:

On Sat, Nov 24, 2007 at 12:45:33PM -0700, Predrag Punosevac wrote:
  
  
  

I think you are probably missing

permxpt00666
permpass0   0666



Which file are these to be set in?

  

# Misc other devices

permcdrom   0666
permdvd 0666
permrdvd0666
permcd0 0666
permacd0   0666
permxpt00666
permpass0   0666



..and where to set these?

Are all to be set in devfs.conf?

Thanks in advance

  




Yes, they should be set in /etc/devfs.conf if you want to use something 
like K3b but I was rushing to post and I think you got much better 
advices from other people.


Read very carefully

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html

and follow every step. You should try to burn your first DVD from the 
command line as a supper user!
Just to make your life easier if you have newer DVD-RW it is probably 
ATAPI.

Best
Predrag


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


Having problems burning a DVD

2007-11-24 Thread Andrew Falanga
Ok, I've made copies of the DVDs I want to burn.  I used the technique
described in this thread, duplicating a dvd video started by a Dave back
in July.  Basically, the technique is nothing more than a copy of the disk,
cp /dev/acd0 /path/to/*.iso.

I'm going off of the instructions in the Handbook for burning DVD video's
and such.  The dvd utilities were already installed so I didn't have to
worry about that.  I added the line, hw.ata.atapi_dma=1 as described in
the handbook.  Rebooted and I'm still getting this error when I use the
command growisofs -Z /dev/acd0 -dvd-video /usr/local/dvds/whereisGod1.iso:

:-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device

From dmesg, my DVD burner is:
acd0: DVDR NEC DVD RW ND-3500AG/2.16 at ata1-master UDMA33

I looked through the list of DVD drives from the handbook and I didn't see
mine listed and therefore take that to mean folks don't usually have
problems with this drive.  So, what am I doing wrong?

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


Re: Having problems burning a DVD

2007-11-24 Thread Predrag Punosevac

Andrew Falanga wrote:

Ok, I've made copies of the DVDs I want to burn.  I used the technique
described in this thread, duplicating a dvd video started by a Dave back
in July.  Basically, the technique is nothing more than a copy of the disk,
cp /dev/acd0 /path/to/*.iso.

I'm going off of the instructions in the Handbook for burning DVD video's
and such.  The dvd utilities were already installed so I didn't have to
worry about that.  I added the line, hw.ata.atapi_dma=1 as described in
the handbook.  Rebooted and I'm still getting this error when I use the
command growisofs -Z /dev/acd0 -dvd-video /usr/local/dvds/whereisGod1.iso:

:-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device

From dmesg, my DVD burner is:
acd0: DVDR NEC DVD RW ND-3500AG/2.16 at ata1-master UDMA33

I looked through the list of DVD drives from the handbook and I didn't see
mine listed and therefore take that to mean folks don't usually have
problems with this drive.  So, what am I doing wrong?

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

I think you are probably missing

permxpt00666
permpass0   0666



Mine /etc/devfs.conf

# Commonly used by many ports  
link  cd0 cdrom

link  cd0  dvd
link  cd0  rdvd

link  acd0 cdrom
link  acd0 dvd
link  acd0 rdvd


# Misc other devices

permcdrom   0666
permdvd 0666
permrdvd0666
permcd0 0666
permacd0   0666
permxpt00666
permpass0   0666

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


Re: Having problems burning a DVD

2007-11-24 Thread B H

Andrew Falanga:

command growisofs -Z /dev/acd0 -dvd-video /usr/local/dvds/whereisGod1.iso:


Try growisofs -Z /dev/cd0 -dvd-video /usr/local/dvds/whereisGod1.iso


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


Re: Having problems burning a DVD

2007-11-24 Thread Rod Person
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 24 Nov 2007 12:22:22 -0700
Andrew Falanga [EMAIL PROTECTED] wrote:
 copy of the disk, cp /dev/acd0 /path/to/*.iso.
Does this actually work in creating a valid iso image?? 

growisofs -Z /dev/acd0 -dvd-video /usr/local/dvds/whereisGod1.iso:

 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for
 device

To further explain this:

growisofs uses a SCSI device, you passed -Z /dev/acd0, acd0 is the IDE
name of the DVD device. In order to use it as a SCSI device you need to
either:

1) klldload atapicam.
or
2) build atapicam into your kernel.

if you have done either yet. Then you can use /dev/cd0


- -- 
Rod

http://roddierod.homeunix.net:8080
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHSJc0Ze6B7B2ImpsRAvJKAKCQwTsDXJXBAFlowZ/BPYT0e1irzgCfVAId
agzdrtp5MXa9ln5nqUcPxng=
=GrxX
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]