dvd ram on 5.3Beta4 (write protected?)

George Hartzell hartzell at kestrel.alerce.com
Mon Oct 18 10:27:15 PDT 2004


I have access to a stack of blank dvd-ram disks, so I'm trying to
learn how to use them in my IBM t42p with a dvd-multi burner.

This is (I think) the burner that I have: 

  http://www-306.ibm.com/common/ssi/OIX.wss?DocURL=http://d03xhttpcl001g.boulder.ibm.com/common/ssi/rep_ca/0/897/ENUS904-200/../../../4/897/ENUS104-214/../../../6/897/ENUS103-066/index.html&InfoType=AN

I've built a kernel w/ atapicam support, and can burn cd's and
dvd-r's (via growisofs).

When I put a disk in the drive, it says:

   (root at satchel)[10:19am]~>>dvd+rw-mediainfo /dev/cd0
   INQUIRY:                [MATSHITA][DVD-RAM UJ-812  ][K103]
   GET [CURRENT] CONFIGURATION:
    Mounted Media:         12h, DVD-RAM
    Current Write Speed:   1.0x1385=1385KB/s
    Write Speed #0:        1.0x1385=1385KB/s
    Speed Descriptor#0:    01/1218959 R at 1.0x1385=1385KB/s W at 1.0x1385=1385KB/s
   READ DVD STRUCTURE[#0h]:
    Media Book Type:       11h, DVD-RAM book [revision 1]
    Legacy lead-out at:    1287296*2KB=2636382208
   DVD-RAM SPARE AREA INFORMATION:
    Primary SA:            65072/12800=508.4% free
   READ DISC INFORMATION:
    Disc status:           other
    Number of Sessions:    1
    State of Last Session: complete
    "Next" Track:          1
    Number of Tracks:      1
   READ FORMAT CAPACITIES:
   :-( allocation length isn't sane 8
   FABRICATED TOC:
    Track#1  :             14 at 0
    Track#AA :             14 at 1218960
    Multi-session Info:    #1 at 0
   READ CAPACITY:          1218960*2048=2496430080


But if I try to put a label on the disk, it says:

   (satchel)[10:20am]~>>sudo disklabel -A cd0
   disklabel: /dev/cd0: no valid label found
   (satchel)[10:20am]~>>sudo disklabel -w cd0
   disklabel: write /dev/cd0: Permission denied
   (satchel)[10:20am]~>>

And I see the following in /var/log/messages:

   Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): WRITE(10). CDB: 2a 0 0 0 0 0 0 0 4 0 
   Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): CAM Status: SCSI Status Error
   Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): SCSI Status: Check Condition
   Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): DATA PROTECT asc:27,0
   Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): Write protected
   Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): Unretryable error
   Oct 18 10:20:29 satchel kernel: (cd0:ata1:0:0:0): cddone: got error 0xd back

Is there something that I need to do to make the disk usable?  I've
tried various incantations of dvd+rw-format, but I don't know what I'm
doing and none of them seemed to work.

g.


More information about the freebsd-questions mailing list