Dear All, I built a linux kernel 2.6.10. When grub tries to execute it the system shows the message: Uncompressing Linux.. and then reboots in a very Spartan way. My suspects are that a modern bootloader tries to boot an older (although respectful) kernel. In facts grub does some preliminar, and mysterious to me, work prior to launch the kernel. In the following links you will find my .config and an excerpt of my grub.cfg. As an additional information, the same happens on two machines of mine (both having a debian wheezy), so the problem should not be related to hardware. .config --> http://www.polarhome.com:753/~marcello/.config grub.cfg --> http://www.polarhome.com:753/~marcello/grub.cfg In just one word: HELP Thanks in Advance.
On Sat, Apr 05, 2014 at 01:05:42PM +0200, Marcello Stanisci wrote:
Dear All,
I built a linux kernel 2.6.10. When grub tries to execute it the system shows the message:
2.6.10 is _very_ old, it proabably doesn't even work on modern hardware. Why are you trying to use such an old kernel release?
2.6.10 is _very_ old, it proabably doesn't even work on modern hardware. Why are you trying to use such an old kernel release?
to study the examples that are in your book ;-) I mean LDD3. I tried to build the snull driver with 2.6.39 but it doesn't compile, so I decided to work on the same version of the kernel as the book does.
There it is an 4th edition of LDD that will be released this year http://shop.oreilly.com/product/0636920030867.do Maybe oreilly will release the digital version sooner On 04/06, Marcello Stanisci wrote:
2.6.10 is _very_ old, it proabably doesn't even work on modern hardware. Why are you trying to use such an old kernel release?
to study the examples that are in your book ;-) I mean LDD3. I tried to build the snull driver with 2.6.39 but it doesn't compile, so I decided to work on the same version of the kernel as the book does.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
2014-04-08 0:08 GMT+02:00 Andre Ferraz <deferraz@terra.com.br>:
There it is an 4th edition of LDD that will be released this year
http://shop.oreilly.com/product/0636920030867.do
Maybe oreilly will release the digital version sooner
yes, I guess I'll wait August. Anyway, I even built the 2.6.10 kernel with the version of tools suggested in Documentation/Changes, that are gcc 2.95 and binutils 2.12.. with no luck :(( thanks guys
Hi Marcello, The most updated version of LDD3 code I know of is in here: https://github.com/martinezjavier/ldd3/ I updated most of the modules to work with Linux 3.10 when I was going through the book. Those that do not work you can try fixing yourself, it is mostly updating the procfs interface calls. On Tue, Apr 8, 2014 at 1:51 PM, Marcello Stanisci <stanisci.m@gmail.com> wrote:
2014-04-08 0:08 GMT+02:00 Andre Ferraz <deferraz@terra.com.br>:
There it is an 4th edition of LDD that will be released this year
http://shop.oreilly.com/product/0636920030867.do
Maybe oreilly will release the digital version sooner
Wow, great news! Thanks for sharing.
Thanks for sharing to you too. I forgot: if someone is cuorious about the working and non working config files for 2.6.10, they are: http://www.polarhome.com:753/~marcello/config-2.6.10-5-386 <-- the working one from Ubuntu 5.04 http://www.polarhome.com:753/~marcello/.config <-- the non working one from "make defconfig" Cheers 2014-04-08 14:11 GMT+02:00 Luis Ortega <luiorpe1@gmail.com>:
Hi Marcello,
The most updated version of LDD3 code I know of is in here: https://github.com/martinezjavier/ldd3/
I updated most of the modules to work with Linux 3.10 when I was going through the book. Those that do not work you can try fixing yourself, it is mostly updating the procfs interface calls.
On Tue, Apr 8, 2014 at 1:51 PM, Marcello Stanisci <stanisci.m@gmail.com> wrote:
2014-04-08 0:08 GMT+02:00 Andre Ferraz <deferraz@terra.com.br>:
There it is an 4th edition of LDD that will be released this year
http://shop.oreilly.com/product/0636920030867.do
Maybe oreilly will release the digital version sooner
Wow, great news! Thanks for sharing.
On Sat, 05 Apr 2014 13:05:42 +0200, Marcello Stanisci said:
I built a linux kernel 2.6.10.
linux-2.6.10.tar.gz 24-Dec-2004 22:38 44M Unless it's a really old box, Linux probably isn't sure how to support it. Remember that in 2004, Intel was still releasing new versions of the Pentium 4 as their high-end CPUs....
Unless it's a really old box, Linux probably isn't sure how to support it. Remember that in 2004, Intel was still releasing new versions of the Pentium 4 as their high-end CPUs.... the same happens on a pretty old box, it should be from the early 2000s.
But I forgot to mention another thing: I patched it with a patch for 2.6.11 to make it compile with binutils 2.22 (otherwise the assembler would complain), and, although the compilation silently ends, it probably messed up something. I will look for the same patch for 2.6.10, or to downgrade my binutils.
participants (5)
-
Andre Ferraz -
Greg KH -
Luis Ortega -
Marcello Stanisci -
Valdis.Kletnieks@vt.edu