Results 1 to 7 of 7
Hi. I have recently upgraded to kernel 2.6.8.1. Everything has worked so far except that I am no longer able to make CDs. Here is the output of eroaster when ...
- 08-16-2004 #1Just Joined!
- Join Date
- Jun 2004
- Posts
- 10
DVD/CD writer no longer works
Hi. I have recently upgraded to kernel 2.6.8.1. Everything has worked so far except that I am no longer able to make CDs. Here is the output of eroaster when I erase a CD when I was still
using kernel 2.6.8-rc3-mm1 (and probably even earlier with kernel 2.6.7)
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.
SCSI buffer size: 64512
Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
Identifikation : 'DVD RW DW-U12A '
Revision : '2.0d'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A
Profile: 0x001B
Profile: 0x001A
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A (current)
Profile: 0x0009
Profile: 0x0008
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
Drive DMA Speed: 22093 kB/s 125x CD 15x DVD
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11745 (97:25/30)
ATIP start of lead out: 359849 (79:59/74)
1T speed low: 0 (reserved val 0) 1T speed high: 4
2T speed low: 8 2T speed high: 0 (reserved val 10)
power mult factor: 4 6
recommended erase/write power: 5
A1 values: 02 4C D0
A2 values: 4A D8 5A
Disk type: Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Starting to write CD/DVD at speed 4 in real BLANK mode for single session.
Performing OPC...
Blanking PMA, TOC, pregap
Blanking time: 53.858s
---------------------------------------------------------
Here's the output now, which says something that the operation is not permitted:
cdrecord: Operation not permitted. 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.
SCSI buffer size: 64512
Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
Identifikation : 'DVD RW DW-U12A '
Revision : '2.0d'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes:
Drive buf size : 8126464 = 7936 KB
Drive DMA Speed: 21942 kB/s 124x CD 15x DVD
cdrecord: Operation not permitted. prevent/allow medium removal: scsi sendcmd: no error
CDB: 1E 00 00 00 01 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 40s
cdrecord: Cannot init drive.
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11745 (97:25/30)
ATIP start of lead out: 359849 (79:59/74)
1T speed low: 0 (reserved val 0) 1T speed high: 4
2T speed low: 8 2T speed high: 0 (reserved val 10)
power mult factor: 4 6
recommended erase/write power: 5
A1 values: 02 4C D0
A2 values: 4A D8 5A
Disk type: Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
-------------------------------------------------------------------------
I'm pretty sure I've kept the same kernel configuration in both cases.
I have the following turned on in the ATAPI and SCSI sections:
enhanced IDE/MFM/RLL support
IDE/ATA-2 support
use multi-mode as default
IDE/ATAPI CDROM support
IDE/ATAPI FLOPPY support
generic/default IDE support
PCI IDE support
sharing PCI IDE interrupts
generic PCI IDE
(the rest are more or less machine specific)
(nothing is turned on in the SCSI section)
I don't think this will help much, but here's the output of lspci:
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:00:1f.6 Modem: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Modem Controller (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200] (rev 01)
0000:02:08.0 Ethernet controller: Intel Corp. 82562EZ 10/100 Ethernet Controller (rev 02)
0000:02:0e.0 FireWire (IEEE 1394): NEC Corporation uPD72874 IEEE1394 OHCI 1.1 3-port PHY-Link Ctrlr (rev 01)
Any ideas on what the problem is? I tried checking the change log for the kernel and couldn't find anything that might have changed since when it was working.
Thanks for any help,
Yale
- 08-17-2004 #2Linux Engineer
- Join Date
- Jul 2003
- Location
- Uppsala, Sweden
- Posts
- 1,278
For 2.6 kernels you dont need scsi emulation for IDE cd/dvd drives. perhaps that is part of the problem.
Proud to be a GNU/Gentoo Linux user!
- 09-20-2004 #3Just Joined!
- Join Date
- Sep 2004
- Posts
- 9
bobwall:
I get pretty much the same error as you get.
Did you find a solution?
I'm also using 2.6.8.1 and Debian.
I can burn as root though, but I have cdrecord installed as suid so that would mean a normal user is executing it with root's rights?
Still no go as a normal user:edit:Code:cdrecord: Operation not permitted. prevent/allow medium removal: scsi sendcmd: no error CDB: 1E 00 00 00 01 00 status: 0x0 (GOOD STATUS) cmd finished after 0.000s timeout 40s cdrecord: Cannot init drive.
I just found your thread at LinuxQuestions.org.
Looks like I have to bide my time then...
However, I find it strange that a suid binary doesn't do the trick...
- 09-20-2004 #4
Are you guys using devfs or udev? Actually...it may not matter...try adding the user to the disk group and see if you can burn then.
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 09-20-2004 #5Just Joined!
- Join Date
- Sep 2004
- Posts
- 9
I'm already a member of disk and cdrom, which is the group used on cdrecord in Debian:
But you gave me the idea to try with another user, which unfortunately didn't work any better... I got the same error message.Code:[eek@apeekaboo eek]$ ll $(which cdrecord) -rwsr-xr-x 1 root cdrom 133 2004-09-04 14:13 /usr/bin/cdrecord*
How can I tell if I'm using udev?
I know I'm not using devfs, since xconfig said it was obsolete so I didn't choose it.
Does this automatically mean I'm using udev?
I have a /dev dir with a bunch of device files in it anyway...
edit:
cdrecord: Warning: Running on Linux-2.6.8.1
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.
Maybe this warning about SCSI transport says it all..?
Although I didn't think SCSI transport was used when handling the device as ATAPI?
edit2:
Setting up sudo without a password for cdrecord, and adding alias cdrecord='sudo cdrecord' did the trick!
- 09-21-2004 #6
Hrm...good workaround, but you shouldn't need it. Post your /etc/udev/permissions.d/50-udev.permissions file. Let me peruse that and see if I can figure anything out.
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 09-21-2004 #7Just Joined!
- Join Date
- Sep 2004
- Posts
- 9
sarumont: Thanx for trying to help out!

I couldn't find that file, so I guess I'm not using udev after all...
Perhaps I'm still using my old devfs from the 2.4 kernel I used before.
I thought this was going to solve itself when I didn't choose devfs in 2.6.
There's a package in Debian called udev which has this description:Maybe this is what's missing?Code:Description: /dev/ management daemon udev is a program which dynamically creates and removes device nodes from /dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel.
edit:
OK, I installed udev and now there's a whole new layot in /dev.
I also tried doing dpkg-reconfigure cdrecord which said something about 'creating the necessary device file', but I still can't burn as a normal user.
Root can still burn though, so nothing has really changed.
This is the output from /etc/udev/permissions.d/udev.permissions:I guess these lines are the interesting ones:Code:# name:user:group:mode # character devices ptmx:root:tty:0666 random:root:root:0666 urandom:root:root:0444 kmem:root:kmem:0640 mem:root:kmem:0640 port:root:kmem:0640 null:root:root:0666 zero:root:root:0666 full:root:root:0666 misc/nvram:root:nvram:660 nvram:root:nvram:660 misc/rtc:root:audio:0664 rtc:root:audio:0664 tts/*:root:dialout:0660 bluetooth/rfcomm/*:root:dialout:0660 tty[BCDEFHILMPRSTUVWX][0-9]*:root:dialout:0660 ttyS[ACIR][0-9]*:root:dialout:0660 ttyUSB[0-9]*:root:dialout:0660 ttyACM[0-9]*:root:dialout:0660 ippp[0-9]*:root:dialout:0660 isdn[0-9]*:root:dialout:0660 isdnctrl[0-9]*:root:dialout:0660 capi[0-9.]*:root:dialout:0660 dcbri[0-9]*:root:dialout:0660 ircomm[0-9]*:root:dialout:0660 rfcomm[0-9]*:root:dialout:0660 tty:root:tty:0666 snd/*:root:audio:0660 sound/*:root:audio:0660 admmidi*:root:audio:0660 adsp*:root:audio:0660 aload*:root:audio:0660 amidi*:root:audio:0660 amixer*:root:audio:0660 audio*:root:audio:0660 dmfm*:root:audio:0660 dsp*:root:audio:0660 audio*:root:audio:0660 mixer*:root:audio:0660 music:root:audio:0660 sequencer*:root:audio:0660 printers/*:root:lp:0660 usb/lp[0-9]*:root:lp:0660 usb/legousbtower[0-9]*:root:root:666 lp[0-9]*:root:lp:0660 parport[0-9]*:root:lp:0660 irlpt[0-9]*:root:lp:0660 usblp[0-9]*:root:lp:0660 input/mice:root:root:0666 input/mouse*:root:root:0644 input/js*:root:root:0644 input/*:root:root:0600 js*:root:root:0644 djs*:root:root:0644 dri/card[0-9]*:root:video:0660 fb/*:root:video:0660 fb[0-9]*:root:video:0660 agpgart:root:video:0660 nvidia*:root:video:0660 v4l/*:root:video:0660 video[0-9]*:root:video:0660 radio[0-9]*:root:video:0660 vbi[0-9]*:root:video:0660 vtx[0-9]*:root:video:0660 # block devices floppy/*:root:floppy:0660 fd[0-9]*:root:floppy:0660 cdemu/*:root:cdrom:0660 pktcdvd[0-9]*:root:cdrom:0660 ram[0-9]*:root:disk:0660 raw/*:root:disk:0660 ide/*/cd:root:cdrom:0660 ide/*:root:disk:0660 hd[a-s]:root:disk:0660 hd[a-s][0-9]*:root:disk:0660 scsi/*/cd:root:cdrom:0660 scsi/*:root:disk:0660 sd[a-z]:root:disk:0660 sd[a-z][0-9]*:root:disk:0660 sd[a-i][a-z]:root:disk:0660 sd[a-i][a-z][0-9]*:root:disk:0660 s[gr][0-9]*:root:disk:0660 scd[0-9]*:root:cdrom:0660 dasd[0-9]*:root:disk:0660 ataraid[0-9]*:root:disk:0660 loop/*:root:disk:0660 loop[0-9]*:root:disk:0660 md/*:root:disk:0660 md[0-9]*:root:disk:0660 dm-*:root:disk:0640 ht[0-9]*:root:tape:0660 nht[0-9]*:root:tape:0660 pt[0-9]*:root:tape:0660 npt[0-9]*:root:tape:0660 st[0-9]*:root:tape:0660 nst[0-9]*:root:tape:0660 sgi_fetchop:root:root:666 iseries/vcd*:root:disk:660 iseries/vd*:root:disk:660
ide/*/cd:root:cdrom:0660
ide/*:root:disk:0660
hd[a-s]:root:disk:0660
hd[a-s][0-9]*:root:disk:0660
I can't anything named 'ide' in /dev...


Reply With Quote
