CD burning impossible, (kernel) configuration wrong?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
CD burning impossible, (kernel) configuration wrong?
Ola,
since few days I try to burn a CD. Current system is kernel 2.4.24 and Debian distribution "SID". The problem: if the burn-program (cdrecord) starts up, the pc seem to be locked-up/hanging, but every 5 sec. the mouse pointer moves when it is moved. console input echoed every 5 sec. Thus, every 5 sec. the system reacts. cdrecord itself did not burn.
cdrecord recongnizes the drive, but does nothing, except semi-freezing/locking-up the system. The LED which indicated thats the laser is working is always off.
generated using cdrecord (cmd see above), tons of these msgs.:
kernel: hdd: ATAPI reset complete
kernel: hdd: status error: status=0x08 { DataRequest }
kernel: hdd: drive not ready for command
kernel: hdd: status timeout: status=0xd0 { Busy }
kernel: hdd: drive not ready for command
kernel: hdd: ATAPI reset complete
kernel: hdd: status error: status=0x08 { DataRequest }
kernel: hdd: drive not ready for command
kernel: hdd: status timeout: status=0xd0 { Busy }
kernel: hdd: drive not ready for command
kernel: scsi : aborting command due to timeout : pid 3720, scsi0, channel 0, id 1, lun 0 Test Unit Ready 00 00 00 00 00
kernel: SCSI host 0 abort (pid 3720) timed out - resetting
kernel: SCSI bus is being reset for host 0 channel 0.
kernel: SCSI host 0 channel 0 reset (pid 3720) timed out - trying harder
kernel: SCSI bus is being reset for host 0 channel 0.
kernel: hdd: ATAPI reset complete
[...]
kernel: sr1: CDROM (ioctl) error, command: Prevent/Allow Medium Removal 00 00 00 00 00
kernel: sr00:00: old sense key None
kernel: Non-extended sense class 0 code 0x0
kernel: scsi0 : channel 0 target 1 lun 0 request sense failed, performing reset.
kernel: SCSI bus is being reset for host 0 channel 0.
====================
EOF syslog
My opinion that due to kernel misconfiguration was that I can burn CD's when i've booted with the Knoppix-CD (3.7) and burn with that configuration. But I've checked the configuration so far and I can't find a reason why my kernel config is wrong.
The config-file /etc/cdrecord/cdrecord is configured as follows (fields with tabs delimited)
Probably a dumb question, but are you using the correct scsi address for the device?.............What is the output of 'cdrecord -scanbus | grep -i 'cd-rom'.......
For myself, I created hdc and hdd symlinks pointing to sr0 and sr1, respectively, for my dvd burner and cd burner, and then pointed the /dev/dvd and /dev/cdrom symlinks to hdc and hdd, like so:
BTW, this is a Sarge install.........cdrom0 and cdrom1 were created by the installation..........All I did was to create the symlinks hdc, hdd, cdrom, and dvd while the rest of the symlinks were already done automatically......
The device which is used by cdrecord is correct because the disc in this drive is spinning up to max. speed when the burn process begins. After few seconds the disc is spinning down and that was it with burning. Then the computer is semi-freezed/locked-up and then I have to cancel the burn process. If the burn process is canceled then the semi-freezed/locked-up state is over few seconds later. Under normal conditions when the process is canceled in k3b, k3b makes a 'ping' to speaker (via soundcard, not pc-internal speaker). During the semi-freezed state, this ping comes again and again (ping-ping-ping...) for the next 5 seconds cycle. Only for information, could be a clue.
Was it neccessary for you to create the both symlinks hdd and hdc? Makes it a difference in connection with burning?
"The device which is used by cdrecord is correct because the disc in this drive is spinning up to max. speed when the burn process begins. After few seconds the disc is spinning down and that was it with burning. Then the computer is semi-freezed/locked-up and then I have to cancel the burn process. If the burn process is canceled then the semi-freezed/locked-up state is over few seconds later. Under normal conditions when the process is canceled in k3b, k3b makes a 'ping' to speaker (via soundcard, not pc-internal speaker). During the semi-freezed state, this ping comes again and again (ping-ping-ping...) for the next 5 seconds cycle. Only for information, could be a clue."
k3b uses cdrecord to do the actual burn. Perhaps your problem is incompatible versions of the kernel and cdrecord. Linus changed the way that the kernel handles CD recording in kernel 2.6. Jeorg Schilling was reluctant to change cdrecord to use the new kernel method. Some of the distributions, including SuSE, created patched version of cdrecord to make it work correctly on kernel 2.6. Perhaps Debian did the same. The result is that there are several versions of cdrecord in circulation which are very dependent on the kernel version that they are run on. You should check the Debian documentation to make sure that your version of cdrecord is compatible with your kernel version.
Originally posted by Li... ...Was it neccessary for you to create the both symlinks hdd and hdc? Makes it a difference in connection with burning?
No, it's not necessary (AFAIK).............It only helps to simplify things a bit when you point /dev/cdrom to the ide block device (/dev/hd?)........If, at a later date, you want to replace it with something different (such as a regular cdrom drive or a dvd-rom drive) you simply change the /dev/hd? to something appropriate......Be sure to rename /dev/hd?, if it is a regular block device, before creating the link in case you need to change it back in the future........
<EDIT> It might make a difference in some programs that look for /dev/hd? when trying to access the cdrom </EDIT>
And jailbait makes a valid point about what kernel you are using........If you're using a 2.6.x kernel, then you do NOT want scsi emulation (ide-scsi module)........Although I see you are not using 2.6.x kernel.......
Last edited by thegeekster; 04-02-2005 at 04:09 PM.
I was having what seems to be the same problem with my Cyber drive burner. It also would not burn from a live CD. I swapped for a Sony burner, problem fixed. My assumption is that Cyber drive does not work for Linux. I am using Kubuntu Breezy and liking it a lot.
It makes no differences between booting from a live CD (independent from the distribution) or from harddisk. But I've found out that I should wait, I would say 2 or 3 minutes, and then the burning sessions starts. During this wait time the computer is nearly the freezed state I've already mentioned. After these 2-3 minutes the frezzed state is over and I can use the computer as always.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.