Date: Tue, 2 Feb 2010 22:43:13 +0100 From: Polytropon <freebsd@edvax.de> To: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= <laszlo_danielisz@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: burncd issue Message-ID: <20100202224313.763ca06d.freebsd@edvax.de> In-Reply-To: <321350.73077.qm@web30802.mail.mud.yahoo.com> References: <323499.59821.qm@web30807.mail.mud.yahoo.com> <244008.70211.qm@web30801.mail.mud.yahoo.com> <321350.73077.qm@web30802.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Feb 2010 13:30:13 -0800 (PST), D=E1nielisz L=E1szl=F3 <laszlo_dan=
ielisz@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=3D4 -Z /dev/acd0=3Dpats-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=3Dpats-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=3Dpats-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=3D2,0,0 speed=3D16 -v -eject -tao -data pats-tts2.iso
By the way, I have an alias for that because I'm lazy. :-)
--=20
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100202224313.763ca06d.freebsd>
