Kernel sources problem

Hi again.
I've tried last night to compile the "stock" kernel-2.6.18-ARCH provided with the distro (and updated to the latest package) so I can customize it the way I like it.  But I've run into a compilation problem after menuconfig. When I run make i get this error:
make[1]: *** No rule to make target `/usr/src/linux-2.6.18-ARCH/init/Makefile'. Stop.
make: *** [init] Error 2
I don't know what's to be done. Maybe I've done something wrong or maybe I didn't do something that I should have done. ;-) Anyways.. I downloaded the vanilla 2.6.18.3 and compiled it. It works ok that way, too. But if this is a bug I just wanted to report it.

I knew it should be my mistake. Thanks for clearing this out.
Is your version of kernel a lot different than the vanilla kernel?
Or is it ok to stick with the vanilla version without breaking anything?
(except the video module for nvidia, which I'm building myself)

Similar Messages

  • Compiling a driver, need assistance on kernel source configuration

    Hello BBS.
    I am compiling a module for the Asus PCE N53 wireless pci-e card. I have obtained the driver source, and followed the instructions, and have gotten to the point where I need assistance. The instructions requires the kernel source, i have successfully obtained and configured it using the Command line prompt, except for one feature. I need to enable the intel IPW2200 driver code in the kernel source for this driver. What procedure do I follow to enable it?

    > I know in face value, that my request may seem odd. I just need to use the source of the kernel, not a new kernel... I have found that what I am requesting... will fix the problem, based on a Gentoo solution: http://forums.gentoo.org/viewtopic-t-93 … art-0.html. Needing to know how to configure the kernel source to enable the intel driver still stands. The source I am using is the latest arch kernel source.
    ===============
    RT5592 Linux Driver quick start       
    ====================
    Check tools: 
    ====================
    *Before install driver, please check already install compile tool and  kernel source code
    1>Install compile tool
        $yum install gcc-c++
    2>check kernel source code exists /usr/src/kernels/ "kernel name"
        Download your kernel source code
        *http://www.kernel.org/pub/linux/kernel/        
        or
        $yum install kernel-devel
    ====================
    Build Instructions: 
    ====================
    1> $tar -jxvf DPO_GPL_RT5592STA_LinuxSTA_vx.x.x.x.tar.bz2
         go to "DPO_GPL_RT5592STA_LinuxSTA_vx.x.x.x" directory.
    2> In Makefile
         set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
         define the linux kernel source include file path LINUX_SRC
         modify to meet your need.
    3> In os/linux/config.mk
         define the GCC and LD of the target machine
         define the compiler flags CFLAGS
         modify to meet your need.
         ** Build for being controlled by NetworkManager or wpa_supplicant wext functions
             Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
             => $wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
         ** Build for being controlled by WpaSupplicant with Ralink Driver
             Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
             => $wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d
    4> $make           
         # compile driver source code, need administrator.
         # To fix "error: too few arguments to function ¡¥iwe_stream_add_event"
            => $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c
    5> $make install
         #install driver
         #copy RT2860STA.dat to /etc/Wireless/RT2860STA/RT2860STA.dat
    6>$vi /etc/rc.d/rc.local
         #input "ifconfig ra0 up"
        $reboot
    7> unload driver   
         $ifconfig ra0 down
         $rmmod rt5592sta
    ======
    Heres the output of my error, when I compile:
    =======
    make -C tools
    make[1]: Entering directory `/home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/tools'
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/tools/bin2h
    cp -f os/linux/Makefile.6 /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/Makefile
    make -C /home/white/linux-3.2.9 SUBDIRS=/home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux modules
    make[1]: Entering directory `/home/white/linux-3.2.9'
      WARNING: Symbol version dump /home/white/linux-3.2.9/Module.symvers
               is missing; modules will have no dependencies and modversions.
      CC [M]  /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.o
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2364:2: error: unknown field ‘private’ specified in initializer
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2364:2: warning: initialization from incompatible pointer type [enabled by default]
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2364:2: warning: (near initialization for ‘rt28xx_iw_handler_def.get_wireless_stats’) [enabled by default]
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2365:2: error: unknown field ‘num_private’ specified in initializer
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2365:2: warning: excess elements in struct initializer [enabled by default]
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2365:2: warning: (near initialization for ‘rt28xx_iw_handler_def’) [enabled by default]
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2366:2: error: unknown field ‘private_args’ specified in initializer
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2366:26: warning: excess elements in struct initializer [enabled by default]
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2366:26: warning: (near initialization for ‘rt28xx_iw_handler_def’) [enabled by default]
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2367:2: error: unknown field ‘num_private_args’ specified in initializer
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2367:2: warning: excess elements in struct initializer [enabled by default]
    /home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.c:2367:2: warning: (near initialization for ‘rt28xx_iw_handler_def’) [enabled by default]
    make[2]: *** [/home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux/../../os/linux/sta_ioctl.o] Error 1
    make[1]: *** [_module_/home/white/driver/DPO_GPL_RT5592STA_LinuxSTA_v2.6.0.0_20120326/os/linux] Error 2
    make[1]: Leaving directory `/home/white/linux-3.2.9'
    make: *** [LINUX] Error 2
    Last edited by confusedoldman (2012-12-25 20:14:34)

  • Oracle kernel sources

    Hi everybody,
    I've installed a Oracle 10.1.0.3 RAC on 2 RHEL 3 Update2 machines (folowing the guidlines on otn).
    I've replaced the original kernel with 2.4.21-27.0.2ELorafw1smp provided by oracle.I had to compile a sk98lin module for the second network adapters that I've added to those machines.
    I also have some problems with the ASM modules install..now it's up and runing..
    However ,even at boot time,finding modules dependencies yields OK,there are some unresolved symbols for sk98lin when running a depmod command.
    Randomly,one server freezes,and ,when rebooting,the other one also freezes.I have to shutdown both,start,manualy run commands from /etc/init.d/init.crs script in order to have the RAC daemons back online.
    The provider of the NIC-s also delivers a CD which will compile a sk98lin module,but it requires the kernel sources for that...downloaded the file kernel-2.4.21-27.0.2.ELorafw1.src.rpm and tried to install it ...however,no kernel source is installed...no folder for the sources is created in /usr/src...Did anyone installed those kernel sources?
    If not,any other ideea about where can I get a kernel for firewire concurent connections which also had sources?
    Thanks,
    Sandu

    Hello,
    Just wondering if you've found a solution to your problem. I have a 2 node RAC with Dell Power Edge 2850's and Maxtor 250g shared Firewire with VIA Tech 1394 PCI's on exactly the same configuration: 10g 10.1.0.3 and 2.4.21-27.0.2ELorafw1smp . The entire platform is erratic. It hangs on boot at mounting OCFS. If everything mounts OK it will work for a while between 5 minutes and an hour and then anyone of the nodes will freeze. I have installed CRS and haven't got 10g RDBMS installed yet cauz I can't get the system stable long enough to finish the installation.
    Any assistance would be appreciated.
    Thanks,
    Moe.

  • Kernel sources

    hey people,
    Is it possible that I can get the kernel source tree which has been used to build the kernel26-scsi kernel? I have to install a small program which requires this... (cisco vpn client)
    see: http://www.ic.uva.nl/uvavpn/object.cfm/ … nload=true
    page 23 last paragraph it says: You must use the same copy of the kernel source that was used to build the kernel you are running.
    Now I don.t have this, and compilation of the vpn client fails because of this.
    Anyways, possible solution is to compile my own kernel. I have been compiling kernels for a long time on slackware, but the kernel26-scsi is far superior to the ones I.ve built, haha... so is it possible to see what options have been "Y" and "N" and "M" on the kernel26-scsi version that is shipped? that would help me build a better kernel!
    thanks
    rogier

    my problem was more serious than I thought... had to patch the Cisco code, and then edit it by hand again... it was not the kernels fault
    http://www.linuxquestions.org/questions … perpage=15
    thanks anyways...

  • Kernel Label problem for SOL MAN 4.0

    Hi
    When was installing a Unicode SolMan 4.0 on Win 2003 SQL server 2005.
    I have downloaded a following CD for Kernel -
    51031778_11 NW 2004s SR1 UC-Kernel 7.00 Windows Server on IA32 32bit
    When I give the LABEL.ASC for kernel, it does not accept it and give me following error -
    You entered: E:/nw04s/kernel/DVD_NW_2004s_SR1_Kernel_Windows__LNX_X86/LABEL.ASC
    Found the label SAP:AKK:700:DVD_KERNEL:SAP Kernel 700:D51031778 but need label
    SAP:AKK:700:KERNEL:.WINDOWS_I386:
    I tried all these option from the below link, but it did not work
    Kernel Label problem...
    Does any one have solution for that?
    I appreciate your help
    regards
    kamal

    Hi udo lang,
    I have downloaded the Kernel file 51031778_3 NW 2004s SR1 Kernel 7.00 Windows Server on IA32 32bit today. I will try to fix the problem by using this kernel.
    I also got reply from Sap that solution for this issue is:
    This is most unusual. Due to the currently running RampUp the
    DVD's could have been updated.
    I suggest that you try the following,
    Download both the Unicode and NonUnicode Kernel files from the
    SAP Service Market Place.
    The Kernel DVD 51031778 contains the Kernel for Unicode and for Non-
    Unicode, as you wrote, in directory "", label:
    "SAP:AKK:700:KERNEL::WINDOWS_X86_64:"
    Please check if you start Unicode Installation. Due to an incorrect
    procedure sapinst requireds both Kernel-CD.
    With the next release will be it correct. If you start a Unicode
    installation it will be a unicode.
    51031792_5 NW 2004s SR1 UC-Kernel 7.00 AIX 64bit
    51031792_1 NW 2004s SR1 Kernel 7.00 AIX 64bit
    Etract them to one directory, like:
    <downloadDIR>/
    kernel/
    KN_WINDOWS_I386/
    KU_WINDOWS_I386/
    CDLABEL.ASC
    LABEL.ASC
    LABELIDX.ASC
    When you ware asked for the kernel DVD, please enter
    <downloadDIR>/kernel
    SAPinst should take the right kernel version for the installation
    automatically.
    You may additionally refer to the below note for reference.
    921593 Inst. SAP NetWeaver 2004s SR1 on UNIX
    If the problem is resolved i will let you know. Thanks for your assistance
    regards
    Kamal

  • How to force CoreDump in the Kernel source code

    Hi,
    Anyone know, how to force coredump in the Kernel source code?. And also to collect all information related to CPU Registers, CPU IRAM, Cache Data and complete SDRAM content.

    pull your RAM out....
    Wouldn't recommend doing that really...... And why would you want to cause a kernel panic?
    EDIT: Spelling sucked...
    Last edited by crankyadmin (2009-09-28 22:02:14)

  • Make dep never works in kernel source

    OK So.. i'm building the latest drm code from git to get Dave Airlie's source code for the R300 since he just dropped 5,000 line of source code out of the R300 tree using the Linus kernel git tree (i love unstable code) and in the DRI building guide, it says to run make dep against the kernel.
    So I go into the root of the kernel source in /usr/src (i know you should build kernels in the home directory) and as root I type in make dep and it says its uncessary at this time. Well... when would be a good time to run make dep? (lol!!)
    http://dri.freedesktop.org/wiki/Buildin … 5ae2efe516
    ^ Unless make dep is actually unecessary. If it is uncessary, i'll contact TimoJyrinki and tell him about it.
    Thank you for all your help.
    P.S. Please don't drop i686 support for 2 or 3 months because I'm getting an AMD64 processor really soon! ahaha.

    I run make && make modules_install (w/ clean when recompiling) as thats how I did it back when i used gentoo.
    I have my kernel compiled and installed and everything. so thats not an issue at all. (And only 1.1 MB)
    So if make dep is depreciated, whats the new command for make dep? I just want DRM working with airlied's new code for the r300 with the new kernel.
    Here is where I am right now:
    Mesa from git (r300) with heavy optimization flags (including -march=athlon=xp -fomit-frame-pointer- -s -O3)
    Custom kernel with GZIP compression of 1.1 MB installed, up and running
    To do:
    DRM via git running on custom kernel
    I recommend not testing what I am trying to do on a production environment.
    Thanks.
    P.S. I edited the CFLAGS and CXXFLAGS for the drm code as well and made it very optimized for my system.
    Last edited by Neo_The_User (2009-04-01 22:01:44)

  • Create a new OSB domain and data source problems

    Hello,
    I noticed a problem while create a new OSB domain with Oracle Service Bus 10gR3 on Solaris 10 (intel-based).
    This domain is composed of two managed servers deployed on a cluster.
    I have configured the JMS reporting data sources to use an Oracle 10g (XE) database (driver Oracle Thin (non XA)) installed on a remote server.
    While trying to start my managed servers, the startup process of these managed servers failed due to a data source problem on "wlsbjmsrpDataSource" or "cgDataSource-nonXA".
    The workaround I found is to delete and recreate (through the WLS console) the data sources "wlsbjmsrpDataSource", "cgDataSource-nonXA" and "cgDataSource".
    In this situation, my managed servers can be started properly.
    Is it a known problem located on the configuration wizard?
    Thanks for your help.

    Hi
    For the answer.
    I fully understand that those datasources are default ones and are mainly related to JMS reporting.
    But my question was probably not well expressed.
    The problem I had is when the domain is created, the managed servers won't start due to problems related to theses datasources.
    The workaround I found is to delete and to create those datasources from the WLS console.
    In this situation, the managed servers are able to be started.
    I want to know if this is a known problem/limitation of OSB 10gR3 with Solaris 10 and Oracle 10g?
    Thanks for your help.

  • Kernel sources not found on Scientific Linux 6

    Hello!
    I am having trouble installing NI-VISA on Scientific Linux 6. The installer can not find kernel source despite the fact the kernel-headers and kernel-devel packages are installed. How to point the NI-VISA installer to the kernel source location?

    Hello,
    It looks like there's some information about this listed in the installation instructions and installation FAQs of the readme file for NI-VISA here.  Have you looked through this before your attempted install?
    Jon F.
    Applications Engineer
    National Instruments

  • [SOLVED] Building flashcache - need kernel source?

    Sorry for noob question, but..
    Trying to build flashcache, and it seems that kernel source is required. How do I obtain the source?
    Last edited by asg1448 (2014-07-07 22:51:15)

    Trilby wrote:No, 3.15.2-1
    I upgraded to 3.15.2-1-ARCH and have exactly the same issue
    Note, that building of flashcache itself completes fine, the issue happens when I install the built module:
    loading packages...
    warning: flashcache-dkms-git-1.0.r223.g304bbc1-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1): flashcache-dkms-git-1.0.r223.g304bbc1-1
    Total Installed Size: 0.54 MiB
    Net Upgrade Size: 0.00 MiB
    :: Proceed with installation? [Y/n]
    (1/1) checking keys in keyring [##########################################] 100%
    (1/1) checking package integrity [##########################################] 100%
    (1/1) loading package files [##########################################] 100%
    (1/1) checking for file conflicts [##########################################] 100%
    (1/1) checking available disk space [##########################################] 100%
    flashcache, 1.0.r223.g304bbc1: added
    Deleting module version: 1.0.r223.g304bbc1
    completely from the DKMS tree.
    Done.
    (1/1) reinstalling flashcache-dkms-git [##########################################] 100%
    >>> DKMS: Module install
    dkms install -m flashcache -v 1.0.r223.g304bbc1
    Creating symlink /var/lib/dkms/flashcache/1.0.r223.g304bbc1/source ->
    /usr/src/flashcache-1.0.r223.g304bbc1
    DKMS: add completed.
    Kernel preparation unnecessary for this kernel. Skipping...
    Building module:
    cleaning build area....
    KERNEL_TREE=/usr/lib/modules/3.15.2-1-ARCH/build make modules....(bad exit status: 2)
    Error! Bad return status for module build on kernel: 3.15.2-1-ARCH (x86_64)
    Consult /var/lib/dkms/flashcache/1.0.r223.g304bbc1/build/make.log for more information.
    modprobe: FATAL: Module flashcache not found.

  • Solving Kernel/Xorg problems

    Hi all,
    I've been using linux for several years now, and I like it a lot, but it's still not clear in my mind what to do when I run into kernel or Xorg problems.
    When I run into a problem with a userland application, it's usually quite simple to identify the culprit or at least the apparent culprit, find the relevant bugzilla, file a bug and try to help the people in charge to fix the problem.
    In contrast, the world of low-level stuff is a lot more intimidating. For example, I have had several display and supsend/hibernate problems with my laptop for more than one year now, but I still have no idea what to do about them. What can/ should I do about kernel/Xorg problems?

    I didn't want this thread to be about my specific problems, but here goes:
    - Suspend fails about half of the time, the screen blanks (with a cursor blinking) and the computer just hangs. It is completely dead (REISUB doesn't work)
    - Hibernate doesn't work, when I turn the computer on, it checks the filesystems and boots normally
    - About 10% of the time, the login manager (currently kdm, but I had the same problem with gdm) shows with a very low resolution. Restarting xorg usually fixes the problem.
    I probably have a few more that I'm forgetting at the moment.

  • [SOLVED] Where can I browse the Arch kernel source?

    I tried to look for the kernel source code under /usr/src/linux-3.4.9-1-ARCH but there's only a binary file (an image?) vmlinuz in there. I wanted to look for drivers concerning usb for fun, but I can't seem to find the excact location of the kernel source code.
    Last edited by burninate (2012-08-25 09:48:56)

    Sure you can, but it'll pretty much be the same as if you downloaded the code from kernel.org. You can use makepkg and the ABS to easily get the source and Arch's patch(es) on your computer.
    Edit: If you have linux-headers installed, then the path HalosGhost refers to has the headers, not the full source
    Last edited by SidK (2012-08-22 19:29:08)

  • What is involved in fixing the kernel task problem and what are the consequences

    Ah yes. The kernel task problem. My Macbook pro encounters it at least once every day. It peaks at around 600% CPU usage when I have MainStage or Logic open. A main stage patch that normally uses 40-45% of CPU is redlining at 100% cpu usage- resulting in awful clicks and pops. Did i mention this happened during a live show yesterday? Because it did. I can open the CPU monitor and look at whats going on. It's always the same deal. Kernel task runs it's course and then goes back to normal.
    I've seen various posts on fixing the problem. I believe I understand how to fix it more or less (ish). I just want to make sure I can go about it in such a way that doesn't mess with anything else on my computer.
    My computer: macbook pro 8.2 15' w/ crucial m500 ssd in main & optical bays. 8gb of ram. latest version of mavericks. Standard stuff.

    ssd in main & optical bays
    Your unsupported hardware configuration is likely contributing to the problem, if not entirely causing it.

  • Folio 100 update 2.2.5.0131 kernel source code

    Hi,
    I can't find anywhere the source code for the kernel used in 2.2.5.0131 update. According to GPL you MUST provide this kernel source code
    Please fix this issue as soon as possible.
    Regards.
    Message was edited by: nopy

    We are looking for the kernel source code too. Please could you provide a download link?
    Thanks.

  • Solaris 11 kernel source

    I read somewhere on the Oracle Technology Network (oracle.com/technetwork) that one can
    actually get a copy of the solaris 11 kernel source, downloaded to one system, for perusal while
    developing applications and kernel modules.  The link did not provide details and I suspect that is
    only available to companies who are OPN, oracle partner network.  This link
      Resources for Oracle Solaris Developers and ISV's
    has a link to "Oracle Solaris Development Initiative - Access to Oracle Solaris, Oracle Solaris Cluster,and Oracle Solaris Studio patches & updates"
    but when I click on it, I get page not found (Error page 404).
    was I hallucinatinating when I read about access to the Solaris 11 kernel source?
    jim

    I fear you might have been reading out of date information from the OpenSolaris days.   Only a small handful of partners have access to the Solaris 11 kernel source - it's not generally available at this time.

Maybe you are looking for

  • ColdFusion MX7 Error When Starting Apache2Triad

    I just installed the ColdFusion MX7 trial on my local machine. When I try to start the Apache2Triad (uses Apache 2.2.0) service it fails to start and the following error is written to the system log file: quote: The Apache service named Apache2Triad

  • Nokia lumia 520 and 525 support touch to focus?

    Do the above phones support touch to focus?

  • Transport SWC to Prod sld

    Hi, This is a simple requirement but not sure why its getting so complicated, i have done lot of search on SDN and got the solution, but unable to execute it. Basis has created a swc in Dev SLD and i imported it into my ESR, created my objects and ex

  • I Can't use the 3D Features =\

    When i'm trying to import *.3DS file to Photoshop CS4 Extended, it says that 'there is not enough memory (RAM). I have 2GB of RAM. even if i'm trying to import an object as simple as a cube from 3D Studio Max, it's shows the same message. And when i'

  • Customize the Custom File Info Panels ... how to?

    Oh no! There are SWF files all over the place in Custom File Info Panels 2.0 (i. e. CS4) where plain old XML files used to be. I desperately need to add a few editable metadata entry fields to the File Info Panels. In CS3, that was easy. How am I sup