linux gurus

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dave_p

    #1

    linux gurus

    can anyone tell me where redhat 7.2 keeps the kernel sources? i just got it up last night and i need to recompile the kernel with some sources for my wireless usb ethernet adapter driver i got from the linux wlan project. make config cant find the source tree in the default path. redhat must put them somewhere different, or i need to download it. when i do download it where do i put it for redhat to find it? i think its /usr/src/redhat/SOURCES but im not sure. im looking for info now but if anyone here knows id appreciate the help.im poking around the directories but all the likely ones are empty. thanks
  • alf
    Owner of the RFH Emag
    • Jun 2001
    • 1141

    #2
    hey dave,

    sorry if these are obvious answers...just checkin the easy stuff first...

    as for locating the source...can you do a find?

    find / -name "thefile*" -print

    then, just add it to the path in the makefile or Makefile...

    if you have to download it, you can put it anywhere that it would make sense to you, just modify the [mM]akefile to include the path of the new source.

    -alf

    Comment

    • RobAGD
      Cantankerous Administrator

      • Oct 2000
      • 2030

      #3
      Humm you have to tell it durning the install to put teh kernel source files on the HD, You can add them via the RPM manager. I havent played with anything past 6.2.

      -Robert
      Serving AGD customers since 93, wishing I could beat some common since into some of them about 5 hrs later.

      Comment

      • lopxtc
        Unix Geek
        • Oct 2001
        • 2706

        #4
        Typically the kernel sources are kept in /usr/src/(some name like linux) ...
        Now not all of the newer distros follow this. Red Hat and Mandrake lately havent been installing the source by default which is really annoying if you want to re-compile the kernel any time. That and they have a slightly different path to the kernel source then just /usr/src.
        Either way you can the grab the source off one of the disks that you installed from, or off the internet.

        As much as I love Linux, I have started to move away from it and just working more with OpenBsd and Solaris. The main reason is that there needs to be at some point a standard that is followed by the distros. Sure they keep the basic file tree the same but then they go and make changes below the basic level.

        Aaron
        Team Managed Aggression, Missouri Paintball

        Pround owner of a 2003 Shocker, and AO.org user ... an almost unheard of combo.

        "Love, Peace, and Shonen Knife!"
        AOLIM - lopxtc

        Comment

        • dave_p

          #5
          i didnt tell redhat to keep the the source at install, thats the problem. i downloaded the latest 2.4 kernel last night. i will make and install it tonight. when i unpacked the tarball it very politely put itself in /usr/src/linux where it belongs. all is good. i just have to compile this kernel and then make and install the wlan drivers and im good to go.
          thanks all!!!
          dave

          Comment

          Working...