Rebuild of Kernel to burn DVD failed

2009-03-25 Thread Kayven Riese
I was trying to burn a DVD

KV_BSD# growisofs -dvd-compat -Z /dev/acd0 -J -R disk1
:-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device
KV_BSD#


I have had this problem before, but since then I believe I have a new HD
that runs

KV_BSD% uname -a
FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar 24 20:09:28 PDT
2009 r...@kv_bsd:/usr/src/sys/i386/compile/KAYVE_KERN  i386
KV_BSD%

The fact that I am running KAYVE_KERN now is slightly confusing to me
because I thought the build failed.  I am attaching a file
called makesplat.log which is my personal convention for a typescript that
records everything spit (splatted) out by the make command.

My laptop is an ASUS M6800N

http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml

here is the dmesg for the DVD burner


KV_BSD# dmesg | grep DVD
acd0: DVDR TSSTcorpCD/DVDW TS-L532A/TC51 at ata1-master UDMA33
cd0: TSSTcorp CD/DVDW TS-L532A TC51 Removable CD-ROM SCSI-0 device
KV_BSD#


*--*
 Kayven Riese, BSCS,
 MS  (Physiology and Biophysics)
 (415) 902 5513 cellular
 http://kayve.net
 Webmaster http://ChessYoga.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: Rebuild of Kernel to burn DVD failed

2009-03-25 Thread Adam Vandemore

Kayven Riese wrote:

I was trying to burn a DVD

KV_BSD# growisofs -dvd-compat -Z /dev/acd0 -J -R disk1
:-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device
KV_BSD#


I have had this problem before, but since then I believe I have a new HD
that runs

KV_BSD% uname -a
FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar 24 20:09:28 PDT
2009 r...@kv_bsd:/usr/src/sys/i386/compile/KAYVE_KERN  i386
KV_BSD%

The fact that I am running KAYVE_KERN now is slightly confusing to me
because I thought the build failed.  I am attaching a file
called makesplat.log which is my personal convention for a typescript that
records everything spit (splatted) out by the make command.

My laptop is an ASUS M6800N

http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml

here is the dmesg for the DVD burner


KV_BSD# dmesg | grep DVD
acd0: DVDR TSSTcorpCD/DVDW TS-L532A/TC51 at ata1-master UDMA33
cd0: TSSTcorp CD/DVDW TS-L532A TC51 Removable CD-ROM SCSI-0 device
KV_BSD#


*--*
 Kayven Riese, BSCS,
 MS  (Physiology and Biophysics)
 (415) 902 5513 cellular
 http://kayve.net
 Webmaster http://ChessYoga.org
*--*
  
Maybe easier for you to add atapicam_load=YES to /boot/loader.conf and 
reboot.



--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
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: Rebuild of Kernel to burn DVD failed

2009-03-25 Thread Adam Vandemore

Kayven Riese wrote:

I was trying to burn a DVD

KV_BSD# growisofs -dvd-compat -Z /dev/acd0 -J -R disk1
:-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device
KV_BSD#


I have had this problem before, but since then I believe I have a new HD
that runs

KV_BSD% uname -a
FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar 24 20:09:28 PDT
2009 r...@kv_bsd:/usr/src/sys/i386/compile/KAYVE_KERN  i386
KV_BSD%

The fact that I am running KAYVE_KERN now is slightly confusing to me
because I thought the build failed.  I am attaching a file
called makesplat.log which is my personal convention for a typescript that
records everything spit (splatted) out by the make command.

My laptop is an ASUS M6800N

http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml

here is the dmesg for the DVD burner


KV_BSD# dmesg | grep DVD
acd0: DVDR TSSTcorpCD/DVDW TS-L532A/TC51 at ata1-master UDMA33
cd0: TSSTcorp CD/DVDW TS-L532A TC51 Removable CD-ROM SCSI-0 device
KV_BSD#


*--*
 Kayven Riese, BSCS,
 MS  (Physiology and Biophysics)
 (415) 902 5513 cellular
 http://kayve.net
 Webmaster http://ChessYoga.org
*--*
  
Also a little tip on dmesg stuff.  Generally it's a bit easier for the 
list to read it in text format so it's a couple ways for you to get it 
in that format easily.


A command like dmesg | mail -s dmesg output y...@example.com with email 
you the output of dmesg provided basics like internet connectivity and 
sendmail are working.


A command like dmesg  ~/dmesg.log will dump dmesg output to a file 
called dmesg.log  in your home directory.  You can attach it to an 
email, or transfer to somewhere you can via sneakernet, internet, or 
*net.  Might save you a bit of time.


--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
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: Rebuild of Kernel to burn DVD failed

2009-03-25 Thread Adam Vandemore

Kayven Riese wrote:

I was trying to burn a DVD

KV_BSD# growisofs -dvd-compat -Z /dev/acd0 -J -R disk1
:-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device
KV_BSD#


I have had this problem before, but since then I believe I have a new HD
that runs

KV_BSD% uname -a
FreeBSD KV_BSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Tue Mar 24 20:09:28 PDT
2009 r...@kv_bsd:/usr/src/sys/i386/compile/KAYVE_KERN  i386
KV_BSD%

The fact that I am running KAYVE_KERN now is slightly confusing to me
because I thought the build failed.  I am attaching a file
called makesplat.log which is my personal convention for a typescript that
records everything spit (splatted) out by the make command.

My laptop is an ASUS M6800N

http://www.monkeyview.net/id/965/fsck/dmesg/PB12001901.vhtml

here is the dmesg for the DVD burner


KV_BSD# dmesg | grep DVD
acd0: DVDR TSSTcorpCD/DVDW TS-L532A/TC51 at ata1-master UDMA33
cd0: TSSTcorp CD/DVDW TS-L532A TC51 Removable CD-ROM SCSI-0 device
KV_BSD#


*--*
 Kayven Riese, BSCS,
 MS  (Physiology and Biophysics)
 (415) 902 5513 cellular
 http://kayve.net
 Webmaster http://ChessYoga.org
*--*
  

Ok, sry for the repeated list spam but I see your error now.

You ignore my first mesg since I do see now that it picks up the dev on 
cd0.  Your syntax is wrong.


should be:

growisofs -dvd-compat -Z /dev/cd0 -J -R disk1

not

growisofs -dvd-compat -Z /dev/acd0 -J -R disk1


--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
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: Rebuild of Kernel to burn DVD failed

2009-03-25 Thread Polytropon
On Wed, 25 Mar 2009 11:35:54 -0700, Kayven Riese kay...@gmail.com wrote:
 I was trying to burn a DVD
 
 KV_BSD# growisofs -dvd-compat -Z /dev/acd0 -J -R disk1
 :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for device

You cannot use growiso with the acd driver, you need the cd
driver which is provided by atapicam facility.

You can simply load it via the kldload command if you don't 
want to rebuild your kernel.



 here is the dmesg for the DVD burner
 
 KV_BSD# dmesg | grep DVD
 acd0: DVDR TSSTcorpCD/DVDW TS-L532A/TC51 at ata1-master UDMA33
 cd0: TSSTcorp CD/DVDW TS-L532A TC51 Removable CD-ROM SCSI-0 device

Oh, it seems that you already have the atapicam / cd setting in
your kernel running. Fine! Just change the command:

# growisofs -dvd-compat -Z /dev/cd0 -J -R disk1

This should work.

I have a symlink set via /etc/devfs.conf as /dev/dvd@ - cd0
so I can use the command

% growisofs -dvd-compat -Z /dev/dvd=foo.iso

as presented in growisofs's manpage. :-)




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