LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 03-20-2005, 12:07 PM   #1
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Kernel...


This is probably going to sound like a stupid question... but how to Arch intend you to do custom kernels? Is there some pacman package for downloading the full kernel source that I'm missing or are I just suppose to install a kernel.org kernel and uninstall there kernel package? I'm not quite sure how the dependencies work and I don't want to cause a conflict a bunch of packages that contain a kernel package as a dependency.
 
Old 03-20-2005, 01:45 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"I'm not quite sure how the dependencies work and I don't want to cause a conflict a bunch of packages that contain a kernel package as a dependency."

If the new kernel is a later version than the old kernel then you usually don't have dependency problems. One notable exception to this rule is that older versions of cdrecord have problems running on kernel 2.6.x.

"but how to Arch intend you to do custom kernels? Is there some pacman package for downloading the full kernel source that I'm missing or are I just suppose to install a kernel.org kernel and uninstall there kernel package?"

I don't think any of the distributions have a method for creating kernels from kernel.org source. I always do the download myself and compile a second kernel to dual boot with my old kernel until the new kernel works OK.

---------------------------
Steve Stites
 
Old 03-20-2005, 01:48 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Right, that is typically what I do as well... I'm just coming from the gentoo world were some packages are dependent on having a kernel package installed through the package management system and I didn't want to screw up anything on arch be removing the kernel package and installing my own custom kernel.
 
Old 03-21-2005, 11:24 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
You can use ABS to compile your custom kernel, check out this wiki page for some instructions, at the moment I'm running 2.6.11-gentoo-r4 under Arch following those instructions
 
Old 03-21-2005, 11:29 PM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Thanks for the info, I'm working on setuping a build for a grsec/mm kernel as we speak
 
Old 03-21-2005, 11:31 PM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Once your done, post your PKGBUILD in the Arch forums so some poor bugger after doesn't need to do the hard yards You don't need to register to post if you don't want to save time.
 
Old 03-22-2005, 11:40 AM   #7
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
jtshaw, the Arch kernel i very well optimized and uses some patches that are not included in the kernel.org kernel. It's really unnecessary unless you need to add support something exotic. I have never had to recompile my kernel under Arch and I use the synaptics touchpad drivers, NVIDIA drivers, etc..

especially using the 'testing' packages.. my latest kernel upgrade was from a 2.6.11.1 to 2.6.11.3

I see no benefit to be gained by recompiling an Arch kernel.
 
Old 03-22-2005, 11:54 AM   #8
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892

Original Poster
Blog Entries: 1

Rep: Reputation: 67
I have actually created a new arch kernel package. It is exactly the same as the 2.6.11.3 kernel26 package from arch testing except it is using the 2.6.11.5 source and I added the grsecurity patch along with the patches arch already adds. I'm working on extending it even further by adding the ReiserFS4 part of the MM patch as well.

PKGBUILD
config

The config script there has all the same options as the normal arch config script with grsec and pax enabled as well. You'll need to copy the logo_linux_clut224.ppm file from the kernel26 directory into the directory where you put this to make it work... after all, we wouldn't want to loose the pretty arch logo on the frame buffer
 
Old 03-22-2005, 02:23 PM   #9
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
WOOT!!! Go jtshaw!!! Did you post that up on the Arch forums as well?
 
Old 03-22-2005, 02:23 PM   #10
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Sure did.
 
Old 05-14-2005, 07:43 PM   #11
katmai90210
Member
 
Registered: Nov 2003
Location: Romania
Distribution: Redhat Linux , Fedora & SuSe
Posts: 46

Rep: Reputation: 15
woot guys what is the Arch Kernel ? is there a homepage or something ? i may look pretty noob now :P but i need to have something to read :P
 
Old 05-16-2005, 08:55 AM   #12
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
the Arch kernel would be the kernel which Arch uses. Just a linux kernel with some patching and optimizations in it.. the homepage would be www.archlinux.org
 
Old 05-17-2005, 08:07 PM   #13
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
May I add that Arch comes highly regarded by the majority of people who use it.
 
Old 05-17-2005, 09:51 PM   #14
jery_wang2002
LQ Newbie
 
Registered: May 2005
Posts: 27

Rep: Reputation: 15
I suspect you need to download the src directly from kernel.org

I deduce from this Nvidia traditional installation (through NVIDIA pkg.run):

hxxp://wiki2.archlinux.org/index.php/How%20to%20install%20NVIDIA%20Driver

See last section (traditional way).
 
  


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 04:59 AM
kernel-source-2.6.5-7.src.rpm requires kernel-dummy to build!? fizzdandantilus SUSE / openSUSE 5 12-02-2004 01:48 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
kernel memory + slabinfo.. + possible reasons for kernel space allocation failures!! premenjit Linux - Software 1 09-28-2004 05:13 AM

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

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