1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FreeBSD 9 & SATA DVD-RW problem

Discussion in 'System Hardware' started by cahimira, May 24, 2012.

  1. cahimira

    cahimira New Member

    Messages:
    36
    Likes Received:
    0
    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
     
  2. mav@

    mav@ Member Developer

    Messages:
    615
    Likes Received:
    2
    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.
     
  3. cahimira

    cahimira New Member

    Messages:
    36
    Likes Received:
    0
    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
     
  4. t1066

    t1066 Member

    Messages:
    170
    Likes Received:
    2
  5. mav@

    mav@ Member Developer

    Messages:
    615
    Likes Received:
    2
    It is deprecated now and will do nothing if loaded.

    burncd uses old interfaces and is now obsoleted. I use growisofs.

    Have you tried to rebuild/reinstall it?

    I have never used these, but try to update them.