Find the answer to your Linux question:
Results 1 to 7 of 7
Hello, At this dir /lib/modules/2.6.18-164.el5PAE/ have dir on the name build, if i use the command "DIR" i can see the it there but when i try to cd into ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    4

    cannot get into dir


    Hello,
    At this dir /lib/modules/2.6.18-164.el5PAE/ have dir on the name build, if i use the command "DIR" i can see the it there but when i try to cd into this dir it's say " No such file or directory" i Need this dir cause i want to run vmware and it's the c header / kernel dir.
    please help me..

    if i write "ls" i see it white over red


    sry about my bad english.

    Thanks

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    I'm not sure I understand your problem? What I get from your post is that you have a directory named "build" as a sub-directory in /lib/modules/2.6.18-164.el5PAE/?? Is that correct? Without more information and what you did and how you did it, the only guess I have is that you make sure you use upper case letters, case sensitivity.

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    4
    build it's sub-dir and i can't get into the dir, if i use "cd build" it's say that there are not dir called "build" and i need to get into this dir

  4. #4
    Just Joined!
    Join Date
    Jul 2010
    Posts
    3
    Please print the output of:

    ls -ld /lib/modules/2.6.18-164.el5PAE/build

  5. #5
    Just Joined!
    Join Date
    Jul 2010
    Posts
    4
    [root@server ~]# ls -ld /lib/modules/2.6.18-164.el5PAE/build
    lrwxrwxrwx 1 root root 48 May 16 02:45 /lib/modules/2.6.18-164.el5PAE/build -> ../../../usr/src/kernels/2.6.18-164.el5-PAE-i686

  6. #6
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    It sounds like a broken symbolic link.

  7. #7
    Just Joined!
    Join Date
    Jul 2010
    Posts
    4
    The directory of kernel headers (version 2.6.18-194.8.1.el5PAE) does not match
    your running kernel (version 2.6.18-164.el5PAE). Even if the module were to
    compile successfully, it would not load into the running kernel.

    how can i find the real dir of my kernel? or how to run the new update of the kernel on my linux server?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •