Ccache and kernel compilation -SOLVED

I have installed ccache and am compiling the kernel from the commandline, but can't get ccache working. Compiling takes a while, and ccache -s says there are no cached files. Read the wiki and man ccache, am a bit confused, and thought I had done what they suggested, but obviously not.
Can anyone help me set this up? Preferably I would like  all compiling to be done using ccache, not just using makepkg. I think I have to softlink ccache and gcc, not sure how to do this.
Happily, my custom compiled kernel boots fine, sound is the only thing not working.
Last edited by scooby (2009-11-26 00:05:29)

I have discovered one of the cardinal rules for using Arch...if something doesn't work, check for typos.
ccache is working now,  makes kernel compiling so much easier.
I'm having a read finding out the pros/cons of using PKGBUILD for a custom kernel. Not too fussed, everything works and it boots ridiculously quickly.
Last edited by scooby (2009-11-25 23:06:24)

Similar Messages

  • Vmware-server 1.0.1 and kernel *.19 [solved]

    Hi,
    since I upgraded the kernel from 2.6.18 to .19 I cant get my vmware-server running. Has anybody else this problem?
    I ran vmware-config.pl again but it always crashes with:
    make[1]: Entering directory `/usr/src/linux-2.6.19-ARCH'
    CC [M] /tmp/vmware-config2/vmnet-only/driver.o
    CC [M] /tmp/vmware-config2/vmnet-only/hub.o
    CC [M] /tmp/vmware-config2/vmnet-only/userif.o
    /tmp/vmware-config2/vmnet-only/userif.c: In Funktion »VNetCopyDatagramToUser«:
    /tmp/vmware-config2/vmnet-only/userif.c:629: Fehler: »CHECKSUM_HW« nicht deklariert (erste Benutzung in dieser Funktion)
    /tmp/vmware-config2/vmnet-only/userif.c:629: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
    /tmp/vmware-config2/vmnet-only/userif.c:629: Fehler: für jede Funktion in der er auftritt.)
    make[2]: *** [/tmp/vmware-config2/vmnet-only/userif.o] Fehler 1
    make[1]: *** [_module_/tmp/vmware-config2/vmnet-only] Fehler 2
    make[1]: Leaving directory `/usr/src/linux-2.6.19-ARCH'
    make: *** [vmnet.ko] Fehler 2
    make: Leaving directory `/tmp/vmware-config2/vmnet-only'
    Unable to build the vmnet module.
    I try to create this error in english later, but maybe u know the problem already. I found sth about a any-any-patch but I couldnt find out if this is related to arch.
    Would be great if somebody could give me a hint.
    Btw, Merry Christmas [/i]

    Merry Christmas to you too.
    Yes. The problem is related to the any-any-patch.
    Get the latest version of the patch and run it. That should solve the problem.
    If for whatever reason it fails then, and only then, look for this file:
    /lib/modules/2.6.18-ARCH/build/include/linux/version.h, and make sure it  contains a line for the UTS_RELEASE, and if it does not, add at the end the following: define UTS_RELEASE "2.6.19-ARCH"
    Then run the patch again.
    Hope it helps.
    R

  • Kernel compile problem

    in arch 0.7, when i compile redhat hat kernel 2.4.21-27.0.1.EL, gcc 3.4.3 complains:
    gcc -D__KERNEL__ -I/data/linux-2.4.21-27.0.1.EL/include -Wall -Wstrict-prototypes -Wno-trigraphs -O3 -fno-strict-aliasing -fno-common  -Wno-unused -funroll-loops -fomit-frame-pointer -fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-boundary=2 -march=pentium4   -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
    In file included from /data/linux-2.4.21-27.0.1.EL/include/linux/sched.h:24,
                    from /data/linux-2.4.21-27.0.1.EL/include/linux/mm.h:22,
                    from /data/linux-2.4.21-27.0.1.EL/include/linux/slab.h:14,
                    from /data/linux-2.4.21-27.0.1.EL/include/linux/proc_fs.h:5,
                    from init/main.c:15:
    /data/linux-2.4.21-27.0.1.EL/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule'
    /data/linux-2.4.21-27.0.1.EL/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here
    /data/linux-2.4.21-27.0.1.EL/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule'
    /data/linux-2.4.21-27.0.1.EL/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here
    In file included from /data/linux-2.4.21-27.0.1.EL/include/linux/unistd.h:9,
                    from init/main.c:17:
    /data/linux-2.4.21-27.0.1.EL/include/asm/unistd.h:382: warning: conflicting types for built-in function '_exit'
    make: *** [init/main.o] Error 1
    gcc info:
    Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
    Configured with: ../gcc-3.4.3/configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit
    Thread model: posix
    gcc version 3.4.3
    but when i compile the kernel src in redhat as 3 with the same kernel config , compiling options and kernel compiling procedure, everything is ok. the gcc info:
    Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
    Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
    Thread model: posix
    gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
    what's the problem ? it's something between gcc 3.4 and kernel 2.4.21 (or redhat ?) ? how to resolve this problem ?

    jnengland77 wrote:
    hmmm if you need the patch Con Kolivas has a patch... idk if this is the exact need.
    1g lowmem?
    Many machines now have exactly 1Gb ram and the standard memory split on i386 does not allow you to use more than 896Mb ram without enabling high memory for at least 4Gb. The problem is that this incurs an overhead whereas we can simply change this split with this patch to allow i386 architectures to use up to 1Gb ram without enabling highmem. This is configurable if HIGHMEM is disabled.
    I also don't know if his old patches have the patch or if the current will work on the 2.4 kernel..
    Just looked around and found the 2.4 are now Ick patchset and i don't see that... CK does have a server patch... If anything just get the 2.6 CK server patchset...   2.6 is stable, but how am I to say I've only used 2.6... Go with 2.6 ck server.
    websites:  CK patchset 2.6
    ICK 2.4 patchset
    i really want a huge kernel space, and i can't find the 4G kernel space vm patch for 2.4 at these links
    thanks anyway

  • [solved]wacom doesn't work after upgrade to xorg 1.6 and kernel 2.6.29

    hello..
    i have already posted about that in testing-forums, but since xorg 1.6 and kernel 2.6.29 have moved to extra, though i'd create a seperate topic about that.
    after i have upgraded to xorg 1.6 and kernel 2.6.29 my wacom device (as built-in, not usb) on my thinkpad x41t stopped working.
    before upgrade i have used xorg with hotplugging enabled. everything worked fine.
    after wacom stopeed working i removed everything regarding input devices from xorg.conf -> no change
    put an fdi-file for wacom -> no change
    installed linuxwacom-dev -> no change
    i don't really know, if it's a kernel or an xorg issue. loading wacom drivers manually still doesn't solve the problem. no warnings or errors about wacom in xorg-log or messages.log
    how could i check, wether my system recognizes the device properly at all? it doesn't show up in lspci or in lsusb.
    any help would be great.
    Last edited by lynucs (2009-04-14 18:57:17)

    well, upgraded again to xorg-server 1.6, disabled hotplugging, installed linuxwacom-dev from aur and the wacom works as allways. (had to edit xmodmap one more time, since kbd returns other keycodes than evdev does :-| ). no matter, done is done.
    but intel driver returns broken graphics if i rotate screen with xrandr.
    i guess there is no way around this execpt switching to the ultra-slow legacy driver?
    just for comparison - glxgears fps:
    intel: ~900fps
    intel-legacy: ~280fps
    Last edited by lynucs (2009-04-14 18:56:48)

  • [SOLVED] Can't get ccache and colorgcc to work together

    Hi all,
    Has anyone figured out how to get ccache and colorgcc to work at the same time?  I can only get one or the other, but not both.
    If I put them both in the path, with colorgcc first, then "g++" invokes colorgcc, which then calls /usr/bin/g++, skipping ccache.
    If I put ccache first in the path instead, then running "g++" invokes ccache, which then calls /usr/bin/g++, skipping colorgcc for some reason.
    Putting colorgcc back to first in the path, then editing /etc/colorgcc/colorgccrc means I can set the compiler paths to point to ccache.  However then running "g++" invokes colorgcc, which calls ccache, but then ccache seems to call colorgcc again, which calls ccache, which calls colorgcc, etc, etc.
    Perhaps I'm missing something, but I can't see how you tell ccache where the compiler binaries are located, as this seems to be the problem - ccache autodetects them, and always seems to pick the ones I don't want!
    Any suggestions?
    Last edited by Malvineous (2011-05-03 01:29:48)

    Ha, ok, as usual as soon as I post in a forum I stumble across the answer.  Turns out there's a CCACHE_PATH environment variable you can use to tell ccache where to look for the real compilers.  It doesn't seem to work setting this to point to colorgcc, but putting only colorgcc in the path, editing /etc/colorgcc/colorgcc to point to ccache, then setting CCACHE_PATH=/usr/bin seems to do the trick...
    But if there's a better way please let me know!

  • Compiling and Installing Compiled Kernel

    Hi everyone, today i followed the "Kernel Compilation From Source" (https://wiki.archlinux.org/index.php/Ke … rom_Source) ArchWiki to compile a kernel downloaded from kernel.org. And i use the second method to compile and install with makepkg.
    When the compilation is done, it can't be installed because the name of the file.
    I know i must specify a new name for the new linux image and the System.map to have two or more kernels installed. But "where" in the PKGBUILD i must change the name of the files???
    I'm using the PKGBUILD from the wiki:
    pkgname=kernel26-my
    basekernel=2.6.32.8
    pkgver=2.6.32.8
    pkgrel=1
    pkgdesc="The Linux Kernel and modules"
    arch=('i686' 'x86_64')
    license=('GPL')
    url="http://www.kernel.org"
    depends=('module-init-tools' 'mkinitcpio')
    provides=(kernel26)
    install=kernel26.install
    build() {
    LOCAL_VERSION="$(grep "CONFIG_LOCALVERSION=" $startdir/.config | sed 's/.*"\(.*\)"/\1/')"
    cd ..
    make || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    # There's no separation of firmware depending on kernel version -
    # comment this line if you intend on using the built kernel exclusively,
    # otherwise there'll be file conflicts with the existing kernel
    rm -rf $startdir/pkg/lib/firmware
    install -Dm644 "System.map" "$startdir/pkg/boot/System.map26$LOCAL_VERSION"
    install -Dm644 "arch/x86/boot/bzImage" "$startdir/pkg/boot/vmlinuz26$LOCAL_VERSION"
    # Change the version strings in kernel26.install
    sed -i \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=\"$basekernel\"/" \
    -e "s/LOCAL_VERSION=.*/LOCAL_VERSION=\"$LOCAL_VERSION\"/" \
    $startdir/kernel26.install
    And also the kernel26.install
    KERNEL_VERSION="2.6.32.8"
    LOCAL_VERSION="-MINE"
    post_install () {
    echo ">>> Updating module dependencies..."
    /sbin/depmod -A -v ${KERNEL_VERSION}${LOCAL_VERSION}
    echo ">>> Creating initial ramdisk..."
    mkinitcpio -k "${KERNEL_VERSION}${LOCAL_VERSION}" -g "/boot/kernel26${LOCAL_VERSION}.img"
    post_upgrade() {
    echo ">>> Updating module dependencies..."
    /sbin/depmod -A -v ${KERNEL_VERSION}${LOCAL_VERSION}
    echo ">>> Creating initial ramdisk..."
    mkinitcpio -k "${KERNEL_VERSION}${LOCAL_VERSION}" -g "/boot/kernel26${LOCAL_VERSION}.img"
    Thanks in advance.
    Last edited by Hyugga (2010-11-11 02:48:14)

    When installing the kernel there is some problem when the "mkinitcpio" is running: sd_mod error.
    I can install and boot the kernel afterwards but when i get to kdm, the keyboard and the touchpad/mouse doesn't work.
    I double checked the .config file and i have enabled the keyboard and the mouse options.
    What can i do?
    Thanks...

  • Lots of hard locks and kernel crashes/oops ["SOLVED"-bad motherboard]

    I have been experiencing a lot of hard locks and kernel crashes/oops(es?) lately. This computer has always had random freezes in both WinXP and Linux (various distributions -- including live cds).
    Here is my latest crash (from dmesg):
    PCI: setting IRQ 12 as level-triggered
    PCI: Found IRQ 12 for device 0000:02:05.0
    Bad pte = dfbdf272, process = ???, vm_flags = 3f3f, vaddr = b7e6d0ac
    Pid: 1470, comm: load-modules.sh Not tainted 2.6.25-ARCH #1
    [<c016e775>] handle_mm_fault+0x2c5/0x850
    [<c011d0c9>] do_page_fault+0x2a9/0x790
    [<c014169d>] hrtimer_start+0xdd/0x1e0
    [<c0125a16>] hrtick_set+0xc6/0x140
    [<c03053ef>] schedule+0x3af/0x850
    [<c01437e5>] getnstimeofday+0x35/0xe0
    [<c01419e8>] ktime_get+0x18/0x40
    [<c0305a76>] preempt_schedule+0x56/0x70
    [<c012386f>] wake_up_new_task+0x8f/0xd0
    [<c0128643>] do_fork+0xd3/0x2b0
    [<c011ce20>] do_page_fault+0x0/0x790
    [<c0307d52>] error_code+0x72/0x78
    [<c0300000>] cpu_init+0x220/0x29a
    =======================
    VM: killing process load-modules.sh
    lshwd output:
    00:00.0 Class 0600: Intel Corp.|82865G [Springdale-G] Chipset Host Bridge (intel-agp)
    00:01.0 Class 0604: Intel Corp.|82865G/PE/P Processor to AGP Controller (unknown)
    00:1d.0 Class 0c03: Intel Corp.|USB Controller (uhci_hcd)
    00:1d.1 Class 0c03: Intel Corp.|USB Controller (uhci_hcd)
    00:1d.2 Class 0c03: Intel Corp.|USB Controller (uhci_hcd)
    00:1d.3 Class 0c03: Intel Corp.|82801EB USB EHCI Controller #2 (uhci_hcd)
    00:1d.7 Class 0c03: Intel Corp.|USB Enhanced Controller (ehci-hcd)
    00:1e.0 Class 0604: Intel Corp.|82820 815e (Camino 2) Chipset PCI (hw_random)
    00:1f.0 Class 0601: Intel Corp.|82801EB ISA Bridge (LPC) (i810-tco)
    00:1f.1 Class 0101: Intel Corp.|82801EB ICH5 IDE (ata_piix)
    00:1f.2 Class 0101: Intel Corp.|82801EB ICH5 IDE (SATA) (ata_piix)
    00:1f.3 Class 0c05: Intel Corp.|82801EB SMBus (i2c-i801)
    01:00.0 Class 0300: nVidia Corp.|NV18 GeForce4 MX440 AGP 8x (nv)
    02:05.0 Class 0401: Avance Logic Inc.|ALS4000 Audio Chipset (snd-als4000)
    02:07.0 Class 0200: D-Link System Inc.|DFE 530 TX+ Fast Ethernet Adapter (8139too)
    02:0a.0 Class 0c03: VIA Technologies Inc.|VT82C586B USB (uhci_hcd)
    02:0a.1 Class 0c03: VIA Technologies Inc.|VT82C586B USB (uhci_hcd)
    02:0a.2 Class 0c03: VIA Technologies Inc.|VT8235 USB Enhanced Controller (ehci-hcd)
    relevant entry in grub's menu.lst:
    # (0) Arch Linux-ARCH
    title Arch Linux
    root (hd0,0)
    kernel /boot/vmlinuz26 root=/dev/sda1 ro nosmp noapic acpi=off pci=routeirq ide-legacy
    initrd /boot/kernel26.img
    I added nosmp and the other parameters at the install/rescue cd's suggestion. I tried using the microcode package (I have a P4 HT) as suggested by someone in another thread.
    I've found that the freezes will happen at the beginning of heavy CPU or disk usage (such as compilation or pacman db parsing). The hd is not the original one from this system (it was a hand-me-down), so I don't think that's the problem. The video card is different and the RAM is new. The only components that are still around are:
    P4 HT processor (2.60 ghz)
    Albatron  PX865PE II
    Enermax power supply
    Any ideas? It also says "bad eip value" when the system has kernel crashes (especially on boot).
    Last edited by mrbug (2008-06-21 03:08:35)

    Latest message while mkinitcpio was running:
    Linux agpgart interface v0.103
    nvidia: module license 'NVIDIA' taints kernel.
    ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
    NVRM: loading NVIDIA Linux x86 Kernel Module 96.43.05 Tue Jan 22 19:36:58 PST 2008
    BUG: unable to handle kernel paging request at 756e696c
    IP: [<c018a137>] flush_old_exec+0x577/0x750
    *pde = 00000000
    Oops: 0000 [#1] PREEMPT SMP
    Modules linked in: nvidia(P) agpgart nfnetlink_queue nfnetlink nf_conntrack_ipv4 iptable_filter ip_tables xt_state nf_conntrack xt_NFQUEUE x_tables w83627hf hwmon_vid 8139too mii i2c_i801 i2c_core pcspkr shpchp pci_hotplug sg evdev thermal processor fan button battery ac snd_als4000 gameport snd_sb_common snd_opl3_lib snd_hwdep snd_ice1724 snd_ice17xx_ak4xxx snd_ac97_codec ac97_bus snd_ak4114 snd_pt2258 snd_i2c snd_ak4xxx_adda snd_mpu401_uart snd_rawmidi snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore e1000 rtc_cmos rtc_core rtc_lib ext3 jbd mbcache usbhid hid ff_memless usb_storage sr_mod cdrom sd_mod ehci_hcd uhci_hcd pata_acpi usbcore ata_piix ata_generic libata scsi_mod dock
    Pid: 9173, comm: dirname Tainted: P (2.6.25-ARCH #1)
    EIP: 0060:[<c018a137>] EFLAGS: 00210202 CPU: 0
    EIP is at flush_old_exec+0x577/0x750
    EAX: 756e696c EBX: 00000000 ECX: 00000500 EDX: df269004
    ESI: de546c00 EDI: 00000000 EBP: df269080 ESP: de121da4
    DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
    Process dirname (pid: 9173, ti=de120000 task=de546c00 task.ti=de120000)
    Stack: 00000001 de694b00 00000000 df269000 df269004 de710504 de710000 de547134
    6e726964 00656d61 c018a39d de121dd4 00000003 de18f878 c035ccb5 de18f840
    c01b73be 00000080 00000001 c13d8ec0 dec77000 de694b00 c016421f 00000001
    Call Trace:
    [<c018a39d>] kernel_read+0x3d/0x60
    [<c01b73be>] load_elf_binary+0x36e/0x1aa0
    [<c016421f>] get_page_from_freelist+0x2cf/0x4d0
    [<c01646ce>] __alloc_pages+0x5e/0x360
    [<c0175705>] anon_vma_prepare+0x85/0xe0
    [<c016eabd>] handle_mm_fault+0x60d/0x850
    [<c016eacb>] handle_mm_fault+0x61b/0x850
    [<c0184b45>] do_sync_read+0xd5/0x120
    [<c016c60d>] vm_normal_page+0x1d/0x70
    [<c016c60d>] vm_normal_page+0x1d/0x70
    [<c016d479>] follow_page+0x119/0x1c0
    [<c016edd1>] get_user_pages+0xd1/0x2f0
    [<c01b7050>] load_elf_binary+0x0/0x1aa0
    [<c01898ec>] search_binary_handler+0x15c/0x290
    [<c018ab9c>] do_execve+0x21c/0x250
    [<c01033c6>] sys_execve+0x46/0x80
    [<c01050d8>] sysenter_past_esp+0x6d/0xa5
    [<c0300000>] cpu_init+0x220/0x29a
    =======================
    Code: c3 04 89 e8 e8 eb d6 17 00 89 5c 24 10 bb ff ff ff ff 8b 54 24 10 83 c3 01 89 df c1 e7 05 8b 02 39 38 0f 86 11 01 00 00 8b 40 08 <8b> 34 98 85 f6 74 e0 c7 04 98 00 00 00 00 89 e8 e8 a4 d9 17 00
    EIP: [<c018a137>] flush_old_exec+0x577/0x750 SS:ESP 0068:de121da4
    ---[ end trace 255f477a12072e9b ]---
    note: dirname[9173] exited with preempt_count 1
    BUG: unable to handle kernel paging request at 6f732e78
    IP: [<c012b737>] put_files_struct+0x37/0xb0
    *pde = 00000000
    Oops: 0000 [#2] PREEMPT SMP
    Modules linked in: nvidia(P) agpgart nfnetlink_queue nfnetlink nf_conntrack_ipv4 iptable_filter ip_tables xt_state nf_conntrack xt_NFQUEUE x_tables w83627hf hwmon_vid 8139too mii i2c_i801 i2c_core pcspkr shpchp pci_hotplug sg evdev thermal processor fan button battery ac snd_als4000 gameport snd_sb_common snd_opl3_lib snd_hwdep snd_ice1724 snd_ice17xx_ak4xxx snd_ac97_codec ac97_bus snd_ak4114 snd_pt2258 snd_i2c snd_ak4xxx_adda snd_mpu401_uart snd_rawmidi snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore e1000 rtc_cmos rtc_core rtc_lib ext3 jbd mbcache usbhid hid ff_memless usb_storage sr_mod cdrom sd_mod ehci_hcd uhci_hcd pata_acpi usbcore ata_piix ata_generic libata scsi_mod dock
    Pid: 9173, comm: dirname Tainted: P D (2.6.25-ARCH #1)
    EIP: 0060:[<c012b737>] EFLAGS: 00210202 CPU: 0
    EIP is at put_files_struct+0x37/0xb0
    EAX: 6f732e78 EBX: 00000000 ECX: c1407460 EDX: 00000303
    ESI: de546c00 EDI: df399840 EBP: 00200206 ESP: de121bb8
    DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
    Process dirname (pid: 9173, ti=de120000 task=de546c00 task.ti=de120000)
    Stack: df269000 0000000b de546c00 c035c5ec 00200206 c012ce7a c036075c de546e11
    000023d5 00000001 00000000 00000001 00200206 c0308c6c c0360510 de121c00
    de121d6c 00000000 c035c5ec 00200206 c0106e28 de5d5e34 00000000 1f901000
    Call Trace:
    [<c012ce7a>] do_exit+0x16a/0x6a0
    [<c0106e28>] die+0x1b8/0x1c0
    [<c011cfd1>] do_page_fault+0x1b1/0x790
    [<c018cc23>] do_lookup+0xf3/0x1b0
    [<c0197ff3>] __d_lookup+0x143/0x160
    [<c011e6cf>] kunmap_atomic+0x3f/0xe0
    [<c015e059>] file_read_actor+0xd9/0xf0
    [<c0160e3b>] generic_file_aio_read+0x59b/0x630
    [<c019cd83>] mntput_no_expire+0x13/0x70
    [<c017ebf9>] add_partial+0x19/0x70
    [<c0171309>] remove_vma+0x39/0x50
    [<c017fd43>] __slab_free+0xd3/0x360
    [<c017ebf9>] add_partial+0x19/0x70
    [<c0189d8d>] flush_old_exec+0x1cd/0x750
    [<c017fd43>] __slab_free+0xd3/0x360
    [<c0171309>] remove_vma+0x39/0x50
    [<c011ce20>] do_page_fault+0x0/0x790
    [<c0307d52>] error_code+0x72/0x78
    [<c018007b>] alloc_loc_track+0xab/0xc0
    [<c018a137>] flush_old_exec+0x577/0x750
    [<c018a39d>] kernel_read+0x3d/0x60
    [<c01b73be>] load_elf_binary+0x36e/0x1aa0
    [<c016421f>] get_page_from_freelist+0x2cf/0x4d0
    [<c01646ce>] __alloc_pages+0x5e/0x360
    [<c0175705>] anon_vma_prepare+0x85/0xe0
    [<c016eabd>] handle_mm_fault+0x60d/0x850
    [<c016eacb>] handle_mm_fault+0x61b/0x850
    [<c0184b45>] do_sync_read+0xd5/0x120
    [<c016c60d>] vm_normal_page+0x1d/0x70
    [<c016c60d>] vm_normal_page+0x1d/0x70
    [<c016d479>] follow_page+0x119/0x1c0
    [<c016edd1>] get_user_pages+0xd1/0x2f0
    [<c01b7050>] load_elf_binary+0x0/0x1aa0
    [<c01898ec>] search_binary_handler+0x15c/0x290
    [<c018ab9c>] do_execve+0x21c/0x250
    [<c01033c6>] sys_execve+0x46/0x80
    [<c01050d8>] sysenter_past_esp+0x6d/0xa5
    [<c0300000>] cpu_init+0x220/0x29a
    =======================
    Code: 08 0f 94 c0 84 c0 0f 84 88 00 00 00 8b 04 24 31 db 8b 78 04 eb 09 8d b6 00 00 00 00 83 c3 01 89 d8 c1 e0 05 39 07 76 3c 8b 47 0c <8b> 34 98 85 f6 74 ea 89 dd c1 e5 07 f7 c6 01 00 00 00 74 17 89
    EIP: [<c012b737>] put_files_struct+0x37/0xb0 SS:ESP 0068:de121bb8
    ---[ end trace 255f477a12072e9b ]---
    Fixing recursive fault but reboot is needed!
    BUG: scheduling while atomic: dirname/9173/0x00000002
    Pid: 9173, comm: dirname Tainted: P D 2.6.25-ARCH #1
    [<c030542d>] schedule+0x3ed/0x850
    [<c0129763>] release_console_sem+0x1b3/0x1d0
    [<c012d373>] do_exit+0x663/0x6a0
    [<c0106e28>] die+0x1b8/0x1c0
    [<c011cfd1>] do_page_fault+0x1b1/0x790
    [<c01291d7>] __call_console_drivers+0x57/0x70
    [<c01fad04>] number+0x2b4/0x2c0
    [<c01fb76f>] vsnprintf+0x43f/0x790
    [<c024ec7f>] vt_console_print+0x23f/0x330
    [<c016fe66>] free_pgd_range+0x166/0x1e0
    [<c011ce20>] do_page_fault+0x0/0x790
    [<c0307d52>] error_code+0x72/0x78
    [<c017007b>] sys_mincore+0xeb/0x3e0
    [<c012b737>] put_files_struct+0x37/0xb0
    [<c012ce7a>] do_exit+0x16a/0x6a0
    [<c0106e28>] die+0x1b8/0x1c0
    [<c011cfd1>] do_page_fault+0x1b1/0x790
    [<c018cc23>] do_lookup+0xf3/0x1b0
    [<c0197ff3>] __d_lookup+0x143/0x160
    [<c011e6cf>] kunmap_atomic+0x3f/0xe0
    [<c015e059>] file_read_actor+0xd9/0xf0
    [<c0160e3b>] generic_file_aio_read+0x59b/0x630
    [<c019cd83>] mntput_no_expire+0x13/0x70
    [<c017ebf9>] add_partial+0x19/0x70
    [<c0171309>] remove_vma+0x39/0x50
    [<c017fd43>] __slab_free+0xd3/0x360
    [<c017ebf9>] add_partial+0x19/0x70
    [<c0189d8d>] flush_old_exec+0x1cd/0x750
    [<c017fd43>] __slab_free+0xd3/0x360
    [<c0171309>] remove_vma+0x39/0x50
    [<c011ce20>] do_page_fault+0x0/0x790
    [<c0307d52>] error_code+0x72/0x78
    [<c018007b>] alloc_loc_track+0xab/0xc0
    [<c018a137>] flush_old_exec+0x577/0x750
    [<c018a39d>] kernel_read+0x3d/0x60
    [<c01b73be>] load_elf_binary+0x36e/0x1aa0
    [<c016421f>] get_page_from_freelist+0x2cf/0x4d0
    [<c01646ce>] __alloc_pages+0x5e/0x360
    [<c0175705>] anon_vma_prepare+0x85/0xe0
    [<c016eabd>] handle_mm_fault+0x60d/0x850
    [<c016eacb>] handle_mm_fault+0x61b/0x850
    [<c0184b45>] do_sync_read+0xd5/0x120
    [<c016c60d>] vm_normal_page+0x1d/0x70
    [<c016c60d>] vm_normal_page+0x1d/0x70
    [<c016d479>] follow_page+0x119/0x1c0
    [<c016edd1>] get_user_pages+0xd1/0x2f0
    [<c01b7050>] load_elf_binary+0x0/0x1aa0
    [<c01898ec>] search_binary_handler+0x15c/0x290
    [<c018ab9c>] do_execve+0x21c/0x250
    [<c01033c6>] sys_execve+0x46/0x80
    [<c01050d8>] sysenter_past_esp+0x6d/0xa5
    [<c0300000>] cpu_init+0x220/0x29a
    =======================

  • [Solved] Kernel compilation newbie questons.

    Hello
    That will be my first kernel compilation and i have few questions.
    1.When i compile kernel from this(http://wiki.archlinux.org/index.php/Ker … sers_Guide) tortial i havo to do this:
    http://wiki.archlinux.org/index.php/NVI … tom_kernel
    2.When i compile modules to kernel there are diffrence when i have them as modules (lsmod)?
    Thanks for anserws.
    And I'm sorry for that questions.
    Last edited by SpeedVin (2009-05-19 12:13:48)

    Hi SpeedVin,
    1. you must recompile nvidia driver if you are planning to use custom kernel.
    You can do this by either using ABS or with yaourt -Sb command. The link you posted to wiki says it right.
    2. When compiling drivers directly into kernel, they will make size of kernel bigger, but udev will not spend so much time autoloading them. The best practise is to have all needed modules compiled in kernel and turned autoloading modules off in /etc/rc.conf. Be aware, that not all modules are loaded when lsmod - e.g. when you plug in USB disk, udev loads needed modules (usb_storage, correct coding, etc.).
    And last but no least, i can't get why is wiki giving advise to compile kernel like 10 years ago. If I were you, I would NOT choose this way. It is much easier to compile kernel with ABS, or with yaourt -Sb. All you need is to edit PKGBUILD and uncomment one of these lines:
    #make menuconfig # CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    I am a happy user of xconfig menu (you need Qt3 package to use xconfig).
    Configure your kernel as you need, save config file and exit configuration, compilation goes on and after 30-50min you have your kernel ready to install.
    If you want a save option you can also edit and uncomment # pkgname=kernel26-custom to have your kernel alongside with -ARCH stock kernel. Note, that you must also edit nvidia's PKGBUILD if you want to use it this way.
    I think this way will save you lot of time and the result is better, but it's up to you of course.

  • Add patch to kernel so solve Touchpad bug

    Hi!
    The Touchpad for some ASUS models was not being recognized. A patch has been released here:
    https://bugzilla.redhat.com/show_bug.cgi?id=1110011
    I would like to know if this patch will be applied to Arch Linux kernel or I should start a bug ticket. As of linux 3.16.3-1 the patch doesn't seem to be implemented.
    PS: If I wanted to implement the patch what would be the easiest way? I'm guessing I should get the kernel source, apply the patch and compile, but I don't know how could I install it afterwards in Arch Linux so I can easily uninstall it without harm if it doesn't work.
    Regards!

    jasonwryan wrote:
    Read the Kernel compilation page on the wiki (using the ABS method).
    You can install your patched kernel alongside the vanilla Arch one and choose which you would like to boot from. Simple.
    Hi, thank you for your answer, I tried that and got a patched kernel running which almost solves the problem. Should I open a bug issue about this or will it eventually be implemented? I think it already is in Fedora, for example.

  • Nvidia is not working after upgrading nvidia driver and kernel

    I upgraded nvidia driver and kernel. After rebooting graphic mode is not working. Here xorg.o.log
    [ 281.180]
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    [ 281.181]
    X.Org X Server 1.10.0.902 (1.10.1 RC 2)
    Release Date: 2011-04-08
    [ 281.181] X Protocol Version 11, Revision 0
    [ 281.181] Build Operating System: Linux 2.6.38-ARCH i686
    [ 281.181] Current Operating System: Linux localhost 2.6.38-ARCH #1 SMP PREEMPT Wed Mar 30 07:14:27 UTC 2011 i686
    [ 281.181] Kernel command line: BOOT_IMAGE=/boot/vmlinuz26 root=/dev/disk/by-uuid/b766e332-2aad-4047-8562-567180150189 ro quiet
    [ 281.182] Build Date: 11 April 2011 10:49:12AM
    [ 281.182]
    [ 281.182] Current version of pixman: 0.20.2
    [ 281.182] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 281.182] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 281.183] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 14 17:11:37 2011
    [ 281.183] (==) Using config file: "/etc/X11/xorg.conf"
    [ 281.183] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 281.183] (==) ServerLayout "Layout0"
    [ 281.183] (**) |-->Screen "Screen0" (0)
    [ 281.183] (**) | |-->Monitor "Monitor0"
    [ 281.184] (**) | |-->Device "Videocard0"
    [ 281.184] (**) |-->Input Device "Keyboard0"
    [ 281.184] (**) |-->Input Device "Mouse0"
    [ 281.184] (**) Option "Xinerama" "0"
    [ 281.184] (==) Automatically adding devices
    [ 281.184] (==) Automatically enabling devices
    [ 281.184] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 281.184] Entry deleted from font path.
    [ 281.184] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 281.184] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 281.184] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    [ 281.184] (WW) Disabling Keyboard0
    [ 281.184] (WW) Disabling Mouse0
    [ 281.184] (II) Loader magic: 0x822e120
    [ 281.184] (II) Module ABI versions:
    [ 281.184] X.Org ANSI C Emulation: 0.4
    [ 281.184] X.Org Video Driver: 10.0
    [ 281.184] X.Org XInput driver : 12.2
    [ 281.184] X.Org Server Extension : 5.0
    [ 281.185] (--) PCI:*(0:1:0:0) 10de:0322:0000:0000 rev 161, Mem @ 0xfd000000/16777216, 0xe8000000/134217728, BIOS @ 0x????????/131072
    [ 281.185] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 281.185] (II) LoadModule: "extmod"
    [ 281.185] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 281.185] (II) Module extmod: vendor="X.Org Foundation"
    [ 281.185] compiled for 1.10.0.902, module version = 1.0.0
    [ 281.185] Module class: X.Org Server Extension
    [ 281.185] ABI class: X.Org Server Extension, version 5.0
    [ 281.185] (II) Loading extension MIT-SCREEN-SAVER
    [ 281.185] (II) Loading extension XFree86-VidModeExtension
    [ 281.185] (II) Loading extension XFree86-DGA
    [ 281.185] (II) Loading extension DPMS
    [ 281.185] (II) Loading extension XVideo
    [ 281.185] (II) Loading extension XVideo-MotionCompensation
    [ 281.185] (II) Loading extension X-Resource
    [ 281.185] (II) LoadModule: "dbe"
    [ 281.185] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 281.185] (II) Module dbe: vendor="X.Org Foundation"
    [ 281.185] compiled for 1.10.0.902, module version = 1.0.0
    [ 281.185] Module class: X.Org Server Extension
    [ 281.185] ABI class: X.Org Server Extension, version 5.0
    [ 281.185] (II) Loading extension DOUBLE-BUFFER
    [ 281.185] (II) LoadModule: "glx"
    [ 281.186] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 281.216] (II) Module glx: vendor="NVIDIA Corporation"
    [ 281.217] compiled for 4.0.2, module version = 1.0.0
    [ 281.217] Module class: X.Org Server Extension
    [ 281.217] (II) NVIDIA GLX Module 173.14.28 Wed Sep 29 10:17:05 PDT 2010
    [ 281.217] (II) Loading extension GLX
    [ 281.217] (II) LoadModule: "record"
    [ 281.217] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 281.217] (II) Module record: vendor="X.Org Foundation"
    [ 281.217] compiled for 1.10.0.902, module version = 1.13.0
    [ 281.217] Module class: X.Org Server Extension
    [ 281.217] ABI class: X.Org Server Extension, version 5.0
    [ 281.217] (II) Loading extension RECORD
    [ 281.217] (II) LoadModule: "dri"
    [ 281.217] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 281.217] (II) Module dri: vendor="X.Org Foundation"
    [ 281.217] compiled for 1.10.0.902, module version = 1.0.0
    [ 281.217] ABI class: X.Org Server Extension, version 5.0
    [ 281.217] (II) Loading extension XFree86-DRI
    [ 281.217] (II) LoadModule: "dri2"
    [ 281.217] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 281.218] (II) Module dri2: vendor="X.Org Foundation"
    [ 281.218] compiled for 1.10.0.902, module version = 1.2.0
    [ 281.218] ABI class: X.Org Server Extension, version 5.0
    [ 281.218] (II) Loading extension DRI2
    [ 281.218] (II) LoadModule: "nvidia"
    [ 281.218] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 281.218] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 281.218] compiled for 4.0.2, module version = 1.0.0
    [ 281.218] Module class: X.Org Video Driver
    [ 281.218] ================ WARNING WARNING WARNING WARNING ================
    [ 281.219] This server has a video driver ABI version of 10.0 that is not
    supported by this NVIDIA driver. Please check
    http://www.nvidia.com/ for driver updates or downgrade to an X
    server with a supported driver ABI.
    [ 281.219] =================================================================
    [ 281.219] (II) NVIDIA dlloader X Driver 173.14.28 Wed Sep 29 09:55:18 PDT 2010
    [ 281.219] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 281.219] (--) using VT number 7
    [ 281.222] (II) Loading sub module "fb"
    [ 281.222] (II) LoadModule: "fb"
    [ 281.222] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 281.222] (II) Module fb: vendor="X.Org Foundation"
    [ 281.222] compiled for 1.10.0.902, module version = 1.0.0
    [ 281.222] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 281.222] (II) Loading sub module "wfb"
    [ 281.222] (II) LoadModule: "wfb"
    [ 281.222] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 281.223] (II) Module wfb: vendor="X.Org Foundation"
    [ 281.223] compiled for 1.10.0.902, module version = 1.0.0
    [ 281.223] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 281.223] (II) Loading sub module "ramdac"
    [ 281.223] (II) LoadModule: "ramdac"
    [ 281.223] (II) Module "ramdac" already built-in
    [ 281.223] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 281.226] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 281.226] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 281.226] (II) UnloadModule: "nvidia"
    [ 281.226] (II) Unloading nvidia
    [ 281.226] (II) UnloadModule: "wfb"
    [ 281.226] (II) Unloading wfb
    [ 281.226] (II) UnloadModule: "fb"
    [ 281.226] (II) Unloading fb
    [ 281.226] (EE) Screen(s) found, but none have a usable configuration.
    [ 281.226]
    Fatal server error:
    [ 281.226] no screens found
    [ 281.226]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 281.226] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 281.226]

    bilgee0629 wrote:
    Arjann wrote:
    I think the new xorg-server is the problem as it isn't supported by this nvidia driver yet.
    You could try to install the nouveau driver until nvidia comes with a new version of the 173 branch that supports xorg-server 1.10, see: https://wiki.archlinux.org/index.php/Nouveau for information. As lower-grade options, you might also consider xf86-video-nv and xf86-video-vesa.
    Should i uninstall nvidia driver, then install it?
    I think thats the easy way yes, else you have to blacklist the nvidia kernel module.. check the wiki link of nouveau for details.

  • Audio and Kernel settings

    OK - I've spent all afternoon searching and reading and, either I'm  stupid, or the answer isn't obviously out there.
    Since I reckon it's probably the former - try and speak slowly for me
    I want to use my desktop primarily as an audio workstation - by which I mean I want to run things like ardour and do audio recording/editing etc.
    I've got most of the tweaks to my system done - but I'm really not sure what, if any, changes I need to make to my kernel.  I'm currentlyu running the stock kernel and things generally seem fine - but I'm not sure if I could improve things.
    The linux-musicians website suggests the following changes to the kernel config:
    CONFIG_HZ_1000=y
    CONFIG_HZ=1000
    CONFIG_PREEMPT_RT=y
    CONFIG_PREEMPT=y
    Is this still necessary with recent kernels? 
    Any advice/suggestions welcome.

    CONFIG_PREEMPT_RT is for the real-time kernel only. If you're doing serious DAW stuff, then you'd probably want (note, not NEED I think) that. Unfortunately, the kernel I use to get rt (kernel26-ice) has just upped to 2.6.30 yesterday and as a result the rt-patch doesn't work, till they come out with a 2.6.30 one.
    Best to wait for the proper rt-kernel patch to come out, then use the kernel26-ice PKGBUILD to compile it with the above options. I have the kernel compiled here from a month back, but not sure if there's anyway to send it to you.

  • Mismatch of version of external and kernel dp lib

    Hello All
    i'm trying to uppgrade a was abap kernel 7.00 from version 133 to 16 on  db2 udb database.
    I use the files:
    SAP Kernel 700 64-Bit, Unicode, AIX64bit - FOR ECC60 Landscape:
    SAPEXEDB_146-20000977.SAR
    SAPEXE_146-20000978.SAR
    lib_dbsl_156-20000977.sar
    dscdb6up_2-20000977.sar
    R3ldctl_17-20000977.SAR
    R3load_86-20000977.SAR
    R3szchk_15-20000977.SAR
    dw_160-20000978.sar
    librfc_34-20000978.sar
    R3trans_159-20000978.SAR
    tp_157-20000978.sar
    But the dispatcher is failing down during the sapstart with the
    following error message:
    "kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 1196054) [dpxxdisp.c 1239]
    shared lib "dw_xml.so" version 133 successfully loaded
    shared lib "dw_xtc.so" version 133 successfully loaded
    shared lib "dw_stl.so" version 133 successfully loaded
    shared lib "dw_gui.so" version 133 successfully loaded
    shared lib "dw_mdm.so" version 133 successfully loaded
    DpMsgAdmin: Set patchno for this platform to 133
    Release check o.K.
    ERROR => gateway (pid 1495260) died [dpxxdisp.c 15566]
    DpGwCheck: appc_adm.stat = 2
    DP_FATAL_ERROR => Gateway could not be started - I better exit now
    LOCATION SAP-Gateway on host uedcb410 / sapgw00
    ERROR dp lib version mismatch, please check installation
    TIME Thu May 22 07:26:51 2008
    RELEASE 700
    COMPONENT DP
    VERSION 239000
    RC -9999
    MODULE dpxxtool2.c
    LINE 688
    DETAIL version of external and kernel dp lib mismatch (ext lib
    version is 239000 / kernel lib version is 232000)"
    but the files dw*.so doesn't exist on our server . We have the files
    dw*.o as it's needed by the disp+work.
    (uedcb410:dc2adm 47> ldd disp+work
    disp+work needs:
    /usr/sap/DC2/SYS/exe/run/dw_gui.o
    /usr/sap/DC2/SYS/exe/run/dw_xml.o
    /usr/sap/DC2/SYS/exe/run/dw_xtc.o
    /usr/sap/DC2/SYS/exe/run/dw_mdm.o
    /usr/sap/DC2/SYS/exe/run/libregex.o
    /usr/sap/DC2/SYS/exe/run/dw_stl.o
    /usr/lib/libwlm.a(shr_64.o)
    /usr/lib/libC.a(shr_64.o)
    /usr/lib/libC.a(shr2_64.o)
    /usr/lib/libC.a(ansi_64.o)
    /usr/lib/libpthreads.a(shr_xpg5_64.o)
    /usr/lib/libc.a(shr_64.o)
    /usr/lib/libpthread.a(shr_xpg5_64.o)
    /usr/lib/libC.a(shr3_64.o)
    /unix
    /usr/lib/libC.a(ansicore_64.o)
    /usr/lib/libc_r.a(shr_64.o)
    /usr/lib/libC.a(shrcore_64.o)
    /usr/lib/libcrypt.a(shr_64.o)
    uedcb410:dc2adm 51> disp+work -V |more
    disp+work information
    kernel release 700
    kernel make variant 700_REL
    DBMS client library DB6_81
    DBSL shared library version 700.08
    compiled on AIX 2 5 005DD9CD4C00
    compiled for 64 BIT
    compilation mode UNICODE
    compile time May 13 2008 21:18:59
    update level 0
    patch number 160
    source id 0.160
    We have a mismatch of version of external and kernel dp lib (ext lib
    version is 239000 / kernel lib version is 232000)"
    Do i need to update other .sar files from sapnet ?
    Did somebody have the same error ?
    Thanks in advance .
    Best Regards.

    We had this same issue today and folks that are not familiar with sapcpe can really be at a loss on this error, so I'm updating some of these older threads for clarification.
    When sapcpe is active, you actually have two copies of the SAP kernel on your Unix file system:
    /sapmnt/SID/exe - Which is probably where you update your kernel (this version was at 201)
      (aka:  /usr/sap/SID/SYS/exe/run)
    /usr/sap/SID/DVEBMGS##/exe - A location many don't know about  (this version was at 133)
    Typically, sapcpe keeps these two locations identical and there are no mismatch errors but if anything happens to your configuration, the next time you update your kernel in /sapmnt/SID/exe, the replication does not occur and the mismatch happens as seen in (dev_disp or dev_disp.new):
    ***LOG Q00=> DpSapEnvInit, DPStart (18 22336) [dpxxdisp.c   1283]
    DwSLCheckVersion: shared library version mismatch:
            shared lib "dw_xml.sl" version 133 <-> kernel version 201
            shared lib "dw_xtc.sl" version 133 <-> kernel version 201
            shared lib "dw_stl.sl" version 133 <-> kernel version 201
            shared lib "dw_gui.sl" version 133 <-> kernel version 201
            shared lib "dw_mdm.sl" version 133 <-> kernel version 201
    This is made even more confusing because if you do an "ldd /sapmnt/SID/exe/disp+work" the results will tell you that it's reading those files from where you just patched your kernel.  That ldd is incorrect, however.  If the two copies of the kernel are not in sync, some files will indeed be loaded from /usr/sap/SID/DVEBMGS##/exe which will not match the other files that are loading from /sapmnt/SID/exe and you'll have the mismatch error.
    Short Term:  You can delete the contents in /usr/sap/SID/DVEBMGS##/exe and then everything is loaded from /sapmnt/SID/exe.
    Long Term:  Correct the configuration of sapcpe so that it keeps everything in sync and you don't have dualing kernels.  (See note 1104735)

  • [OCaml, lablgtk2, lablrsvg] My program doesn't compile (solved)

    Hi,
    I wrote few months ago (I used Ubuntu at that time, I just have installed ArchLinux one week ago) a little OCaml program which makes use of the lablgtk2 and lablrsvg libraries (OCaml bindings to gtk2 and rsvg).
    I installed ocaml and lablgtk2 (which normally contains lablrsvg, librsvg being flagged as a dependency), but when I try to compile, I get an error :
    $ ocamlc -w ys -I +lablgtk2 lablgtk.cma gtkInit.cmo lablrsvg.cma unix.cma entrelacs.cmo io.cmo entrelacs_IHM.ml -o Entrelacs
    File "entrelacs_IHM.ml", line 1, characters 0-1:
    Error: The file /usr/lib/ocaml/lablgtk2/lablrsvg.cma is not a bytecode object file
    make: *** [Entrelacs] Erreur 2
    The others files entrelacs.cmo and io.cmo doesn't need lablgtk2 (nor lablrsvg), and they compiled fine.
    In /usr/lib/ocaml/lablgtk2/, the file lablrsvg.cma exists, and `file' tells me that this is an "Objective caml library file (.cma) (Version 007)"
    The same program compiled fine when I used Ubuntu.
    What's wrong?
    Thank you
    (solved after the update of lablgtk2 today)
    Fractal
    Last edited by Fractal (2009-09-10 08:22:31)

    Things tend to move fasterYep... until something goes wrong... then you're completely stuffed, because you have no idea what's actually happening, because the idjit IDE is hiding all the gory details... it doesn't even tell you what it's doing, let alone how it's doing it, or what to do when it fails.
    Another argument for the command line is that it's simple. There are 16 distinct dialogues involved in adding a new jar to a library in jBuilder... There may well be less than 16 characters in the equivalent edition to the equivalent build command line. That's an extreme case, I admit, but it goes to disprove the notion that IDE's are simpler for noobs.
    Also, it's easier to get help on command line usage... because it's all text based you can just copy & paste the problematic command and it's output, and the eggspurts (tm) can do likewise with a response... and there are limited number of command lines out there... and *nix, windows, and mac cover maybe 99.5% of java users... and the eggspurts are likely to know all three (colectively if not as individuals) fairly well, because they deal with them all day every day.
    My belief is that noob's are better off at the command line until such time as they need (not just want to play with) a visual debugger... at which time its time to download netbeans and eclipse, and see which one suits you better... if you have money to splurge I'd also evaluate intelliJ... But avoid jBuilder, 2008 is total carp! The FREE eclipse is (IMHO) "nicer to use", and it has a LOT less bugs.
    Cheers. Keith.

  • How to determine the kernel compilation time stamp ?

    Hi, all
    sorry of this is a miss post.
    I'm trying to find out the date (time stamp) using the
    "uname -a" command  , but I'm not sure this is the correct way , because the
    the output of the command returns the kernel release date and I'm not sure this is the
    correct time
    Any suggestions ?
    Victor

    I'm referring to the date the kernel was actually compiled .
    My question was if the output of the command "uname -a" contains the kernel compilation date, because
    the "man uname" and "info uname" says that the output contains kernel  release info.
    Or is there another way of determining the actual date(time) when the kernel was compiled.

  • Issue after kernel compilation

    I've compiled my own kernel based on the arch linux default kernel its configuration file. I simply executed  make clean &&  make dep && make modules && make bzImage && make modules_install. Afther the depmod I've built a ramdisk with mkinitcpio.Unfortunately I'm not able to boot into my new self-compiled kernel. Here you can see my /boot/grub/menu.lst:
    # (0) Arch Linux Self-compiled kernel
    title Linux 2.6.30.5 [/boot/vmlinuz-2.6.30.5]
    root (hd0,0)
    kernel /vmlinuz-2.6.30.5 root=/dev/sda3 ro
    initrd /kerneltest.img
    # (0) Arch Linux
    title Arch Linux [/boot/vmlinuz26]
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    While booting into the new kernel the next error message about the root device shows up. I've noticed I'm able to boot the default arch kernel that's using the same root device (=/dev/sda3) on this desktop.
    Waiting 10 seconds for device /dev/sda3
    Root device /dev/sda3 doesnt exist, attempting to create it
    Error: Failed to parse block device ids for /dev/sda3
    Error: Unable to detect or create root devide /dev/sda3
    If you would like to see my partitions:
    /dev/sda1 /boot ext2 defaults 0 1
    /dev/sda2 swap swap defaults 0 0
    /dev/sda3 / ext4 defaults 0 1
    /dev/sda4 /home ext4 defaults 0 1
    Who can help me with this issue? Thanks.
    Last edited by Nando (2009-09-05 15:40:04)

    I've compiled a new kernel but the same issue remains. I executed some important changes in my kernel config: CONFIG_SCSI=y, CONFIG_ATA=y, CONFIG_EXT4_FS=y  (instead of being modular as in the default arch linux kernel). I also inserted the "aufs" lines, but they were gone in my .config file after the kernel compilation.(I think it was after make dep)
    A "diff" of both .config reveals that aufs is almost the only difference. (I've already mentioned the stuff that used to be modular and is now built-in.)
    3 root@archlinux $ diff /usr/src/linux-2.6.30.5/.config /usr/src/linux-2.6.30-ARCH/.config
    3,4c3,4
    < # Linux kernel version: 2.6.30.5
    < # Mon Sep 7 10:35:44 2009
    > # Linux kernel version: 2.6.30
    > # Mon Aug 17 16:49:59 2009
    1269c1269
    < CONFIG_SCSI=y
    > CONFIG_SCSI=m
    1418c1418
    < CONFIG_ATA=y
    > CONFIG_ATA=m
    3905c3905
    < CONFIG_EXT4_FS=y
    > CONFIG_EXT4_FS=m
    3912c3912
    < CONFIG_JBD2=y
    > CONFIG_JBD2=m
    3914c3914
    < CONFIG_FS_MBCACHE=y
    > CONFIG_FS_MBCACHE=m
    4041a4042,4052
    > CONFIG_AUFS_FS=m
    > CONFIG_AUFS_BRANCH_MAX_127=y
    > # CONFIG_AUFS_BRANCH_MAX_511 is not set
    > # CONFIG_AUFS_BRANCH_MAX_1023 is not set
    > # CONFIG_AUFS_BRANCH_MAX_32767 is not set
    > CONFIG_AUFS_HINOTIFY=y
    > CONFIG_AUFS_EXPORT=y
    > CONFIG_AUFS_SHWH=y
    > CONFIG_AUFS_BR_RAMFS=y
    > # CONFIG_AUFS_DEBUG is not set
    > CONFIG_AUFS_BDEV_LOOP=y
    4427c4438
    < CONFIG_CRC16=y
    > CONFIG_CRC16=m
    I've built an own ramdisk again with mkinitcpio, but I'm using the default kernel26.img
    /boot/grub/menu.lst:
    # (0) Arch Linux
    title Arch Linux [/boot/vmlinuz26]
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    # (0) Arch Linux
    title Arch Linux [/boot/vmlinuz2-6-30.5]
    root (hd0,0)
    kernel /vmlinuz-2.6.30.5-nando root=/dev/sda3 ro
    initrd /kernel26.img
    Last edited by Nando (2009-09-07 17:38:21)

Maybe you are looking for

  • Sharepoint - Tasks

    Hello, I have a question. I installed Sharepoint Foundation 2013 and now I'm testing "Tasks". Default settings is, that everyone can see all tasks. I know, I can change the options and everyone will see only self created tasks. But I need to achieve,

  • Right way to add graphic sidebars around the container or any div for that matter?

    *** Note sidebars maybe the wrong term and confuse you here If i want graphical sidebars around both sides of the main container div..... so that if i had a margin of say 20px on each side and the sidebars are maybe 8px in width, well i can create a

  • How to center selected text in document window?

    I'm using Word.select( SelectionOptions.REPLACE_WITH) to iterate through a list of words in a document. It would be handy if any off-screen selections could be automatically scrolled into the document window, as with Find/Change. Is there any way to

  • IDOC Posting with new fields in VA01

    Hi, Previously i asked for creating New fields in VA01 screen. i got that now i need to create a sales order based on the Inbound IDOC  which i get and i will be getting new fields which are created . And this Fields data is coming from an Extension

  • Installing Oracle on a solaris zone machine

    Hello I assume this is a legitimate question now that Oracle bought Sun :) I have a solaris zoned machine. On a normal Solaris machine, I edit several parametersd in /etc/system what to do in case of zoned machine? thank you