You are not logged in.

#1 2009-11-07 02:30:50

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

compiling custom kenel with ABS problems

I am tring to install 2.6.32-rc6 kernel using. ABS. I have this in my PKGBUILD

#pkgname=kernel26                # Build stock -ARCH kernel
pkgname=kernel26-32rc6      # Build kernel with a different name
_kernelname=${pkgname#kernel26}
_basekernel=2.6.32-rc6

But makepkg is complaining that hyphens are not allowed in _basekernel. With out that I cannot download the 32-rc6 kernel.

Please help.


Thanks
Jithin

Offline

#2 2009-11-07 12:45:30

skipio
Member
Registered: 2009-01-27
Posts: 12

Re: compiling custom kenel with ABS problems

Did you try with something like this ?

# pkgname=kernel26                # Build stock -ARCH kernel
pkgname=kernel26-32rc6       # Build kernel with a different name
_kernelname=${pkgname#kernel26}
_basekernel=2.6.32
pkgver=${_basekernel}-rc6
pkgrel=1
#_patchname="patch-${pkgver}-${pkgrel}-ARCH"
#install=kernel26.install
source=(http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-$pkgver.tar.bz2 
        # the main kernel config files
        config config.x86_64 kernel26.preset)

If you'r using initramfs to boot, you should edit kernel26.install too.

Offline

#3 2009-11-07 13:11:14

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

Re: compiling custom kenel with ABS problems

Now I got the kernel compiled and packages. But it seems that there is some problem in my kernel.install file.
Its failing at install stage.

>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
Preset kernel262.6.32-rc6 does not exist. Exiting.
error: command failed to execute correctl

I have this in the kernel.install


KERNEL_NAME=2.6.32-rc6
KERNEL_VERSION=2.6.32-rc6

I think kernel name is wrong.


Thanks
Jithin

Offline

#4 2009-11-07 13:25:24

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

Re: compiling custom kenel with ABS problems

FInally fixed it

etc/mkinitcpio.d $  ls
example.preset  kernel26-32.kver  kernel26.kver  kernel26.preset  kernel262.6.32-rc6.preset

created the corresponding preset files


Thanks
Jithin

Offline

#5 2009-11-07 13:38:53

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

Re: compiling custom kenel with ABS problems

Hi, I successully booted  into 2.6.32-rc6 kernel.
But not certain daemons like avahi and cdemud are failing during startup.

sudo modprobe vhba
FATAL: Module vhba not found.

How do I compile vbha for new kernel? I tried re installing vhba-module-1.2.1-4. But that didnot help


Thanks
Jithin

Offline

#6 2009-11-07 15:38:41

skipio
Member
Registered: 2009-01-27
Posts: 12

Re: compiling custom kenel with ABS problems

hi, from what i understand that module needs to be build against your new kernel. the pacman package will build it for the stock arch linux kernel.
so you should install it through abs using /var/abs/community/vhba-module/PKGBUILD

Offline

#7 2009-11-07 17:11:15

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

Re: compiling custom kenel with ABS problems

ok I will try that.


Thanks
Jithin

Offline

Board footer

Powered by FluxBB