LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-25-2004, 03:16 PM   #1
chewbar
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
cd writing is broken since upgrading to 2.6 kernel


I recently installed the 2.6.8.1 kernel. I did this so I could use a driver for my wireless lan stick, but that's another story...

Since doing this I noticed in my startup messages: ide-scsi is deprecated use ide-cd instead
(or something like that).

After a short google I found that the 2.6 kernel provides ATAPI access directly to cd burners without scsi emulation. Great I thought.. and tried the new setting.
The problem is that although cdrecord and cdrdao are perfectly happy and seem to work, the disks made are bad.

I burnt an audio CD and the sound was popping and buzzing - it certainly wasn't correct. This isn't a one off because I've tried a few times and tried upgrading cdrecord to the newest version etc.

Turning back on ide-scsi emulation solves the problem but I just wondered if anyone else has experienced problems like this.

Maybe it's my aged CD burner - a TEAC CD-W54E. ??


Any comments appreciated.
 
Old 08-25-2004, 05:43 PM   #2
Not now, John!
Member
 
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161

Rep: Reputation: 30
Go to www.k3b.org and read under News section.
K3B won't work with kernel 2.6.8.
Apparently kernel 2.6.8 also has a memory leak that causes audio CD-s to be baddly burnt.
 
Old 08-25-2004, 06:34 PM   #3
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
You have to edit the kernel source to get the cd burner to work in 2.6.8.1

in you linux source source directory edit the file

drivers/block/scsi_ioctl.c

and comment out lines 196 and 197 as such

/* if (verify_command(file, cmd))
return -EPERM;
*/

then recompile (delete scsi_ioctl.o or make clean so that this is recompiled) and then it works fine...

This edit remooves a new security feature introduced in 2.6.8.1 and make it opperate like previous kernels - which is better than running k3b as root...
 
Old 08-26-2004, 01:07 PM   #4
chewbar
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
The issue for me was never running as root. Actually I only ever use cdrecord and cdrdao from the command line (as root) anyway. The new 2.6.8.1 setuid security feature doesn't affect me - I don't use a gui like k3b.

From what I've seen the problem I'm having doesn't seem to be affecting anyone else. I can burn a CD with no errors or memory issues but the CD turns out to be a coaster!

I wonder whether I've screwed up the kernel config - it's not a totally straightforward transition from 2.4 to 2.6 series kernels.
 
Old 08-26-2004, 05:54 PM   #5
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
I would suggest going to kernel 2.6.7 to try and minimize the possible problems and figure if it's your cd burner or the kernel... 2.6.7 doesn't have the features which confuse the issue.
 
Old 08-28-2004, 05:31 AM   #6
Not now, John!
Member
 
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161

Rep: Reputation: 30
It doesn't matter if you don't use K3b (it's just frontend for cdrecord, cdrdao etc.).
Problem you have is kernel bug (in 2.6.8 and 2.6.8.1).
Try instaling 2.6.9rc or 2.6.7.
 
Old 08-28-2004, 05:08 PM   #7
chewbar
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Just to let you guys know that I've gone back to 2.6.7 kernel.

Everything works fine without having to use ide-scsi.


Thanks for your help. Hopefully this issue is fixed in future kernel releases.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Many things broken after upgrading from 9.2 to 10.0 Official lhoff Mandriva 7 06-28-2004 04:27 AM
Oops! Broken X and KDE after upgrading chriseebee Linux - General 0 06-10-2004 12:36 PM
Broken SDL Install (Adventures in upgrading) t3knomanser Linux - Software 1 02-11-2004 12:39 PM
Writing a linux kernel? blkbird Linux - Software 8 01-02-2004 08:38 AM
X broken after recompiling kernel. raylpc Linux - General 1 08-14-2003 03:33 AM


All times are GMT -5. The time now is 08:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration