Solved Problem with CDs

Hi!

Yesterday was my first try to burn CD on FreeBSD 11.1-RELEASE and for my surprise didn't work with the same settings which I use few years:
Code:
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
(cd1:umass-sim0:0:0:0): Error 22, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x16 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
(cd1:umass-sim0:0:0:0): Error 22, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x16 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
(cd1:umass-sim0:0:0:0): Error 22, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x16 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
(cd1:umass-sim0:0:0:0): Error 22, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x16 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
(cd1:umass-sim0:0:0:0): Error 22, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x16 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
(cd1:umass-sim0:0:0:0): Error 22, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x16 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
(cd1:umass-sim0:0:0:0): Error 22, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x16 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
(cd1:umass-sim0:0:0:0): Error 22, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x16 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00 
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range)
(cd1:umass-sim0:0:0:0): Error 22, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x16 back
g_vfs_done():cd1[READ(offset=32768, length=2048)]error = 5

I have two drives: one is internal and the other external and the problem is with both of them. And I have FreeBSD on iMac 11.1 also few years. I did try to burn CD on OS X and everything is okay and works. No errors.

I tried to burn under GNOME3 and the log shows:
Code:
Checking session consistency (brasero_burn_check_session_consistency brasero-burn.c:1739)
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_set_output_size_for_current_track
BraseroLocalTrack stopping
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_session_output_size
BraseroLocalTrack called brasero_job_get_action
BraseroLocalTrack called brasero_job_get_current_track
BraseroLocalTrack no remote URIs
BraseroLocalTrack stopping
BraseroChecksumFiles called brasero_job_get_output_type
BraseroChecksumFiles called brasero_job_get_current_track
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_set_output_size_for_current_track
BraseroChecksumFiles stopping
BraseroChecksumFiles called brasero_job_get_output_type
BraseroChecksumFiles called brasero_job_get_current_track
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_session_output_size
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_current_track
BraseroChecksumFiles called brasero_job_get_current_track
BraseroChecksumFiles called brasero_job_set_current_action
BraseroChecksumFiles called brasero_job_error
BraseroChecksumFiles finished with an error
BraseroChecksumFiles asked to stop because of an error
        error           = 1
        message = "File "(null)" could not be opened (Inappropriate ioctl for device)"
BraseroChecksumFiles stopping
Session error : File "(null)" could not be opened (Inappropriate ioctl for device) (brasero_burn_record brasero-burn.c:2856)

I use automount from ports but han I disabled it and build gvfs. Under gnome when I put disk in it mounted but the problem is when it start writing (above log).

In devfs.conf I have:
Code:
# Commonly used by many ports
link    cd0     cdrom
link    cd0     dvd
link    cd0     dvdr
link    cd0     dvdrw
link    cd0     cd
link    cd0     cdrw

# Allow a user in the wheel group to query the smb0 device
perm    smb0    0666

# Allow members of group operator to cat things to the speaker
# own   speaker root:operator
perm    speaker 0666

# K3b
# own   /dev/cd0        root:operator
perm    /dev/cd0        0666
perm    /dev/acd0       0666
# own   /dev/cd1        root:operator
perm    /dev/cd1        0666
perm    /dev/acd1       0666
# own   /dev/pass0      root:operator
perm    /dev/pass0      0666
# own   /dev/pass1      root:operator
perm    /dev/pass1      0666
# own   /dev/pass2      root:operator
perm    /dev/pass2      0666
# own   /dev/pass3      root:operator
perm    /dev/pass3      0666
# own   /dev/xpt0       root:operator
perm    /dev/xpt0       0666
perm    /dev/xpt1       0666
# Allow all USB Devices to be mounted
perm    /dev/da0        0666
perm    /dev/da1        0666
perm    /dev/da2        0666
perm    /dev/da3        0666
perm    /dev/video0     0666

Code:
cdrecord -minfo
Cdrecord-ProDVD-ProBD-Clone 3.01 (amd64-unknown-freebsd11.0) Copyright (C) 1995-2015 Joerg Schilling
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
cdrecord: Too many CD/DVD/BD-Recorder targets found.
scsibus1:
    1,0,0    100) '' '' '' NON CCS Disk
    1,1,0    101) *
    1,2,0    102) *
    1,3,0    103) *
    1,4,0    104) *
    1,5,0    105) *
    1,6,0    106) *
    1,7,0    107) *
scsibus2:
    2,0,0    200) 'OPTIARC ' 'DVD RW AD-5680H ' '3AHB' Removable CD-ROM
    2,1,0    201) *
    2,2,0    202) *
    2,3,0    203) *
    2,4,0    204) *
    2,5,0    205) *
    2,6,0    206) *
    2,7,0    207) *
scsibus3:
    3,0,0    300) 'ASUS    ' 'SDRW-08D2S-U    ' 'F401' Removable CD-ROM
    3,1,0    301) *
    3,2,0    302) *
    3,3,0    303) *
    3,4,0    304) *
    3,5,0    305) *
    3,6,0    306) *
    3,7,0    307) *
scsibus4:
    4,0,0    400) 'APPLE   ' 'SD Card Reader  ' '1.00' Removable Disk
    4,1,0    401) *
    4,2,0    402) *
    4,3,0    403) *
    4,4,0    404) *
    4,5,0    405) *
    4,6,0    406) *
    4,7,0    407) *
cdrecord: Select a target from the list above and use 'cdrecord dev=b,t,l'.

Thank you very much.
 
Again me...
Looks like that I have a problem just with the blank CD/DVD. The burned one mounted without problem but blank one:
Code:
mount -t cd9660 /dev/cd1 /mnt
mount_cd9660: /dev/cd1: Input/output error

I didn't have this problem before upgrade FreeBSD to 11.1 and CDs and DVDs are the same.
 
Hi,

the error message

> READ(10). CDB: 28 00 00 00 00 00 00 00 01 00
> SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range)

stems from an attempt to read the first block of the medium.
The "ILLEGAL REQUEST" error stems directly from the drive.


> Looks like that I have a problem just with the blank CD/DVD.

If the CD is blank, then this block is not yet readable.
Even if it was an empty formatted medium, which would be readable without
having ever been written, then mounting should fail because of no filesystem
superblock.

But being blank should not hamper burn success, of course.

> I tried to burn under GNOME3
> message = "File "(null)" could not be opened (Inappropriate ioctl for device)"

The message "Inappropriate ioctl for device" is supposed to stem from the
kernel. Probably when Brasero tried to inspect the medium by kernel means
instead of burn program means or (like K3B) by own SCSI command transactions.

The log you show looks like it stems from a verify attempt after burning.
Do you have messages from the burn preparation or the actual writing ?
Something that complains about "SCSI sense" ?

Have a nice day :)

Thomas
 
Thank you, Thomas. It was my mistake. I did use growisofs as usual when writing on DVDs. Now I use mkisofs and cdrecord. It works without problem. brasero I don't use because I do not allow GNOME3 to automount. I am using automountwhich works great for me.
 
Hi,

> I did use growisofs

Oh yeah. The refusal of growisofs' author to support CDs was the start
of my carreer as libburn developer. Nostalgy ...

Have a nice day :)

Thomas
 
If the DVD or CD is blank, it has no file system to mount. If you want to write on the DVD, insert the DVD-R into the optical drive. Then use groisofs to burn the file on the disk. With today's thumb drives, you are better off using thumb drives. Although 10.2 supports USB 3.0, I found the architecture of my server only works on USB 2.0. Sometimes the hardware is not compatible with many Freebsd capabilities.
 
Translated Die Wolfsschanze means the wolf's lair. I like wolves. The fact that Hitler used that name for his headquarters in East Prussia is irrelevant.
Not really. It matters to several people.
You have two questions to answer for yourself.
- Do I (have to) care that people care? They won't help me now.
- Do I really want to be associated with a place known for the a**sholes which lurked in there?

Also, you need to brush up on your german, I fear. 'Schanze' does not mean lair or burrow or den. And this is relevant.
 
Back
Top