[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Blanking/Formating a BD-RE



Hi !

I applied the patch and now I get this:

[root@smooth bin]# ./cdrecord dev=3,0,0 blank=all
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2008 J?rg Schilling
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
Linux sg driver version: 3.5.34
./cdrecord: Warning Linux Bus mapping botch.
./cdrecord: Warning Linux Bus mapping botch.
./cdrecord: Warning Linux Bus mapping botch.
./cdrecord: Warning Linux Bus mapping botch.
Using libscg version 'schily-0.9'.
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'LITE-ON '
Identifikation : 'BD B LH-2B1S    '
Revision       : 'AL09'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-3 BD-RE driver (mmc_bdre).
Driver flags   : NO-CD BD MMC-3 BURNFREE
Supported modes: PACKET SAO LAYER_JUMP
Starting to write CD/DVD/BD at speed 2 in real BLANK mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Running pad based emulation to blank the medium.
secsize 2048 padbytes 25025314816 padblocks 12219392 maxblocks 12219392
Track 00:    0 of 23866 MB pad written.

./cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 13 38 86 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 72 0B 00 00 00 00 00 0E 09 0C 00 00 00 02 00 00
Sense Key: 0x0 No Additional Sense, Segment 11
Sense Code: 0x00 Qual 0x02 (end-of-partition/medium detected) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 231.684s timeout 100s
write track pad data: error after 2579771392 bytes
./cdrecord: Input/output error. read buffer cap: scsi sendcmd: fatal error
CDB:  5C 00 00 00 00 00 00 00 0C 00
resid: 12
cmd finished after 0.000s timeout 100s

./cdrecord: Cannot blank disk, aborting.
./cdrecord: Input/output error. prevent/allow medium removal: scsi sendcmd: fatal error
CDB:  1E 00 00 00 00 00
cmd finished after 0.000s timeout 100s


and in /var/log/messages I get this errors:

Feb 22 09:59:23 smooth kernel: ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Feb 22 09:59:23 smooth kernel: ata3.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x2a data 63488 out Feb 22 09:59:23 smooth kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout) Feb 22 09:59:28 smooth kernel: ata3: port is slow to respond, please be patient (Status 0x80) Feb 22 09:59:33 smooth kernel: ata3: device not ready (errno=-16), forcing hardreset
Feb 22 09:59:33 smooth kernel: ata3: soft resetting port
Feb 22 10:00:03 smooth kernel: ata3.00: qc timeout (cmd 0xa1)
Feb 22 10:00:03 smooth kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
Feb 22 10:00:03 smooth kernel: ata3.00: revalidation failed (errno=-5)
Feb 22 10:00:03 smooth kernel: ata3: failed to recover some devices, retrying in 5 secs Feb 22 10:00:13 smooth kernel: ata3: port is slow to respond, please be patient (Status 0x80) Feb 22 10:00:18 smooth kernel: ata3: device not ready (errno=-16), forcing hardreset
Feb 22 10:00:18 smooth kernel: ata3: soft resetting port
Feb 22 10:00:48 smooth kernel: ata3.00: qc timeout (cmd 0xa1)
Feb 22 10:00:48 smooth kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
Feb 22 10:00:48 smooth kernel: ata3.00: revalidation failed (errno=-5)
Feb 22 10:00:48 smooth kernel: ata3.00: limiting speed to UDMA/100:PIO3
Feb 22 10:00:48 smooth kernel: ata3: failed to recover some devices, retrying in 5 secs Feb 22 10:00:58 smooth kernel: ata3: port is slow to respond, please be patient (Status 0x80) Feb 22 10:01:03 smooth kernel: ata3: device not ready (errno=-16), forcing hardreset
Feb 22 10:01:03 smooth kernel: ata3: soft resetting port
Feb 22 10:01:34 smooth kernel: ata3.00: qc timeout (cmd 0xa1)
Feb 22 10:01:34 smooth kernel: ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
Feb 22 10:01:34 smooth kernel: ata3.00: revalidation failed (errno=-5)
Feb 22 10:01:34 smooth kernel: ata3.00: disabled
Feb 22 10:01:34 smooth kernel: ata3: EH complete


yours

Arnold

Am 21.02.2008 um 19:23 schrieb Joerg Schilling:

Arnold Maderthaner <arnold.maderthaner@j4care.com> wrote:

The only thing I want to have is that I cannot mount it anymore with
the previous filesystem (all tracks should be removed). I already
tried cdrecord dev=x,y,z blank=all but it didn't work:

[root@smooth bin]# ./cdrecord dev=3,0,0 blank=all
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (x86_64-unknown-linux-gnu)
Copyright (C) 1995-2008 J?rg Schilling
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
Linux sg driver version: 3.5.34
./cdrecord: Warning Linux Bus mapping botch.
./cdrecord: Warning Linux Bus mapping botch.
./cdrecord: Warning Linux Bus mapping botch.
./cdrecord: Warning Linux Bus mapping botch.
Using libscg version 'schily-0.9'.
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'LITE-ON '
Identifikation : 'BD B LH-2B1S    '
Revision       : 'AL09'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc-3 BD-RE driver (mmc_bdre).
Driver flags   : NO-CD BD MMC-3 BURNFREE
Supported modes: PACKET SAO LAYER_JUMP
Starting to write CD/DVD/BD at speed 2 in real BLANK mode for single
session.
Last chance to quit, starting real write 0 seconds. Operation starts.
./cdrecord: Cannot blank BD.
./cdrecord: Cannot blank disk, aborting.

can you help on this ?

Let me check the source, I thought it would work.... sorry, it seems that
I forgot about this and only added the code to the DVD+RW driver.

Please edit drv_bd.c and add:

return (blank_simul(scgp, dp, addr, blanktype));

before:
       errmsgno(EX_BAD, "Cannot blank BD.\n");
       return (-1);


Jörg

--
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
      js@cs.tu-berlin.de                (uni)
      schilling@fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


Reply to: