-
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.
-
Re: The kernel... Can I build my own?

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.
-
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?
-
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
-
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!
-
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
-
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
-
By mzilikazi in forum Tips and Tricks
Replies: 5
Last Post: 08-08-2004, 04:00 PM
-
By BillS in forum General Support
Replies: 0
Last Post: 06-11-2004, 03:16 PM
-
By Alvis in forum Customising & Remastering
Replies: 0
Last Post: 05-28-2004, 07:13 AM
-
By TheCyberDude in forum Tips and Tricks
Replies: 3
Last Post: 09-03-2003, 03:10 PM
-
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
-
Forum Rules

9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US
$49.50

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69

QNAP TR-004 4 Bay USB-C Hardware RAID Enclosure DAS 3.5 2.5 SATA Tested Working
$149.99

Dell EMC 15-Bay 3.5" SAS Disk Array Enclosure 12Gbps Dual LCC - 2x Power Supply
$249.00

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5''3.5'' SSD HDD USB C 4Bay
$107.99

TerraMaster D5-300C 5-Bay USB RAID/JBOD Enclosure Used
$150.00

Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M
$1150.00

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$119.99

Vintage Promise EIDEMAX Enhanced IDE Disk Controller ISA Non-RAID Card Boxed
$34.99

Lacie 2big Quadra RAID 2 x 2 TB 4 TB Only 158 hours
$199.00