From owner-freebsd-questions@FreeBSD.ORG Mon Oct 18 17:27:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 400AD16A4CE for ; Mon, 18 Oct 2004 17:27:15 +0000 (GMT) Received: from kestrel.alerce.com (kestrel.alerce.com [209.182.219.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8F4A43D60 for ; Mon, 18 Oct 2004 17:27:14 +0000 (GMT) (envelope-from hartzell@kestrel.alerce.com) Received: from satchel.alerce.com (0-d-60-f8-9f-4a.dhcp.lbl.gov [131.243.195.161]) (authenticated bits=128) by kestrel.alerce.com (8.12.10/8.12.10) with ESMTP id i9IHQi09092008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 18 Oct 2004 10:26:44 -0700 (PDT) (envelope-from hartzell@kestrel.alerce.com) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.1/8.13.1) with ESMTP id i9IHRCQO092197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 18 Oct 2004 10:27:12 -0700 (PDT) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.1/8.13.1/Submit) id i9IHRCnI092194; Mon, 18 Oct 2004 10:27:12 -0700 (PDT) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16755.64752.458751.850105@satchel.alerce.com> Date: Mon, 18 Oct 2004 10:27:12 -0700 To: freebsd-questions@freebsd.org X-Mailer: VM 7.17 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-Virus-Scanned: ClamAV version 'clamd / ClamAV version 0.65', clamav-milter version '0.60p' Subject: dvd ram on 5.3Beta4 (write protected?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hartzell@kestrel.alerce.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 17:27:15 -0000 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@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@1.0x1385=1385KB/s W@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@0 Track#AA : 14@1218960 Multi-session Info: #1@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.