LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-21-2008, 08:39 AM   #1
R03L
Member
 
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: redhat* debian* arch* slack*
Posts: 216

Rep: Reputation: 31
Question Please help ! Fedora Core 9 patch Dazuko patch-dazuko-linux-2.6.26.diff.gz


i am using Fedora core 9
whit kernel 2.6.26.5-45.FC9
and want to insert:
patch-dazuko-linux-2.6.26.diff.gz

the readme says
cd /linux/src/dir/linux-a.b.c.d
# zcat /proc/config.gz > .config
# zcat patch-dazuko-linux-a.b.c.diff.gz | patch -p1
# make menuconfig
(select Dazuko in the Security section and exit, saving changes)
# make
# make modules_install
# make install
# reboot

but when i go to root# /
and type dir
there is no /linux/**

i think i had a kernel source installed in the past but it should be located elsewhere than,
or maybe i should still should install a kernel source
than please whatś the yum install kernel_src rule for this,

so the standart of fedora core 9 does not contain a
/linux folder

# dir

bin dev home lost+found misc net parallels.log root selinux sys usr
boot etc lib media mnt opt proc sbin srv tmp var
 
Old 10-21-2008, 03:08 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,233
Blog Entries: 1

Rep: Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085
Quote:
cd /linux/src/dir/linux-a.b.c.d
I guess this is a typo. By default kernel sources are installed in /usr/src/linux-x.y.z. Now regarding Fedora the correct path is something like /usr/src/kernels/x-y-z. So you have to be in that dir to follow the patch installation instructions.
 
Old 10-22-2008, 08:50 AM   #3
R03L
Member
 
Registered: Feb 2008
Location: Emmer-compascuum
Distribution: redhat* debian* arch* slack*
Posts: 216

Original Poster
Rep: Reputation: 31
ok im in the kernel source directory now and following the readme.
i get:

zcat /proc/config.gz > .config
gzip: /proc/config.gz: No such file or directory

i should think this folder is also somewere else and that whole readme is a typo i think ?
 
Old 10-22-2008, 09:11 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,233
Blog Entries: 1

Rep: Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085Reputation: 2085
Quote:
i should think this folder is also somewere else and that whole readme is a typo i think ?
I think that this howto is for some other distro. Look in /usr/src/linux-x.y.z to see if there is already a file named .config:
Code:
ls -la /usr/src/linux-x.y.z/.config
If not, most distros keep a copy in /boot with a name like config-x.y.z. Copy that file into the kernel sources directory and continue to the configuration of your kernel.
 
  


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
need help compiling/installing dazuko in Fedora 7 7trek Linux - Software 1 06-10-2007 08:26 PM
Dazuko is loading in the kernel but my application is failing to register with dazuko sharad Linux - Kernel 1 02-24-2007 02:53 PM
Fedora core 5 AntiVir / Dazuko install problem batterhead Linux - Security 1 06-12-2006 04:22 AM
patch -p1 x.diff but no patch command!? pyenos Linux - Hardware 1 03-04-2005 03:10 PM
how do i patch Fedora core 2 kernel inventorriz Linux - Newbie 3 06-24-2004 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:31 AM.

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
Open Source Consulting | Domain Registration