Kernel PKGBUILD naming

Hi archers!
I finally managed building a working kernel config and building the kernel with this PKGBUILD and it works fine so far.
The only thing that disturbs me, is that the custom kernel's "name" (uname -r) and the /lib/modules dir are named "kernel26-custom-custom-custom" (note the three "-custom"s).
In the PKGBUILD I only set "_pkg_base" to "kernel26" and "_cfgname" to "custom".
During kernel configuration, I set "LOCALVERSION" to "-custom" as well.
/boot files and everything is named just fine, but as I said, the kernel name is always screwed up with the triple "-custom".
I'm not really good in bash but I think it's caused by these lines in the PKBGUILD:
# set EXTRAVERSION to help use unique /lib/modules/ subdirectories
_ker_make_ver=$(getvar "VERSION").$(getvar "PATCHLEVEL").$(getvar "SUBLEVEL")
_ker_extraver=`echo $_idstr | sed "s|^$_ker_make_ver||"`
# update EXTRAVERSION in the Makefile by adding our (for modules location)
_oldline=$(cat Makefile | grep "^EXTRAVERSION")
cat Makefile | sed "s|$_oldline|EXTRAVERSION\ =\ $_ker_extraver$_patchset$_cfgname|" > tmpMake
mv tmpMake Makefile
now, is this behaviour intended, did I just make some input mistake or is there an error in the pkgbuild?
Thanks very much in advance!

All right, I figured out that the first two "-custom"s are caused by this line in the PKGBUILD:
cat Makefile | sed "s|$_oldline|EXTRAVERSION\ =\ $_ker_extraver$_patchset$_cfgname|" > tmpMake
( $_ker_extraver contains one and $_cfgname, of course, the other)
The third one seems to be appended by the LOCALVERSION config setting, which should actually be the only one to be added I think.
So would it be possible to just omit all of the PKGBUILD code quoted in the post above and let the -LOCALVERSION do the work for a unique name?
EDIT: This actually works quite well, but I suppose problems might occur in other places then. No bash expert here?
EDIT 2: When trying to compile the nvidia module afterwards, I also found out that
# copy files necessary for later builds, like nvidia and vmware
cp arch/i386/Makefile.cpu $startdir/pkg/usr/src/linux-$_idstr/arch/i386/
was missing, but exists in the stock kernel PKGBUILD.
Is this one acutally somehow out-dated or am I just too stupid to make it work correctly?
Last edited by Eradest (2007-10-27 15:45:21)

Similar Messages

  • Making a kernel PKGBUILD

    Hello,
    I tried to make my own kernel package with the abs system. I studied the wiki documentation (http://wiki.archlinux.org/index.php/Cus … n_with_ABS)
    After making all configurations in the PKGBUILD, I copied the "kernel126.install", kernel-config-file and the patches in /var/abs/local/kernel26-sn-client-04"
    My PKGBUILD:
    # Contributor: Flasher <[email protected]>
    pkgname=kernel26-sn-client-04
    pkgver=2.6.13
    pkgrel=1
    pkgdesc="The Linux Kernel 2.6.13.4 for sn-client-04 withpatches for softcam"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    install=kernel26.install
    ##### add any patch sources to this section
    source=(config ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2
    dvb_demux.c.patch av7110_ca.c.patch )
    # Function to grab var from src
    getvar() {
    old=$(cat Makefile | grep "^$1")
    echo $(echo ${old/"$1 ="/} | sed -e "s/[ ]*(.*)[ ]*/1/g")
    return 0
    build() {
    cd $startdir/src/linux-$pkgver
    ##### Uncomment and apply any patches here
    patch -Np1 -i ../dvb_demux.c.patch || return 1
    patch -Np1 -i ../av7110_ca.c.patch || return 1
    # get rid of the 'i' in i686
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    ##### Load config - uncomment your preferred config method
    #yes "" | make config
    #make oldconfig || return 1
    make menuconfig
    #make xconfig
    #make gconfig
    ##### NO USER CHANGES BELOW HERE #####
    # save the current pkgname
    old_pkgname=$pkgname
    # set pkgname for build purposes - DO NOT alter!
    pkgname=kernel26
    # save the updated config to build with today's date
    cp ./.config $startdir/config-$(date +%b%d-%Hh)
    # get EXTRAVERSION from Makefile to create a unique pkgname and /usr/src directory
    _kernextra=$(getvar "EXTRAVERSION")
    # grab the 2.6.x.y version suffix from pkgver
    _y="`echo $pkgver | cut --delim "." --fields 4`"
    # remove .y version suffix from _kernextra
    _kernextra="`echo $_kernextra | sed "s|.$_y||g"`"
    # Read the full kernel version info from new config to use in pathnames and pkgname
    . ./.config
    # Kernel custom - to create a unique pkgname (see below)
    _kerncust="${_kernextra}${CONFIG_LOCALVERSION}"
    # Kernel release - will be the same as Makefile
    _kernrel="${pkgver}${_kerncust}"
    # Get the pkgver suffix for unique pkgname and /boot file suffices
    _pkgversuf="`echo $pkgver | sed "s|2.6.||g" | sed "s|.||g"`"
    # Set /boot file suffices from kernel release and pkgver suffix
    _kernboot="${_pkgversuf}${_kerncust}"
    # Set a new pkgname from kernel release and pkgver suffix
    pkgname="${pkgname}${_pkgversuf}${_kerncust}"
    # build!
    echo
    echo -n "Do you want to make clean (default YES)? (YES/NO): "
    read choice
    echo
    echo -n "Press any key to start make or CTRL+C to quit"
    read anykey
    if [ "${choice}" = "NO" ] ; then
    make bzImage modules || return 1
    else
    make clean bzImage modules || return 1
    fi
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    cp System.map $startdir/pkg/boot/System.map26${_kernboot}
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26${_kernboot}
    install -D -m644 Makefile
    $startdir/pkg/usr/src/linux-${_kernrel}/Makefile
    install -D -m644 .config
    $startdir/pkg/usr/src/linux-${_kernrel}/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26${_kernboot}
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/include
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-${_kernrel}/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers $startdir/pkg/usr/src/linux-${_kernrel}
    cp -a scripts $startdir/pkg/usr/src/linux-${_kernrel}
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/.tmp_versions
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-${_kernrel}/arch/i386/
    cp arch/i386/kernel/asm-offsets.s
    $startdir/pkg/usr/src/linux-${_kernrel}/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-${_kernrel}/$i
    done
    cd $startdir/pkg/usr/src/linux-${_kernrel}/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-${_kernrel}
    cd $startdir/pkg/lib/modules/${_kernrel} &&
    (rm -f source build; ln -sf /usr/src/linux-${_kernrel} build)
    # Correct the pkgname in our PKGBUILD - this allows correct gensync operation
    # NOTE: pkgname variable must be declared with first 10 lines of PKGBUILD!
    cd $startdir
    sed -i "1,11 s|pkgname=$old_pkgname|pkgname=$pkgname|" ./PKGBUILD
    # vim:syntax=sh
    When I execute the command "makepkg" I get the following error message:
    [root@sn-client-04 kernel26-sn-client-04]# makepkg
    : command not found
    : command not found:
    '/PKGBUILD: line 15: syntax error near unexpected token `{
    '/PKGBUILD: line 15: `getvar() {
    ) does not exist.l scriptlet (kernel26.install
    Does anybody know the mistake in my configuration?
    Thanks for your answers! 
    Greetings
    Flasher

    Sorry, but this wasn't the mistake  :?
    Now, all sources are located in one line:
    # Contributor: Flasher <xxxxxxxxxxxxxxxxxxxx>
    pkgname=kernel26-sn-client-04
    pkgver=2.6.13.4
    pkgrel=1
    pkgdesc="The Linux Kernel 2.6.13.4 for sn-client-04 with patches for softcam"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    install=kernel26.install
    ##### add any patch sources to this section
    source=(config ftp://ftp.kernel.org/pub/linux/kernel/v … er.tar.bz2 dvb_demux.c.patch av7110_ca.c.patch)
    # Function to grab var from src
    getvar() {
      old=$(cat Makefile | grep "^$1")
      echo $(echo ${old/"$1 ="/} | sed -e "s/[ ]*(.*)[ ]*/1/g")
      return 0
    build() {
      cd $startdir/src/linux-$pkgver
      ##### Uncomment and apply any patches here
      patch -Np1 -i ../dvb_demux.c.patch || return 1
      patch -Np1 -i ../av7110_ca.c.patch || return 1
      # get rid of the 'i' in i686
      carch=`echo $CARCH | sed 's|i||'`
      cat ../config | sed "s|#CARCH#|$carch|g" >./.config
      ##### Load config - uncomment your preferred config method
      #yes "" | make config
      #make oldconfig || return 1
      make menuconfig
      #make xconfig
      #make gconfig
      ##### NO USER CHANGES BELOW HERE #####
    The error message is the same: (only line 14 instead of line 15)
    [root@sn-client-04 kernel26-sn-client-04]# makepkg
    : command not found
    : command not found:
    '/PKGBUILD: line 14: syntax error near unexpected token `{
    '/PKGBUILD: line 14: `getvar() {
    ) does not exist.l scriptlet (kernel26.install
    I think it must be correct  Any ideas?
    Greetings
    Flasher
    P.S.: Sorry for my german-english 

  • Kernel PKGBUILD force make menuconfig (SOLVED)

    Using an ABS kernel26 to build my own kernel package, but stuck on making menuconfig!
    I have my kernel, patches, PKGBUILD, etc... all collected in a directory on my desktop (ALL SET, READY TO GO)
    So, here's what i'd like to be able to do:
    #makepkg... [[ when makepkg runs i'd like to get to a terminal and make menuconfig before the process continues ]]
    Therefore i'd like the PKGBUILD file to specify that i complete make menuconfig myself before the makepkg continues:
    Okay, got it the sources have to be available to the makepkg script in order to do a make menuconfig!
    I'll collect all this together and produce a mini howto ASAP.
    Last edited by Hongkongblue (2007-08-17 04:57:48)

    There are already various wiki pages about this. If you would like to add to them, please feel free.

  • 2 kernel PKGBUILDs in wiki?

    Hi all
    I'm thinking of trying my first custom kernel (I'm after the hdaps_protect patch), so went to the wiki, and found these:
    http://wiki.archlinux.org/index.php/Ker … n_with_ABS
    http://wiki.archlinux.org/index.php/Cus … n_with_ABS
    Both pages give a PKGBUILD but I'm not sure which one is better, indeed both pages seem to be written as though the other doesn't exist.
    So, is there one page that supersedes the other, or are the two PKGBUILDs designed for different tasks? And in that case what's the difference?
    Jack

    Here the one I linked to you
    #DO NOT CHANGE INSIDE THIS BLOCK
    pkgver=$_kerver
    if [ ! -z "$_extraver" ]; then
    _scratch="_$_extraver"
    pkgver=$pkgver$_scratch
    _extraver=`echo "-$_extraver" | sed 's|_|-|'`
    fi
    pkgdesc="$_desc - ver: $_kerver$_extraver;"
    pkgname=$_pkg_base
    if [ ! -z "$_patchset" ]; then
    pkgdesc="$pkgdesc pset: $_patchset;"
    _patchset="-$_patchset"
    pkgname="$pkgname$_patchset"
    fi
    if [ ! -z "$_cfgname" ]; then
    pkgdesc="$pkgdesc cfg: $_cfgname;"
    _cfgname="-$_cfgname"
    pkgname="$pkgname$_cfgname"
    fi
    pkgdesc="$pkgdesc bld: $pkgrel"
    _idstr="$_kerver$_extraver$_patchset$_cfgname"
    Then after md5 check you get build() {
    Where as with the other one it enters build almost straight away, but as said I'm far from sure.
    build() {
    echo "_pkg_base: $_pkg_base"
    echo "_patchset: $_patchset"
    echo "_cfgname: $_cfgname"
    echo "_kerver: $_kerver"
    echo "_extraver: $_extraver"
    echo "pkgrel: $

  • [SOLVED] Compiling kernel PKGBUILD from ABS (2.6.34)

    So I'm currently compiling a kernel from ABS, and its been running som docbook stuff for 2-3 hours now which I've never seen before when compiling a kernel with ABS.
    I commented out the line that allowed me to edit the config with make menuconfig. I tweaked the kernel to 1000hz and set up my cpu family.
    Is this normal? Im pretty sure this didnt happen when I compiled 2.6.33.4 from ABS
    This is what its been spamming for the past ~2 hours:
    Note: Writing struct_usb_host_ss_ep_comp.9
    Warn: meta author : no refentry/info/author struct usb_host_endpoint
    Note: meta author : see http://docbook.sf.net/el/author struct usb_host_endpoint
    Warn: meta author : no author data, so inserted a fixme struct usb_host_endpoint
    Note: Writing struct_usb_host_endpoint.9
    Warn: meta author : no refentry/info/author struct usb_interface
    Note: meta author : see http://docbook.sf.net/el/author struct usb_interface
    Warn: meta author : no author data, so inserted a fixme struct usb_interface
    Note: Writing struct_usb_interface.9
    Warn: meta author : no refentry/info/author struct usb_interface_cache
    Note: meta author : see http://docbook.sf.net/el/author struct usb_interface_cache
    Warn: meta author : no author data, so inserted a fixme struct usb_interface_cache
    Last edited by XAM (2010-06-29 06:19:50)

    Coacher wrote:Since 2.6.34 there is also kernel26-manpages and kernel26-docs packages that also placed in kernel26 PKGBUILD.
    I've never compiled that docs stuff for myself so cant say how long it takes, but if you need only new kernel26 package you can safely wipe out that lines from PKGBUILD.
    wow, thats good to hear. Took ages compiling with it there.

  • A PKGBUILD that allows multiple installed kernels

    Hi All,
    I've had so many people help me with so many things here at Arch, hopefully this will be useful to someone.
    What is it:
    I've got a kernel PKGBUILD file that allows me to build and install as many different kernels as desired, as long as each one has a unique $pkgver-$pkgrel setting.
    /var/abs/local/kernel-custom1/PKGBUILD:
    # $Id: PKGBUILD,v 1.17 2004/05/11 23:25:20 judd Exp $
    # Maintainer: judd <[email protected]>
    # 2004/06/30: Modified to support multiple loaded kernels -jea
    # Any kernel with a unique $pkgver-$pkgrel will not conflict with others.
    pkgver=2.6.6
    pkgrel=custom1
    # name mangling is necessary so pacman will load multiple packages
    pkgname=kernel$pkgver$pkgrel
    pkgdesc="Linux Kernel ver: $pkgver, build: $pkgrel"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    # Is this file were patches to grub/menu.lst should occur? -jea
    install=kernel26.install
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2
    config)
    # patch makepkg to use as many sums as listed, in order? -jea
    md5sums=('5218790bc3db41e77a7422969639a9ad' 'fd32e9f43e9b6060e01f71d666372518')
    build() {
    cd $startdir/src/linux-$pkgver
    # get rid of the 'i' in i686
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    yes "" | make config
    # set EXTRAVERSION to create unique /lib/modules/ subdirectories
    cat Makefile | sed "s|EXTRAVERSION =|EXTRAVERSION = -$pkgrel|" > tmpMake
    mv tmpMake Makefile
    make clean bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    # create unique names in /boot/
    cp System.map $startdir/pkg/boot/System.map-$pkgver-$pkgrel
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz-$pkgver-$pkgrel
    install -D -m644 Makefile $startdir/pkg/usr/src/linux-$pkgver/Makefile
    install -D -m644 .config $startdir/pkg/usr/src/linux-$pkgver/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig-$pkgver-$pkgrel
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/include
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-$pkgver/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    # does this "$pkgver-$pkgrel" multi-kernel strategy screw these up? -jea
    cp -a scripts $startdir/pkg/usr/src/linux-$pkgver/
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-$pkgver/arch/i386/
    cp arch/i386/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-$pkgver/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-$pkgver/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-$pkgver/$i
    done
    cd $startdir/pkg/usr/src/linux-$pkgver/include && ln -s asm-i386 asm
    cd $startdir/pkg/usr/src
    # create a unique subdirectory under /usr/src/
    mv linux-$pkgver linux-$pkgver-$pkgrel
    chown -R root.root $startdir/pkg/usr/src/linux-$pkgver-$pkgrel
    cd $startdir/pkg/lib/modules/$pkgver-$pkgrel &&
    (rm -f build; ln -sf /usr/src/linux-$pkgver-$pkgrel build)
    How it works:
    The primary thing I've usually done is wipe out my custom kernel by inadvertantly overwriting the loadable modules in the /lib/modules/$pkgver directory with a pacman -Su.
    The reason for this is that the current arch kernel build does not set the EXTRAVERSION variable in the kernel top level makefile. Therefore all kernels of the same $pkgver use the same /lib/modules/$pkgver/ subdirectory.
    The above PKGBUILD sets EXTRAVERSION to the $pkgrel variable.
    This causes the loadable module tree to be in a /lib/modules/$pkgver-$pkgrel/ directory.
    There are two other places where kernels experience file conflicts:
    /boot/
    /usr/src/
    The /boot/ files: vmlinuz, System.map and kconfig are given unique names by appending the $pkgver-$pkgrel string.
    The /usr/src/linux-$pkgver/ directory is moved to /usr/src/linux-$pkgver-$pkgrel/.
    This allows the loadable kernel, the loadable modules and the stripped source headers to be in a unique place for each different kernel. Therefore multiple kernels can be loaded concurrently and the desired one may be chosen at boot time by grub.
    The only thing a little weird about this, is the $pkgname variable. pacman will only load one version of each $pkgname, so for multiple kernels to be loaded, they each have to have a unique $pkgname. This is accomplished by appending the $pkgver and $pkgrel to the $pkgname. This is fine, except it gives a slightly weird name for the resulting kernel package file. It has the format:
    kernel$pkgver$pkgrel-$pkgver-$pkgrel.pkg.tar.gz
    That is, the $pkgver and $pkgrel appear in the package file name twice. This also shows if one issues:
    pacman -Q | grep kernel -
    Which yields for me:
    kernel2.6.6custom1 2.6.6-custom1
    kernel2.6.61 2.6.6-1
    kernel26 2.6.7-1
    This command could only have shown one package before, now it shows that I currently have installed: a custom 2.6.6 kernel, the stock arch 2.6.6 kernel built with the above PKGBUILD and the current arch kernel26 package.
    I may choose between any of these at boot time with grub. And as an added bonus, the next time I pacman -Su I won't wipe out my custom /lib/modules subdirectory 8-)
    All of this assumes the supply of your own custom config file as in the arch wiki Building the Kernel in ABS instructions.
    Idle thoughts:
    It would sure be nice if something like this could be adopted for the stock arch kernels. Unlike most other packages it is often desirable to have multiple versions of the kernel package installed at once.
    I wonder if it is practical for pacman to allow multiple versions of the same $pkgname to be installed concurrently if the $pkgname-$pkgver-$pkgrel string is unique and the different versions do not have file conflicts?
    The other major package I could see this being applied to is gcc. It would be really cool to load different cross and other configurations of gcc concurently.
    I find one of the most diifficult things needed to get a workstation running is getting all of the correct kernel modules built in. It seems that most PCs today have all the major features built in to the motherboard chipset: graphics controller, sound, usb, ethernet, etc. If it was possible to build a database of custom kernels, one for each major chipset, then one could be chosen by hardware detection at install time. This would provide the benefits of a custom kernel in an autoload fashion.
    Just dreaming...
    Conclusion:
    I'm not sure how this strategy fits in with the bigger pictiure of running pkg repositories, building dependent packages, who knows what else.
    The thing I hope to add next is automatically adding and removing entries into: /boot/grub/menu.lst when the kernel package is installed and removed. The $pkgdesc string is perfect for serving as the title line.
    Hopefully this can be useful to others, it has helped me clean up my multi-kernel mess here.
    Thanks Again for such an awesome distro...
    John E. A.
    p.s Arch Rulz!

    Thank you, I tried to set something up like this in the wiki, but never tested it and it didn't work for some users. You've tested it well?
    If so, you can copy it over to the wiki (edit or overwrite the Kernel compile with ABS wiki entry), or I can.
    Thanks again, its much appreciated.
    Dusty

  • Kernel-fglrx-custom: Please could someone check/improve my PKGBUILD

    I decided to share a script as it has been very useful to me.  I have never written a PKGBUILD before and it took some attempts to make a working one, so please could someone check the PKGBUILD over and let me know how horrible it is and what I should do differently
    https://aur.archlinux.org/packages/kern … ustom-git/
    It installs fine on my PC, but I'm pretty sure that I'm not using the PKGBUILD file properly.
    Last edited by windows_me (2013-08-27 17:18:45)

    There's a couple of things I would change:
    1) The name doesn't really tell the user what the package is for. "kernel-fglrx-legacy" would probably be more helpful.
    2) Rather than pulling a script that will then pull down the kernel package, why not use the existing kernel PKGBUILD in the ABS? You can easily modify that PKGBUILD to apply your script/patches.

  • Changing kernel name

    Whenever I compile my own kernel I do it the ABS way and use this script (seen below) which installed is named kernel26-NAME but in all actuality (like with the screenshot tool) comes up as kernel26-ARCH-NAME. Is there a way to make it like the first one? I found that option when I was choosing kernel options, but if I removed the arch the kernel wouldn't load and if I just do a straight makepkg on the pkgbuild not modified by the script, it just builds and I never get to choose option.
    #!/bin/bash
    # Author: kano <[email protected]>
    # Configuration #
    appendname="-reasons" # Name to append to kernel package
    BUILD=0 # Build package when done? No = 0; Yes = 1
    #MAKEPKGOPT="" # Uncomment if you're building after you make; Add any options you want passed to makepkg (can be nothing)
    # Work starts here; shouldn't have to edit anything below #
    mkdir kernel26${appendname}/
    cp kernel26/* kernel26${appendname}/
    regen_md5sum() {
    if [ ${file} != 'PKGBUILD' ]; then
    echo "Regenerating md5sum for ${file}"
    cat kernel26${appendname}/PKGBUILD \
    | sed "s/'`md5sum kernel26/${file} | awk '{ print $1 }'`'/'`md5sum kernel26${appendname}/${file} | awk '{ print $1 }'`'/;" \
    > PKGBUILD.tmp
    mv PKGBUILD.tmp kernel26${appendname}/PKGBUILD
    fi
    for file in "PKGBUILD" "kernel26.preset" "kernel26.install"; do
    echo "Editing ${file}"
    cat kernel26/${file} | \
    sed "s/kernel26/kernel26${appendname}/g" \
    | sed "s/vmlinuz26/vmlinuz26${appendname}/g" \
    | sed "s/kconfig26/kconfig26${appendname}/g" \
    | sed "s/System.map26/System.map26${appendname}/g" \
    > kernel26${appendname}/${file}
    # Regenerate md5sum
    regen_md5sum
    done
    for file in "config" "config.x86_64"; do
    echo "Editing ${file}"
    cat kernel26/${file} | \
    sed "s/CONFIG_LOCALVERSION=\"-ARCH\"/CONFIG_LOCALVERSION=\"-ARCH${appendname}\"/" \
    > kernel26${appendname}/${file}
    # Regenerate md5sum
    regen_md5sum
    done
    mv kernel26${appendname}/mkinitcpio-kernel26.conf kernel26${appendname}/mkinitcpio-kernel26${appendname}.conf
    mv kernel26${appendname}/kernel26.install kernel26${appendname}/kernel26${appendname}.install
    mv kernel26${appendname}/kernel26.preset kernel26${appendname}/kernel26${appendname}.preset
    # Add make menuconfig to PKGBUILD
    cat kernel26${appendname}/PKGBUILD | \
    sed 's/# load configuration/\n # configure kernel before build\n make menuconfig\n\n # load configuration/;' \
    > PKGBUILD.tmp
    mv PKGBUILD.tmp kernel26${appendname}/PKGBUILD
    echo "Custom kernel pkgbuild created."
    # To build or to not to build?
    if [ ${BUILD} -eq 1 ]; then
    cd kernel26${appendname}
    makepkg ${MAKEPKGOPT}
    fi

    I'd say you'd have to replace
    cat kernel26/${file} | \
    sed "s/CONFIG_LOCALVERSION=\"-ARCH\"/CONFIG_LOCALVERSION=\"-ARCH${appendname}\"/" \
    > kernel26${appendname}/${file}
    with either
    cat kernel26/${file} | \
    sed "s/CONFIG_LOCALVERSION=\"-ARCH\"/CONFIG_LOCALVERSION=\"${appendname}\"/" \
    > kernel26${appendname}/${file}
    or (more consice (spelling?))
    sed -i "s/CONFIG_LOCALVERSION=\"-ARCH\"/CONFIG_LOCALVERSION=\"${appendname}\"/" kernel26/${file}

  • Custom Beyond kernel

    I got the Beyond kernel pkgbuild + all necessary files from CVS
    when i compile with desactivating unused modules(I didnot touch anything in graphic section), i can't get gensplash (fbsplash) working
    the computer boot-up normally but without showing me an image...
    with the official  beyond kernel it work
    the grub setting is unmodiffied...
    .config file
    # Automatically generated make config: don't edit
    # Linux kernel version: 2.6.16-beyond
    # Sun Apr 2 14:25:04 2006
    CONFIG_X86_32=y
    CONFIG_SEMAPHORE_SLEEPERS=y
    CONFIG_X86=y
    CONFIG_MMU=y
    CONFIG_GENERIC_ISA_DMA=y
    CONFIG_GENERIC_IOMAP=y
    CONFIG_ARCH_MAY_HAVE_PC_FDC=y
    CONFIG_DMI=y
    # Code maturity level options
    CONFIG_EXPERIMENTAL=y
    CONFIG_BROKEN_ON_SMP=y
    CONFIG_LOCK_KERNEL=y
    CONFIG_INIT_ENV_ARG_LIMIT=32
    # General setup
    CONFIG_LOCALVERSION=""
    CONFIG_LOCALVERSION_AUTO=y
    CONFIG_SWAP=y
    CONFIG_SWAP_PREFETCH=y
    CONFIG_SYSVIPC=y
    CONFIG_POSIX_MQUEUE=y
    # CONFIG_BSD_PROCESS_ACCT is not set
    CONFIG_SYSCTL=y
    # CONFIG_AUDIT is not set
    CONFIG_IKCONFIG=y
    CONFIG_IKCONFIG_PROC=y
    CONFIG_INITRAMFS_SOURCE=""
    CONFIG_UID16=y
    CONFIG_VM86=y
    CONFIG_CC_OPTIMIZE_FOR_SIZE=y
    # CONFIG_EMBEDDED is not set
    CONFIG_KALLSYMS=y
    # CONFIG_KALLSYMS_EXTRA_PASS is not set
    CONFIG_HOTPLUG=y
    CONFIG_PRINTK=y
    CONFIG_BUG=y
    CONFIG_ELF_CORE=y
    CONFIG_BASE_FULL=y
    CONFIG_FUTEX=y
    CONFIG_EPOLL=y
    CONFIG_SHMEM=y
    CONFIG_CC_ALIGN_FUNCTIONS=0
    CONFIG_CC_ALIGN_LABELS=0
    CONFIG_CC_ALIGN_LOOPS=0
    CONFIG_CC_ALIGN_JUMPS=0
    CONFIG_SLAB=y
    # CONFIG_TINY_SHMEM is not set
    CONFIG_BASE_SMALL=0
    # CONFIG_SLOB is not set
    # Loadable module support
    CONFIG_MODULES=y
    CONFIG_MODULE_UNLOAD=y
    # CONFIG_MODULE_FORCE_UNLOAD is not set
    CONFIG_OBSOLETE_MODPARM=y
    # CONFIG_MODVERSIONS is not set
    # CONFIG_MODULE_SRCVERSION_ALL is not set
    CONFIG_KMOD=y
    # Block layer
    CONFIG_LBD=y
    # IO Schedulers
    CONFIG_IOSCHED_NOOP=y
    CONFIG_IOSCHED_AS=y
    CONFIG_IOSCHED_DEADLINE=y
    CONFIG_IOSCHED_CFQ=y
    # CONFIG_DEFAULT_AS is not set
    # CONFIG_DEFAULT_DEADLINE is not set
    CONFIG_DEFAULT_CFQ=y
    # CONFIG_DEFAULT_NOOP is not set
    CONFIG_DEFAULT_IOSCHED="cfq"
    # Processor type and features
    CONFIG_X86_PC=y
    # CONFIG_X86_ELAN is not set
    # CONFIG_X86_VOYAGER is not set
    # CONFIG_X86_NUMAQ is not set
    # CONFIG_X86_SUMMIT is not set
    # CONFIG_X86_BIGSMP is not set
    # CONFIG_X86_VISWS is not set
    # CONFIG_X86_GENERICARCH is not set
    # CONFIG_X86_ES7000 is not set
    # CONFIG_M386 is not set
    # CONFIG_M486 is not set
    # CONFIG_M586 is not set
    # CONFIG_M586TSC is not set
    # CONFIG_M586MMX is not set
    # CONFIG_M686 is not set
    # CONFIG_MPENTIUMII is not set
    # CONFIG_MPENTIUMIII is not set
    # CONFIG_MPENTIUMM is not set
    # CONFIG_MPENTIUM4 is not set
    # CONFIG_MK6 is not set
    # CONFIG_MK7 is not set
    CONFIG_MK8=y
    # CONFIG_MCRUSOE is not set
    # CONFIG_MEFFICEON is not set
    # CONFIG_MWINCHIPC6 is not set
    # CONFIG_MWINCHIP2 is not set
    # CONFIG_MWINCHIP3D is not set
    # CONFIG_MGEODEGX1 is not set
    # CONFIG_MGEODE_LX is not set
    # CONFIG_MCYRIXIII is not set
    # CONFIG_MVIAC3_2 is not set
    CONFIG_X86_GENERIC=y
    CONFIG_X86_CMPXCHG=y
    CONFIG_X86_XADD=y
    CONFIG_X86_L1_CACHE_SHIFT=7
    CONFIG_RWSEM_XCHGADD_ALGORITHM=y
    CONFIG_GENERIC_CALIBRATE_DELAY=y
    CONFIG_X86_WP_WORKS_OK=y
    CONFIG_X86_INVLPG=y
    CONFIG_X86_BSWAP=y
    CONFIG_X86_POPAD_OK=y
    CONFIG_X86_CMPXCHG64=y
    CONFIG_X86_GOOD_APIC=y
    CONFIG_X86_INTEL_USERCOPY=y
    CONFIG_X86_USE_PPRO_CHECKSUM=y
    CONFIG_X86_TSC=y
    CONFIG_HPET_TIMER=y
    CONFIG_HPET_EMULATE_RTC=y
    # CONFIG_SMP is not set
    # CONFIG_PREEMPT_NONE is not set
    # CONFIG_PREEMPT_VOLUNTARY is not set
    CONFIG_PREEMPT=y
    CONFIG_PREEMPT_BKL=y
    # CONFIG_X86_UP_APIC is not set
    CONFIG_X86_MCE=y
    CONFIG_X86_MCE_NONFATAL=y
    # CONFIG_TOSHIBA is not set
    # CONFIG_I8K is not set
    CONFIG_X86_REBOOTFIXUPS=y
    # CONFIG_MICROCODE is not set
    CONFIG_X86_MSR=y
    CONFIG_X86_CPUID=y
    # Firmware Drivers
    # CONFIG_EDD is not set
    # CONFIG_DELL_RBU is not set
    # CONFIG_DCDBAS is not set
    # CONFIG_NOHIGHMEM is not set
    CONFIG_HIGHMEM4G=y
    # CONFIG_HIGHMEM64G is not set
    CONFIG_VMSPLIT_3G=y
    # CONFIG_VMSPLIT_3G_OPT is not set
    # CONFIG_VMSPLIT_2G is not set
    # CONFIG_VMSPLIT_1G is not set
    CONFIG_PAGE_OFFSET=0xC0000000
    CONFIG_HIGHMEM=y
    CONFIG_ARCH_FLATMEM_ENABLE=y
    CONFIG_ARCH_SPARSEMEM_ENABLE=y
    CONFIG_ARCH_SELECT_MEMORY_MODEL=y
    CONFIG_SELECT_MEMORY_MODEL=y
    CONFIG_FLATMEM_MANUAL=y
    # CONFIG_DISCONTIGMEM_MANUAL is not set
    # CONFIG_SPARSEMEM_MANUAL is not set
    CONFIG_FLATMEM=y
    CONFIG_FLAT_NODE_MEM_MAP=y
    CONFIG_SPARSEMEM_STATIC=y
    CONFIG_SPLIT_PTLOCK_CPUS=4
    # CONFIG_ADAPTIVE_READAHEAD is not set
    # CONFIG_HIGHPTE is not set
    # CONFIG_MATH_EMULATION is not set
    CONFIG_MTRR=y
    # CONFIG_EFI is not set
    # CONFIG_REGPARM is not set
    CONFIG_SECCOMP=y
    # CONFIG_HZ_100 is not set
    # CONFIG_HZ_250_NODEFAULT is not set
    CONFIG_HZ_1000=y
    CONFIG_HZ=1000
    # CONFIG_KEXEC is not set
    # CONFIG_CRASH_DUMP is not set
    CONFIG_PHYSICAL_START=0x100000
    CONFIG_DOUBLEFAULT=y
    # Power management options (ACPI, APM)
    CONFIG_PM=y
    CONFIG_PM_LEGACY=y
    # CONFIG_PM_DEBUG is not set
    # CONFIG_SOFTWARE_SUSPEND is not set
    CONFIG_SUSPEND2_CRYPTO=y
    CONFIG_SUSPEND2=y
    # Image Storage (you need at least one writer)
    CONFIG_SUSPEND2_FILEWRITER=y
    CONFIG_SUSPEND2_SWAPWRITER=y
    # General Options
    CONFIG_SUSPEND2_DEFAULT_RESUME2=""
    # CONFIG_SUSPEND2_KEEP_IMAGE is not set
    # ACPI (Advanced Configuration and Power Interface) Support
    CONFIG_ACPI=y
    CONFIG_ACPI_SLEEP=y
    CONFIG_ACPI_SLEEP_PROC_FS=y
    # CONFIG_ACPI_SLEEP_PROC_SLEEP is not set
    CONFIG_ACPI_AC=y
    CONFIG_ACPI_BATTERY=y
    CONFIG_ACPI_BUTTON=y
    CONFIG_ACPI_VIDEO=y
    CONFIG_ACPI_HOTKEY=y
    CONFIG_ACPI_FAN=y
    CONFIG_ACPI_PROCESSOR=y
    CONFIG_ACPI_THERMAL=y
    # CONFIG_ACPI_ASUS is not set
    # CONFIG_ACPI_IBM is not set
    # CONFIG_ACPI_TOSHIBA is not set
    CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
    CONFIG_ACPI_BLACKLIST_YEAR=0
    # CONFIG_ACPI_DEBUG is not set
    CONFIG_ACPI_EC=y
    CONFIG_ACPI_POWER=y
    CONFIG_ACPI_SYSTEM=y
    CONFIG_X86_PM_TIMER=y
    CONFIG_ACPI_CONTAINER=y
    # APM (Advanced Power Management) BIOS Support
    CONFIG_APM=y
    # CONFIG_APM_IGNORE_USER_SUSPEND is not set
    CONFIG_APM_DO_ENABLE=y
    # CONFIG_APM_CPU_IDLE is not set
    # CONFIG_APM_DISPLAY_BLANK is not set
    # CONFIG_APM_RTC_IS_GMT is not set
    # CONFIG_APM_ALLOW_INTS is not set
    # CONFIG_APM_REAL_MODE_POWER_OFF is not set
    # CPU Frequency scaling
    # CONFIG_CPU_FREQ is not set
    # Bus options (PCI, PCMCIA, EISA, MCA, ISA)
    CONFIG_PCI=y
    # CONFIG_PCI_GOBIOS is not set
    # CONFIG_PCI_GOMMCONFIG is not set
    # CONFIG_PCI_GODIRECT is not set
    CONFIG_PCI_GOANY=y
    CONFIG_PCI_BIOS=y
    CONFIG_PCI_DIRECT=y
    CONFIG_PCI_MMCONFIG=y
    CONFIG_PCIEPORTBUS=y
    CONFIG_ISA_DMA_API=y
    CONFIG_ISA=y
    # CONFIG_EISA is not set
    # CONFIG_MCA is not set
    # CONFIG_SCx200 is not set
    # PCCARD (PCMCIA/CardBus) support
    # CONFIG_PCCARD is not set
    # PCI Hotplug Support
    # CONFIG_HOTPLUG_PCI is not set
    # Executable file formats
    CONFIG_BINFMT_ELF=y
    CONFIG_BINFMT_AOUT=y
    CONFIG_BINFMT_MISC=y
    # Networking
    CONFIG_NET=y
    # Networking options
    # CONFIG_NETDEBUG is not set
    CONFIG_PACKET=y
    CONFIG_PACKET_MMAP=y
    CONFIG_UNIX=y
    CONFIG_XFRM=y
    CONFIG_XFRM_USER=y
    CONFIG_NET_KEY=y
    CONFIG_INET=y
    CONFIG_IP_MULTICAST=y
    # CONFIG_IP_ADVANCED_ROUTER is not set
    CONFIG_IP_FIB_HASH=y
    # CONFIG_IP_PNP is not set
    CONFIG_NET_IPIP=y
    CONFIG_NET_IPGRE=y
    # CONFIG_NET_IPGRE_BROADCAST is not set
    # CONFIG_IP_MROUTE is not set
    # CONFIG_ARPD is not set
    CONFIG_SYN_COOKIES=y
    CONFIG_INET_AH=y
    CONFIG_INET_ESP=y
    CONFIG_INET_IPCOMP=y
    CONFIG_INET_TUNNEL=y
    CONFIG_INET_DIAG=y
    CONFIG_INET_TCP_DIAG=y
    # CONFIG_TCP_CONG_ADVANCED is not set
    CONFIG_TCP_CONG_BIC=y
    # IP: Virtual Server Configuration
    # CONFIG_IP_VS is not set
    CONFIG_IPV6=y
    CONFIG_IPV6_PRIVACY=y
    CONFIG_INET6_AH=y
    CONFIG_INET6_ESP=y
    CONFIG_INET6_IPCOMP=y
    CONFIG_INET6_TUNNEL=y
    CONFIG_IPV6_TUNNEL=y
    CONFIG_NETFILTER=y
    # CONFIG_NETFILTER_DEBUG is not set
    # Core Netfilter Configuration
    # CONFIG_NETFILTER_NETLINK is not set
    # CONFIG_NETFILTER_XTABLES is not set
    # IP: Netfilter Configuration
    CONFIG_IP_NF_CONNTRACK=y
    # CONFIG_IP_NF_CT_ACCT is not set
    # CONFIG_IP_NF_CONNTRACK_MARK is not set
    # CONFIG_IP_NF_CONNTRACK_EVENTS is not set
    # CONFIG_IP_NF_CT_PROTO_SCTP is not set
    CONFIG_IP_NF_FTP=y
    CONFIG_IP_NF_IRC=y
    # CONFIG_IP_NF_NETBIOS_NS is not set
    CONFIG_IP_NF_TFTP=y
    CONFIG_IP_NF_AMANDA=y
    # CONFIG_IP_NF_PPTP is not set
    # CONFIG_IP_NF_QUEUE is not set
    # IPv6: Netfilter Configuration (EXPERIMENTAL)
    # CONFIG_IP6_NF_QUEUE is not set
    # DCCP Configuration (EXPERIMENTAL)
    # CONFIG_IP_DCCP is not set
    # SCTP Configuration (EXPERIMENTAL)
    # CONFIG_IP_SCTP is not set
    # TIPC Configuration (EXPERIMENTAL)
    # CONFIG_TIPC is not set
    CONFIG_ATM=y
    CONFIG_ATM_CLIP=y
    # CONFIG_ATM_CLIP_NO_ICMP is not set
    CONFIG_ATM_LANE=y
    CONFIG_ATM_MPOA=y
    CONFIG_ATM_BR2684=y
    # CONFIG_ATM_BR2684_IPFILTER is not set
    # CONFIG_BRIDGE is not set
    # CONFIG_VLAN_8021Q is not set
    # CONFIG_DECNET is not set
    # CONFIG_LLC2 is not set
    # CONFIG_IPX is not set
    # CONFIG_ATALK is not set
    # CONFIG_X25 is not set
    # CONFIG_LAPB is not set
    # CONFIG_NET_DIVERT is not set
    # CONFIG_ECONET is not set
    # CONFIG_WAN_ROUTER is not set
    # QoS and/or fair queueing
    CONFIG_NET_SCHED=y
    CONFIG_NET_SCH_CLK_JIFFIES=y
    # CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set
    # CONFIG_NET_SCH_CLK_CPU is not set
    # Queueing/Scheduling
    CONFIG_NET_SCH_CBQ=y
    CONFIG_NET_SCH_HTB=y
    CONFIG_NET_SCH_HFSC=y
    # CONFIG_NET_SCH_ATM is not set
    CONFIG_NET_SCH_PRIO=y
    CONFIG_NET_SCH_RED=y
    CONFIG_NET_SCH_SFQ=y
    CONFIG_NET_SCH_TEQL=y
    CONFIG_NET_SCH_TBF=y
    CONFIG_NET_SCH_GRED=y
    CONFIG_NET_SCH_DSMARK=y
    CONFIG_NET_SCH_NETEM=y
    CONFIG_NET_SCH_INGRESS=y
    # Classification
    CONFIG_NET_CLS=y
    # CONFIG_NET_CLS_BASIC is not set
    CONFIG_NET_CLS_TCINDEX=y
    CONFIG_NET_CLS_ROUTE4=y
    CONFIG_NET_CLS_ROUTE=y
    CONFIG_NET_CLS_FW=y
    CONFIG_NET_CLS_U32=y
    # CONFIG_CLS_U32_PERF is not set
    # CONFIG_CLS_U32_MARK is not set
    CONFIG_NET_CLS_RSVP=y
    CONFIG_NET_CLS_RSVP6=y
    # CONFIG_NET_EMATCH is not set
    # CONFIG_NET_CLS_ACT is not set
    CONFIG_NET_CLS_POLICE=y
    # CONFIG_NET_CLS_IND is not set
    CONFIG_NET_ESTIMATOR=y
    # Network testing
    # CONFIG_NET_PKTGEN is not set
    # CONFIG_HAMRADIO is not set
    # CONFIG_IRDA is not set
    # CONFIG_BT is not set
    CONFIG_IEEE80211=y
    # CONFIG_IEEE80211_DEBUG is not set
    CONFIG_IEEE80211_CRYPT_WEP=y
    CONFIG_IEEE80211_CRYPT_CCMP=y
    # Device Drivers
    # Generic Driver Options
    CONFIG_STANDALONE=y
    CONFIG_PREVENT_FIRMWARE_BUILD=y
    CONFIG_FW_LOADER=y
    # Connector - unified userspace <-> kernelspace linker
    # CONFIG_CONNECTOR is not set
    # Memory Technology Devices (MTD)
    # CONFIG_MTD is not set
    # Parallel port support
    CONFIG_PARPORT=y
    CONFIG_PARPORT_PC=y
    CONFIG_PARPORT_SERIAL=y
    # CONFIG_PARPORT_PC_FIFO is not set
    # CONFIG_PARPORT_PC_SUPERIO is not set
    # CONFIG_PARPORT_GSC is not set
    CONFIG_PARPORT_1284=y
    # Plug and Play support
    CONFIG_PNP=y
    # CONFIG_PNP_DEBUG is not set
    # Protocols
    CONFIG_ISAPNP=y
    # CONFIG_PNPBIOS is not set
    CONFIG_PNPACPI=y
    # Block devices
    CONFIG_BLK_DEV_FD=y
    # CONFIG_BLK_DEV_XD is not set
    # CONFIG_PARIDE is not set
    # CONFIG_BLK_CPQ_DA is not set
    # CONFIG_BLK_CPQ_CISS_DA is not set
    # CONFIG_BLK_DEV_DAC960 is not set
    # CONFIG_BLK_DEV_UMEM is not set
    # CONFIG_BLK_DEV_COW_COMMON is not set
    CONFIG_BLK_DEV_LOOP=y
    CONFIG_BLK_DEV_CRYPTOLOOP=y
    CONFIG_BLK_DEV_NBD=y
    CONFIG_BLK_DEV_SX8=y
    # CONFIG_BLK_DEV_UB is not set
    CONFIG_BLK_DEV_RAM=y
    CONFIG_BLK_DEV_RAM_COUNT=16
    CONFIG_BLK_DEV_RAM_SIZE=16384
    CONFIG_BLK_DEV_INITRD=y
    CONFIG_CDROM_PKTCDVD=y
    CONFIG_CDROM_PKTCDVD_BUFFERS=8
    # CONFIG_CDROM_PKTCDVD_WCACHE is not set
    # CONFIG_ATA_OVER_ETH is not set
    # ATA/ATAPI/MFM/RLL support
    CONFIG_IDE=y
    CONFIG_BLK_DEV_IDE=y
    # Please see Documentation/ide.txt for help/info on IDE drives
    # CONFIG_BLK_DEV_IDE_SATA is not set
    # CONFIG_BLK_DEV_HD_IDE is not set
    CONFIG_BLK_DEV_IDEDISK=y
    CONFIG_IDEDISK_MULTI_MODE=y
    CONFIG_BLK_DEV_IDECD=y
    CONFIG_BLK_DEV_IDETAPE=y
    CONFIG_BLK_DEV_IDEFLOPPY=y
    CONFIG_BLK_DEV_IDESCSI=y
    # CONFIG_IDE_TASK_IOCTL is not set
    # IDE chipset support/bugfixes
    CONFIG_IDE_GENERIC=y
    CONFIG_BLK_DEV_CMD640=y
    # CONFIG_BLK_DEV_CMD640_ENHANCED is not set
    # CONFIG_BLK_DEV_IDEPNP is not set
    CONFIG_BLK_DEV_IDEPCI=y
    CONFIG_IDEPCI_SHARE_IRQ=y
    # CONFIG_BLK_DEV_OFFBOARD is not set
    CONFIG_BLK_DEV_GENERIC=y
    # CONFIG_BLK_DEV_OPTI621 is not set
    # CONFIG_BLK_DEV_RZ1000 is not set
    CONFIG_BLK_DEV_IDEDMA_PCI=y
    # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
    CONFIG_IDEDMA_PCI_AUTO=y
    # CONFIG_IDEDMA_ONLYDISK is not set
    # CONFIG_BLK_DEV_AEC62XX is not set
    # CONFIG_BLK_DEV_ALI15X3 is not set
    CONFIG_BLK_DEV_AMD74XX=y
    # CONFIG_BLK_DEV_ATIIXP is not set
    # CONFIG_BLK_DEV_CMD64X is not set
    # CONFIG_BLK_DEV_TRIFLEX is not set
    # CONFIG_BLK_DEV_CY82C693 is not set
    # CONFIG_BLK_DEV_CS5520 is not set
    # CONFIG_BLK_DEV_CS5530 is not set
    # CONFIG_BLK_DEV_CS5535 is not set
    # CONFIG_BLK_DEV_HPT34X is not set
    # CONFIG_BLK_DEV_HPT366 is not set
    # CONFIG_BLK_DEV_SC1200 is not set
    # CONFIG_BLK_DEV_PIIX is not set
    # CONFIG_BLK_DEV_IT821X is not set
    # CONFIG_BLK_DEV_NS87415 is not set
    # CONFIG_BLK_DEV_PDC202XX_OLD is not set
    # CONFIG_BLK_DEV_PDC202XX_NEW is not set
    # CONFIG_BLK_DEV_SVWKS is not set
    CONFIG_BLK_DEV_SIIMAGE=y
    # CONFIG_BLK_DEV_SIS5513 is not set
    # CONFIG_BLK_DEV_SLC90E66 is not set
    # CONFIG_BLK_DEV_TRM290 is not set
    CONFIG_BLK_DEV_VIA82CXXX=y
    # CONFIG_IDE_ARM is not set
    # CONFIG_IDE_CHIPSETS is not set
    CONFIG_BLK_DEV_IDEDMA=y
    # CONFIG_IDEDMA_IVB is not set
    CONFIG_IDEDMA_AUTO=y
    # CONFIG_BLK_DEV_HD is not set
    # SCSI device support
    # CONFIG_RAID_ATTRS is not set
    CONFIG_SCSI=y
    CONFIG_SCSI_PROC_FS=y
    # SCSI support type (disk, tape, CD-ROM)
    CONFIG_BLK_DEV_SD=y
    CONFIG_CHR_DEV_ST=y
    # CONFIG_CHR_DEV_OSST is not set
    CONFIG_BLK_DEV_SR=y
    CONFIG_BLK_DEV_SR_VENDOR=y
    CONFIG_CHR_DEV_SG=y
    # CONFIG_CHR_DEV_SCH is not set
    # Some SCSI devices (e.g. CD jukebox) support multiple LUNs
    CONFIG_SCSI_MULTI_LUN=y
    # CONFIG_SCSI_CONSTANTS is not set
    # CONFIG_SCSI_LOGGING is not set
    # SCSI Transport Attributes
    CONFIG_SCSI_SPI_ATTRS=y
    CONFIG_SCSI_FC_ATTRS=y
    CONFIG_SCSI_ISCSI_ATTRS=y
    CONFIG_SCSI_SAS_ATTRS=y
    # SCSI low-level drivers
    # CONFIG_ISCSI_TCP is not set
    # CONFIG_BLK_DEV_3W_XXXX_RAID is not set
    # CONFIG_SCSI_3W_9XXX is not set
    # CONFIG_SCSI_7000FASST is not set
    # CONFIG_SCSI_ACARD is not set
    # CONFIG_SCSI_AHA152X is not set
    # CONFIG_SCSI_AHA1542 is not set
    # CONFIG_SCSI_AACRAID is not set
    # CONFIG_SCSI_AIC7XXX is not set
    # CONFIG_SCSI_AIC7XXX_OLD is not set
    # CONFIG_SCSI_AIC79XX is not set
    # CONFIG_SCSI_DPT_I2O is not set
    # CONFIG_SCSI_IN2000 is not set
    # CONFIG_MEGARAID_NEWGEN is not set
    # CONFIG_MEGARAID_LEGACY is not set
    # CONFIG_MEGARAID_SAS is not set
    CONFIG_SCSI_SATA=y
    CONFIG_SCSI_SATA_AHCI=y
    # CONFIG_SCSI_SATA_SVW is not set
    # CONFIG_SCSI_ATA_PIIX is not set
    CONFIG_SCSI_SATA_MV=y
    CONFIG_SCSI_SATA_NV=y
    # CONFIG_SCSI_PDC_ADMA is not set
    # CONFIG_SCSI_SATA_QSTOR is not set
    # CONFIG_SCSI_SATA_PROMISE is not set
    # CONFIG_SCSI_SATA_SX4 is not set
    CONFIG_SCSI_SATA_SIL=y
    CONFIG_SCSI_SATA_SIL24=y
    # CONFIG_SCSI_SATA_SIS is not set
    # CONFIG_SCSI_SATA_ULI is not set
    CONFIG_SCSI_SATA_VIA=y
    # CONFIG_SCSI_SATA_VITESSE is not set
    CONFIG_SCSI_SATA_INTEL_COMBINED=y
    CONFIG_SCSI_SATA_ACPI=y
    # CONFIG_SCSI_PATA_ALI is not set
    CONFIG_SCSI_PATA_AMD=y
    # CONFIG_SCSI_PATA_ARTOP is not set
    # CONFIG_SCSI_PATA_ATIIXP is not set
    # CONFIG_SCSI_PATA_CMD64X is not set
    # CONFIG_SCSI_PATA_CS5520 is not set
    # CONFIG_SCSI_PATA_CS5530 is not set
    # CONFIG_SCSI_PATA_CS5535 is not set
    # CONFIG_SCSI_PATA_CYPRESS is not set
    # CONFIG_SCSI_PATA_EFAR is not set
    # CONFIG_SCSI_ATA_GENERIC is not set
    # CONFIG_SCSI_PATA_HPT37X is not set
    # CONFIG_SCSI_PATA_HPT3X2N is not set
    # CONFIG_SCSI_PATA_HPT3X3 is not set
    # CONFIG_SCSI_PATA_ISAPNP is not set
    # CONFIG_SCSI_PATA_IT8172 is not set
    # CONFIG_SCSI_PATA_IT821X is not set
    # CONFIG_SCSI_PATA_LEGACY is not set
    # CONFIG_SCSI_PATA_MPIIX is not set
    # CONFIG_SCSI_PATA_NETCELL is not set
    # CONFIG_SCSI_PATA_NS87410 is not set
    # CONFIG_SCSI_PATA_OLDPIIX is not set
    # CONFIG_SCSI_PATA_OPTI is not set
    # CONFIG_SCSI_PATA_PDC_OLD is not set
    # CONFIG_SCSI_PATA_QDI is not set
    # CONFIG_SCSI_PATA_RADISYS is not set
    # CONFIG_SCSI_PATA_RZ1000 is not set
    # CONFIG_SCSI_PATA_SC1200 is not set
    # CONFIG_SCSI_PATA_SERVERWORKS is not set
    # CONFIG_SCSI_PATA_SIL680 is not set
    # CONFIG_SCSI_PATA_SIS is not set
    # CONFIG_SCSI_PATA_TRIFLEX is not set
    # CONFIG_SCSI_PATA_VIA is not set
    # CONFIG_SCSI_PATA_WINBOND is not set
    CONFIG_SCSI_BUSLOGIC=y
    CONFIG_SCSI_OMIT_FLASHPOINT=y
    # CONFIG_SCSI_DMX3191D is not set
    # CONFIG_SCSI_DTC3280 is not set
    CONFIG_SCSI_EATA=y
    # CONFIG_SCSI_EATA_TAGGED_QUEUE is not set
    # CONFIG_SCSI_EATA_LINKED_COMMANDS is not set
    CONFIG_SCSI_EATA_MAX_TAGS=16
    # CONFIG_SCSI_FUTURE_DOMAIN is not set
    # CONFIG_SCSI_GDTH is not set
    # CONFIG_SCSI_GENERIC_NCR5380 is not set
    # CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
    # CONFIG_SCSI_IPS is not set
    # CONFIG_SCSI_INITIO is not set
    # CONFIG_SCSI_INIA100 is not set
    # CONFIG_SCSI_PPA is not set
    # CONFIG_SCSI_IMM is not set
    # CONFIG_SCSI_NCR53C406A is not set
    # CONFIG_SCSI_SYM53C8XX_2 is not set
    # CONFIG_SCSI_IPR is not set
    # CONFIG_SCSI_PAS16 is not set
    # CONFIG_SCSI_PSI240I is not set
    # CONFIG_SCSI_QLOGIC_FAS is not set
    # CONFIG_SCSI_QLOGIC_FC is not set
    # CONFIG_SCSI_QLOGIC_1280 is not set
    # CONFIG_SCSI_QLA_FC is not set
    # CONFIG_SCSI_LPFC is not set
    # CONFIG_SCSI_SYM53C416 is not set
    # CONFIG_SCSI_DC395x is not set
    # CONFIG_SCSI_DC390T is not set
    # CONFIG_SCSI_T128 is not set
    # CONFIG_SCSI_U14_34F is not set
    # CONFIG_SCSI_ULTRASTOR is not set
    # CONFIG_SCSI_NSP32 is not set
    # CONFIG_SCSI_DEBUG is not set
    # Old CD-ROM drivers (not SCSI, not IDE)
    # CONFIG_CD_NO_IDESCSI is not set
    # Multi-device support (RAID and LVM)
    # CONFIG_MD is not set
    # Fusion MPT device support
    # CONFIG_FUSION is not set
    # CONFIG_FUSION_SPI is not set
    # CONFIG_FUSION_FC is not set
    # CONFIG_FUSION_SAS is not set
    # IEEE 1394 (FireWire) support
    CONFIG_IEEE1394=y
    # Subsystem Options
    # CONFIG_IEEE1394_VERBOSEDEBUG is not set
    # CONFIG_IEEE1394_OUI_DB is not set
    CONFIG_IEEE1394_EXTRA_CONFIG_ROMS=y
    CONFIG_IEEE1394_CONFIG_ROM_IP1394=y
    # CONFIG_IEEE1394_EXPORT_FULL_API is not set
    # Device Drivers
    # Texas Instruments PCILynx requires I2C
    CONFIG_IEEE1394_OHCI1394=y
    # Protocol Drivers
    CONFIG_IEEE1394_VIDEO1394=y
    CONFIG_IEEE1394_SBP2=y
    # CONFIG_IEEE1394_SBP2_PHYS_DMA is not set
    # CONFIG_IEEE1394_ETH1394 is not set
    CONFIG_IEEE1394_DV1394=y
    CONFIG_IEEE1394_RAWIO=y
    # I2O device support
    # CONFIG_I2O is not set
    # Network device support
    CONFIG_NETDEVICES=y
    CONFIG_DUMMY=y
    # CONFIG_BONDING is not set
    # CONFIG_EQUALIZER is not set
    CONFIG_TUN=y
    # CONFIG_NET_SB1000 is not set
    # ARCnet devices
    # CONFIG_ARCNET is not set
    # PHY device support
    # CONFIG_PHYLIB is not set
    # Ethernet (10 or 100Mbit)
    CONFIG_NET_ETHERNET=y
    CONFIG_MII=y
    # CONFIG_HAPPYMEAL is not set
    # CONFIG_SUNGEM is not set
    # CONFIG_CASSINI is not set
    # CONFIG_NET_VENDOR_3COM is not set
    # CONFIG_LANCE is not set
    # CONFIG_NET_VENDOR_SMC is not set
    # CONFIG_NET_VENDOR_RACAL is not set
    # Tulip family network device support
    # CONFIG_NET_TULIP is not set
    # CONFIG_AT1700 is not set
    # CONFIG_DEPCA is not set
    # CONFIG_HP100 is not set
    # CONFIG_NET_ISA is not set
    CONFIG_NET_PCI=y
    CONFIG_PCNET32=y
    # CONFIG_AMD8111_ETH is not set
    # CONFIG_ADAPTEC_STARFIRE is not set
    # CONFIG_AC3200 is not set
    # CONFIG_APRICOT is not set
    # CONFIG_B44 is not set
    CONFIG_FORCEDETH=y
    # CONFIG_CS89x0 is not set
    # CONFIG_DGRS is not set
    # CONFIG_EEPRO100 is not set
    # CONFIG_E100 is not set
    # CONFIG_FEALNX is not set
    # CONFIG_NATSEMI is not set
    # CONFIG_NE2K_PCI is not set
    # CONFIG_8139CP is not set
    # CONFIG_8139TOO is not set
    # CONFIG_SIS900 is not set
    # CONFIG_EPIC100 is not set
    # CONFIG_SUNDANCE is not set
    # CONFIG_TLAN is not set
    # CONFIG_VIA_RHINE is not set
    # CONFIG_NET_POCKET is not set
    # Ethernet (1000 Mbit)
    # CONFIG_ACENIC is not set
    # CONFIG_DL2K is not set
    # CONFIG_E1000 is not set
    # CONFIG_NS83820 is not set
    # CONFIG_HAMACHI is not set
    # CONFIG_YELLOWFIN is not set
    # CONFIG_R8169 is not set
    # CONFIG_SIS190 is not set
    # CONFIG_SKGE is not set
    # CONFIG_SKY2 is not set
    # CONFIG_SK98LIN is not set
    CONFIG_VIA_VELOCITY=m
    # CONFIG_TIGON3 is not set
    # CONFIG_BNX2 is not set
    # Ethernet (10000 Mbit)
    # CONFIG_CHELSIO_T1 is not set
    # CONFIG_IXGB is not set
    # CONFIG_S2IO is not set
    # Token Ring devices
    # CONFIG_TR is not set
    # Wireless LAN (non-hamradio)
    # CONFIG_NET_RADIO is not set
    # Wan interfaces
    # CONFIG_WAN is not set
    # ATM drivers
    # CONFIG_ATM_DUMMY is not set
    # CONFIG_ATM_TCP is not set
    # CONFIG_ATM_LANAI is not set
    # CONFIG_ATM_ENI is not set
    # CONFIG_ATM_FIRESTREAM is not set
    # CONFIG_ATM_ZATM is not set
    # CONFIG_ATM_NICSTAR is not set
    # CONFIG_ATM_IDT77252 is not set
    # CONFIG_ATM_AMBASSADOR is not set
    # CONFIG_ATM_HORIZON is not set
    # CONFIG_ATM_IA is not set
    # CONFIG_ATM_FORE200E_MAYBE is not set
    # CONFIG_ATM_HE is not set
    # CONFIG_FDDI is not set
    # CONFIG_HIPPI is not set
    # CONFIG_PLIP is not set
    # CONFIG_PPP is not set
    # CONFIG_SLIP is not set
    # CONFIG_NET_FC is not set
    CONFIG_SHAPER=y
    CONFIG_NETCONSOLE=y
    CONFIG_NETPOLL=y
    # CONFIG_NETPOLL_RX is not set
    # CONFIG_NETPOLL_TRAP is not set
    CONFIG_NET_POLL_CONTROLLER=y
    # ISDN subsystem
    # CONFIG_ISDN is not set
    # Telephony Support
    # CONFIG_PHONE is not set
    # Input device support
    CONFIG_INPUT=y
    # Userland interfaces
    CONFIG_INPUT_MOUSEDEV=y
    CONFIG_INPUT_MOUSEDEV_PSAUX=y
    CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
    CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
    # CONFIG_INPUT_JOYDEV is not set
    # CONFIG_INPUT_TSDEV is not set
    CONFIG_INPUT_EVDEV=y
    # CONFIG_INPUT_EVBUG is not set
    # Input Device Drivers
    CONFIG_INPUT_KEYBOARD=y
    CONFIG_KEYBOARD_ATKBD=y
    # CONFIG_KEYBOARD_SUNKBD is not set
    # CONFIG_KEYBOARD_LKKBD is not set
    # CONFIG_KEYBOARD_XTKBD is not set
    # CONFIG_KEYBOARD_NEWTON is not set
    CONFIG_INPUT_MOUSE=y
    CONFIG_MOUSE_PS2=y
    # CONFIG_MOUSE_SERIAL is not set
    # CONFIG_MOUSE_INPORT is not set
    # CONFIG_MOUSE_LOGIBM is not set
    # CONFIG_MOUSE_PC110PAD is not set
    # CONFIG_MOUSE_VSXXXAA is not set
    # CONFIG_INPUT_JOYSTICK is not set
    # CONFIG_INPUT_TOUCHSCREEN is not set
    # CONFIG_INPUT_MISC is not set
    # Hardware I/O ports
    CONFIG_SERIO=y
    CONFIG_SERIO_I8042=y
    CONFIG_SERIO_SERPORT=m
    CONFIG_SERIO_CT82C710=m
    CONFIG_SERIO_PARKBD=m
    CONFIG_SERIO_PCIPS2=m
    CONFIG_SERIO_LIBPS2=y
    CONFIG_SERIO_RAW=m
    CONFIG_GAMEPORT=m
    CONFIG_GAMEPORT_NS558=m
    CONFIG_GAMEPORT_L4=m
    CONFIG_GAMEPORT_EMU10K1=m
    CONFIG_GAMEPORT_FM801=m
    # Character devices
    CONFIG_VT=y
    CONFIG_VT_CONSOLE=y
    CONFIG_HW_CONSOLE=y
    CONFIG_SERIAL_NONSTANDARD=y
    # CONFIG_COMPUTONE is not set
    # CONFIG_ROCKETPORT is not set
    # CONFIG_CYCLADES is not set
    # CONFIG_DIGIEPCA is not set
    # CONFIG_ESPSERIAL is not set
    # CONFIG_MOXA_INTELLIO is not set
    # CONFIG_MOXA_SMARTIO is not set
    # CONFIG_ISI is not set
    # CONFIG_SYNCLINK is not set
    # CONFIG_SYNCLINKMP is not set
    # CONFIG_SYNCLINK_GT is not set
    # CONFIG_N_HDLC is not set
    # CONFIG_RISCOM8 is not set
    # CONFIG_SPECIALIX is not set
    # CONFIG_SX is not set
    # CONFIG_RIO is not set
    # CONFIG_STALDRV is not set
    # Serial drivers
    CONFIG_SERIAL_8250=y
    CONFIG_SERIAL_8250_CONSOLE=y
    # CONFIG_SERIAL_8250_ACPI is not set
    CONFIG_SERIAL_8250_NR_UARTS=4
    CONFIG_SERIAL_8250_RUNTIME_UARTS=4
    # CONFIG_SERIAL_8250_EXTENDED is not set
    # Non-8250 serial port support
    CONFIG_SERIAL_CORE=y
    CONFIG_SERIAL_CORE_CONSOLE=y
    # CONFIG_SERIAL_JSM is not set
    CONFIG_UNIX98_PTYS=y
    CONFIG_LEGACY_PTYS=y
    CONFIG_LEGACY_PTY_COUNT=256
    CONFIG_PRINTER=y
    # CONFIG_LP_CONSOLE is not set
    CONFIG_PPDEV=y
    # CONFIG_TIPAR is not set
    # IPMI
    # CONFIG_IPMI_HANDLER is not set
    # Watchdog Cards
    # CONFIG_WATCHDOG is not set
    CONFIG_HW_RANDOM=y
    CONFIG_NVRAM=y
    CONFIG_RTC=y
    # CONFIG_DTLK is not set
    # CONFIG_R3964 is not set
    # CONFIG_APPLICOM is not set
    # CONFIG_SONYPI is not set
    # Ftape, the floppy tape device driver
    # CONFIG_FTAPE is not set
    # CONFIG_AGP is not set
    # CONFIG_DRM is not set
    # CONFIG_MWAVE is not set
    # CONFIG_CS5535_GPIO is not set
    # CONFIG_RAW_DRIVER is not set
    # CONFIG_HPET is not set
    # CONFIG_HANGCHECK_TIMER is not set
    # TPM devices
    # CONFIG_TCG_TPM is not set
    # CONFIG_TELCLOCK is not set
    # I2C support
    # CONFIG_I2C is not set
    # SPI support
    # CONFIG_SPI is not set
    # CONFIG_SPI_MASTER is not set
    # Dallas's 1-wire bus
    # CONFIG_W1 is not set
    # Hardware Monitoring support
    CONFIG_HWMON=y
    # CONFIG_HWMON_VID is not set
    CONFIG_SENSORS_F71805F=m
    CONFIG_SENSORS_HDAPS=m
    # CONFIG_HWMON_DEBUG_CHIP is not set
    # Misc devices
    # CONFIG_IBM_ASM is not set
    # Multimedia Capabilities Port drivers
    # Multimedia devices
    CONFIG_VIDEO_DEV=y
    # Video For Linux
    # Video Adapters
    # CONFIG_VIDEO_ADV_DEBUG is not set
    # CONFIG_VIDEO_PMS is not set
    # CONFIG_VIDEO_BWQCAM is not set
    # CONFIG_VIDEO_CQCAM is not set
    # CONFIG_VIDEO_W9966 is not set
    # CONFIG_VIDEO_CPIA is not set
    # CONFIG_VIDEO_STRADIS is not set
    # CONFIG_VIDEO_MXB is not set
    # CONFIG_VIDEO_DPC is not set
    # CONFIG_VIDEO_HEXIUM_ORION is not set
    # CONFIG_VIDEO_HEXIUM_GEMINI is not set
    # Radio Adapters
    # CONFIG_RADIO_CADET is not set
    # CONFIG_RADIO_RTRACK is not set
    # CONFIG_RADIO_RTRACK2 is not set
    # CONFIG_RADIO_AZTECH is not set
    # CONFIG_RADIO_GEMTEK is not set
    # CONFIG_RADIO_GEMTEK_PCI is not set
    # CONFIG_RADIO_MAXIRADIO is not set
    # CONFIG_RADIO_MAESTRO is not set
    # CONFIG_RADIO_SF16FMI is not set
    # CONFIG_RADIO_SF16FMR2 is not set
    # CONFIG_RADIO_TERRATEC is not set
    # CONFIG_RADIO_TRUST is not set
    # CONFIG_RADIO_TYPHOON is not set
    # CONFIG_RADIO_ZOLTRIX is not set
    # Digital Video Broadcasting Devices
    # CONFIG_DVB is not set
    # Graphics support
    CONFIG_FB=y
    CONFIG_FB_CFB_FILLRECT=y
    CONFIG_FB_CFB_COPYAREA=y
    CONFIG_FB_CFB_IMAGEBLIT=y
    # CONFIG_FB_MACMODES is not set
    CONFIG_FB_MODE_HELPERS=y
    # CONFIG_FB_TILEBLITTING is not set
    # CONFIG_FB_CIRRUS is not set
    # CONFIG_FB_PM2 is not set
    # CONFIG_FB_CYBER2000 is not set
    # CONFIG_FB_ARC is not set
    # CONFIG_FB_ASILIANT is not set
    # CONFIG_FB_IMSTT is not set
    # CONFIG_FB_VGA16 is not set
    CONFIG_FB_VESA=y
    CONFIG_FB_VESA_STD=y
    # CONFIG_FB_VESA_TNG is not set
    CONFIG_VIDEO_SELECT=y
    # CONFIG_FB_HGA is not set
    # CONFIG_FB_S1D13XXX is not set
    # CONFIG_FB_NVIDIA is not set
    # CONFIG_FB_RIVA is not set
    # CONFIG_FB_I810 is not set
    # CONFIG_FB_INTEL is not set
    # CONFIG_FB_MATROX is not set
    # CONFIG_FB_RADEON_OLD is not set
    # CONFIG_FB_RADEON is not set
    # CONFIG_FB_ATY128 is not set
    # CONFIG_FB_ATY is not set
    # CONFIG_FB_SAVAGE is not set
    # CONFIG_FB_SIS is not set
    # CONFIG_FB_NEOMAGIC is not set
    # CONFIG_FB_KYRO is not set
    # CONFIG_FB_3DFX is not set
    # CONFIG_FB_VOODOO1 is not set
    # CONFIG_FB_CYBLA is not set
    # CONFIG_FB_TRIDENT is not set
    # CONFIG_FB_GEODE is not set
    # CONFIG_FB_VIRTUAL is not set
    # Console display driver support
    CONFIG_VGA_CONSOLE=y
    # CONFIG_MDA_CONSOLE is not set
    CONFIG_DUMMY_CONSOLE=y
    CONFIG_FRAMEBUFFER_CONSOLE=y
    # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
    CONFIG_FONTS=y
    CONFIG_FONT_8x8=y
    CONFIG_FONT_8x16=y
    # CONFIG_FONT_6x11 is not set
    # CONFIG_FONT_7x14 is not set
    # CONFIG_FONT_PEARL_8x8 is not set
    # CONFIG_FONT_ACORN_8x8 is not set
    # CONFIG_FONT_MINI_4x6 is not set
    # CONFIG_FONT_SUN8x16 is not set
    # CONFIG_FONT_SUN12x22 is not set
    # CONFIG_FONT_10x18 is not set
    # Logo configuration
    # CONFIG_LOGO is not set
    # CONFIG_BACKLIGHT_LCD_SUPPORT is not set
    CONFIG_FB_SPLASH=y
    # Sound
    CONFIG_SOUND=y
    # Advanced Linux Sound Architecture
    CONFIG_SND=y
    CONFIG_SND_TIMER=y
    CONFIG_SND_PCM=y
    CONFIG_SND_HWDEP=y
    CONFIG_SND_RAWMIDI=y
    CONFIG_SND_SEQUENCER=y
    # CONFIG_SND_SEQ_DUMMY is not set
    CONFIG_SND_OSSEMUL=y
    CONFIG_SND_MIXER_OSS=y
    CONFIG_SND_PCM_OSS=y
    CONFIG_SND_PCM_OSS_PLUGINS=y
    CONFIG_SND_SEQUENCER_OSS=y
    # CONFIG_SND_RTCTIMER is not set
    # CONFIG_SND_DYNAMIC_MINORS is not set
    CONFIG_SND_SUPPORT_OLD_API=y
    # CONFIG_SND_VERBOSE_PROCFS is not set
    # CONFIG_SND_VERBOSE_PRINTK is not set
    # CONFIG_SND_DEBUG is not set
    # Generic devices
    CONFIG_SND_AC97_CODEC=y
    CONFIG_SND_AC97_BUS=y
    # CONFIG_SND_DUMMY is not set
    # CONFIG_SND_VIRMIDI is not set
    # CONFIG_SND_MTPAV is not set
    # CONFIG_SND_SERIAL_U16550 is not set
    # CONFIG_SND_MPU401 is not set
    # ISA devices
    # CONFIG_SND_AD1816A is not set
    # CONFIG_SND_AD1848 is not set
    # CONFIG_SND_ALS100 is not set
    # CONFIG_SND_AZT2320 is not set
    # CONFIG_SND_CMI8330 is not set
    # CONFIG_SND_CS4231 is not set
    # CONFIG_SND_CS4232 is not set
    # CONFIG_SND_CS4236 is not set
    # CONFIG_SND_DT019X is not set
    # CONFIG_SND_ES968 is not set
    # CONFIG_SND_ES1688 is not set
    # CONFIG_SND_ES18XX is not set
    # CONFIG_SND_GUSCLASSIC is not set
    # CONFIG_SND_GUSEXTREME is not set
    # CONFIG_SND_GUSMAX is not set
    # CONFIG_SND_INTERWAVE is not set
    # CONFIG_SND_INTERWAVE_STB is not set
    # CONFIG_SND_OPL3SA2 is not set
    # CONFIG_SND_OPTI92X_AD1848 is not set
    # CONFIG_SND_OPTI92X_CS4231 is not set
    # CONFIG_SND_OPTI93X is not set
    # CONFIG_SND_SB8 is not set
    # CONFIG_SND_SB16 is not set
    # CONFIG_SND_SBAWE is not set
    # CONFIG_SND_SGALAXY is not set
    # CONFIG_SND_SSCAPE is not set
    # CONFIG_SND_WAVEFRONT is not set
    # PCI devices
    # CONFIG_SND_AD1889 is not set
    # CONFIG_SND_ALS4000 is not set
    # CONFIG_SND_ALI5451 is not set
    # CONFIG_SND_ATIIXP is not set
    # CONFIG_SND_ATIIXP_MODEM is not set
    # CONFIG_SND_AU8810 is not set
    # CONFIG_SND_AU8820 is not set
    # CONFIG_SND_AU8830 is not set
    # CONFIG_SND_AZT3328 is not set
    # CONFIG_SND_BT87X is not set
    # CONFIG_SND_CA0106 is not set
    # CONFIG_SND_CMIPCI is not set
    # CONFIG_SND_CS4281 is not set
    # CONFIG_SND_CS46XX is not set
    # CONFIG_SND_CS5535AUDIO is not set
    CONFIG_SND_EMU10K1=y
    # CONFIG_SND_EMU10K1X is not set
    # CONFIG_SND_ENS1370 is not set
    # CONFIG_SND_ENS1371 is not set
    # CONFIG_SND_ES1938 is not set
    # CONFIG_SND_ES1968 is not set
    # CONFIG_SND_FM801 is not set
    # CONFIG_SND_HDA_INTEL is not set
    # CONFIG_SND_HDSP is not set
    # CONFIG_SND_HDSPM is not set
    # CONFIG_SND_ICE1712 is not set
    # CONFIG_SND_ICE1724 is not set
    CONFIG_SND_INTEL8X0=y
    CONFIG_SND_INTEL8X0M=y
    # CONFIG_SND_KORG1212 is not set
    # CONFIG_SND_MAESTRO3 is not set
    # CONFIG_SND_MIXART is not set
    # CONFIG_SND_NM256 is not set
    # CONFIG_SND_PCXHR is not set
    # CONFIG_SND_RME32 is not set
    # CONFIG_SND_RME96 is not set
    # CONFIG_SND_RME9652 is not set
    # CONFIG_SND_SONICVIBES is not set
    # CONFIG_SND_TRIDENT is not set
    # CONFIG_SND_VIA82XX is not set
    # CONFIG_SND_VIA82XX_MODEM is not set
    # CONFIG_SND_VX222 is not set
    # CONFIG_SND_YMFPCI is not set
    # USB devices
    # CONFIG_SND_USB_AUDIO is not set
    # CONFIG_SND_USB_USX2Y is not set
    # Open Sound System
    # CONFIG_SOUND_PRIME is not set
    # USB support
    CONFIG_USB_ARCH_HAS_HCD=y
    CONFIG_USB_ARCH_HAS_OHCI=y
    CONFIG_USB=y
    # CONFIG_USB_DEBUG is not set
    # Miscellaneous USB options
    CONFIG_USB_DEVICEFS=y
    CONFIG_USB_BANDWIDTH=y
    CONFIG_USB_DYNAMIC_MINORS=y
    CONFIG_USB_SUSPEND=y
    # CONFIG_USB_OTG is not set
    # USB Host Controller Drivers
    CONFIG_USB_EHCI_HCD=y
    CONFIG_USB_EHCI_SPLIT_ISO=y
    CONFIG_USB_EHCI_ROOT_HUB_TT=y
    CONFIG_USB_ISP116X_HCD=y
    CONFIG_USB_OHCI_HCD=y
    # CONFIG_USB_OHCI_BIG_ENDIAN is not set
    CONFIG_USB_OHCI_LITTLE_ENDIAN=y
    CONFIG_USB_UHCI_HCD=y
    # CONFIG_USB_SL811_HCD is not set
    # USB Device Class drivers
    # CONFIG_OBSOLETE_OSS_USB_DRIVER is not set
    # CONFIG_USB_ACM is not set
    CONFIG_USB_PRINTER=y
    # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
    # may also be needed; see USB_STORAGE Help for more information
    CONFIG_USB_STORAGE=y
    # CONFIG_USB_STORAGE_DEBUG is not set
    CONFIG_USB_STORAGE_DATAFAB=y
    CONFIG_USB_STORAGE_FREECOM=y
    CONFIG_USB_STORAGE_ISD200=y
    CONFIG_USB_STORAGE_DPCM=y
    CONFIG_USB_STORAGE_USBAT=y
    CONFIG_USB_STORAGE_SDDR09=y
    CONFIG_USB_STORAGE_SDDR55=y
    CONFIG_USB_STORAGE_JUMPSHOT=y
    CONFIG_USB_STORAGE_ALAUDA=y
    # CONFIG_USB_LIBUSUAL is not set
    # USB Input Devices
    CONFIG_USB_HID=y
    CONFIG_USB_HID_MOUSE_POLLING_INTERVAL=10
    CONFIG_USB_HIDINPUT=y
    # CONFIG_USB_HIDINPUT_POWERBOOK is not set
    CONFIG_HID_FF=y
    CONFIG_HID_PID=y
    CONFIG_LOGITECH_FF=y
    CONFIG_THRUSTMASTER_FF=y
    CONFIG_USB_HIDDEV=y
    # CONFIG_USB_AIPTEK is not set
    # CONFIG_USB_WACOM is not set
    # CONFIG_USB_ACECAD is not set
    # CONFIG_USB_KBTAB is not set
    # CONFIG_USB_POWERMATE is not set
    # CONFIG_USB_MTOUCH is not set
    # CONFIG_USB_ITMTOUCH is not set
    # CONFIG_USB_EGALAX is not set
    # CONFIG_USB_YEALINK is not set
    # CONFIG_USB_XPAD is not set
    # CONFIG_USB_ATI_REMOTE is not set
    # CONFIG_USB_ATI_REMOTE2 is not set
    # CONFIG_USB_KEYSPAN_REMOTE is not set
    # CONFIG_USB_APPLETOUCH is not set
    # USB Imaging devices
    # CONFIG_USB_MDC800 is not set
    # CONFIG_USB_MICROTEK is not set
    # USB Multimedia devices
    # CONFIG_USB_DABUSB is not set
    # CONFIG_USB_VICAM is not set
    # CONFIG_USB_DSBR is not set
    # CONFIG_USB_ET61X251 is not set
    # CONFIG_USB_IBMCAM is not set
    # CONFIG_USB_KONICAWC is not set
    # CONFIG_USB_OV511 is not set
    # CONFIG_USB_SE401 is not set
    # CONFIG_USB_SN9C102 is not set
    # CONFIG_USB_STV680 is not set
    # CONFIG_USB_PWC is not set
    # USB Network Adapters
    # CONFIG_USB_CATC is not set
    # CONFIG_USB_KAWETH is not set
    # CONFIG_USB_PEGASUS is not set
    # CONFIG_USB_RTL8150 is not set
    # CONFIG_USB_USBNET is not set
    # CONFIG_USB_MON is not set
    # USB port drivers
    # CONFIG_USB_USS720 is not set
    # USB Serial Converter support
    # CONFIG_USB_SERIAL is not set
    # USB Miscellaneous drivers
    # CONFIG_USB_EMI62 is not set
    # CONFIG_USB_EMI26 is not set
    # CONFIG_USB_AUERSWALD is not set
    # CONFIG_USB_RIO500 is not set
    # CONFIG_USB_LEGOTOWER is not set
    # CONFIG_USB_LCD is not set
    # CONFIG_USB_LED is not set
    # CONFIG_USB_CYTHERM is not set
    # CONFIG_USB_PHIDGETKIT is not set
    # CONFIG_USB_PHIDGETSERVO is not set
    # CONFIG_USB_IDMOUSE is not set
    # CONFIG_USB_SISUSBVGA is not set
    # CONFIG_USB_LD is not set
    # CONFIG_USB_TEST is not set
    # USB DSL modem support
    # CONFIG_USB_ATM is not set
    # USB Gadget Support
    # CONFIG_USB_GADGET is not set
    # MMC/SD Card support
    # CONFIG_MMC is not set
    # InfiniBand support
    # CONFIG_INFINIBAND is not set
    # EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
    # CONFIG_EDAC is not set
    # File systems
    CONFIG_EXT2_FS=y
    CONFIG_EXT2_FS_XATTR=y
    CONFIG_EXT2_FS_POSIX_ACL=y
    CONFIG_EXT2_FS_SECURITY=y
    # CONFIG_EXT2_FS_XIP is not set
    CONFIG_EXT3_FS=y
    CONFIG_EXT3_FS_XATTR=y
    CONFIG_EXT3_FS_POSIX_ACL=y
    CONFIG_EXT3_FS_SECURITY=y
    CONFIG_JBD=y
    # CONFIG_JBD_DEBUG is not set
    CONFIG_FS_MBCACHE=y
    CONFIG_REISER4_FS=y
    # CONFIG_REISER4_DEBUG is not set
    CONFIG_REISERFS_FS=y
    # CONFIG_REISERFS_CHECK is not set
    # CONFIG_REISERFS_PROC_INFO is not set
    CONFIG_REISERFS_FS_XATTR=y
    CONFIG_REISERFS_FS_POSIX_ACL=y
    CONFIG_REISERFS_FS_SECURITY=y
    CONFIG_JFS_FS=y
    CONFIG_JFS_POSIX_ACL=y
    CONFIG_JFS_SECURITY=y
    # CONFIG_JFS_DEBUG is not set
    # CONFIG_JFS_STATISTICS is not set
    CONFIG_FS_POSIX_ACL=y
    CONFIG_XFS_FS=y
    CONFIG_XFS_EXPORT=y
    # CONFIG_XFS_QUOTA is not set
    CONFIG_XFS_SECURITY=y
    CONFIG_XFS_POSIX_ACL=y
    # CONFIG_XFS_RT is not set
    # CONFIG_OCFS2_FS is not set
    # CONFIG_MINIX_FS is not set
    # CONFIG_ROMFS_FS is not set
    CONFIG_INOTIFY=y
    CONFIG_QUOTA=y
    CONFIG_QFMT_V1=m
    CONFIG_QFMT_V2=m
    CONFIG_QUOTACTL=y
    CONFIG_DNOTIFY=y
    # CONFIG_AUTOFS_FS is not set
    CONFIG_AUTOFS4_FS=y
    CONFIG_FUSE_FS=y
    # CD-ROM/DVD Filesystems
    CONFIG_ISO9660_FS=y
    CONFIG_JOLIET=y
    CONFIG_ZISOFS=y
    CONFIG_ZISOFS_FS=y
    CONFIG_UDF_FS=y
    CONFIG_UDF_NLS=y
    # DOS/FAT/NT Filesystems
    CONFIG_FAT_FS=y
    CONFIG_MSDOS_FS=y
    CONFIG_VFAT_FS=y
    CONFIG_FAT_DEFAULT_CODEPAGE=437
    CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
    CONFIG_NTFS_FS=y
    # CONFIG_NTFS_DEBUG is not set
    CONFIG_NTFS_RW=y
    # Pseudo filesystems
    CONFIG_PROC_FS=y
    CONFIG_PROC_KCORE=y
    CONFIG_SYSFS=y
    CONFIG_TMPFS=y
    # CONFIG_HUGETLBFS is not set
    # CONFIG_HUGETLB_PAGE is not set
    CONFIG_RAMFS=y
    # CONFIG_RELAYFS_FS is not set
    CONFIG_CONFIGFS_FS=y
    # Miscellaneous filesystems
    # CONFIG_ADFS_FS is not set
    # CONFIG_AFFS_FS is not set
    CONFIG_HFS_FS=y
    CONFIG_HFSPLUS_FS=y
    CONFIG_BEFS_FS=y
    # CONFIG_BEFS_DEBUG is not set
    CONFIG_BFS_FS=y
    CONFIG_EFS_FS=y
    CONFIG_CRAMFS=y
    CONFIG_SQUASHFS=y
    # CONFIG_SQUASHFS_EMBEDDED is not set
    CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
    # CONFIG_SQUASHFS_VMALLOC is not set
    # CONFIG_VXFS_FS is not set
    CONFIG_HPFS_FS=y
    CONFIG_QNX4FS_FS=y
    # CONFIG_SYSV_FS is not set
    CONFIG_UFS_FS=y
    CONFIG_UNION_FS=y
    # Network File Systems
    CONFIG_NFS_FS=y
    CONFIG_NFS_V3=y
    # CONFIG_NFS_V3_ACL is not set
    CONFIG_NFS_V4=y
    # CONFIG_NFS_DIRECTIO is not set
    CONFIG_NFSD=y
    CONFIG_NFSD_V3=y
    # CONFIG_NFSD_V3_ACL is not set
    CONFIG_NFSD_V4=y
    CONFIG_NFSD_TCP=y
    CONFIG_LOCKD=y
    CONFIG_LOCKD_V4=y
    CONFIG_EXPORTFS=y
    CONFIG_NFS_COMMON=y
    CONFIG_SUNRPC=y
    CONFIG_SUNRPC_GSS=y
    CONFIG_RPCSEC_GSS_KRB5=y
    # CONFIG_RPCSEC_GSS_SPKM3 is not set
    CONFIG_SMB_FS=y
    # CONFIG_SMB_NLS_DEFAULT is not set
    CONFIG_CIFS=y
    # CONFIG_CIFS_STATS is not set
    # CONFIG_CIFS_XATTR is not set
    # CONFIG_CIFS_EXPERIMENTAL is not set
    CONFIG_NCP_FS=y
    # CONFIG_NCPFS_PACKET_SIGNING is not set
    # CONFIG_NCPFS_IOCTL_LOCKING is not set
    # CONFIG_NCPFS_STRONG is not set
    CONFIG_NCPFS_NFS_NS=y
    CONFIG_NCPFS_OS2_NS=y
    CONFIG_NCPFS_SMALLDOS=y
    CONFIG_NCPFS_NLS=y
    # CONFIG_NCPFS_EXTRAS is not set
    # CONFIG_CODA_FS is not set
    # CONFIG_AFS_FS is not set
    # CONFIG_9P_FS is not set
    # Partition Types
    CONFIG_PARTITION_ADVANCED=y
    # CONFIG_ACORN_PARTITION is not set
    # CONFIG_OSF_PARTITION is not set
    # CONFIG_AMIGA_PARTITION is not set
    # CONFIG_ATARI_PARTITION is not set
    CONFIG_MAC_PARTITION=y
    CONFIG_MSDOS_PARTITION=y
    CONFIG_BSD_DISKLABEL=y
    # CONFIG_MINIX_SUBPARTITION is not set
    CONFIG_SOLARIS_X86_PARTITION=y
    # CONFIG_UNIXWARE_DISKLABEL is not set
    # CONFIG_LDM_PARTITION is not set
    # CONFIG_SGI_PARTITION is not set
    # CONFIG_ULTRIX_PARTITION is not set
    # CONFIG_SUN_PARTITION is not set
    # CONFIG_KARMA_PARTITION is not set
    # CONFIG_EFI_PARTITION is not set
    # Native Language Support
    CONFIG_NLS=y
    CONFIG_NLS_DEFAULT="iso8859-1"
    CONFIG_NLS_CODEPAGE_437=y
    CONFIG_NLS_CODEPAGE_737=y
    CONFIG_NLS_CODEPAGE_775=y
    CONFIG_NLS_CODEPAGE_850=y
    CONFIG_NLS_CODEPAGE_852=y
    CONFIG_NLS_CODEPAGE_855=y
    CONFIG_NLS_CODEPAGE_857=y
    CONFIG_NLS_CODEPAGE_860=y
    CONFIG_NLS_CODEPAGE_861=y
    CONFIG_NLS_CODEPAGE_862=y
    CONFIG_NLS_CODEPAGE_863=y
    CONFIG_NLS_CODEPAGE_864=y
    CONFIG_NLS_CODEPAGE_865=y
    CONFIG_NLS_CODEPAGE_866=y
    CONFIG_NLS_CODEPAGE_869=y
    CONFIG_NLS_CODEPAGE_936=y
    CONFIG_NLS_CODEPAGE_950=y
    CONFIG_NLS_CODEPAGE_932=y
    CONFIG_NLS_CODEPAGE_949=y
    CONFIG_NLS_CODEPAGE_874=y
    CONFIG_NLS_ISO8859_8=y
    CONFIG_NLS_CODEPAGE_1250=y
    CONFIG_NLS_CODEPAGE_1251=y
    CONFIG_NLS_ASCII=y
    CONFIG_NLS_ISO8859_1=y
    CONFIG_NLS_ISO8859_2=y
    CONFIG_NLS_ISO8859_3=y
    CONFIG_NLS_ISO8859_4=y
    CONFIG_NLS_ISO8859_5=y
    CONFIG_NLS_ISO8859_6=y
    CONFIG_NLS_ISO8859_7=y
    CONFIG_NLS_ISO8859_9=y
    CONFIG_NLS_ISO8859_13=y
    CONFIG_NLS_ISO8859_14=y
    CONFIG_NLS_ISO8859_15=y
    CONFIG_NLS_KOI8_R=y
    CONFIG_NLS_KOI8_U=y
    CONFIG_NLS_UTF8=y
    # Instrumentation Support
    CONFIG_PROFILING=y
    # CONFIG_OPROFILE is not set
    # CONFIG_KPROBES is not set
    # Kernel hacking
    # CONFIG_PRINTK_TIME is not set
    CONFIG_MAGIC_SYSRQ=y
    # CONFIG_DEBUG_KERNEL is not set
    CONFIG_LOG_BUF_SHIFT=14
    CONFIG_DEBUG_BUGVERBOSE=y
    CONFIG_EARLY_PRINTK=y
    # Security options
    # CONFIG_KEYS is not set
    CONFIG_SECURITY=y
    # CONFIG_SECURITY_NETWORK is not set
    CONFIG_SECURITY_CAPABILITIES=y
    # CONFIG_SECURITY_ROOTPLUG is not set
    # CONFIG_SECURITY_SECLVL is not set
    # Cryptographic options
    CONFIG_CRYPTO=y
    CONFIG_CRYPTO_HMAC=y
    CONFIG_CRYPTO_NULL=y
    CONFIG_CRYPTO_MD4=y
    CONFIG_CRYPTO_MD5=y
    CONFIG_CRYPTO_SHA1=y
    CONFIG_CRYPTO_SHA256=y
    CONFIG_CRYPTO_SHA512=y
    CONFIG_CRYPTO_WP512=y
    CONFIG_CRYPTO_TGR192=y
    CONFIG_CRYPTO_DES=y
    CONFIG_CRYPTO_BLOWFISH=y
    CONFIG_CRYPTO_TWOFISH=y
    CONFIG_CRYPTO_SERPENT=y
    CONFIG_CRYPTO_AES=y
    CONFIG_CRYPTO_AES_586=y
    CONFIG_CRYPTO_CAST5=y
    CONFIG_CRYPTO_CAST6=y
    CONFIG_CRYPTO_TEA=y
    CONFIG_CRYPTO_ARC4=y
    CONFIG_CRYPTO_KHAZAD=y
    CONFIG_CRYPTO_ANUBIS=y
    CONFIG_CRYPTO_DEFLATE=y
    CONFIG_CRYPTO_LZF=y
    CONFIG_CRYPTO_MICHAEL_MIC=y
    CONFIG_CRYPTO_CRC32C=y
    CONFIG_CRYPTO_TEST=y
    # Hardware crypto devices
    # CONFIG_CRYPTO_DEV_PADLOCK is not set
    # Library routines
    CONFIG_CRC_CCITT=y
    CONFIG_CRC16=y
    CONFIG_CRC32=y
    CONFIG_LIBCRC32C=y
    CONFIG_DYN_PAGEFLAGS=y
    CONFIG_ZLIB_INFLATE=y
    CONFIG_ZLIB_DEFLATE=y
    CONFIG_GENERIC_HARDIRQS=y
    CONFIG_GENERIC_IRQ_PROBE=y
    CONFIG_X86_BIOS_REBOOT=y
    CONFIG_KTIME_SCALAR=y

    elapointe wrote:I didnot touch anything in graphic section
    Really?
    From your config file:
    CONFIG_FB_VESA=y
    CONFIG_FB_VESA_STD=y
    # CONFIG_FB_VESA_TNG is not set
    From the beyond config file:
    CONFIG_FB_VESA=y
    # CONFIG_FB_VESA_STD is not set
    CONFIG_FB_VESA_TNG=y

  • Issue with booting recent Linux Kernel

    Ever since after the kernel 3.15.5-1 any recent versions after updating causes my system to fail to boot and dropping into an emergency console.
    Kernel Version
    archKartious
    > ~ uname -a
    Linux nickarch 3.15.5-1-ARCH #1 SMP PREEMPT Thu Jul 10 07:08:50 CEST 2014 x86_64 GNU/Linux
    After looking at the Journal it seems that the system does not recognise the filesystem type "vfat" which is my ESP
    Journalctl -b -1
    Aug 10 14:50:16 nickarch systemd-fsck[232]: fsck.fat 3.0.26 (2014-03-07)
    Aug 10 14:50:16 nickarch systemd-fsck[232]: /dev/sdc1: 345 files, 8979/130812 clusters
    Aug 10 14:50:16 nickarch mount[264]: mount: unknown filesystem type 'vfat'
    Aug 10 14:50:16 nickarch systemd[1]: boot-efi.mount mount process exited, code=exited status=32
    Aug 10 14:50:16 nickarch systemd[1]: Failed to mount /boot/efi.
    Aug 10 14:50:16 nickarch systemd[1]: Dependency failed for Local File Systems.
    Aug 10 14:50:16 nickarch systemd[1]: Unit boot-efi.mount entered failed state.
    Aug 10 14:50:16 nickarch systemd-fsck[228]: /dev/sda1: clean, 540132/30531584 files, 58237710/122096390 blocks
    Aug 10 14:50:16 nickarch systemd-journal[172]: Permanent journal is using 640.0M (max allowed 1.0G, trying to leave 1.5G free of 5.1G available → c
    Aug 10 14:50:16 nickarch systemd-journal[172]: Time spent on flushing to /var is 102.763ms for 927 entries.
    Aug 10 14:50:16 nickarch kernel: usb 2-1: ep 0x83 - rounding interval to 64 microframes, ep desc says 80 microframes
    Aug 10 14:50:16 nickarch kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: data=ordered
    Aug 10 14:50:16 nickarch kernel: usb 4-1: new high-speed USB device number 2 using ehci-pci
    Aug 10 14:50:16 nickarch systemd[1]: mnt-wa.mount mount process exited, code=exited status=32
    Aug 10 14:50:16 nickarch systemd[1]: Failed to mount /mnt/wa.
    Aug 10 14:50:16 nickarch systemd[1]: Unit mnt-wa.mount entered failed state.
    Picture Kernel Configuration
    So I decided to build a custom kernel and see if the module is configured to load when compiled.. which it was, so I decided to add the msdostools along with the vfat module just incase and compiled it.... After all the waiting I tried to install the custom kernel which resulted in the same issue again. I have also tried installing the linux-lts package which also has the same issue. May I pick your brains for a few ideas? I really hope not to stay on 3.15.5 forever...
    Last edited by Kartious (2014-08-13 19:45:13)

    ooo wrote:do you have systemd in your mkinitcpio.conf HOOKS?
    No I don't I just use the generic config file when I run mkinitcpio
    HOOKS="base udev autodetect modconf block filesystems keyboard fsck"
    Also putting nofail did not work. I got dropped into emergency mode again.
    Journalctl -b -1 (boot with 3.15.8)
    Aug 11 16:31:32 nickarch systemd-fsck[225]: /dev/sdc3: clean, 5012/675952 files, 1219655/2699264 blocks
    Aug 11 16:31:32 nickarch systemd[1]: var.mount: Directory /var to mount over is not empty, mounting anyway.
    Aug 11 16:31:32 nickarch kernel: EXT4-fs (sdc3): mounted filesystem with ordered data mode. Opts: data=ordered
    Aug 11 16:31:32 nickarch systemd-fsck[228]: fsck.fat 3.0.26 (2014-03-07)
    Aug 11 16:31:32 nickarch systemd-fsck[228]: /dev/sdc1: 345 files, 8977/130812 clusters
    Aug 11 16:31:32 nickarch mount[249]: mount: unknown filesystem type 'vfat'
    Aug 11 16:31:32 nickarch systemd[1]: boot-efi.mount mount process exited, code=exited status=32
    Aug 11 16:31:32 nickarch systemd[1]: Failed to mount /boot/efi.
    Aug 11 16:31:32 nickarch systemd[1]: Unit boot-efi.mount entered failed state.
    Aug 11 16:31:32 nickarch systemd-fsck[230]: /dev/sda1: clean, 542267/30531584 files, 58308134/122096390 blocks
    Aug 11 16:31:32 nickarch kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: data=ordered
    Aug 11 16:31:32 nickarch kernel: usb 2-1: ep 0x83 - rounding interval to 64 microframes, ep desc says 80 microframes
    Aug 11 16:31:32 nickarch mount[259]: mount: /mnt/wa: mount failed: Unknown error -1
    Aug 11 16:31:32 nickarch systemd[1]: mnt-wa.mount mount process exited, code=exited status=32
    Aug 11 16:31:32 nickarch systemd[1]: Failed to mount /mnt/wa.
    Aug 11 16:31:32 nickarch systemd[1]: Dependency failed for Local File Systems.
    Aug 11 16:31:32 nickarch systemd[1]: Unit mnt-wa.mount entered failed state.
    Aug 11 16:31:32 nickarch systemd-journal[174]: Permanent journal is using 664.0M (max allowed 1.0G, trying to leave 1.5G free of 5.1G available → current limit 1.0G).
    Aug 11 16:31:32 nickarch systemd-journal[174]: Time spent on flushing to /var is 85.022ms for 935 entries.
    Aug 11 16:31:33 nickarch kernel: usb 4-1: new high-speed USB device number 2 using ehci-pci
    Aug 11 16:31:33 nickarch systemd-fsck[262]: /dev/sdb1: clean, 5582/15269888 files, 42588594/61049390 blocks
    Aug 11 16:31:33 nickarch alsactl[267]: /usr/bin/alsactl: load_state:1729: No soundcards found...
    Aug 11 16:31:33 nickarch kernel: hub 4-1:1.0: USB hub found
    Aug 11 16:31:33 nickarch kernel: hub 4-1:1.0: 8 ports detected
    Aug 11 16:31:33 nickarch systemd[269]: Failed at step EXEC spawning /bin/plymouth: No such file or directory
    Aug 11 16:31:33 nickarch kernel: EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: data=ordered
    Aug 11 16:31:33 nickarch kernel: usb 4-1.5: new full-speed USB device number 3 using ehci-pci
    Aug 11 16:31:33 nickarch kernel: Switched to clocksource tsc
    Aug 11 16:31:33 nickarch kernel: usb 4-1.6: new full-speed USB device number 4 using ehci-pci
    lolilolicon wrote:Refer to the manpage git-bisect(1), it's fairly straight-forward.
    If you already compile your own kernel with minimal modules (e.g. via localmodconfig) it would make the process smoother/quicker. It helps if you have a custom kernel PKGBUILD handy.
    The good news is that between 3.15.5 and 3.15.6 there aren't many patches going into the kernel so it's a small pool to catch the fish.
    Okay thanks for the heads up. I will look into this when I find some time, I will need to get 3.15.6 again but I can get that from the Arch Rollback Machine or get a friend (who is also on arch x86_64) to send it to me.
    mrunion wrote:I used to get similar messages before I had my ESP partition mounted in such a way that Kernel updates automatically installed to it. When I first installed Arch on my new laptop that used EFI, I had to remember to MANUALLY copy to the ESP the new Kernel images, etc. after a Kernel update. If I didn't, I would get the "vfat" error. Could this be your issue? Are you sure that after updating the Kernel, the new image/etc. is actually the stuff you're booting from?
    Really? So where would the would the kernel images be if they are not already in the ESP ?
    lsblk for reference
    NAME FSTYPE LABEL UUID MOUNTPOINT
    sda
    └─sda1 ext4 869b8001-7f92-48cd-bc46-816bb2201989 /home
    sdb
    └─sdb1 ext4 e2d17153-a82a-45fa-ba98-fdef32f94914 /media
    sdc
    ├─sdc1 vfat D92E-5388 /boot/efi
    ├─sdc2 ext4 949416a7-abf3-48f4-bcc2-da0db7e49fab /
    └─sdc3 ext4 b5f0d70f-8ce3-4c84-b1a1-373002444fa2 /var
    sr0
    loop0 iso9660 WA 2005-02-10-10-59-00-00 /mnt/wa

  • Questions about compiling kernel on archlinux

    hi...i'm new of this forum and new of archlinux
    i'm tryng to compiling a custom kernel in order not to replace the kernel26 package.. i prefere to make it with abs for managing it with pacman.. i followed the wiki but something went wrong.... i used both the pkgbuild i found on the wiki but nothing...can someone help me please??

    if it can be of any help, this works for me too. actually, it's the official arch kernel PKGBUILD (maybe not the latest one) that I've just changed according to my needs:
    # $Id: PKGBUILD 17203 2008-10-26 20:28:29Z tpowa $
    # Maintainer: Tobias Powalowski <[email protected]>
    # Maintainer: Thomas Baechler <[email protected]>
    pkgname=kernel26mm
    _basekernel=2.6.27
    pkgver=2.6.28
    pkgrel=5
    _patchname="patch-${pkgver}-${pkgrel}-ARCH"
    pkgdesc="The Linux Kernel and modules"
    arch=(i686 x86_64)
    license=('GPL2')
    groups=('base')
    url="http://www.kernel.org"
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'module-init-tools' 'mkinitcpio>=0.5.18')
    # pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
    # nforce package support was abandoned by nvidia, kernel modules should cover everything now.
    # kernel24 support is dropped since glibc24
    replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
    'alsa-driver' 'ieee80211' 'hostap-driver26'
    'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
    'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
    'gspcav1')
    install=kernel26mm.install
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.28-rc2.bz2
    http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.28-rc2/2.6.28-rc2-mm1/2.6.28-rc2-mm1.bz2
    # the main kernel config files
    config config.x86_64
    iosched-bfq-03-update-kconfig-kbuild.patch
    iosched-bfq-02-add-bfq-scheduler.patch
    iosched-bfq-01-prepare-iocontext-handling.patch
    zen.git-aircrack.patch
    march-native.patch
    # standard config files for mkinitcpio ramdisk
    kernel26mm.preset)
    build() {
    KARCH=x86
    cd $startdir/src/linux-$_basekernel
    # Add -ARCH patches
    # See http://projects.archlinux.org/git/?p=linux-2.6-ARCH.git;a=summary
    patch -Np1 -i $startdir/src/patch-2.6.28-rc2 || return 1
    patch -Np1 -i $startdir/src/2.6.28-rc2-mm1 || return 1
    patch -Np1 -i $startdir/src/iosched-bfq-01-prepare-iocontext-handling.patch || return 1
    patch -Np1 -i $startdir/src/iosched-bfq-02-add-bfq-scheduler.patch || return 1
    patch -Np1 -i $startdir/src/iosched-bfq-03-update-kconfig-kbuild.patch || return 1
    patch -Np1 -i $startdir/src/zen.git-aircrack.patch || return 1
    patch -Np1 -i $startdir/src/march-native.patch || return 1
    sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =|g' Makefile
    if [ "$CARCH" = "x86_64" ]; then
    cat ../config.x86_64 >./.config
    else
    cat ../config >./.config
    fi
    # build the full kernel version to use in pathnames
    . ./.config
    ### next line is only needed for rc kernels
    #_kernver="2.6.25${CONFIG_LOCALVERSION}"
    _kernver="2.6.28${CONFIG_LOCALVERSION}"
    # load configuration
    make menuconfig
    # build!
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    make bzImage modules || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    cp System.map $startdir/pkg/boot/System.map26mm
    cp arch/$KARCH/boot/bzImage $startdir/pkg/boot/vmlinuz26mm
    install -D -m644 Makefile \
    $startdir/pkg/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile \
    $startdir/pkg/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config \
    $startdir/pkg/usr/src/linux-${_kernver}/.config
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include
    for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-${_kernver}/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers $startdir/pkg/usr/src/linux-${_kernver}
    cp -a scripts $startdir/pkg/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R $startdir/pkg/usr/src/linux-${_kernver}/scripts
    #mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/.tmp_versions
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/
    if [ "$CARCH" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    # add dm headers
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h $startdir/pkg/usr/src/linux-${_kernver}/include/linux/
    # add CLUSTERIP file for iptables
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/net/ipv4/netfilter/
    # add wireless headers
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/net/mac80211/
    cp net/mac80211/*.h $startdir/pkg/usr/src/linux-${_kernver}/net/mac80211/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
    cp drivers/media/dvb/dvb-core/*.h $startdir/pkg/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/11194
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include/config/dvb/
    cp include/config/dvb/*.h $startdir/pkg/usr/src/linux-${_kernver}/include/config/dvb/
    # add xfs and shmem for aufs building
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/fs/xfs
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/mm
    cp fs/xfs/xfs_sb.h $startdir/pkg/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
    # add vmlinux
    cp vmlinux $startdir/pkg/usr/src/linux-${_kernver}
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-${_kernver}/$i
    done
    cd $startdir/pkg/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
    chown -R root.root $startdir/pkg/usr/src/linux-${_kernver}
    find $startdir/pkg/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
    cd $startdir/pkg/lib/modules/${_kernver} && \
    (rm -f source build; ln -sf ../../../usr/src/linux-${_kernver} build)
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D $startdir/src/${pkgname}.preset $startdir/pkg/etc/mkinitcpio.d/${pkgname}.preset || return 1
    # set correct depmod command for install
    sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/kernel26mm.install
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${startdir}/pkg/etc/mkinitcpio.d/${pkgname}.kver
    # remove unneeded architectures
    rm -rf $startdir/pkg/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    just replace all the kernel26mm by kernel26mycustomkernelname. same below with the install file and of course in your kernel config.
    # arg 1: the new package version
    # arg 2: the old package version
    KERNEL_VERSION=2.6.28-mm
    post_install () {
    # updating module dependencies
    echo ">>> Updating module dependencies. Please wait ..."
    depmod $KERNEL_VERSION > /dev/null 2>&1
    # generate init ramdisks
    echo ">>> MKINITCPIO SETUP"
    echo ">>> ----------------"
    echo ">>> If you use LVM2, Encrypted root or software RAID,"
    echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
    echo ">>> More information about mkinitcpio setup can be found here:"
    echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
    echo ""
    echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
    /sbin/mkinitcpio -p kernel26mm
    post_upgrade() {
    pacman -Q grub &>/dev/null
    hasgrub=$?
    pacman -Q lilo &>/dev/null
    haslilo=$?
    # reminder notices
    if [ $haslilo -eq 0 ]; then
    echo ">>>"
    if [ $hasgrub -eq 0 ]; then
    echo ">>> If you use the LILO bootloader, you should run 'lilo' before rebooting."
    else
    echo ">>> You appear to be using the LILO bootloader. You should run"
    echo ">>> 'lilo' before rebooting."
    fi
    echo ">>>"
    fi
    if grep "/boot" /etc/fstab 2>&1 >/dev/null; then
    if ! grep "/boot" /etc/mtab 2>&1 >/dev/null; then
    echo "WARNING: /boot appears to be a seperate partition but is not mounted"
    echo " This is most likely not what you want. Please mount your /boot"
    echo " partition and reinstall the kernel unless you are sure this is OK"
    fi
    fi
    # updating module dependencies
    echo ">>> Updating module dependencies. Please wait ..."
    depmod -v $KERNEL_VERSION > /dev/null 2>&1
    echo ">>> MKINITCPIO SETUP"
    echo ">>> ----------------"
    echo ">>> If you use LVM2, Encrypted root or software RAID,"
    echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
    echo ">>> More information about mkinitcpio setup can be found here:"
    echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
    echo ""
    echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
    if [ "`vercmp $2 2.6.19`" -lt 0 ]; then
    /sbin/mkinitcpio -p kernel26mm -m "ATTENTION:\nIf you get a kernel panic below
    and are using an Intel chipset, append 'earlymodules=piix' to the
    kernel commandline"
    else
    /sbin/mkinitcpio -p kernel26mm
    fi
    if [ "`vercmp $2 2.6.21`" -lt 0 ]; then
    echo ""
    echo "Important ACPI Information:"
    echo ">>> Since 2.6.20.7 all possible ACPI parts are modularized."
    echo ">>> The modules are located at:"
    echo ">>> /lib/modules/$(uname -r)/kernel/drivers/acpi"
    echo ">>> For more information about ACPI modules check this wiki page:"
    echo ">>> 'http://wiki.archlinux.org/index.php/ACPI_modules'"
    fi
    op=$1
    shift
    $op $*
    Last edited by bangkok_manouel (2009-01-27 13:55:34)

  • How to create a custom kernel with initrd and ARCH patches

    Hi,
    I like the default kernel because everything seems to work well and I think the Arch kernel includes patches I need (such as the mactel patch). But some options that i would like to be enabled are not. in fact i would like to use powertop but i can't because it needs the CONFIG_TIMER_STATS option.
    What I would like is a kernel based on the arch kernel but with a different config file. Nothing more.
    if i look at the solution on the Wiki, I see that I have to add all patches the standard kernel have ... Moreover there is no initrd creation. i think i will need it if I use the Arch kernel configuration.
    And if i use the kernel26 PKGBUILD, I must change the package name in order to keep my current kernel. It's easy to do in the PKGBUILD but much more complicated to do it in the kernel26.install file beacuse I have to change the filenames in /boot and I do not want to replace the kernel26 files.
    So do you have any ideas how to compile my custom kernel ? Is there a better solution ?
    Thanks.
    Mildred.
    Last edited by mildred (2007-07-03 01:46:33)

    tomk wrote:It's possible I'm missing something here, but I don't understand what you're worried about. If I understand correctly, you now have a PKGBUILD and associated files for kernel26mildred (or whatever you've decided to call it). Why do you think you would have to change the files again when kernel26 is updated?
    don't the patches change from version to version?
    anyways, i was bored so i wrote a little script... edit the configuration variables at the top and it'll do the work for you. just put it in /var/abs/kernels or wherever you have the kernel26/ at, chmod +x scriptname, and run.
    if you're in /var/abs/kernels you'll probably have to run as root.
    from my testing, it seems to be all working (looking at resulting files and no errors so far from makepkg); but i'm still building my test kernel with it.
    #!/bin/bash
    # Author: kano <[email protected]>
    # Configuration #
    appendname="-custom1" # Name to append to kernel package
    BUILD=0 # Build package when done? No = 0; Yes = 1
    #MAKEPKGOPT="" # Uncomment if you're building after you make; Add any options you want passed to makepkg (can be nothing)
    # Work starts here; shouldn't have to edit anything below #
    mkdir kernel26${appendname}/
    cp kernel26/* kernel26${appendname}/
    regen_md5sum() {
    if [ ${file} != 'PKGBUILD' ]; then
    echo "Regenerating md5sum for ${file}"
    cat kernel26${appendname}/PKGBUILD \
    | sed "s/'`md5sum kernel26/${file} | awk '{ print $1 }'`'/'`md5sum kernel26${appendname}/${file} | awk '{ print $1 }'`'/;" \
    > PKGBUILD.tmp
    mv PKGBUILD.tmp kernel26${appendname}/PKGBUILD
    fi
    for file in "PKGBUILD" "kernel26.preset" "kernel26.install"; do
    echo "Editing ${file}"
    cat kernel26/${file} | \
    sed "s/kernel26/kernel26${appendname}/g" \
    | sed "s/vmlinuz26/vmlinuz26${appendname}/g" \
    | sed "s/kconfig26/kconfig26${appendname}/g" \
    | sed "s/System.map26/System.map26${appendname}/g" \
    > kernel26${appendname}/${file}
    # Regenerate md5sum
    regen_md5sum
    done
    for file in "config" "config.x86_64"; do
    echo "Editing ${file}"
    cat kernel26/${file} | \
    sed "s/CONFIG_LOCALVERSION=\"-ARCH\"/CONFIG_LOCALVERSION=\"-ARCH${appendname}\"/" \
    > kernel26${appendname}/${file}
    # Regenerate md5sum
    regen_md5sum
    done
    mv kernel26${appendname}/mkinitcpio-kernel26.conf kernel26${appendname}/mkinitcpio-kernel26${appendname}.conf
    mv kernel26${appendname}/kernel26.install kernel26${appendname}/kernel26${appendname}.install
    mv kernel26${appendname}/kernel26.preset kernel26${appendname}/kernel26${appendname}.preset
    # Add make menuconfig to PKGBUILD
    cat kernel26${appendname}/PKGBUILD | \
    sed 's/# load configuration/\n # configure kernel before build\n make menuconfig\n\n # load configuration/;' \
    > PKGBUILD.tmp
    mv PKGBUILD.tmp kernel26${appendname}/PKGBUILD
    echo "Custom kernel pkgbuild created."
    # To build or to not to build?
    if [ ${BUILD} -eq 1 ]; then
    cd kernel26${appendname}
    makepkg ${MAKEPKGOPT}
    fi

  • [x86_64] please help with archck64 kernel

    I need a recent kernel to get my onboard NIC working. I´m going to build the archck kernel for x86_64. I want to go with the pkgbuild from the stock arch64 kernel mixing with the existing 32bit archck kernel pkgbuild.
    1. Where can I find all the pkgbuilds for existing x86_64 packages?
    2. It would be nice if someone can point me all needed changes in the kernel config for 64bit. Or I will take the existing config and will look at it doing a diff to the 32bit one. Maybe the gentoo_AMD64 kernel can help me too.
    What do you think? Is the archck patchset also the best to go with for arch64 or should we start with the ck-patchset?
    AndyRTR

    Arch64.org is back up ... so you should soon be able to access svn ..
    not sure if you can grab them from genesis.net  :?
    If you wait for few more days we may see a archck64 kernel 
    In the menatime feel free to build your own (Have got PKGBUILD here if you need it!)
    HTH

  • How to patch kernel with this...

    How can I patch the kernel with this files?
    https://patchwork.kernel.org/patch/94542/
    Archwiki about kernel compilation is really poor...

    Given your apparent level of expertise, it is not reasonable to expect procedures like this to "just work" without putting some time and effort into them. In this case, I would strongly recommend learning about the patch command first, and then learning about ABS (Arch Build System) and PKGBUILDs. You are throwing yourself in at the deep end by attempting to modify the kernel PKGBUILD - people usually work their way up to that.
    In other news - the 2.6.36 kernel has been released, and it includes this patch. The package is currently in the testing repo, and will soon be available in core. If the recommended learning above is not to your liking, I suggest you be patient until that happens. You could enable the testing repo either - but that's a whole other story.

  • Custom kernel compilation with abs..

    Been trying out custom kernel compilation with abs, since i only know the regular make menuconfig style, thought that this would be a good thing to learn.
    here is my kernel pkgbuild (showing only the part that i changed):
    # Contributor: dibblethewrecker <dibblethewrecker>
    pkgname=kernel26
    pkgver=2.6.17.13
    pkgrel=1
    pkgdesc="The Linux Kernel 2.6.x.y and modules (IDE support), built with ... patchset"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    install=kernel26.install
    ##### if you are using a single patch from a patchset you can add the name, without it's extention, below
    patch=2.6.18-rc6-mm2
    ##### add the names of any patches to this section, ensure you have the correct extentions!
    source=($patch.bz2 config ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2 )
    I want to install the 2.6.18-rc6-mm2, so i downloaded that patch and put it in the same folder as PKGBUILD.
    I copied kernel26.install and put it in the same folder as the PKGBUILD.
    when running makepkg it asks for a config file.. So i copied the config file in /var/abs/kernels/kernel26/. But this will build with an old config file.. how can i as when doing the manual way, do a make menuconfig and enter the settings i want for this kernel??
    thanks

    I'd say it does too, and I think the problem is here:
    jinn wrote:I copied kernel26.install and put it in the same folder as the PKGBUILD.
    Did you just copy the install script, or did you edit it to create an image with a unique name? The script is hardcoded to create an image called kernel26.img i.e. the image name required by the stock kernel, so if you ran it as it is, you have overwritten the images for your stock kernel with images for your new kernel.
    You might still be able to boot your new kernel with kernel26-fallback.img, but if not you will have to boot your stock kernel using the initrd image, which will have been unaffected.
    Once your system is running again, you need to regenerate the kernel26 images using mkinitcpio, and then you can start debugging the problem with your new kernel.
    Of course, if you've already edited kernel26.install for your new kernel, ignore the above, and I'll start again.

Maybe you are looking for