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

Re: Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev '/dev/cdrw'



Hi,

>  I have been trying/playing with wodim today.

wodim is supposed to happen at debburn-devel mailing
list debburn-devel@lists.alioth.debian.org
See:
  http://lists.alioth.debian.org/mailman/listinfo/debburn-devel

Now for the SCSI poetry:

> $ wodim -v -dummy speed=0 dev=/dev/cdrw fun_in_bathing.rm
> ...
> Starting new track at sector: 256683
> Track 01:    0 of    9 MB written.Errno: 5 (Input/output error),
> write_g1 scsi sendcmd: no error
> CDB:  2A 00 00 03 EA AB 00 00 1F 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 64 00 00 00
> Sense Key: 0x5 Illegal Request, Segment 0
> Sense Code: 0x64 Qual 0x00 (illegal mode for this track) Fru 0x0
> ...
> $ sudo wodim -v -dummy speed=0 dev=/dev/cdrw fun_in_bathing.rm
> ...
> Starting new track at sector: 256683
> Track 01:    0 of    9 MB written.Errno: 5 (Input/output error),
> write_g1 scsi sendcmd: no error
> CDB:  2A 00 00 03 EA AB 00 00 1F 00
> ...
> As can be seen there is no error there.

I see the same error with both runs.
(A mistake when copying the messages ?)

It happened with command 2Ah WRITE to sector address
0x0003EAAB = 256683 decimal. Sector 256683 is also
the announced start of the track. So already the
first write attempt failed.

The error code indicates that the drive is not willing
to write. Here in TAO mode, but most probably it will
refuse in any mode.

The fact that it wants to start writing at 256683
indicates that the media already contains data.
So it is closed or it is appendable.
The error message could match the futile attempt
to write to a closed media.

Questions:
How have those data been written ?
If with cdrecord, wodim or cdrskin:
was option -multi used ?

cdrskin or xorriso can tell the state of
the media:
  $ cdrskin dev=/dev/cdrw -atip | fgrep 'cdrskin: status'
  cdrskin: status 4 burn_disc_full "There is a disc with data on it in the drive"
or
  $ xorriso -outdev /dev/cdrw 2>&1 | fgrep 'Media status :'
  Media status : is written , is closed


Have a nice day :)

Thomas


Reply to: