Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Request for testing: CD/DVD writing on 2.6.9
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rapsure
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 172
Location: Logan, UT USA

PostPosted: Sat Nov 27, 2004 5:54 pm    Post subject: More results, and more stuff Reply with quote

I was experimenting, and these are the results I got. I might help out some other people. If you have a kernel with no patches, and cdrtools not patched also. Now apply dsd's kernel message patch. The patch is mentioned in the first post with a link to it. Run cdrecord like this.
Code:

cdrecord dev=/dev/hd* -dao -data #yourfavoriteiso

If it errors out, and complains that it can't init the drive then run:
Code:

dmesg


Look at it, and if there are only
Code:

verify_command: rejected command #what ever command it is

Now there should be a
Code:

scsi: unknown opcode

before the rejected command. If you are missing the scsi: unknown opcode then the command filter isn't working, and the kernel isn't recognizing the command to the burner as a SAFE_WRITE command. Now here is the fix that will let you burn CD's and DVD's again. Here is the kernel code in linux/drivers/block/scsi_ioctl.c before it is patched:
Code:

        /* Anybody who can open the device can do a read-safe command */
        if (type & CMD_READ_SAFE)
                return 0;

        /* Write-safe commands just require a writable open.. */
        if (type & CMD_WRITE_SAFE) {
                if (file->f_mode & FMODE_WRITE)
                        return 0;
        }

        if (!(type & CMD_WARNED)) {
                cmd_type[cmd[0]] = CMD_WARNED;
                printk(KERN_WARNING "scsi: unknown opcode 0x%02x\n", cmd[0]);
        }


The above code is broke for your instance. Now patch your kernel to what I have below, and you will be able to burn.
Code:

        /* Anybody who can open the device can do a read-safe command */
        if (type & CMD_READ_SAFE)
                return 0;

        /* Write-safe commands just require a writable open.. */
        cmd_type[cmd[0]] = CMD_WRITE_SAFE;
        if (type & CMD_WRITE_SAFE) {
                if (file->f_mode & FMODE_WRITE)
                        return 0;
        }

        if (!(type & CMD_WARNED)) {
                cmd_type[cmd[0]] = CMD_WARNED;
                printk(KERN_WARNING "scsi: unknown opcode 0x%02x\n", cmd[0]);
        }


remake the kernel, and install, and restart the computer.

Now run:
Code:

cdrecord dev=/dev/hd* -dao -data #yourfavoriteiso

Now burning should work for you. If it doesn't post in the forum. If you don't have a problem with burning don't apply this patch. :twisted:
_________________
:) Hindi ko naintindihan, pakiulit. Sometimes my code works.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Sat Nov 27, 2004 7:26 pm    Post subject: Reply with quote

please dont do that. that allows every single command to be written to the drive, including the ones which kill hard disks or corrupt drive firmwares. theres a reason why this filter was put in place...
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sat Nov 27, 2004 8:07 pm    Post subject: Reply with quote

I have followed the instructions on the first page. I have tried form the
command line and xterm both as user and as root, and sence about 2.6.8-r5 I cant
burn anything. When I try this is what I get
Quote:
hielvc@tester ~/iso $ cdrecord dev=ATAPI:0,0,0 -checkdrive
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.9-gentoo-r3n
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
cdrecord: Warning: SCSI transport does no longer work for suid root programs.
cdrecord: Warning: if cdrecord fails, try to run it from a root account.
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'OPTORITE'
Identifikation : 'CD-RW CW4002 '
Revision : '100E'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes:

and just hangs the only way to kill it is a reboot. ps shows this
Code:
 
hielvc   17400  0.4  0.1   1936   728 pts/2    D+   11:39   0:05 cdrecord dev=ATAPI:0,0,0 -checkdrive

and dmesg this
Quote:

verify_command: rejected command 55
verify_command: rejected command 55
verify_command: rejected command 55
verify_command: rejected command 55
verify_command: rejected command 55
verify_command: rejected command 55
verify_command: rejected command 55
verify_command: rejected command 55
verify_command: rejected command 55
verify_command: rejected command 55
hdc: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hdc: status error: error=0x00
hdc: drive not ready for command
hdc: status timeout: status=0xd0 { Busy }
hdc: status timeout: error=0xd0LastFailedSense 0x0d
hdc: DMA disabled
hdc: drive not ready for command
hdc: ATAPI reset complete
hdc: request sense failure: status=0x51 { DriveReady SeekComplete Error }
hdc: request sense failure: error=0x50LastFailedSense 0x05


I found a puppy-linux-8 which uses a 2.4 kernel and scsi-emulation my burner works, I burned puppy-9.6.
puppy-9.6 uses ATAPI and it works.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
rapsure
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 172
Location: Logan, UT USA

PostPosted: Sat Nov 27, 2004 8:31 pm    Post subject: Every command? Reply with quote

it doesn't let every command fly for me. Unless it is in the list of allowed commands it get's blocked. The only commands allowed are the commands that have safe_for_write(SOMETHING) still.

I only put that in, because all of the commands that cdrecord was sending weren't being interpreted as safe_for_write commands. NONE. So if cdrecord send a command as 0x55 it got blocked, but it didn't bring back a warning. Every command should be coming back with at least a warning if it is blocked.
_________________
:) Hindi ko naintindihan, pakiulit. Sometimes my code works.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Sat Nov 27, 2004 8:47 pm    Post subject: Reply with quote

ahhh.. hielvc's problem just made me realise rapsures problem too :

you need to burn a cd using (e.g.) dev=/dev/hdc
using dev=ATAPI:X,Y,Z no longer works

will update first post
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
rapsure
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 172
Location: Logan, UT USA

PostPosted: Sat Nov 27, 2004 8:48 pm    Post subject: How to run cdrecord Reply with quote

hielvc this is what you run:

cdrecord dev=ATAPI:0,0,0 -checkdrive

That will not work. This is what you need to use for command arguments:

cdrecord dev=/dev/hdc -checkdrive

Seems minor, but it makes the difference.
_________________
:) Hindi ko naintindihan, pakiulit. Sometimes my code works.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Sat Nov 27, 2004 8:54 pm    Post subject: Reply with quote

rapsure : your patch definately does allow all commands. jsut think about it for a second.

your code:
Code:

        /* Write-safe commands just require a writable open.. */
        cmd_type[cmd[0]] = CMD_WRITE_SAFE;
        if (type & CMD_WRITE_SAFE) {
                if (file->f_mode & FMODE_WRITE)
                        return 0;
        }


is effectively the same as

Code:

        /* Write-safe commands just require a writable open.. */
        type = CMD_WRITE_SAFE;
        if (type & CMD_WRITE_SAFE) {
                if (file->f_mode & FMODE_WRITE)
                        return 0;
        }


which is effectively the same as

Code:

        /* Write-safe commands just require a writable open.. */
        if (CMD_WRITE_SAFE & CMD_WRITE_SAFE) {
                if (file->f_mode & FMODE_WRITE)
                        return 0;
        }


which is effectively the same as

Code:

                if (file->f_mode & FMODE_WRITE)
                        return 0;


so, as long as you have write access to cd writer node, you can send anything...
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
rapsure
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 172
Location: Logan, UT USA

PostPosted: Sat Nov 27, 2004 8:57 pm    Post subject: Debug information with patch Reply with quote

This is with my patch:

brian@rapsure cdimage $ ls -l /dev/hdc
brw------- 1 brian root 22, 0 Apr 30 2004 /dev/hdc
brian@rapsure cdimage $

Code:

brian@rapsure cdimage $ cdrecord dev=ATAPI:0,0,0 -dao -data install-x86-minimal-2004.2.iso
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling
cdrecord: Warning: Running on Linux-2.6.10-rc2
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'BENQ    '
Identifikation : 'DVD DD DW1620   '
Revision       : 'B7P9'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: Found DVD+ media but DVD+R/DVD+RW support code is missing.
cdrecord: If you need DVD+R/DVD+RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD-ROM driver (mmc_cd).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes:
cdrecord: Drive does not support SAO recording.
cdrecord: Illegal write mode for this drive.
brian@rapsure cdimage $


dmesg output:
Code:

scsi: unknown opcode 0x55
verify_command: rejected command 55
verify_command: rejected command 55
scsi: unknown opcode 0x55
verify_command: rejected command 55
verify_command: rejected command 55
scsi: unknown opcode 0x55
verify_command: rejected command 55
verify_command: rejected command 55
scsi: unknown opcode 0x55
verify_command: rejected command 55
verify_command: rejected command 55
scsi: unknown opcode 0x55
verify_command: rejected command 55
verify_command: rejected command 55


Now I will run cdrecord again.

Code:

brian@rapsure cdimage $ cdrecord dev=/dev/hdc -dao -data install-x86-minimal-2004.2.iso
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling
cdrecord: Warning: Running on Linux-2.6.10-rc2
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'BENQ    '
Identifikation : 'DVD DD DW1620   '
Revision       : 'B7P9'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: Found DVD+ media but DVD+R/DVD+RW support code is missing.
cdrecord: If you need DVD+R/DVD+RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD-ROM driver (mmc_cd).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96R
cdrecord: Unspecified command not implemented for this drive.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
Starting to write CD/DVD at speed 31 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
cdrecord: Success. write_g1: scsi sendcmd: no error
CDB:  2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 12 00 00 00 00 21 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 0.002s timeout 200s
write track pad data: error after 0 bytes
BFree: 672 K BSize: 672 K
Track 02: Total bytes read/written: 82278400/82278400 (40175 sectors).
brian@rapsure cdimage $


Now dmesg output:

Code:



Nothing rejected.

Now I will do it without the patch.
_________________
:) Hindi ko naintindihan, pakiulit. Sometimes my code works.
Back to top
View user's profile Send private message
rapsure
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 172
Location: Logan, UT USA

PostPosted: Sat Nov 27, 2004 9:30 pm    Post subject: cdrecord output again without patch Reply with quote

Code:

brian@rapsure cdimage $ ls -l /dev/hdc
brw-------  1 brian root 22, 0 Apr 30  2004 /dev/hdc
brian@rapsure cdimage $


Here is the output of cdrecord:
Code:

brian@rapsure cdimage $ cdrecord dev=/dev/hdc -dao -driveropts=burnfree SimCity3000_Unlimited.iso
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling
cdrecord: Warning: Running on Linux-2.6.10-rc2
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'BENQ    '
Identifikation : 'DVD DD DW1620   '
Revision       : 'B7P9'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: Found DVD+ media but DVD+R/DVD+RW support code is missing.
cdrecord: If you need DVD+R/DVD+RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
cdrecord: Sorry, no CD/DVD-Recorder or unsupported CD/DVD-Recorder found on this target.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD-ROM driver (mmc_cd).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R16 RAW/R96R
cdrecord: Unspecified command not implemented for this drive.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
Starting to write CD/DVD at speed 31 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
cdrecord: Success. write_g1: scsi sendcmd: no error
CDB:  2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 12 00 00 00 00 21 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x00 (logical block address out of range) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 0.002s timeout 200s
write track pad data: error after 0 bytes
BFree: 672 K BSize: 672 K
Track 02: Total bytes read/written: 662077440/662077440 (323280 sectors).
brian@rapsure cdimage $


dmesg output:
Code:

scsi: unknown opcode 0x01
verify_command: rejected command 1


Now I went over the code too, but it wasn't working before. I used gnome's nautilus cdburner utility, and it is smart enough not to make the same mistake of dev=ATAPI:0,0,0 and it wasn't working either back a couple of posts. I think I know what the problem is. GCC made a mistake or my computer is just stupid at compiling.

Conclusion:
If you have an MMC compliant drive it should burn using the following command line arguments for cdrecord.
Code:

cdrecord dev=/dev/hdc *.iso


If it doesn't work, or the nautilus cd burner utility doesn't work then you to have a dumb computer that won't compile the code correctly. Maybe it is a gcc error. I don't know. Compile the kernel again could be the work around. My GCC is Version 3.3.4. So there you have it.
_________________
:) Hindi ko naintindihan, pakiulit. Sometimes my code works.
Back to top
View user's profile Send private message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Sat Nov 27, 2004 9:44 pm    Post subject: Reply with quote

dsd wrote:
MaxDamage: you have to make sure that gtoaster uses device /dev/hdc (for example) as opposed to ATAPI:0,0,0


The problem is Gtoaster needs both the device name (set /dev/hdc) and the SCSI Id (ATAPI:0).

** EDIT **

No problem: I put /dev/hdc in both fields, and now everything works.
Wow, now old programs that were designed for SCSI burning and didn't allow use of "ATAPI:", are going to work again.
_________________
La PDA de tungsteno
Back to top
View user's profile Send private message
Tarball
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 142
Location: Cheshire, UK

PostPosted: Sun Nov 28, 2004 1:35 am    Post subject: Reply with quote

I am having a problem burning a DVD using cdrecord-ProDVD. I also get the 'Cannot init drive' when using dev=ATAPI:0,1,0

I also noticed that Mr Schilling seems to frown on the usage of dev=/dev/{device}/, and when using /dev/hd?/ cdrecord outputs the following message:
Code:
drecord-ProDVD-Clone 2.01b31 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Unlocked features: ProDVD Clone
Limited  features:
This copy of cdrecord is licensed for: private/research/educational_non-commercial_use
TOC Type: 1 = CD-ROM
cdrecord-ProDVD: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord-ProDVD: WARNING: This causes a high risk for buffer underruns.
cdrecord-ProDVD: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord-ProDVD: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord-ProDVD: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdb'
devname: '/dev/hdb'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.       <---------- Should we be worried that this will stop working in the future?
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Using libscg transport code version 'schily-scsi-linux-sg.c-1.83'
Driveropts: 'burnproof'


any ideas why?

*EDIT*
Also, changing cdrecord to not use SUID is all very well but by not using SUID, cdrecord is no longer able to set its priority to RT therefore reducing the possibility of buffer underruns, is this now a likely occurance on slower machines?

Another point, I was under the impression that even though cdrecord has SUID bit set the code itself actually changed its EUID back to a lesser privilaged user after setting the runtime priority???

Machine Config:
Kernel: 2.6.9-gentoo-r5
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-105'
Back to top
View user's profile Send private message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Sun Nov 28, 2004 11:48 am    Post subject: Reply with quote

Tarball wrote:
Also, changing cdrecord to not use SUID is all very well but by not using SUID, cdrecord is no longer able to set its priority to RT therefore reducing the possibility of buffer underruns, is this now a likely occurance on slower machines?


I've also always seen that error about the scheduling. Is there a way to fix it when burning as normal user?
_________________
La PDA de tungsteno
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sun Nov 28, 2004 6:17 pm    Post subject: Reply with quote

No joy
Quote:
cdrecord dev=/dev/hdc -checkdrive
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.9-gentoo-r3n
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
cdrecord: Warning: SCSI transport does no longer work for suid root programs.
cdrecord: Warning: if cdrecord fails, try to run it from a root account.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'OPTORITE'
Identifikation : 'CD-RW CW4002 '[/qoute]
Revision : '100E'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

and dmesg
Quote:
hdc: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hdc: status error: error=0x00
hdc: drive not ready for command
hdc: status timeout: status=0xd0 { Busy }
hdc: status timeout: error=0xd0LastFailedSense 0x0d
hdc: DMA disabled
hdc: drive not ready for command
hdc: ATAPI reset complete
hdc: request sense failure: status=0x51 { DriveReady SeekComplete Error }
hdc: request sense failure: error=0x50LastFailedSense 0x05

If you look I did get one more line outa cdrecord though.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Sun Nov 28, 2004 11:01 pm    Post subject: Reply with quote

I get this.

Code:
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.7
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'ATAPI   '
Identifikation : 'DVD RW 8XMax    '
Revision       : '160D'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: Found DVD media but DVD-R/DVD-RW support code is missing.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD/DVD driver (checks media) (mmc_cd_dvd).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R

I guess i need to buy DVD+R Next time around.

I am using kernel 2.6.7 Vanilla and i get this in dmesg.

Code:
ATAPI device hdc:
  Error: Not ready -- (Sense key=0x02)
  Incompatible medium installed -- (asc=0x30, ascq=0x00)
  The failed "Read Cd/Dvd Capacity" packet command was:
  "25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
Back to top
View user's profile Send private message
Tarball
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 142
Location: Cheshire, UK

PostPosted: Sun Nov 28, 2004 11:43 pm    Post subject: Reply with quote

I am able to write CDs/DVDs as a normal user but if I am using the machine while a CD/DVD is burning I get warnings from cdrecord about predicted buffer underruns.

Code:

Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 470880
cdrecord-ProDVD: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord-ProDVD: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord-ProDVD: WARNING: This causes a high risk for buffer underruns.
Starting to write CD/DVD at speed 4 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Starting new track at sector: 0
Track 01: 3569 of 3569 MB written (fifo 100%) [buf  95%]   4.4x.
Track 01: Total bytes read/written: 3742957568/3742957568 (1827616 sectors).
Writing  time:  770.344s
Average write speed   3.5x.
Min drive buffer fill was 2%
Total of 5 possible drive buffer underruns predicted.
Fixating...
Fixating time:   35.119s
cdrecord-ProDVD: fifo had 58956 puts and 58956 gets.
cdrecord-ProDVD: fifo was 0 times empty and 14117 times full, min fill was 95%.


Is there anyway of increasing the priority as a 'normal' user?
Back to top
View user's profile Send private message
Bekker
n00b
n00b


Joined: 04 Sep 2004
Posts: 46

PostPosted: Mon Nov 29, 2004 7:18 pm    Post subject: Reply with quote

I have no problems with my IDE CD-RW with the stock 2.6.9-r1 kernel. I do have several issues with my external firewire DVD burner. They are
neatly summed up by the creator of K3B on his page.

http://k3b.plainblack.com/index.pl/news2

Does the patch also address the problems with the external burners? Everything worked fine with the 2.6.8 gentoo releases.

regards

Chera
Back to top
View user's profile Send private message
andrewbarr
Apprentice
Apprentice


Joined: 09 Jul 2004
Posts: 172
Location: Madison County, Ohio

PostPosted: Tue Nov 30, 2004 3:37 pm    Post subject: Reply with quote

Code:

abarr@tigris ~/download/images $ cdrecord -dummy dev=/dev/dvd systemrescuecd-x86-0.2.16_pre2.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.9-andrew-r3
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
cdrecord: Warning: SCSI transport does no longer work for suid root programs.
cdrecord: Warning: if cdrecord fails, try to run it from a root account.
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/dvd'
devname: '/dev/dvd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   :
Vendor_info    : 'PHILIPS '
Identifikation : 'DVD+RW SDVD6004 '
Revision       : '1.03'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
Starting to write CD/DVD at speed 8 in dummy TAO mode for single session.
Last chance to quit, starting dummy write    0 seconds. Operation starts.


Should I just be ignoring the errors warning of buffer underrun risks? IIRC this is why cdrecord ran as setuid root before but now it seems this isn't kosher anymore. I turned off setuid to get cdrecord to work again but now I get these warnings.
_________________
"The song I've written for you is so schmultzy it'll make 'Moon River' sound like a farting orangutan." - Homer Simpson
Back to top
View user's profile Send private message
JOS654
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2003
Posts: 101
Location: Spain - Malaga

PostPosted: Tue Nov 30, 2004 7:41 pm    Post subject: Reply with quote

here worked perfectly the cd burning but i get too the warning about a possible buffer underun problem because the cdrecord binary isnt ejecuted with root privileges to change the priority
Back to top
View user's profile Send private message
korngerd
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 104

PostPosted: Wed Dec 01, 2004 2:05 pm    Post subject: Reply with quote

Hi, I tried it on my machine (PLEXTOR CD-R PX-W4012A) on a 2.6.9-r6 gentoo-dev-sources kernel. I issued the following command:

Code:
orangerd@nyamochan orangerd $ cdrecord dev=/dev/hdl -v -speed=8 -data debian/sarge-i386-netinst.iso


It basically fails and crashes the entire system (I get a whole bunch of Input/Output errors). The output I get from cdrecord is:

Code:
orangerd@nyamochan orangerd $ cdrecord dev=/dev/hdl -v -speed=8 -data debian/sarge-i386-netinst.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J▒rg Schilling
cdrecord: Warning: Running on Linux-2.6.9-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
cdrecord: Warning: SCSI transport does no longer work for suid root programs.
cdrecord: Warning: if cdrecord fails, try to run it from a root account.
TOC Type: 1 = CD-ROM
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdl'
devname: '/dev/hdl'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'PLEXTOR '
Identifikation : 'CD-R   PX-W4012A'
Revision       : '1.05'
Device seems to be: Generic mmc CD-RW.
Current: 0x0009
Profile: 0x0008
Profile: 0x0009 (current)
Profile: 0x000A
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 2394336 = 2338 KB
cdrecord: Success. read buffer: scsi sendcmd: no error
CDB:  3C 00 00 00 00 00 00 FC 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 1B 00 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x1B Qual 0x00 (synchronous data transfer error) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 64512
cmd finished after 8.989s timeout 40s
FIFO size      : 4194304 = 4096 KB
Track 01: data   107 MB
Total size:      123 MB (12:14.66) = 55100 sectors
Lout start:      123 MB (12:16/50) = 55100 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 6
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type C, low Beta category (C-) (6)
  ATIP start of lead in:  -11231 (97:32/19)
  ATIP start of lead out: 359847 (79:59/72)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 27
Manufacturer: Prodisc Technology Inc.
Blocks total: 359847 Blocks current: 359847 Blocks remaining: 304747
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
Starting to write CD/DVD at speed 8 in real TAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Performing OPC...
Starting new track at sector: 0
Track 01:    0 of  107 MB written.cdrecord: Success. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes:
Sense Key: 0xFFFFFFFF [], Segment 0
Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 63488
cmd finished after 39.771s timeout 40s

write track data: error after 0 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
cdrecord: Success. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x01 (logical unit is in process of becoming ready) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
cdrecord: Success. flush cache: scsi sendcmd: no error
CDB:  35 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x01 (logical unit is in process of becoming ready) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 120s
Trouble flushing the cache
Writing  time:   49.594s
Average write speed  16.4x.
Fixating...
cdrecord: Cannot fixate disk.
Fixating time:   13.026s
cdrecord: fifo had 64 puts and 1 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.


It stopped for about 4-5 minutes at the
Code:
Manufacturer: Prodisc Technology Inc.

section.

I'll try it with my SONY DVD RW DRU-510A drive and post its outcome.

** EDIT **
Sorry, also I forgot to post my dmesg output:

Code:
Dec  1 08:42:15 [kernel] verify_command: rejected command e9
                - Last output repeated twice -
Dec  1 08:42:29 [kernel] hdl: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
Dec  1 08:42:30 [kernel] verify_command: rejected command 1
Dec  1 08:46:54 [kernel] hdl: lost interrupt
Dec  1 08:47:03 [kernel] verify_command: rejected command f5
Dec  1 08:47:03 [kernel] verify_command: rejected command e9
Back to top
View user's profile Send private message
korngerd
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 104

PostPosted: Wed Dec 01, 2004 2:16 pm    Post subject: Reply with quote

OK, I issued the command:

Code:

orangerd@nyamochan orangerd $ cdrecord dev=/dev/hdj -v -speed=8 -data debian/sarge-i386-netinst.iso


This was using my SONY DVD RW DRU-510A drive (obviously the same kernel as above).

Code:

orangerd@nyamochan orangerd $ cdrecord dev=/dev/hdj -v -speed=8 -data debian/sarge-i386-netinst.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J▒rg Schilling
cdrecord: Warning: Running on Linux-2.6.9-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
cdrecord: Warning: SCSI transport does no longer work for suid root programs.
cdrecord: Warning: if cdrecord fails, try to run it from a root account.
TOC Type: 1 = CD-ROM
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdj'
devname: '/dev/hdj'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'SONY    '
Identifikation : 'DVD RW DRU-510A '
Revision       : '1.0f'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x001B
Profile: 0x001A
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
Drive buf size : 8112896 = 7922 KB
Bus error


After this, I get a whole range of Input/Output errors:
Code:

root@nyamochan orangerd # shutdown -r now
bash: /sbin/shutdown: Input/output error
root@nyamochan orangerd # ls -la /
ls: /boot: Input/output error


dmesg also gives me:
Code:

Dec  1 09:11:40 [kernel] hdj: lost interrupt
Dec  1 09:12:20 [kernel] hdj: DMA timeout retry
Dec  1 09:12:40 [kernel] hdi: dma_timer_expiry: dma status == 0x21
Dec  1 10:24:24 [kernel] hdi: DMA timeout error
Dec  1 09:13:10 [kernel] hdi: dma_timer_expiry: dma status == 0x21
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Fri Dec 03, 2004 12:34 am    Post subject: Reply with quote

short update on all this :

cdrecord not running as root is a cdrecord bug. i can't remember exactly what it is doing wrong, but hopefully this will be fixed soon. on most systems, the extra priority it can get shouldnt really make a lot of difference

you can change a tasks priority while it is running. so you could start a burn as user, then use 'renice' (as root) to set that process to a high priority. i have not tried this , just an idea ..

as mentioned elsewhere in this thread, plextor writers are basically standard cd drives with a few extra commands that are outside of the standard specifications. the kernel currently disallows these extra commands, and i get the picture that this doesnt allow plextor writers to work properly.

i will write a patch to allow the extra commands - i doubt it will be accepted upstream, but at least you plextor customers will be able to burn cd's without having to bypass the command filter entirely.

finally, i believe that a better solution is on its way which will hopefully be included in 2.6.11 - the command filter will be controlled in userspace and should allow for odd situations such as plextor burning.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
ahorn
Guru
Guru


Joined: 01 Nov 2004
Posts: 366
Location: Ol' europe

PostPosted: Fri Dec 03, 2004 4:15 pm    Post subject: Reply with quote

thanks for the tipp, helps me a lot and keeps my head cool :-)
1st i tought it's an udev problem, 2nd my burner is dead 8-) (it's an old one)

anyway, thanks!
_________________
Too many connections. Please try again later.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Fri Dec 03, 2004 4:24 pm    Post subject: Reply with quote

could people who own plextor drives and have trouble writing cd's please apply this patch and let me know if it helps or not:

http://www.reactivated.net/patches/linux-kernel/2.6.9/scsi_ioctl-permit-plextor.patch
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
ageb
n00b
n00b


Joined: 20 Sep 2003
Posts: 48

PostPosted: Sat Dec 04, 2004 3:03 pm    Post subject: Weirdness in burnt iso using k3b Reply with quote

Hi all,

I'm joining this thread because I can't burn successfully using kernel 2.6.9-r9 (also r4 and r8) cause me grief. I have tried to follow the advice in this thread and can now burn an image using

Code:
cdrecord dev=/dev/hdc -dao -data my.iso


I am not so lucky while using xcdroast and k3b.

Xcdroast will only let me burn as root which if I understand causes problems with a bug in cdrecord. K3b seems to allow me to burn an iso and doesn't give any errors but then fails in the verification stage.

When I try and calulate an md5sum through the command line using

Quote:
md5sum /dev/hdc


The program seems to run fine until it gets near the end of the disk and then fails with a device error.

Checking dmesg produces the following error:
Quote:

Buffer I/O error on device hdc, logical block 164587
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
ide: failed opcode was 100
end_request: I/O error, dev hdc, sector 1316704
Buffer I/O error on device hdc, logical block 164588
ISO 9660 Extensions: RRIP_1991A


Any thoughts anyone as to what the cause of this may be?


Cheers

Adrian
Back to top
View user's profile Send private message
Lokheed
Veteran
Veteran


Joined: 12 Jul 2004
Posts: 1295
Location: /usr/src/linux

PostPosted: Sat Dec 04, 2004 10:33 pm    Post subject: Reply with quote

Looks like there is still an issue with growisofs and the new kernel.

I am running 2.6.10-RC2 Vanilla Source and DVD+RW-TOOLS v5.21. Using K3b v0.11.17 and am coming into problems burning DVDs. I have an NEC 2500A drive.

I can burn the first disk fine, but if I choose to burn a second disk subsequetnly, I get;

Code:

:-( unable to PREVENT MEDIA REMOVAL: Operation not permitted
Fatal error at startup: OPERATION NOT PERMITTED
Unable to eject media


Like I said, this only happens after the first burn which works just as it should--so it looks like there is still some kind of permission issue happening somewhere as it works perfectly in root. I only get this error in my user account.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 4 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum