LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2013, 06:11 PM   #1
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
patching kernel source.


Im trying to patch kernel source with RT patch.following this tut..
http://wiki.linuxaudio.org/wiki/system_configuration

I have source in home directory and downloaded RT patch and extracted it and placed it in source folder.When I run patch command it says it cant find file with that name.This is command tut says to run ..

patch -p1 -i ../linux-patch-3.x-rt.patch

When I run it I get this..

Code:
strat@Neo7:~/linux-source-3.10$ ls
arch           drivers  Kconfig      net                         scripts
block          fs       kernel       patch-3.10.4-rt1.patch      security
COPYING        include  lib          patch-3.10.4-rt1.patch.bz2  sound
CREDITS        init     MAINTAINERS  README                      tools
crypto         ipc      Makefile     REPORTING-BUGS              usr
Documentation  Kbuild   mm           samples                     virt
strat@Neo7:~/linux-source-3.10$ patch -p1 -i ../patch-3.10.4-rt1.patch
patch: **** Can't open patch file ../patch-3.10.4-rt1.patch : No such file or directory
strat@Neo7:~/linux-source-3.10$

What am I doing wrong?
 
Old 08-05-2013, 06:23 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,795

Rep: Reputation: 292Reputation: 292Reputation: 292
I think that you have one too many periods in the command. Try:

patch -p1 -i ./linux-patch-3.x-rt.patch

----------------------
Steve Stites
 
Old 08-05-2013, 06:34 PM   #3
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Original Poster
Rep: Reputation: 39
That was it.I copied command exactly like the tut showed but dude who wrote must have been period happy or something....
 
Old 08-05-2013, 07:16 PM   #4
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Original Poster
Rep: Reputation: 39
Anyone have a idea what this error means and how to fix it.I ran make deb-pkg and aftwe awhile I got this..

Code:
fs/aufs/i_op.c: In function ‘au_pin_hdir_set_owner’:
fs/aufs/i_op.c:428:28: error: ‘struct mutex’ has no member named ‘owner’
make[4]: *** [fs/aufs/i_op.o] Error 1
make[3]: *** [fs/aufs] Error 2
make[2]: *** [fs] Error 2
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2
strat@Neo7:~/linux-source-3.10$
 
  


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
[SOLVED] Patching kernel source, cannot find in make menuconfig (unionfs) coffeecoffee Linux - Newbie 9 12-16-2009 07:56 AM
powerpc: kernel patching... but which kernel source? parent's_basement Ubuntu 2 01-15-2007 02:46 PM
HOWTO:Patching new ALSA sources into kernel source for new sound cards detection? deepclutch Debian 1 07-17-2005 12:49 PM
Patching drivers with kernel source Eklipz Debian 1 12-12-2004 08:32 AM
Patching Kernel Source kmeehl Slackware 1 10-10-2004 10:05 PM


All times are GMT -5. The time now is 01:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration