Building the Kernel - Quick Question

When building the kernel26 package, does it use the flags specified in makepkg.conf?

No. The kernel uses a set of optimisations known to work for the kernel on the specified architecture. It is not recommended to change these, but i believe they are in the Makefile in the top directory of the kernel-tree.
If you want to change the flags the kernel is compiled with, you can check out zen-sources. It includes a patch so you can change the flags for the compiler and linker in the make <X>config stage

Similar Messages

  • [solved] building the kernel headers for custom kernels

    well, ive been building several different kernels for my laptop, so that i can test stuff. but ive got a problem with the kernel headers.
    ive mirrored the arch kernel's PKGBUILD and modified some naming to get a custom kernel. but when i try to build a custmo module, it complains the headers are broken. (example, vbox_build_module).
    im pasting the pkgbuild here for future reference...if someone sees something thats plain wrong, please say so.
    thanks
    # $Id: PKGBUILD 60382 2009-12-04 15:31:11Z tpowa $
    # Maintainer: Tobias Powalowski <[email protected]>
    # Maintainer: Thomas Baechler <[email protected]>
    pkgbase="kernel26"
    #pkgname=('kernel26' 'kernel26-firmware' 'kernel26-headers') # Build stock -ARCH kernel
    pkgname=('kernel26-git' 'kernel26-git-headers') # Build kernel with a different name
    _kernelname=${pkgname#kernel26}
    pkgver=2.6.34
    pkgrel=1
    _patchname=""
    _branch="linux-2.6"
    _gittag="v2.6.34-rc3"
    #_gittag="origin"
    arch=(i686 x86_64)
    license=('GPL2')
    groups=('base')
    url="http://www.kernel.org"
    source=(config
    # standard config files for mkinitcpio ramdisk
    kernel26.preset
    ${_patchname})
    build() {
    cd ${srcdir}/$_branch
    msg "Fetching branch ${_branch}"
    ## FOR BISECT, Comment these lines
    git reset --hard
    git clean -d -f
    git fetch
    msg "Cheking out tag ${_gittag}"
    git checkout $_gittag
    ### a patch
    if [ "${_patchname}" != "" ]; then
    patch -Np1 -i ${srcdir}/$_patchname || return 1
    fi
    # if [ "$CARCH" = "x86_64" ]; then
    cat ../config.x86_64 >./.config
    # else
    cat ../config >./.config
    # fi
    if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    fi
    # get kernel version
    make prepare
    # load configuration
    # Configure the kernel. Replace the line below with one of your choice.
    make menuconfig # CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    yes "" | make config
    # build!
    make bzImage modules || return 1
    package_kernel26-git() {
    pkgdesc="The Linux Kernel and modules"
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'kernel26-firmware>=2.6.32' 'module-init-tools' 'mkinitcpio>=0.5.20')
    # 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' 'atl2' 'wlan-ng26' 'rt2500')
    install=kernel26.install
    optdepends=('crda: to set the correct wireless channels of your country')
    KARCH=x86
    cd ${srcdir}/$_branch
    _kernver="$(make kernelrelease)"
    mkdir -p ${pkgdir}/{lib/modules,boot}
    make INSTALL_MOD_PATH=${pkgdir} modules_install || return 1
    cp System.map ${pkgdir}/boot/System.map26${_kernelname}
    cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
    # # add vmlinux
    install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset || return 1
    # set correct depmod command for install
    sed \
    -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
    -i $startdir/kernel26.install
    sed \
    -e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
    -e "s|default_image=.*|default_image=\"/boot/${pkgname}.img\"|g" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/${pkgname}-fallback.img\"|g" \
    -i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
    # remove build and source links
    rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
    # remove the firmware
    rm -rf ${pkgdir}/lib/firmware
    package_kernel26-git-headers() {
    pkgdesc="Header files and scripts for building modules for kernel26"
    mkdir -p ${pkgdir}/lib/modules/${_kernver}
    cd ${pkgdir}/lib/modules/${_kernver}
    ln -sf ../../../usr/src/linux-${_kernver} build
    cd ${srcdir}/$_branch
    install -D -m644 Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config \
    ${pkgdir}/usr/src/linux-${_kernver}/.config
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
    for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound trace video; do
    cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
    done
    # copy arch includes for external modules
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
    cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
    cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R ${pkgdir}/usr/src/linux-${_kernver}/scripts
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    if [ "$CARCH" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    # add docbook makefile
    install -D -m644 Documentation/DocBook/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
    # add dm headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h ${pkgdir}/usr/src/linux-${_kernver}/include/linux/
    # add wireless headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    cp net/mac80211/*.h ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
    cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/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 ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
    # in reference to:
    # http://bugs.archlinux.org/task/13146
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/dvb/frontends/lgdt330x.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    # add xfs and shmem for aufs building
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/mm
    cp fs/xfs/xfs_sb.h ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
    # add headers vor virtualbox
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/drm $pkgdir/usr/src/linux-${_kernver}/include/
    # add headers for broadcom wl
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i ${pkgdir}/usr/src/linux-${_kernver}/$i
    done
    cd ${pkgdir}/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
    # add header for aufs2-util
    cp -a ${srcdir}/$_branch/include/asm-generic/bitsperlong.h ${pkgdir}/usr/src/linux-${_kernver}/include/asm/
    chown -R root.root ${pkgdir}/usr/src/linux-${_kernver}
    find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
    # remove unneeded architectures
    rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    package_kernel26-firmware() {
    pkgdesc="The included firmware files of the Linux Kernel"
    groups=('base')
    cd ${srcdir}/$_branch
    make firmware || return 1
    make INSTALL_MOD_PATH=${pkgdir} firmware_install || return 1
    Last edited by eldragon (2010-04-04 14:58:16)

    ngoonee wrote:
    Check out this line
    for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound trace video; do
    for anything that might be missing. The error message when compiling would give you more of a clue. Off-hand, you may need to add 'generated', as I recall I needed that when the kernel moved to 2.6.33.
    Problem with vbox_build_module after Kernel update.
    Would you care to elaborate for us less versed in "Linux Geek" skills?
    Thanks.......
    [root@Arch2009p2 jeff]# vbox_build_module
    Building vboxdrv for Linux 2.6.33-ARCH
    make[1]: Entering directory `/opt/VirtualBox/src/vboxdrv'
    for f in . linux r0drv r0drv/generic r0drv/linux VBox common/err common/string common/log generic math/gcc; \
    do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
    rm -rf .vboxdrv* .tmp_ver* vboxdrv.* Module.symvers Modules.symvers modules.order
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
    make[1]: Entering directory `/opt/VirtualBox/src/vboxnetflt'
    for f in . linux r0drv r0drv/linux VBox common/err common/string common/log generic math/gcc; \
    do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
    rm -rf .vboxnetflt* .tmp_ver* vboxnetflt.* Modules.symvers modules.order
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxnetflt'
    make[1]: Entering directory `/opt/VirtualBox/src/vboxnetadp'
    for f in . linux r0drv r0drv/linux VBox common/err common/string common/log generic math/gcc; \
    do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
    rm -rf .vboxnetadp* .tmp_ver* vboxnetadp.* Modules.symvers modules.order
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxnetadp'
    rm -f vboxdrv.ko vboxnetflt.ko vboxnetadp.ko
    *** Building 'vboxdrv' module ***
    make[1]: Entering directory `/opt/VirtualBox/src/vboxdrv'
    make KBUILD_VERBOSE= -C /lib/modules/2.6.33-ARCH/build SUBDIRS=/opt/VirtualBox/src/vboxdrv SRCROOT=/opt/VirtualBox/src/vboxdrv modules
    make[2]: Entering directory `/usr/src/linux-2.6.33-ARCH'
    CC [M] /opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.o
    In file included from /opt/VirtualBox/src/vboxdrv/include/VBox/types.h:34,
    from /opt/VirtualBox/src/vboxdrv/linux/../SUPDrvInternal.h:39,
    from /opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.c:37:
    /opt/VirtualBox/src/vboxdrv/include/iprt/types.h:100:30: error: linux/autoconf.h: No such file or directory
    make[3]: *** [/opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.o] Error 1
    make[2]: *** [_module_/opt/VirtualBox/src/vboxdrv] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.6.33-ARCH'
    make[1]: *** [vboxdrv] Error 2
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
    make: *** [all] Error 2

  • Heading to the stores - quick questions

    Due to some issues discussed here and some help I received I decided to run out to shop for a few accessories so...
    1. Is there wireless earplugs that are good?
    <<<<<<Warning possible stupid questions>>>>
    2. Can I get a card that will allow me to use internet without having to be near wireless wifi (my home or hotspots)kind of like the sprint aircard I use for my laptop?
    3. Can I upgrade the battery?
    4. I need a dock/charger/player. Clock radio,boombox,types, so are the brands "I..." ("Ihome", "IP23", "Ih27", etc??) Apple Brands - or are they knock offs?
    5. And what about Logitech, Altec, JBL, and Bose. I know they are not Apple Brands but there are for sale in the "store" here on this website. So how can I be sure to get a good one that is better made for Itouch and not have the problems I have been having? (see my other posts)
    Thank you to all of you for your help!

    1. You can buy bluetooth headphones but they need a little adapter that plugs in the bottom of your iPod.
    2. No sry. but you could create an network on your laptop to share the connection.
    3. I believe you can send it back to apple for replacement for a fee.
    4. Are you talking about headphones? Most brands are pretty good. Try them out and see if you can actually hear the difference. Also encoding your music at a higher bitrate or lossless will also aid better sound.

  • Recompiling the Kernel

    Hey guys, I have been playing around with compiling my own kernel on Arch. I have mainly been the method outlined on the Arch Wiki about customising the Kernel26 package, from ABS and using PKGBUILD. I can successfully get kernels to compile and use them problem free.
    However, I'm new to this and doing it just as a learning experience and for fun. My question is, when I come to configuring the new kernel, say by using "menuconfig" or "gconfig" for example, if I were to just leave it how it is and not change any of the selections... Would this just effectively give me the standard Arch kernel when compiled?
    Being new to this kernel building business I would be grateful if someone could point me toward tips on how to optimise my kernel... What I should looking for etc. Is there a way to set the settings to optimal for your system?
    Thanks in advance

    If you have a kernel that's working fine, boot it and try grabbing its configuration from /proc/config.gz .  The kernel in question has to have had a particular option enabled for this file to exist, but they often do (especially stock kernels).
    You'll want to ungzip that and copy it to the Linux source directory (as .config) to use it.
    As a side note, it's usually not worth building your own custom kernel unless you have special patches to apply, or intend to minimalize the entire configuration (and resulting modules).  The performance difference is often minor.
    Since you say you're just doing it for fun, well, enjoy.  You will probably at least learn the names and corresponding kernel modules of all the hardware in your system if you go down the minimal route

  • Simple kernel compilation question

    Hi,
    I'm just trying to get my head around compiling my own 2.6.25.4 kernel.. I'm following the Kernel Compilation from Source guide in the wiki (using pacman/makepkg) tutorial. One thing which is confusing me is after I configure the kernel using make menuconfig and save it, when I build the kernel I still see modules I disabled streaming past. I just would like to clarify how to read the compile output so I have a clue of what is going on... e.g all the CC/[M]/SHIPPED flags.
    Also, whats the difference between setting an option as a module ([M]) or built in?

    What might be happening is that some PKGBUILDs copy the provided config every time the package is built, overwriting any customizations.
    You should copy the $stardir/linux-2.6.25/.config file back to $startdir/config overwriting the previous one, and regenerate the md5 sum with 'makepkg -g'.
    A kernel module is loaded dynamically, with modprobe or insmod. A built-in module is part of the kernel blob, so its loaded the moment the kernel is loaded.

  • 10.7 (Build 11A511) kernel panic whilst in Safari, dragging upward the divider whilst showing all bookmarks

    For reference only
    An extremely rare example of a panic in Build 11A511 of 10.7.
    The panic occurred whilst using Safari 5.1 (7534.48.3) but I can't say whether the bug is in Safari. Maybe an issue with third party software or hardware.
    Sun Jul 24 06:46:18 2011
    panic(cpu 1 caller 0xffffff80002c268d): Kernel trap at 0xffffff800026fef8, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000008, CR3: 0x0000000000100000, CR4: 0x0000000000000660
    RAX: 0x0000000000000001, RBX: 0xffffff8020422bc0, RCX: 0xffffff80e2f95000, RDX: 0xffffff80008a9660
    RSP: 0xffffff80e9293ee0, RBP: 0xffffff80e9293f00, RSI: 0x0000000000000001, RDI: 0x0000000000000000
    R8:  0x0000000000000000, R9:  0x00000000c9269860, R10: 0x0000000000363412, R11: 0x0000000000363410
    R12: 0xffffff8020422120, R13: 0xffffff80008a9660, R14: 0xffffff80139f8240, R15: 0xffffff8003441e80
    RFL: 0x0000000000010082, RIP: 0xffffff800026fef8, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0x0000000000000008, Error code: 0x0000000000000000, Faulting CPU: 0x1
    Backtrace (CPU 1), Frame : Return Address
    0xffffff80e9293ba0 : 0xffffff8000220702
    0xffffff80e9293c20 : 0xffffff80002c268d
    0xffffff80e9293dc0 : 0xffffff80002d7a3d
    0xffffff80e9293de0 : 0xffffff800026fef8
    0xffffff80e9293f00 : 0xffffff80005283e3
    0xffffff80e9293fb0 : 0xffffff8000820057
    BSD process name corresponding to current thread: kernel_task
    Boot args: -v
    Mac OS version:
    11A511
    Kernel version:
    Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64
    Kernel UUID: 24CC17EB-30B0-3F6C-907F-1A9B2057AF78
    System model name: MacBookPro5,2 (Mac-F2268EC8)
    System uptime in nanoseconds: 22881885440733
    last loaded kext at 22026194103112: com.apple.driver.CoreStorageFsck          180 (addr 0xffffff7f807b5000, size 90112)
    last unloaded kext at 22170058866400: com.apple.driver.AppleUSBCDC          4.1.15 (addr 0xffffff7f80795000, size 12288)
    loaded kexts:
    com.google.filesystems.fusefs          2.1.9
    com.protectmac.kext.AntiVirus          1.1.5
    org.virtualbox.kext.VBoxNetAdp          4.1.0
    org.virtualbox.kext.VBoxNetFlt          4.1.0
    org.virtualbox.kext.VBoxUSB          4.1.0
    org.virtualbox.kext.VBoxDrv          4.1.0
    foo.tun          1.0
    foo.tap          1.0
    com.iospirit.driver.rbiokithelper          1.18
    com.apple.filesystems.smbfs          1.7.0
    com.apple.driver.AppleHWSensor          1.9.4d0
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AppleHDA          2.1.1f11
    com.apple.driver.AppleMikeyDriver          2.1.1f11
    com.apple.driver.AGPM          100.12.40
    com.apple.driver.SMCMotionSensor          3.0.1d2
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.AppleMCCSControl          1.0.24
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.2.0
    com.apple.driver.AppleSMCLMU          2.0.1d2
    com.apple.driver.AppleLPC          1.5.1
    com.apple.driver.ACPI_SMC_PlatformPlugin          4.7.0b2
    com.apple.driver.AppleMuxControl          3.0.8
    com.apple.GeForce          7.0.2
    com.apple.driver.AppleUSBTCButtons          220.8
    com.apple.driver.AppleUSBTCKeyboard          220.8
    com.apple.driver.Oxford_Semi          3.0.0
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          32
    com.apple.iokit.SCSITaskUserClient          3.0.0
    com.apple.iokit.IOAHCIBlockStorage          2.0.0
    com.apple.driver.AppleFWOHCI          4.8.6
    com.apple.driver.AirPort.Brcm4331          500.20.6
    com.apple.driver.AppleUSBHub          4.4.0
    com.apple.driver.AppleAHCIPort          2.1.8
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleEFINVRAM          1.5.0
    com.apple.nvenet          2.0.17
    com.apple.driver.AppleUSBEHCI          4.4.0
    com.apple.driver.AppleUSBOHCI          4.4.0
    com.apple.driver.AppleRTC          1.4
    com.apple.driver.AppleHPET          1.6
    com.apple.driver.AppleACPIButtons          1.4
    com.apple.driver.AppleSMBIOS          1.7
    com.apple.driver.AppleACPIEC          1.4
    com.apple.driver.AppleAPIC          1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient          166.0.0
    com.apple.nke.applicationfirewall          3.0.30
    com.apple.security.quarantine          1
    com.apple.driver.AppleIntelCPUPowerManagement          166.0.0
    com.apple.kext.triggers          1.0
    com.apple.driver.IOBluetoothHIDDriver          2.5f17
    com.apple.driver.DspFuncLib          2.1.1f11
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.iokit.IOFireWireIP          2.2.3
    com.apple.iokit.IOSurface          80.0
    com.apple.iokit.IOBluetoothSerialManager          2.5f17
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.iokit.IOAudioFamily          1.8.3fc11
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.AppleHDAController          2.1.1f11
    com.apple.iokit.IOHDAFamily          2.1.1f11
    com.apple.driver.AppleSMC          3.1.1d2
    com.apple.driver.IOPlatformPluginFamily          4.7.0b2
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.AppleGraphicsControl          3.0.8
    com.apple.driver.AppleBacklightExpert          1.0.3
    com.apple.nvidia.nv50hal          7.0.2
    com.apple.NVDAResman          7.0.2
    com.apple.iokit.IONDRVSupport          2.3
    com.apple.iokit.IOGraphicsFamily          2.3
    com.apple.driver.BroadcomUSBBluetoothHCIController          2.5f17
    com.apple.driver.AppleUSBBluetoothHCIController          2.5f17
    com.apple.iokit.IOBluetoothFamily          2.5f17
    com.apple.driver.AppleUSBMultitouch          220.23
    com.apple.iokit.IOSCSIReducedBlockCommandsDevice          3.0.0
    com.apple.iokit.IOFireWireSerialBusProtocolTransport          2.1.0
    com.apple.iokit.IOFireWireSBP2          4.2.0
    com.apple.iokit.IOUSBHIDDriver          4.4.0
    com.apple.driver.CoreStorage          180
    com.apple.driver.AppleUSBMergeNub          4.4.0
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.0.0
    com.apple.iokit.IOUSBMassStorageClass          3.0.0
    com.apple.driver.AppleUSBComposite          3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.0.0
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.6
    com.apple.iokit.IOCDStorageFamily          1.7
    com.apple.driver.XsanFilter          403
    com.apple.iokit.IOAHCISerialATAPI          2.0.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.0.0
    com.apple.iokit.IOFireWireFamily          4.4.3
    com.apple.iokit.IO80211Family          400.40
    com.apple.iokit.IOUSBUserClient          4.4.0
    com.apple.iokit.IOAHCIFamily          2.0.6
    com.apple.iokit.IONetworkingFamily          2.0
    com.apple.iokit.IOUSBFamily          4.4.0
    com.apple.driver.NVSMU          2.2.9
    com.apple.driver.AppleEFIRuntime          1.5.0
    com.apple.iokit.IOHIDFamily          1.7.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          165
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          326
    com.apple.iokit.IOStorageFamily          1.7
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.4
    com.apple.iokit.IOPCIFamily          2.6.5
    com.apple.iokit.IOACPIFamily          1.4
    The screenshots below were taken after the event, a mock-up of my best recollection of actions before the panic.
    AFAIR it was after I dragged, maybe as I released the mouse, that the panic occurred.
    I do not seek help with this, but if I draw a conclusion I'll post again.

    Here is some information that will answer your Kernel Panic questions for every level of interest.
    (1) Start here for help understanding and resolving kernel panics: http://www.thexlab.com/faqs/kernelpanics.html
    Don't be concerned that OS X 10.6 is not specifically mentioned. This info also applies to SL Macs.
    Another KP help site:http://www.index-site.com/kernelpanic.html
    Apple's KP knowledge base article: http://support.apple.com/kb/HT1392
    Apple's 10.6 help article: http://docs.info.apple.com/article.html?path=Mac/10.6/en/8965.html
    In-depth KP info: http://developer.apple.com/mac/library/technotes/tn2002/tn2063.html
    (2) Panics are often (but not always) hardware related, so disconnect unnecessary peripherals, check any RAM or hardware you have added, and try the suggestions in the links above one-by-one until you find the one that fixes your problem. If your trouble persist, or if your time is critical, you might want to ask your Apple Service Technician to work the problem for you.
    EZ Jim
    Mac Pro Quad Core (Early 2009) 2.93Ghz Mac OS X (10.6.6); MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.6)
    LED Cinema Display; G4 PowerBook 1.67GHz (10.4.11); iBookSE 366MHz (10.3.9); External iSight; iPod4touch4.2.1

  • [SOLVED]How to patch the kernel? And other questions

    Like the same user who started this thread I'm suffering from hibernation resuming troubles using kernel 2.6.38. In that thread was posted a soluttion that involves patching the kernel.
    The patch to apply is this:
    http://git.kernel.org/?p=linux/kernel/g … e3e9fc8684
    Waiting for the bug to be corrected and a new version supplied is not an option, because this laptop is my main computer and I heavly rely on hibernation.
    Here's my trouble now. I don't know if it is possible to patch without recompiling the whole kernel, or it has to be compiled with that patch applied. I have seen the archlinux's wiki guide about compiling the kernel, but found nothing about applying patches (maybe I didn't searched with enought depth).
    In case there is needed a full compilation, should I use the vanilla kernel, the Arch Linux one or any of the AUR ones (I said AUR because they're the first that came to my mind)? Should i expect a performance gain with this (apart from fixing the hibernation bug)?
    Maybe i'm just doing a bunch of dumb questions, and the only thing I need is to search deeply on the wiki. In that case, please tell me. If not, I rather get some answers around kernel patching and / or compiling questions.
    Edit: In addittion, it is possible that all this questions are just newbie ones, I don't know, but as I am willing to learn from this I will appreciate any info or documentation about it.
    Thank you.
    Last edited by ethail (2011-04-12 06:30:48)

    From the source tree (/usr/src/linux-whatever) execute
    patch -p1 < /path/to/fix.patch
    then recompile kernel from the source tree.
    Basically that consists of executing the following commands from the source tree:
    make menuconfig
    make
    make modules_install
    cp -v System.map /boot/System.map-CUSTOM
    cp -v arch/x86/boot/bzImage /boot/vmlinuz-CUSTOM
    mkinitcpio -k 2.6.38-CUSTOM -g /boot/kernel-CUSTOM.img
    and you need to add menu entry in /boot/grub/menu.lst
    -k 2.6.38-CUSTOM should corespond to /lib/modules/2.6.38-CUSTOM (replace 2.6.38-CUSTOM with the name of your module directory, name depends on the kernel version and suffix that you gave in menuconfig). Regarding kernel configuration in menuconfig - I can't help you, you could use arch stock kernel config (zcat /proc/config.gz > /usr/src/linux-whatever/.config)
    I do these kind of things this way - maybe someone else have a more elegant solution.

  • [SOLVED] How to add modules to build with the kernel?

    Hello i´m trying to learn how to build my own custom kernel and doing it the arch way https://wiki.archlinux.org/index.php/Ke … raditional. But unfortunately dm-crypt was not included in the kernel so it all failed.
    svart_alg% sudo mkinitcpio -k 3.15.6 -c /etc/mkinitcpio.conf -g /boot/initramfs-test.img
    ==> Starting build: 3.15.6
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [lvm2]
    ==> ERROR: module not found: ‘dm-snapshot’
    -> Running build hook: [encrypt]
    ==> ERROR: module not found: ‘dm-crypt’
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> WARNING: No modules were added to the image. This is probably not what you want.
    ==> Creating gzip initcpio image: /boot/initramfs-test.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    I have never don any of this before and have no idea of how to add a missing module to the kernel i´m building. So i search on internet and had a very hard time finding a good guide for this but i fond one possible solution. https://www.kernel.org/doc/Documentatio … odules.txt
    svart_alg% make -C /home/nigro_alko/Kernel/linux-3.15.6 M=/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in
    make: Entering directory ‘/home/nigro_alko/Kernel/linux-3.15.6‘
    mkdir: cannot create directory ‘/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in’: Not a directory
    scripts/Makefile.build:44: /home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in/Makefile: Not a directory
    make[1]: *** No rule to make target ‘/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in/Makefile’. Stop.
    Makefile:1310: recipe for target ‘_module_/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in’ failed
    make: *** [_module_/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in] Error 2
    make: Leaving directory ‘/home/nigro_alko/Kernel/linux-3.15.6‘
    So is there any one that have time to help a lost little newbie i would bee very happy  :-)
    Last edited by Moosey_Linux (2014-07-29 15:00:40)

    karol wrote:Why do you want a custom kernel in the first place?
    Moosey_Linux wrote:i´m trying to learn how to build my own custom kernel
    Reason enough IMO. But anyway... you refer to the Traditional build method in the wiki, but is it possible you didn't really read it? Or maybe you only skimmed it? Did you run make menuconfig? Did you try to build everything in instead of using modules? That mkinitcpio output suggests that you did.
    As suggested there for first-timers, it's a good idea to start with a kernel configuration that is known to work - the Arch config is the obvious choice, but there are other sources e.g. http://kernel-seeds.org/ .

  • Quick Question: When to use ( ) and when to use [ ] and why the ( *)

    Hi all,
    A quick question that i'm sure is very simple but is slightly confusing me. I've just started trying to learn Objective-C and am a little confused by ( ) and [ ].
    I get that you use the [ ] brackets when you want something specific from an object, i.e.
    [ textField textColor ]
    and that you use ( ) brackets for things like:
    if ( x == y) {
    But I get confused when I see things like:
    NSLog(@"some text here");
    Why does that get ( ) brackets and why is it not [ ].
    Also another point of confusion, creating methods... Why are some methods done like:
    - (void)awakeFromNib
    And others done like (with the additional "*" added):
    - (NSString *)stringvalue
    As I said, I'm sure this is very simple and obvious, but it is confusing me slightly.
    Thanks in advance!

    Adam:
    As you already know, square brackets are used to send a message to an object, so if a object like myObject implements the method -doSomething, you can call it with:
    \[myObject doSomething\];
    The other use square for brackets have is to index C-style arrays, such as:
    aValue = anArray\[10\]; // Get the 10-element of an array
    However, because C-style arrays are rarely used in Cocoa applications (use NSArray instead) you will not see this situation often.
    Parenthesis in expressions are used to group and prioritize, such as:
    x = 10 * (3 + 5); // x = 80
    If () statements use it to delimit the test expression. Same with while (). for () uses it to enclose the limits and increment statements, etc.
    The other important use of parenthesis is in calling a C function:
    result = foo(3);
    means that you are calling the function named foo with the argument 3, and storing the the return value in the variable 'result'. This is different from a message because a C function is not a method of an object. They exist independently of any objects. NSLog() is a function defined within Cocoa but it is not a method. So, you call it with the traditional C function call syntax. Cocoa defines other functions like NSStringFromRect(), which takes an NSRect as argument and returns a pointer to an NSString.
    And that leads me to your last question. Some methods return simple types, like int, float, or void (i.e. returns no value). These methods will have prototypes like:
    \- \(void\)returnNothing;
    \- (int)returnInteger;
    Other methods return pointers to types, like:
    \- (int \*)returnPointerToInteger;
    \- (void \*)returnPointerToAnything; // In obj-C one typically uses id instead of void*
    Returning whole objects from methods has problems and it is better to just return a pointer (the address in memory) instead:
    \- (NSString *)makeAString;
    The method above returns a pointer to an NSString rather than the entire object.
    Good luck with your learning,
    Juan-Pablo
    Message was edited by: Juan Pablo Claude

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Quick Question about Cisco 3560 and the Web Device Manager

    Alright, I have a quick question that I am curious about but I haven't found any information
    about it.
    When I log into my Cisco 3560 using the web portal to get to the Device Manager. Below the
    diagram of the switch, then under the Dashboard there is section called Switch
    Health, Port Utilization.
    Under the Switch Health there is Bandwidth Used, Packet Error. Those two options just sit
    at zero and do not move. The Port tilization graph is also sitting at zero.
    Is there a way to make them functional?

    Anyone notice performance increase or decrease of their HD when using the nVidia IDE SW drivers?  particularly with a 74GB Raptor?  I've also heard of burner issues when installing the IDE SW but have not used my burner yet.

  • Quick question about kernel

    I switched my old desktop to Arch 64 in anticipation for my new rig that will be ready in a few days. My question is, will the kernel recognize the processor correctly right off the bat and reconfigure itself accordingly or do I need to reinstall the whole system? It sounds silly I suppose, but I just want to be safe and be ready for any troubleshooting if it will come my way. Also, if switching from AMD -> Intel might also cause a problem (I doubt it, but mentioning anyway), lemme know if that might cause a problem too. I don't expect any of this to, but I would just like to ask so I don't my hopes up of the computer running fine on the install it has now on the get-go.

    hume's doona wrote:
    I think that depends on the kernel. A stock kernel should be set up for generic x86-64 and take a range of processors, but it is possible to only allow the features of a smaller set, like core 2 duo, or 64 bit atoms.
    If you are asking, I'm assuming it's not a custom kernel and should be fine on a different cpu
    Well it's configured around an ages-old AMD 64 single-core (How many ever existed?). I set up the computer... about 3-4 weeks ago by net installation. I'll just assume that it it will take a wide range and bring up the issue up again later if it happens that the kernel hates my i7.

  • Quick question!!  Is it mandatory that I set up my DSL through the time capsule? I'd like to leave my current modem from my provider as the primary unit for networking.  So in other words can I just set up the time capsule as a back-up device for now and

    Quick question!!  Is it mandatory that I set up my time capsule as my DSL modem?  Based on the location of my iMAC right now it would be better to just leave the modem provided by my internet provider in place.  I really just want to use the time capsule as a back-up storage device for now and connnect the ethernet cable from my ISP at a later date.

    Generally it is easier to bridge the TC and plug it into the router.. it then lives on the network.. it is after all, a network drive.. and you can access it via your existing connection whether wireless or wired to the existing modem.
    If you really want a totally stand alone setup please tell me how you are presently accessing internet on the Mac you want to backup on the TC.

  • Hi guys. Just a quick question. My wife has a Mac Book Pro and when she is browsing the web she can use a two fingered gesture to go back to her previous page (by swiping from right to left). Is there any way to set that up on my iPad Mini. Many thanks.

    Hi guys. Just a quick question. My wife has a Mac Book Pro and when she is browsing the web she can use a two fingered gesture to go back to her previous page (by swiping from right to left). Is there any way to set that up on my iPad Mini. Many thanks.

    Not in the Safari browser she can't. That is not supported on the iPad. There are other mobile browsers that do have that functionality - one is iCab Mobile.
    https://itunes.apple.com/us/app/icab-mobile-web-browser/id308111628?mt=8

  • Hi there, I just bought an iMac 2011.  Just a quick question.  Are those keyboard and mouse batteries that comes with the package are rechargeable?

    Hi there, I just bought an iMac 2011.  Just a quick question.  Are those keyboard and mouse batteries that comes with the package are rechargeable?  Thanks!

    Mine was bought last year and they were not; it they don't say "rechargeable". they're not. I started to use rechargeable as soon as the original batteries died.

Maybe you are looking for

  • Iphone Backup restore Help please

    Does anyone know how to restore your backup after the "restore iphone backup" option is gone, Without having to restore the phone again

  • How to create ringtones with itunes?

    ok how do i go about creating ringtones with the music in my playlists in itunes? and how do i transfer ringtones that are on my computer to the ringtone library?

  • Customize the color of bars in chart

    Hi All, How to customize the color of a simple bars in a simple bar chart having Year and Sales as measure so that for each year different color is generated? Thanks, Sushil

  • Codes appearing on the Body of my Outlook e-mails

    Can someone make this stop?  I keep getting these codes when I send an email.  Actually I'm not sure if it's the mail I'm sending or receiving.  It started the day i started to get my emails on both my outlook and Blackberry. /* Font Definitions */ /

  • Design a report like this

    Hi, Can someone please tell me how to design a report this in the following link here: I am wondering how can we have such a background color and bar color in Power View in SharePoint or Power View in Excel. Thanks