DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
(this is my first try to ever play with kernel, so im guessing you name it what you want here?)
cd /usr/src
Got to this point, fell asleep waiting! Woke up in the morning. I did get a few errors but tried to run
dpkg -i kernel-image-2.6.7-colonelkernel_10.00.Custom_i386.deb
anyhow.
dpkg: error processing kernel-image-2.6.7-colonelkernel_10.Custom_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
kernel-image-2.6.7-colonelkernel_10.Custom_i386.deb
Now, those errors...where are they logged again?
(still learning the file system)
However, I still boot up into Linux 2.6.7-1-386 at this point no problems, and I haven't tried to install my nvidia driver yet. (couldent get that accomplished on last kernel 2.4.27)
The error message that you get when trying to install with dpkg is because the kernel package wasn't created or because you made a typo in the kernel package name. When you move to the directory /usr/src ("cd /usr/src"), type "ls" or "dir" to list the files in the directory. Check and see if there is a custom image ending with the extension ".deb". That will be what you want to try and install. If there is no custum .deb package, it means it failed to compile for some reason.
It is common to have some warnings during the compile. It usually isn't a cause for concern, but the compile may have failed for some reason in your case. I don't know where these warning are logged. Most log files are found in the directory "/var/log" You can check there, but I am not sure if it is there. I would suggest trying to recompile and take note of the errors you get at the end when the compile fails. Post them here and someone may be able to help.
Thank you sir. Yes the file is there.
kernel-image-2.6.7colonelkernel_10.00.Custom_i386.deb
And although it must not be a "complete" installation, it certainly did work somewhat.
For instance, with my old kernel i could not use my 3rd mouse button for scrolling, there have been a couple of other changes also.
I could not find anything in /var/log.
I'm gonna give it another go perhaps in a few days. The other good news is that my nvidia driver installed after the kernel upgrade.
Thanks again.
2.6.8 - Graphical Login Screen Does Not Accept Character Input
Hi,
I managed to compile and install a kernel for debian 2.6.8. My kernel and initrd load and the boot process continues until I see the graphical login screen. When I attempt to type my username nothing happens. The computer does not seem to be accepting input from my keyboard.
I made a number of changes to the kernel options but it's not obvious to me what I may have changed that would cause this problem.
Has anyone seen this before or have any suggestions?
Is it possible to use apt-get to updgrade my kernel and still keep my current kernel untill I work out the bugs and get it to boot properly. Also how can I make a boot disk.
If you install a new kernel via apt, it will set up an entry for it in grub (not sure about lilo). Your old kernel will still have a grub entry. You can select which kernel to boot. After you are satisfied with the new one, you can manually delect the entry for the old one in the boot menu located in /boot/grub/menu.lst for grub.
Now this is strange ...
I downloaded kernel-image-2.6.8-1-686 & installed, using update-grub configured it into the bootloader. I was able to boot into the new kernel. Great. Now I've downloaded kernel-source-2.6.8, also via apt-get & untarred it in /usr/src. I've created a 'linux' symlink to it in /usr/src. I cd to the directory & issue 'make xconfig' or 'make menuconfig', and I get:
=======================================================================
root@gwlap:/usr/src/linux# cp /boot/config-2.6.8-1-686 .config
root@gwlap:/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 scripts/basic/fixdep.c:107:
/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
=======================================================================
... I have no idea what it's telling me. Has anyone seen this?
I'm using Debian sarge on a PIII Coppermine laptop. 2.4.22 & 2.4.24 recompiled just fine on it.
I think your lilo configuration is probably wrong. If you used the 2.6.8 kernel from the Debian sources, it uses an initrd, located at /boot/initrd.img-2.6.8-1 (not sure of your exact name). You will need the initrd to boot the kernel because the root filesystem support is built as a module and not directly into the kernel. The other thing is, I would point directly to the kernel image at /boot/vmlinuz-2.6.8-1 (once again not certain of the name for yours) rather than /vmlinuz. I think /vmlinuz is a symbolic link to one kernel image and that gets confusing if you have several kernels.
Originally posted by bcalder01 Now this is strange ...
=======================================================================
root@gwlap:/usr/src/linux# cp /boot/config-2.6.8-1-686 .config
root@gwlap:/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 scripts/basic/fixdep.c:107:
/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
=======================================================================
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.