Results 1 to 7 of 7

Thread: The kernel... Can I build my own?

  1. #1
    Junior Member
    Join Date
    Dec 2004
    Posts
    4

    The kernel... Can I build my own?

    I just installed Knoppix 3.7 to my Hard Drive. Its running good, but I'm some issues....

    If I boot with the default configuration, I can use my TV card (a hauppage winTV card). However, I cannot for the life of me get my Audigy to work.
    I get the error "The module for your sound card, emu10k1.o, is not currently in your module search path". I'm pretty damn sure its in there, though. I looked.

    But If I boot with the 2.6 kernel, the opposite is true, The Audigy is autodetected and used. But the TV card won't work. The channel scan always fails, even though I select the same configuration...

    So, I'm wondering what I can do. This may very well become my main OS if I can get this little kink worked out.

    It seems to me that the complete kernel sources are not included in the KNoppix HD install. Can I build a new kernel and install it? Does anyone have a link to instructions on how to do this that applies to Knoppix?

    Any help will be appreciated.

  2. #2
    Member registered user
    Join Date
    Jan 2005
    Posts
    42

    Re: The kernel... Can I build my own?

    Quote Originally Posted by kevman
    Can I build a new kernel and install it? Does anyone have a link to instructions on how to do this that applies to Knoppix?
    Yes and yes.

    Here's one: http://www.desktop-linux.net/debkernel.htm

    Knoppix is based on debian, so there should be no problems.

  3. #3
    Junior Member
    Join Date
    Dec 2004
    Posts
    4
    I followed those instructions to the letter, but once I got to make xconfig, I hit this error:
    Code:
    root@kevinsLINUX:/usr/src/linux# make xconfig
      HOSTCC  scripts/basic/fixdep
    In file included from /usr/include/sys/socket.h:35,
                     from /usr/include/netinet/in.h:24,
                     from /usr/include/arpa/inet.h:23,
                     from scripts/basic/fixdep.c:115:
    /usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
    make[1]: *** [scripts/basic/fixdep] Error 1
    make: *** [scripts_basic] Error 2
    Any ideas on what I should do now?

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Try with: apt-get install linux-kernel-headers

    Did you also check the packages mentioned there as required?:
    binutils
    e2fsprogs
    gcc (GNU C Compiler)
    make (GNU make)
    module-init-tools
    procps
    util-linux

  5. #5
    I had same make problem this weekend, I had to add a symbolic link to the "asm-i386" directory in the /usr/src directory named "asm", a link to the /usr/src/linux folder did not work. I kept terrible notes and am at work now. A simple drag-n-drop from source folder, copy as link with a rename should work.

    Once done, it took my Celeron 433 about 3 hours to complete.

    No claims to ability or knowledge!

  6. #6
    Minor info update

    refer to http://lkml.org/lkml/2004/4/4/83 about this topic

    I checked what worked for me... assuming that you have a link to the kernel source location called linux

    ln -s /usr/src/linux/include/asm-i386 /usr/src/linux/asm

  7. #7
    Junior Member
    Join Date
    Nov 2005
    Posts
    1
    The same problem here!
    Actually problem starts when we make a symbolic link to our new kernel source directory.
    Code:
    ln -s /usr/src/linux-2.6.14.2 /usr/src/linux
    After doing this, make won't find kernel header files in /usr/src/linux/include/asm directory. So the solution to my problem was:
    Code:
    ln -s /usr/src/linux-2.6.14.2/include/asm-i386 /usr/src/linux-2.6.14.2/include/asm
    And it works now!

    Now what i wonder is here: According to this solution the make process uses new source kernel header files( in /usr/src/linux-2.6.14.2/include/asm). Is it the right way or it should use the original kernel header files in /usr/scr/linux-2.6.12/include/asm

Similar Threads

  1. How to build a Debian kernel
    By mzilikazi in forum Tips and Tricks
    Replies: 5
    Last Post: 08-08-2004, 04:00 PM
  2. Learning to build kernel
    By BillS in forum General Support
    Replies: 0
    Last Post: 06-11-2004, 03:16 PM
  3. how to build cloop with kernel 2.6
    By Alvis in forum Customising & Remastering
    Replies: 0
    Last Post: 05-28-2004, 07:13 AM
  4. Kernel Build with kernel-source-2.4.20-xfs:
    By TheCyberDude in forum Tips and Tricks
    Replies: 3
    Last Post: 09-03-2003, 03:10 PM
  5. Kernel Build with linux-2.4.20:
    By TheCyberDude in forum Tips and Tricks
    Replies: 0
    Last Post: 09-03-2003, 03:01 PM

Posting Permissions

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


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR

$1100.00



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$111.70



IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1) picture

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)

$150.00



IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU picture

IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU

$450.00



IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671 picture

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671

$230.00



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$225.00