LinuxQuestions.org
Review your favorite Linux distribution.
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 01-25-2006, 10:13 AM   #196
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Original Poster
Rep: Reputation: 54

You can get the latest kernel patches (for version 2.6.15) here: http://packages.debian.org/unstable/...-debian-2.6.15

You can also get the pre-patched version 2.6.15 source here: http://packages.debian.org/unstable/...-source-2.6.15

Both can be installed via apt-get if you have unstable repositories in /etc/apt/sources.list A nice guide to Debian kernel can be found here: http://kernel-handbook.alioth.debian.org/ It provides some generic descriptions of the changes Debian makes to the "pristine" kernel sources.

I am currently using Kubuntu breezy and I compiled the 2.6.15.1 "pristine" kernel just yesterday without applying any patches and it works. I'm not sure if Ubuntu uses a different filesystem for the initrd, but I did not apply any cramfs patch and my initrd works. It is also possible to change the filesystem used for initrd, but I haven't investigated it.
 
Old 01-25-2006, 07:36 PM   #197
dombrowsky
Member
 
Registered: Dec 2005
Location: New York
Distribution: Debian/GNU
Posts: 235

Rep: Reputation: 31
thanks very much for the links.

Everything that I've read says that Debian needs extra patches because of cramfs used in the initrd filesystem. Perhaps this has been incorperated into the kernel by now.
 
Old 01-27-2006, 01:55 PM   #198
Ponder
LQ Newbie
 
Registered: Nov 2003
Posts: 10

Rep: Reputation: 0
I currently have kernel-image-2.4.27-2.386 installed on a Debian Sarge installation.

While I feel what's in here will help me upgrade there are a couple of things I'd like to find out first:

1) Will it add to the boot menu so I can use the current kernel if my attempts fail?

2) Would I be asking for trouble by getting the 686 version instead of the 386 version?
 
Old 01-27-2006, 03:34 PM   #199
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Original Poster
Rep: Reputation: 54
The grub menu.lst should be updated automatically when you install the deb file created by make-kpkg. However, if you do not need to apply special patches to the kernel, the easiest way to upgrade is by using apt. Just make sure you have unstable repositories in /etc/apt/sources.list, then do:
Code:
apt-get update
apt-get install linux-image-2.6.15-1-686
or whatever version you want to install. You can check what versions are available with:
Code:
apt-cache search linux-image-2.6
 
Old 01-27-2006, 06:04 PM   #200
Ponder
LQ Newbie
 
Registered: Nov 2003
Posts: 10

Rep: Reputation: 0
Thanks. The last time I tried to add unstable it took 3 days to recover so I'll be happy to try the stable 2.6.8-2 version for now
 
Old 03-10-2006, 06:36 AM   #201
micpro
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
i486-linux-gnu-gcc: command not found

Quote:
Originally Posted by mithereaal
still get errors
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 11: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 12: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 11: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 12: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 11: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 12: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 11: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 12: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 11: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 12: i486-linux-gnu-gcc: command not found
/usr/share/kernel-package/rules:1637: *** Error. I do not know where the kernel image goes to [kimagedest undefined] The usual case for this is that I could not determine which arch or subarch tihs machine belongs to. Please specify a subarch, and try again.. Stop.
I had a similar problem while compiling linux-2.6.15.6 from the original sources.
It worked after upgrading kernel-package from version 8.135 (stable) to version 10.035 (testing).
 
Old 03-21-2006, 03:37 AM   #202
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
wow this thread has been viewed exactly 2^16 times now.
 
Old 03-27-2006, 03:25 AM   #203
unkn0wn
Member
 
Registered: Mar 2006
Posts: 60

Rep: Reputation: 15
i want to :
#make oldconfig
with my old 2.4 config to new 2.6
is that posible .
 
Old 03-27-2006, 06:37 AM   #204
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 625

Rep: Reputation: 32
Quote:
Originally Posted by unkn0wn
i want to :
#make oldconfig
with my old 2.4 config to new 2.6
is that posible .
yes.....
 
Old 03-27-2006, 09:29 AM   #205
unkn0wn
Member
 
Registered: Mar 2006
Posts: 60

Rep: Reputation: 15
hm on howtoforge said that it isnt possible ;/
What to do? beause 2.4 is working fine but i want upgrade on 2.6 can i do that on safe way i dont wanna mess up config.
 
Old 03-27-2006, 09:41 AM   #206
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
Yes it does work.
Anyway you won't mess anything. Make oldconfig is done in your new 2.6, and your 2.4 won't be touched. What could go bad is your new 2.6, but not the 2.4! If you want, make backup of /boot/vmlinuz24 (or whatever its name) , your /boot/config-2.4 and /lib/modules/kernel-2.4/ directory and /boot/grub/menu.lst

Going from 2.4 to 2.6 will add a /boot/vmlinuz-2.6, add a /boot/config26 and add a directory /lib/modules/kernel26/
So you will still keep your old files.


As it may be recommended, burn a livecd before like knoppix.

Go go go
 
Old 03-27-2006, 10:30 AM   #207
Pingus
Member
 
Registered: Nov 2004
Location: Canada
Distribution: SuSE 9.1 pro/Debian Sarge
Posts: 61

Rep: Reputation: 15
Hello. I discovered this thread recently, and my message relates to post #1: the patching of the kernel to change the resolution used during boot and have the Debian logo. I use a custom 2.6.15 kernel on Debian unstable, and all seems to have worked well. I can even switch to a console from X and be in the 0x307 resolution. I use a Go5700FX Nvidia card. This is what I observe during boot:

- *two* Debian logos appear at the top of the screen, side by side
- the resolution is what I asked for using the vga=0x307 argument
- the two logos 'fade out' after a little while, leaving the whole display to the messages.

My question is: is this the expected behavior? Why do I have 2 logos? Is it possible to update the logo without recompiling the kernel again?

Thanks much for the great step by step guide!
 
Old 04-05-2006, 06:34 AM   #208
LiNiO
LQ Newbie
 
Registered: Apr 2006
Location: Zamosc
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by Pingus
My question is: is this the expected behavior? Why do I have 2 logos? Is it possible to update the logo without recompiling the kernel again?
Do you have SMP system or Intel with Hyper-Threading?
If you want to change logo, you must recompile kernel.

Regards,
LiNiO
 
Old 04-05-2006, 10:22 AM   #209
Pingus
Member
 
Registered: Nov 2004
Location: Canada
Distribution: SuSE 9.1 pro/Debian Sarge
Posts: 61

Rep: Reputation: 15
Quote:
Originally Posted by LiNiO
Do you have SMP system or Intel with Hyper-Threading?
LiNiO
I do have both and Intel Pentium 4 with hyperthreading and an SMP kernel. Is that why I see two logos??!
 
Old 04-06-2006, 05:01 AM   #210
Worksman
Member
 
Registered: Sep 2004
Location: Romania
Distribution: Ubuntu, Debian, Arch Linux, Gentoo, Slackware
Posts: 171
Blog Entries: 1

Rep: Reputation: 31
OK, I haven't watched this thread for some time but now it seems I may need your help people.
After I moved to Arch I can't seem to be able to compile a clean kernel anymore.
Compiling in Gentoo was very easy :-D but anyway that's what Gentoo is all about - compile it yourself.
I get a kernel panic that it can't mount the root partition.
More details this night, I hope.
 
  


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 11:00 PM
recompile kernel laurentwahl Linux - Software 5 06-02-2005 03:27 PM
Another Kernel Guide 2.6.11 xaos5 Slackware 20 03-26-2005 01:49 PM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 05:32 PM
should i recompile after kernel upgrade? doralsoral Linux - Software 1 03-27-2004 12:50 AM


All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
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