PDA

View Full Version : Kernel 2.6.8 Warning


superbnerd
12th September 2004, 08:06 PM
Due to the recent patches introduced in the 2.6.8 and 2.6.8.1 kernels, cdrecord and programs that rely on it do not work!

Do not use Kernel 2.6.8
A patch that was introduced into the kernel shortly before the 2.6.8 release makes K3b and also the dvd+rw-tools unusable on Linux (unless run as root but that is not recommended). The very important GET CONFIGURATION MMC command is rejected by the kernel for reasons I cannot see and writing commands like MODE SELECT also fail (K3b cannot detect CD writers without it) even when the device is opened O_RDWR. Until this issue has been solved I strongly recommend to stick to kernel version 2.6.7.
Update: The kernel guys are currently fixing the problem so the next kernel release should work again. :)
Update 2: The problem is NOT fixed in 2.6.8.1
Update 3: Be aware that kernel 2.6.8 also contains the memory leak which makes it impossible to write audio cds, even as root.


This is a known issue caused by the kernel and affects all distros. There currently is not an official patch, but the next kernel release should fix the problem. In the meantime, you should just use a previous kernel such as 2.6.7 or which ever previous kernel works with your configuration.

ilja
12th September 2004, 08:10 PM
*moved to news*

ghaefb
12th September 2004, 08:37 PM

What tha?
What happened here...

This is not new -> http://www.fedoraforum.org/forum/showthread.php?t=20938&

It looks like this "news" messed up front page.

imdeemvp
12th September 2004, 08:42 PM
not only k3b, cd-record dont work but also the ntfs partitions are not mounting.....

superbnerd
12th September 2004, 09:04 PM
@ghaefb
this was posted as news specifically to make it on the front page in order to inform as many people as possible. most newbies don't read every thread, so I thought it would save us a lot of time and them a lot of confusion because so many people keep encountering the same problem.

imdeemvp
12th September 2004, 09:43 PM
superbnerd,

you already got you reputation back........why you wanna mess it up? :D

superbnerd
12th September 2004, 09:49 PM
this is not about reputation, this is about helping the fedora community solve and avoid common problems. you'll notice this thread was moved to the news/front page by ilja, a moderator. I asked the moderators first and then he moved it to help the community. I hope as amany people as possible read this, as to avoid many complaints about bugs in fc.

ghaefb
12th September 2004, 09:52 PM
I know what you mean.
But I don't like the "Do not use Kernel 2.6.8" idea... :)

imdeemvp
12th September 2004, 09:54 PM
I know what you mean.
But I don't like the "Do not use Kernel 2.6.8" idea... :)

i dont mean to disagree with you BUT would you put a flat tire on your car? same standard.

ben_leah
13th September 2004, 09:31 AM
As an added note .... dvd::rip fails to grab preview images with this kernel ! and as a result wont transcode ... !

willieray
13th September 2004, 10:07 PM
found a patch that folks are saying fixes the issue released from Con Kolivas. Haven't tested it yet since i'm at work (winders box). please let us know your results.

http://ck.kolivas.org/patches/2.6/2.6.8.1/

Con Kolivas wrote:
> Mark Licker wrote:
>
>> Greetings,
>> I've been a happy user of the ck-patch sets for some time. However,
>> with the 2.6.8.1 kernel with ck1 patch, I was unable to burn a CD-R
>> using "cdrecord." Got following error message:
>> "cdrecord: Drive does not support TAO recording
>> cdrecord: Illegal write mode for this drive."
>> After rebooting back to 2.6.7-ck6, cdrecord worked fine once again.
>> The 2.6.8.1-ck1 kernel was compiled with a copy of the 2.6.7-ck6
>> .config file (the new items popping up after "make oldconfig" were
>> rejected). Any ideas what I did wrong (if anything)?
>> Thanks,
>> Mark
>
>
> 2.6.8.1 issue; not ck specific

Does the attached patch help? It reverts a change that went into 2.6.8

Cheers,
Con

cddvd-cmdfilter-drop.patch


Index: linux-2.6.8.1/drivers/block/scsi_ioctl.c
================================================== =================
--- linux-2.6.8.1.orig/drivers/block/scsi_ioctl.c 2004-08-15 14:08:05.000000000 +1000
+++ linux-2.6.8.1/drivers/block/scsi_ioctl.c 2004-08-17 18:58:30.505453065 +1000
@@ -193,8 +193,6 @@ static int sg_io(struct file *file, requ
return -EINVAL;
if (copy_from_user(cmd, hdr->cmdp, hdr->cmd_len))
return -EFAULT;
- if (verify_command(file, cmd))
- return -EPERM;

/*
* we'll do that later


~willieray
#include <beer.h>

willieray
13th September 2004, 10:13 PM
sorry guys my link came up a few dirs short

full link here:

http://ck.kolivas.org/patches/2.6/2.6.8.1/2.6.8.1-ckdev/


~willieray
#include <beer.h>

mugs
15th September 2004, 02:24 PM
I was wondering if someone could tell me how to apply this patch and if it will really work, as I still cannot burn audio CDs. Thanks.

Zotter
24th September 2004, 06:38 AM
http://www.fedoraforum.org/forum/showthread.php?t=21201

"News" almost a month old is news???

If it is, it's just now getting into the 'news' section??

Time for more coffee, lots more...

crackers
25th September 2004, 03:38 AM
And the original post is now almost two weeks old. Your point is...?

timon
29th September 2004, 08:49 PM
Works again... with the latest official patches.

linusrees
29th September 2004, 09:05 PM
Works again... with the latest official patches.

Oh no it doesn't. Not the one yum installed for me.

[root@fedora linus]# uname -r
2.6.8-1.521

K3B doesn't like it, while 2.6.7 works fine.

What version are you using? And where did you get it?

Linus