-
kernel 2.6.0
Hi:
I have downloaded oficcial packages of kernel 2.6.0 and installed them with apt-get.
I think it is all ok. I did the configuration changes in lilo.conf (including vga=normal) but when I try to enter the new kernel (selected in lilo) it loads the kernel into memory, but then, it stops and doesn't do anything.
Where is the problem? What have I to do?
If I have to conpile the kernel sources, have I to install any required program?
Finally, if the kernel works, can i remove the kernel 2.4.22-xfs packages?
Thanks in advance
-
2.6 kernel hangs on knoppix 3.3
I have the exact same experience with Knoppix 3.3 when I attempt to upgrade the kernel. The reports are that the bios is ok and it is uncompressing the kernel and then nothing happens. I've tried it on two machines and the same happens on each. Would appreciate any advice.
-
Senior Member
registered user
Re: kernel 2.6.0

Originally Posted by
dobell
Hi:
I have downloaded oficcial packages of kernel 2.6.0 and installed them with apt-get.
I think it is all ok. I did the configuration changes in lilo.conf (including vga=normal) but when I try to enter the new kernel (selected in lilo) it loads the kernel into memory, but then, it stops and doesn't do anything.
Where is the problem? What have I to do?
If I have to conpile the kernel sources, have I to install any required program?
Finally, if the kernel works, can i remove the kernel 2.4.22-xfs packages?
Thanks in advance
Well I see no mention of you installing the module-init-tools or the linux-kernel-headers packages. Perhaps you could explain in more detail the steps you took in the compile as well. You could remove the 2.4.22-xfs kernel if you get the new to boot but it is always nice to have the working install kernel leftover in case you have any problems down the line this way you know that it should be bootable and when booted it should work as it did before.
-
your configuration isn't right. i had the same problem... you have to enable the framebuffer console option, the VESA and VGA16 options. after you do that, it should work.... mine (kernel 2.6.2) boots, i just can't get my USB working yet.
(although i couldn't get it working before i installed 2.6.2... i highly recommend using the newer version.)
-
Ok:
I downloaded all the 2.6.0 packages i found in a debian repository. Then installed them (dpkg...) and finally did apt-get check in order to correct dependences.
I modified my lilo.conf file, and it run until bios check is ok.
So i think I installed all the needed packages.
shadowhand:
how can i enable framebuffer console and VESA, VGA16 you say?
thanks
-
Mini Guide to Compiling the 2.6.x Kernel for Knoppix
--------------------------
pre-setting up:
run "apt-get install mod-init-tools gcc" to get the newest compiled tools required for building the new kernel...
1. make sure you are using the newest kernel source (download 2.6.x latest stable from kernel.org)
2. untar/gzip/bzip the package into /usr/src/linux-[kernel version]
3. create a symlink linux > linux-[kernel version]
(ln -s /usr/src/linux-[kernel version] /usr/src/linux)
4. open the console and cd to /usr/src/linux
5. type "make xconfig" (without quotes) (this will create a graphical kernel configuration editor)
6. go through the options and select the ones that pertain to you (here is where you will find the options i was talking about)
7. when finished and you are sure that you have everything you need (or fairly sure, you can always recompile it) type these commands (without quotes):
"make-kpkg clean"
"make-kpkg kernel_image"
this will make a .deb package in the /usr/src directory that you can install (it will add the kernel to Lilo, set up the modules, and configure it for you).
8. install the package, run "lilo" in the console just to make sure it updated, then reboot and enjoy.
--------------------------
note: i had to compile about 5 times before i finally got all the correct options. if you aren't sure about your hardware, boot the Knoppix kernel (2.4.2-xfs probably) and run "lspci -v" and look over the modules that are running for your hardware. i found this very useful...
-
has anybody tried this? does it work?
-
Senior Member
registered user
I don't see anything special about the KNOPPIX kernel so standard kernel building procedure should work(didn't it a number of times).
The easiest is just drop the .config of KNOPPIX into the 2.6.2(whatever) tree and start from there.
The gotchas as far as I know(which is unrelated to KNOPPIX but simply 2.4->2.6) is :
1. the input/console config seems to have changed which needs to be enabled(as mentioned above) when building. Otherwise, it boots but there is no way to control it(not a bad thing for headless server).
2. the kernel modules has been renamed to .ko which may cause some scripting error(I use discover which hardcoded to .o, don't know about knoppix)
3. the mod-init tools are all new and needs to be seperately installed. This may cause some issue in the initrd as Klaus compiled in the insmod/rmmod functions into the shell to load cloop etc. But if it is hd installation, I believe it is not needed in initrd(no idea).
4. it is better to have a /sys which is mounted to sysfs, though even without that, I haven't experienced critical problems using 2.6 but some said it is needed for some application.
-
kernel Compile problems
Hi all
I'm running knoppix 2004-02-09EN, and am trying to upgrade to a 2.6 kernel (2.6.2 or 4, I just want a 2.6.X...). I've downloaded the kernel-source .debs (via apt) for 2.6.2, untar'd the kernel-source tar in /usr/src, symlinked the new directory with /usr/src/linux, cd'd to /usr/src/linux and tried make menuconfig. i also tried make xconfig, but no matter which config I try to make, I get the same error output:
Code:
root@castalia:/usr/src/linux# make xconfig
HOSTCC scripts/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from scripts/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
make[1]: *** [scripts/fixdep] Error 1
make: *** [scripts/fixdep] Error 2
The same occurs with the 2.6.0 kernel-source (I can't patch the 2.6.0 kernel, either, by the way). I dunno what to do. Any ideas? Thanks
toto
-
Senior Member
registered user
Re: kernel Compile problems

Originally Posted by
totothehero
Hi all
I'm running knoppix 2004-02-09EN, and am trying to upgrade to a 2.6 kernel (2.6.2 or 4, I just want a 2.6.X...). I've downloaded the kernel-source .debs (via apt) for 2.6.2, untar'd the kernel-source tar in /usr/src, symlinked the new directory with /usr/src/linux, cd'd to /usr/src/linux and tried make menuconfig. i also tried make xconfig, but no matter which config I try to make, I get the same error output:
Code:
root@castalia:/usr/src/linux# make xconfig
HOSTCC scripts/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from scripts/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
make[1]: *** [scripts/fixdep] Error 1
make: *** [scripts/fixdep] Error 2
The same occurs with the 2.6.0 kernel-source (I can't patch the 2.6.0 kernel, either, by the way). I dunno what to do. Any ideas? Thanks
toto
http://www.knoppix.net/forum/viewtop...582&highlight=
Similar Threads
-
By echo6 in forum Customising & Remastering
Replies: 0
Last Post: 05-08-2005, 11:42 AM
-
By cfish in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 04-25-2005, 07:31 AM
-
By gitarzysta in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 06-03-2004, 08:36 PM
-
By Nils_ in forum Hardware & Booting
Replies: 0
Last Post: 03-08-2004, 10:50 AM
-
By tji in forum Customising & Remastering
Replies: 4
Last Post: 06-12-2003, 06:40 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

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

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00

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

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

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99

Lot of 32 IBM 32GB SERVER MEMORY MT80KHF4G72M3DZ-1G6E4B50A 00LP736 4Gx72 = DW
$17000.00

IBM Storwize V5000E V5030E SAN Storage Control Enclosure Server w/ Dual 02PX517
$1249.99

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

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

IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012
$109.99