d3c9 FreeBSD 9 & SATA DVD-RW problem - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > System Hardware

System Hardware Internal storage, motherboards, PCI cards, stuff inside the case.

Reply
 
Thread Tools Display Modes
  #1  
Old May 24th, 2012, 18:41
cahimira cahimira is offline
Junior Member
 
Join Date: Apr 2010
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default FreeBSD 9 & SATA DVD-RW problem

Hi, I have a FREEBSD FreeBSD 9.0-RELEASE installation and a SATA DVD-RW unit. I have access to /dev/cd0, but /dev/acd0 does not exist.

More info:
Code:
# camcontrol devlist
<HL-DT-ST DVDRAM GH22NS40 NL02>    at scbus3 target 0 lun 0 (pass1,cd0)

# dmesg
...
cd0 at ata5 bus 0 scbus3 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GH22NS40 NL02> Removable CD-ROM SCSI-0 device 
cd0: 100.000MB/s transfers (UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: cd present [334464 x 2048 byte records]
...
>>>>>> NO acd0 DEVICE FOUNDED <<<<<<

# kldstat
...
 7    1 0xc1334000 4e50     atapicam.ko
...

# sysctl hw.ata.atapi_dma
hw.ata.atapi_dma: 1
I need the /dev/acd0 device.

Any suggestions?

Thank you

Last edited by DutchDaemon; May 24th, 2012 at 23:24. Reason: more formatting
Reply With Quote
  #2  
Old May 25th, 2012, 05:37
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 554
Thanks: 0
Thanked 136 Times in 119 Posts
Default

acdX devices were obsoleted by the new CAM-based ATA implementation in FreeBSD 9.x. If you really need it, you can build a custom kernel as described in /usr/src/UPDATING record from 20110424. But the right way would be to switch to using a cdX device.

Last edited by DutchDaemon; May 25th, 2012 at 05:51.
Reply With Quote
  #3  
Old May 26th, 2012, 06:13
cahimira cahimira is offline
Junior Member
 
Join Date: Apr 2010
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, I have a few questions:
  1. Is it correct to use the ATAPICAM module for a SATA DVDRW DRIVE?
  2. What program is the best to burn DVDs on a SATA DVDRW DRIVE? burncd, growisofs or cdrecord?
  3. cdrecord -scan bus doesn't work, output:
    Code:
    cdrecord: Inappropriate ioctl for device. CAMIOCOMMAND ioctl failed. Cannot open or use SCSI driver.
  4. brasero and gnomebaker don't see my DVDRW drive.
  5. checking the drive with cdrecord says:
    Code:
    # cdrecord dev=3,0,0 -checkdrive
    
    Cdrecord-ProDVD-ProBD-Clone 3.00 (i386-unknown-freebsd9.0) Copyright (C) 1995-2010 J�rg Schilling
    scsidev: '3,0,0'
    scsibus: 3 target: 0 lun: 0
    Using libscg version 'schily-0.9'.
    cdrecord: Cannot do inquiry for CD/DVD/BD-Recorder.
    cdrecord: Input/output error. test unit ready: scsi sendcmd: retryable error
    CDB:  00 00 00 00 00 00
    status: 0x0 (GOOD STATUS)
    cmd finished after 0.000s timeout 40s
    cdrecord: The unit seems to be hung and needs power cycling.

Thank you

Last edited by DutchDaemon; May 26th, 2012 at 22:33. Reason: Formatting & Style: http://forums.freebsd.org/showthread.php?t=8816 / http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #4  
Old May 26th, 2012, 11:19
t1066 t1066 is offline
Member
 
Join Date: Jun 2010
Posts: 142
Thanks: 3
Thanked 25 Times in 24 Posts
Default

For burning DVDs, I use growisofs in sysutils/dvd+rw-tools. I find it to be pretty easy to use.

Last edited by DutchDaemon; May 26th, 2012 at 22:34.
Reply With Quote
  #5  
Old May 26th, 2012, 18:20
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 554
Thanks: 0
Thanked 136 Times in 119 Posts
Default

Quote:
Originally Posted by cahimira View Post
Ok, I have a few questions:

1- Is correct to use ATAPICAM module for a SATA DVDRW DRIVE ?
It is deprecated now and will do nothing if loaded.

Quote:
Originally Posted by cahimira View Post
2- What program is the best for burn DVDs in a SATA DVDRW DRIVE? burncd, growisofs or cdrecord ?
burncd uses old interfaces and is now obsoleted. I use growisofs.

Quote:
Originally Posted by cahimira View Post
3- cdrecord -scan bus don't work, output:
Code:
cdrecord: Inappropriate ioctl for device. CAMIOCOMMAND ioctl failed. Cannot open or use SCSI driver.
Have you tried to rebuild/reinstall it?

Quote:
Originally Posted by cahimira View Post
4- brasero and gnomebaker don't see my DVDRW drive
I have never used these, but try to update them.

Last edited by DutchDaemon; May 26th, 2012 at 22:35.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with seagate sata-3 ST2000DL003, hiachi sata-3 7K1000.D HDS721010DLE630 den_saw System Hardware 0 November 4th, 2011 15:11
PCI SATA Promise PDC20378 Problem soulreaver1 System Hardware 0 October 5th, 2011 19:45
[Solved] PCI Sata (VIA VT6421A) on FreeBSD 8.0 jailed System Hardware 39 November 29th, 2010 16:15
[Solved] boot problem after installing sata drive gab2006 System Hardware 5 March 18th, 2010 20:21


All times are GMT +1. The time now is 13:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0