Building kernel to install alongsides the one from core

I need to build a kernel with some debug stuff enabled to troubleshoot a bug. I've never done this before and I am in the middle of exams at the university so I am wondering if someone with some experience could help me out here and provide me with a PKGBUILD. I would normally enjoy finding this out myself but I don't have the time to do so at the moment.
I got all files from abs and I modified the config to have CONFIG_LOCALVERSION="-IWL_DEBUG" and the debug stuff I need.
Now I tried compiling the kernel with this PKGBUILD:
pkgbase="kernel26"
#pkgname=('kernel26' 'kernel26-firmware' 'kernel26-headers') # Build stock -ARCH kernel
pkgname=kernel26-iwl_debug # Build kernel with a different name
_kernelname=${pkgname#kernel26}
_basekernel=2.6.32
pkgver=${_basekernel}.3
pkgrel=1
_patchname="patch-${pkgver}-${pkgrel}-ARCH"
arch=(i686 x86_64)
license=('GPL2')
url="http://www.kernel.org"
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2
# the main kernel config files
config config.x86_64
# standard config files for mkinitcpio ramdisk
kernel26.preset)
md5sums=('260551284ac224c3a43c4adac7df4879'
'7fba47d9b1d87de87a612a265fbfb4b1'
'ef3df575c705fe4b49a056e85dee1743'
'5c91374d56f115ba4324978d5b002711'
'25584700a0a679542929c4bed31433b6')
build() { all inside here unmodified
(so I basically just changed the pkgname var)
And the kernel compiled, but the package was empty... It only contained a .PKGINFO file. I've also tried with the original pkgname variable and that gave me a correct package but it overwrote the kernel from core, which I don't want. So I want to have in /boot the files vmlinuz26-iwl_debug and kernel26-iwl_debug and such like e.g. the -ck kernels.
Could anyone help me out here? Thanks a lot!

Ramses de Norre wrote:
Allan wrote:Really helpful wiki article:
http://wiki.archlinux.org/index.php/Cus … n_with_ABS
Yeah I followed that but it doesn't work out. Normally I would troubleshoot this myself, the only reason I am asking here is that I am in the middle of my exams and I don't have the time to do this now. But on the other hand a nasty bug is making my wireless nic unusable so I'd like to be able to get a kernel with debug enabled for the iwlwifi module so that I can give some useful info to the intel guys.
funny, i just ran into the same problem, trying to compile the same config option, to probably debug the same wireless nic bug... /

Similar Messages

  • Hello , can you with a single account creative cloud , install on two computers ? (The one from home and one at work)

    Hello , can you with a single account creative cloud , install on two computers ? (The one from home and one at work)
    This will avoid me lugging around my mac, sorry for my english.
    Margaux, photographer

    Yes, this has been allowed with Adobe applications going back many years.  A program such as Photoshop can legally be installed and activated on two computers at a time for the use of the single licensed user.  You can't install legally on your own and a friend's computer for use by the two different people.  Prior to Creative Cloud, there was an unwritten limit on how many times a given application could be activated, but there is no longer such a limit under CC.  That means you could theoretically install on three or four computers, activating only two at a time, and then deactivating one or both before activating on another computer.

  • Hi - have lost my Install DVD for my macbook Pro - can I use the one from my husbands Macbook or how do I get a new one??

    Hi
    Have lost my Install DVD for macbook pro and need it because my computer black out all the time - can I use the one from my husbands macbook (not pro) or how do I get a new one???

    10.6 Snow Leopard ?
    You can call Apple and order one.  1-800-275-2273
    You cannot use an install dvd that is shipped with another computer.

  • I plugged my iphone 4S into my computer for the first time and then my photos were replaced with the ones from my old iphone, how do i get them back?

    i plugged my iphone 4S into my computer for the first time and then my photos were replaced with the ones from my old iphone, how do i get them back?

    Try restoring from the backup created at the beginning of the sync process:
    Without connecting your phone, open iTunes, go to Preferences, on the Devices tab check "Prevent...from syncing automatically"
    Connect your phone, right-click on the name of your phone when it appears on the left sidebar in iTunes
    Select Restore from backup, choosing your most recent backup to restore from
    Disconnect your phone and confirm that your photos are back
    Go back to iTunes>Preferences>Devices and re-enable automatic syncing.

  • I have an inetrnet modem and the time capsul one, I need to shutdown the internet modem signal so I only get the one from Time capsul. Does anyone knows how to do that?

    How do I turn off a modem signal so I only get the one from the time capsul?

    What is the make & model of your modem?

  • I used to have a itunes account and made a new one which is this one but i noticed that i have 1.00 on my account now and the one from before. is their a way i can merge both my balances to buy the new angry birds game!??

    I used to have a itunes account and made a new one which is this one but i noticed that i have 1.00 on my account now and the one from before. is their a way i can merge both my balances to buy the new angry birds game!??

    Hi Jacob...
    A $1.00 credit or an authorization hold ...
    The $1.00 charge is just an "authorization hold" > iTunes Store & Mac App Store: About credit-card authorization holds that will be credited back to your account usually within 24 to 48 hours.
    is their a way i can merge both my balances to buy the new angry birds game!??
    If it's a $1 credit from a redeemed iTunes gift card, sorry, but Apple's policy states that Apple ID accounts cannot be merged > Frequently Asked Questions About Apple ID

  • How do I upload my pictures from IPad to my computer?  I do not want the ones from my computer to transfer to my IPad.

    How do I upload my pictures from IPad to my computer?  I do not want the ones from my computer to transfer to my IPad.

    iOS: Importing personal photos and videos from ... - Support - Apple

  • HT1766 Is there any way to restore from an older backup? I need the one from about an hour ago!

    Is there any way to restore from an older backup on an iPhone 4S? I need the one from about an hour ago!

    If you have Time Machine and it ran after the backup you want and before the current backup you can restore it from the Time Machine backup.

  • After building index is crawler deletes the data from crawl db?

    HI
    how the search service crawl component works,
    each time after building index is crawler deletes the data from crawl db
    adil

    Hi Adil,
    Index Database is usually called Crawl Database.
    I found a series of articles which goes through what these components are, how they work together, and how to provision them:
    http://blogs.msdn.com/b/russmax/archive/2010/04/16/search-2010-architecture-and-scale-part-1-crawl.aspx
    http://blogs.msdn.com/b/russmax/archive/2010/04/23/search-2010-architecture-and-scale-part-2-query.aspx
    SharePoint Server 2010 Enterprise Search Evaluation Guide:
    https://www.microsoft.com/en-us/download/details.aspx?id=24189
    Regards,
    Rebecca Tu
    TechNet Community Support

  • I had installed some applications on my iphone from my friend's pc, but now when i downloaded some apps on my pc andtry to sync it says the installed apps on my iphone would be replaced by the one from my pc. how can i retain all and copy new apps

    I got some applications like games etc installed on my iphone through a friend's pc.
    now when i downlaoded some apps on my pc and try to sync , it says that the existing apps on my iphone would be replaced by the one in my itune library.
    what is the way that i can have the existing apps on my iphone to remain and also install new apps when i download without losing the installed ones

    I got some applications like games etc installed on my iphone through a friend's pc.
    Were these apps downloaded via your own iTunes AppStore account or your friends?
    now when i downlaoded some apps on my pc and try to sync , it says that the existing apps on my iphone would be replaced by the one in my itune library.
    That's correct. iTunes will delete any apps you have not downloaded through your own iTunes account. If you did use your own iTunes account, choose iTunes > File > Transfer purchases... to move the apps into your own iTunes Library.
    what is the way that i can have the existing apps on my iphone to remain and also install new apps when i download without losing the installed ones
    Re-download the apps through your own iTunes account (pay for them if necessary). Apps cannot be shared between different iTunes user accounts.

  • Can I move photos around in iPad?  There are some photos in camera roll, are those the ones I took with iPad?  Then there are some that are imported-I guess those are the ones from my camera.  Can I combine them into different albums?  Thanks

    Can I mover photos around in iPad?  There are photos on the camera roll-are those the ones I took with iPad?  Then there are the ones labeled as imported-I guess those are the ones I took with my camera?  Can I combine pictures from both into one album?  Thanks.

    At the moment no, you cannot move photos between albums in the Photos app directly on the iPad - but with iOS 5 (which will be free to download) in the Autumn, from http://www.apple.com/ios/ios5/features.html#photos :
    Even organize your photos in albums — right on your device.

  • How to change IP addresses of APs and WLC to the ones from different VLAN

    I'm trying to figure out what is the best practice to change IP addresses on all my access points connected/managed by the WLC.
    I have one WLC2504 controler and three AIR-LAP1041N access points the idea is to change management IP of the WLC from 192.168.2.100 (vlan1) to 192.168.12.100 (vlan79) and all access points accordingly:
    ap1 192.168.2.101 (vlan1) to 192.168.12.101 (vlan79)
    ap2 192.168.2.102 (vlan1) to 192.168.12.102 (vlan79)
    ap3 192.168.2.103 (vlan1) to 192.168.12.103 (vlan79)
    FYI all my APs obtain IP from DHCP server which sits in the vlan1 and each AP is connected to trunk port on Catalyst switch, trunk port (vlan1, vlan79, vlan80, vlan81, vlan82) carries traffic for different WLANs, so my question is what is the best way to change management IP on each device with the minimal downtime.
    Thank you for your advice,
    Luu Manioro

    Well, you will have downtime anyways, but how I would do this is the following:
    Make sure the WLC trunk port has vlan 79 being allowed
    Change the high availability on each AP to point to the hostname of the WLC and the new ip address, you don't need the old ip address anymore
    Console into the WLC or use the service port and change the management ip address and at the same time if possible, move the AP's to the new vlan 79, since they have already joined the WLC, they will know of the ip address of the WLC
    Reboot the AP by shutting down the PoE port or powering off/on the AP
    The AP will find the WLC since you have defined the high availability and also since the AP and WLC are on the same subnet.
    Scott

  • Is there a newer SNMP MIB available than the one from 2003 ???

    Hi, I am fiddling around with my Airport stations and want to monitor them using Nagios. It basically works, I have even found out how to get the values for Signal Strength and Noise (that took me two days, phew) but when I do an snmpwalk using the AIRPORT-BASESTATION-3-MIB which is available (and from 2003), I only see a part of the available values. Values related to the physical interfaces seem not to be available. And as I suppose that the hardware of the APEX has changed since 2003, there should be an updated MIB as well
    So, does anyone know where to get this MIB ?
    Greetings,
    Bernhard
    Message was edited by: bgraf

    setaret2004 wrote:
    but the bufferedinputstream has a read method that reads by byte...Yes, it does. Was that a question?
    If you want to copy the data exactly as it is from one file to another, then don't use a Reader to do that. Readers assume that the data is text and bend it to fit that interpretation. But if the file is actually not text (a JPEG image for example) then that bending actually modifies the data. So just copy the bytes from one place to another.
    I don't really think that everybody should have to reinvent copying data from one place to another, so here's one version of the code:
    public void copy(InputStream in, OutputStream out) throws IOException {
      byte[] buffer = new byte[8192];
      int size;
      while ((size = in.read(buffer)) >= 0) {
        out.write(buffer, 0, size);
      out.flush();
    }

  • I have an iPhone 5 from verizon, can I buy a sim card in europe and replace the one from verizon?

    My iPhone5 is model A1429.
    I purchased it through Verizon within the last 9 months.
    Can I just buy a new sim card and replace the Verizon one while I am in Europe for 25 days?

    After 10 days in Scandinavia, this is what I have learned:
    1.) getting the mini or nano sim has been impossible _ in Sweden, Norway and Denmark the carriers I worked with have the old sim cards that they suggest that you trim down to nano size.  The one I tried was still too thick to fit in the sim card drawer on my iphone 5.
    2.) Verizon was very cooperative and unlocked my phone before I left the USA.
    3.) The Verizon plan may be competitive with plans that cover multiple countries in Europe.  The pricing is sufficiently confusing that providers are hard to compare, ie. initial plan / sim card purchase amout, voice, data, text send / receive rates, varying monthly or package  amounts of mintes and data allowances.
    4.) Keeping cellular data off, using wi-fi has mostly kept cellular data usage low, with a few exceptions resulting from data use for either google or i maps and a probable butt-call or mistaken program left on without wi-fi.
    5.) I am still going to check out France's rate, but I won't report more if the story stays the same.
    Good luck out there.
    Thank you to all that responded.  Even though the information did not help resolve the problem it gave us traction.

  • What about the ONE double core - what do I lose by going this way?

    Just out of curiousity, for someone using Garageband, Final Cut Pro, and otherwise less intense applications, what do I lose if I just go for the single Double core.
    This saves me $500 I can use on ram and drives.
    Thanks in advance.

    It all depends on how fast you want the processing to happen and how well optimized the apps are for multiple-core operation. Since I've yet to see benchmarks for the new systems with FCS, GB or Logic I can't say how much improvement there will be. But any of your apps will be fine with the single processor; they just may not complete processing as quickly so you might wait a bit longer for results.
    If you're not in a hurry to buy, you might want to wait until more benchmarks and tests appear and we see how much improvement there actually is when going from SP (four-core) to DP (eight-core) systems. Then you can make an informed decision as to what's the most cost-effective for your needs.

Maybe you are looking for