LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-15-2004, 08:06 AM   #61
verus
LQ Newbie
 
Registered: Dec 2004
Posts: 4

Rep: Reputation: 0
Everything was going very smoothly when all of a sudden!!


Everything was going very smoothly when all of a sudden!!
I know i've made some mistake....

10. make-kpkg clean

make-kpkg --initrd --append-to-version=-colonelkernel kernel_image

(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)

only difference i did was not install win4lin

Was fun at any rate!
Thanks
 
Old 12-15-2004, 08:10 AM   #62
verus
LQ Newbie
 
Registered: Dec 2004
Posts: 4

Rep: Reputation: 0

Last edited by verus; 12-15-2004 at 08:12 AM.
 
Old 12-16-2004, 08:30 AM   #63
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Original Poster
Rep: Reputation: 54
verus,

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.
 
Old 12-16-2004, 09:08 PM   #64
verus
LQ Newbie
 
Registered: Dec 2004
Posts: 4

Rep: Reputation: 0
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.
 
Old 12-17-2004, 10:14 PM   #65
scottym
LQ Newbie
 
Registered: Aug 2003
Location: Red Bank, NJ
Distribution: Redhat 9 - 2.4.20-8
Posts: 7

Rep: Reputation: 0
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?

Thanks,
Scott Mollica
 
Old 12-21-2004, 10:11 AM   #66
RRolleston
Member
 
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41

Rep: Reputation: 15
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.

I have Debian Sarge with kernel 2.2.20-idepci
 
Old 12-21-2004, 02:07 PM   #67
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Original Poster
Rep: Reputation: 54
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.
 
Old 12-22-2004, 10:20 PM   #68
bcalder01
Member
 
Registered: Nov 2003
Location: Mexico
Distribution: Debian sarge (x86 & PPC), Ubuntu Breezy
Posts: 42

Rep: Reputation: 15
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.
 
Old 12-22-2004, 10:44 PM   #69
RRolleston
Member
 
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41

Rep: Reputation: 15
I'm trying to use 2.6.8-1 kernel and when it boots it sayes unable to mount root must specify root= what do I have to add for this kernel to work

this ia the part in my lilo.conf that loads the 2.6.8-1 kernel

image=/vmlinuz
label=Linux
read-only
# restricted
alias=1

Last edited by RRolleston; 12-22-2004 at 10:52 PM.
 
Old 12-23-2004, 02:40 PM   #70
RRolleston
Member
 
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41

Rep: Reputation: 15
When booting a new 2.6.8 kernel I get the following message.

kernel panic VFS: Unable to mount root fs on unknown -block(3,1)

I currently have debian sarge 2.2.20-idepci

Any help would be greatly appreciated
 
Old 12-23-2004, 02:55 PM   #71
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Original Poster
Rep: Reputation: 54
I use grub, but here is my entry:
Quote:
title Linux, 2.6.7-win4lin
root (hd0,0)
kernel /boot/vmlinuz-2.6.7-w4ldeb root=/dev/hda1 ro hdc=scsi video=vesa:ywrap,mtrr vga=0x317
initrd /boot/initrd.img-2.6.7-w4ldeb
savedefault
boot
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.

Last edited by m_yates; 12-23-2004 at 02:58 PM.
 
Old 12-23-2004, 02:57 PM   #72
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Original Poster
Rep: Reputation: 54
Quote:
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
=======================================================================
It is strange. I haven't seen that before. Sorry.
 
Old 12-24-2004, 06:58 PM   #73
weeee
LQ Newbie
 
Registered: Dec 2004
Posts: 4

Rep: Reputation: 0
well i didn't read all replies to this post, but this howto realy helped me.
 
Old 12-25-2004, 09:54 PM   #74
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Original Poster
Rep: Reputation: 54
weeee:

You link: http://www.desktop-linux.net/debkernel.htm is mentioned above.

Also mentioned is: http://newbiedoc.sourceforge.net/system/kernel-pkg.html

I also recommend both. Cheers!
 
Old 12-26-2004, 12:35 AM   #75
weeee
LQ Newbie
 
Registered: Dec 2004
Posts: 4

Rep: Reputation: 0
Quote:
Originally posted by m_yates
weeee:

You link: http://www.desktop-linux.net/debkernel.htm is mentioned above.

Also mentioned is: http://newbiedoc.sourceforge.net/system/kernel-pkg.html

I also recommend both. Cheers!
sorry, as i said - i was too lazy to read all replies :]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recompile drivers after upgrade? Tons of Fun Debian 4 09-11-2005 10:00 PM
recompile kernel laurentwahl Linux - Software 5 06-02-2005 02:27 PM
Another Kernel Guide 2.6.11 xaos5 Slackware 20 03-26-2005 12:49 PM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
should i recompile after kernel upgrade? doralsoral Linux - Software 1 03-26-2004 11:50 PM


All times are GMT -5. The time now is 10:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration