* 2.6.10 no boot
@ 2014-04-05 11:05 Marcello Stanisci
[not found] ` <CAOUZJ4BtCOQvTrXR_bDYhWK_g6KKT9243v7kbVo8BmUAocy5-g@mail.gmail.com>
` (2 more replies)
0 siblings, 3 replies; 15+ messages in thread
From: Marcello Stanisci @ 2014-04-05 11:05 UTC (permalink / raw)
To: kernelnewbies
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.
^ permalink raw reply [flat|nested] 15+ messages in thread[parent not found: <CAOUZJ4BtCOQvTrXR_bDYhWK_g6KKT9243v7kbVo8BmUAocy5-g@mail.gmail.com>]
* 2.6.10 no boot [not found] ` <CAOUZJ4BtCOQvTrXR_bDYhWK_g6KKT9243v7kbVo8BmUAocy5-g@mail.gmail.com> @ 2014-04-05 15:14 ` Marcello Stanisci [not found] ` <CAOUZJ4AB_Vz_ZCZW+M2zzXj0fbb9EGV3_tf8W8NVCUTnZDrYLQ@mail.gmail.com> 0 siblings, 1 reply; 15+ messages in thread From: Marcello Stanisci @ 2014-04-05 15:14 UTC (permalink / raw) To: kernelnewbies I have a kernel line, see "menuentry" in my grub.cfg. I don't have a initrd entry, but it should not be required 2014-04-05 16:53 GMT+02:00 Corey Sheldon <sheldon.corey@gmail.com>: > missing the kernel line brother see below: (edit for your setup as needed.. > > linux /vmlinuz-3.14.0-1.vanilla.mainline.knurd.1.fc20.i686 > root=/dev/mapper/luks-35c3bcf7-802e-4aba-b62f-cf17b01d54cb ro > rd.luks.uuid={snipped} > > initrd /initramfs-3.14.0-1.vanilla.mainline.knurd.1.fc20.i686.img > } > > Corey W Sheldon > Owner, 1st Class Mobile Shine > 310.909.7672 > www.facebook.com/1stclassmobileshine > > > On Sat, Apr 5, 2014 at 7:05 AM, Marcello Stanisci <stanisci.m@gmail.com> > wrote: >> >> 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. >> >> _______________________________________________ >> Kernelnewbies mailing list >> Kernelnewbies at kernelnewbies.org >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <CAOUZJ4AB_Vz_ZCZW+M2zzXj0fbb9EGV3_tf8W8NVCUTnZDrYLQ@mail.gmail.com>]
[parent not found: <CAOUZJ4AQ4NLz_fGMbDun=sO9jHA4n3x7s98DK7j130dLdKjJ-A@mail.gmail.com>]
* 2.6.10 no boot [not found] ` <CAOUZJ4AQ4NLz_fGMbDun=sO9jHA4n3x7s98DK7j130dLdKjJ-A@mail.gmail.com> @ 2014-04-05 16:56 ` Marcello Stanisci 0 siblings, 0 replies; 15+ messages in thread From: Marcello Stanisci @ 2014-04-05 16:56 UTC (permalink / raw) To: kernelnewbies I already have a kernel that runs without initrd. Anyway, the use of initrd doesn't depend on your distro. Additional information: passing option "earlyprintk" to the kernel does not show anything. The system just reboots after showing "Uncompressing Linux.." 2014-04-05 17:22 GMT+02:00 Corey Sheldon <sheldon.corey@gmail.com>: > even for debian > > Corey W Sheldon > Owner, 1st Class Mobile Shine > 310.909.7672 > www.facebook.com/1stclassmobileshine > > > On Sat, Apr 5, 2014 at 11:21 AM, Corey Sheldon <sheldon.corey@gmail.com> > wrote: >> >> per this page as well it indicates a initrd line >> http://www.dedoimedo.com/computers/grub-2.html#mozTocId542243 >> >> Corey W Sheldon >> Owner, 1st Class Mobile Shine >> 310.909.7672 >> www.facebook.com/1stclassmobileshine >> >> >> On Sat, Apr 5, 2014 at 11:14 AM, Marcello Stanisci <stanisci.m@gmail.com> >> wrote: >>> >>> I have a kernel line, see "menuentry" in my grub.cfg. >>> I don't have a initrd entry, but it should not be required >>> >>> 2014-04-05 16:53 GMT+02:00 Corey Sheldon <sheldon.corey@gmail.com>: >>> > missing the kernel line brother see below: (edit for your setup as >>> > needed.. >>> > >>> > linux /vmlinuz-3.14.0-1.vanilla.mainline.knurd.1.fc20.i686 >>> > root=/dev/mapper/luks-35c3bcf7-802e-4aba-b62f-cf17b01d54cb ro >>> > rd.luks.uuid={snipped} >>> > >>> > initrd /initramfs-3.14.0-1.vanilla.mainline.knurd.1.fc20.i686.img >>> > } >>> > >>> > Corey W Sheldon >>> > Owner, 1st Class Mobile Shine >>> > 310.909.7672 >>> > www.facebook.com/1stclassmobileshine >>> > >>> > >>> > On Sat, Apr 5, 2014 at 7:05 AM, Marcello Stanisci >>> > <stanisci.m@gmail.com> >>> > wrote: >>> >> >>> >> 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. >>> >> >>> >> _______________________________________________ >>> >> Kernelnewbies mailing list >>> >> Kernelnewbies at kernelnewbies.org >>> >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >>> > >>> > >>> >>> _______________________________________________ >>> Kernelnewbies mailing list >>> Kernelnewbies at kernelnewbies.org >>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> >> > ^ permalink raw reply [flat|nested] 15+ messages in thread
* 2.6.10 no boot 2014-04-05 11:05 2.6.10 no boot Marcello Stanisci [not found] ` <CAOUZJ4BtCOQvTrXR_bDYhWK_g6KKT9243v7kbVo8BmUAocy5-g@mail.gmail.com> @ 2014-04-05 17:12 ` Greg KH 2014-04-06 8:59 ` Marcello Stanisci 2014-04-05 23:00 ` Valdis.Kletnieks at vt.edu 2 siblings, 1 reply; 15+ messages in thread From: Greg KH @ 2014-04-05 17:12 UTC (permalink / raw) To: kernelnewbies 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? ^ permalink raw reply [flat|nested] 15+ messages in thread
* 2.6.10 no boot 2014-04-05 17:12 ` Greg KH @ 2014-04-06 8:59 ` Marcello Stanisci 2014-04-06 16:12 ` Greg KH 2014-04-07 22:08 ` Andre Ferraz 0 siblings, 2 replies; 15+ messages in thread From: Marcello Stanisci @ 2014-04-06 8:59 UTC (permalink / raw) To: kernelnewbies > 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. ^ permalink raw reply [flat|nested] 15+ messages in thread
* 2.6.10 no boot 2014-04-06 8:59 ` Marcello Stanisci @ 2014-04-06 16:12 ` Greg KH 2014-04-07 22:08 ` Andre Ferraz 1 sibling, 0 replies; 15+ messages in thread From: Greg KH @ 2014-04-06 16:12 UTC (permalink / raw) To: kernelnewbies On Sun, Apr 06, 2014 at 10:59:04AM +0200, 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. 2.6.39 is also really old, don't use it. If you search around, there are updated versions of the examples online, that work with the latest kernel releases, so I'd recommend using that. good luck, greg k-h ^ permalink raw reply [flat|nested] 15+ messages in thread
* 2.6.10 no boot 2014-04-06 8:59 ` Marcello Stanisci 2014-04-06 16:12 ` Greg KH @ 2014-04-07 22:08 ` Andre Ferraz 2014-04-08 11:51 ` Marcello Stanisci 1 sibling, 1 reply; 15+ messages in thread From: Andre Ferraz @ 2014-04-07 22:08 UTC (permalink / raw) To: kernelnewbies 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 at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > ^ permalink raw reply [flat|nested] 15+ messages in thread
* 2.6.10 no boot 2014-04-07 22:08 ` Andre Ferraz @ 2014-04-08 11:51 ` Marcello Stanisci [not found] ` <CAOUZJ4AiSQ+VCrM3j=kzXVpdGwdN5Vac2jXRxijePQuOZA-pZg@mail.gmail.com> ` (2 more replies) 0 siblings, 3 replies; 15+ messages in thread From: Marcello Stanisci @ 2014-04-08 11:51 UTC (permalink / raw) To: 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 ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <CAOUZJ4AiSQ+VCrM3j=kzXVpdGwdN5Vac2jXRxijePQuOZA-pZg@mail.gmail.com>]
* 2.6.10 no boot [not found] ` <CAOUZJ4AiSQ+VCrM3j=kzXVpdGwdN5Vac2jXRxijePQuOZA-pZg@mail.gmail.com> @ 2014-04-08 12:07 ` Marcello Stanisci 0 siblings, 0 replies; 15+ messages in thread From: Marcello Stanisci @ 2014-04-08 12:07 UTC (permalink / raw) To: kernelnewbies it kicked out some warnings concerning casts but I don't think they are alarming. So, for the ones interested, in link [1] you'll find updated versions of snull driver, up to 2.6.31. [1] http://www.cs.fsu.edu/~baker/devices/lxr/http/source/ldd-examples/snull/snull.c cheers 2014-04-08 13:56 GMT+02:00 Corey Sheldon <sheldon.corey@gmail.com>: > are you sure the compilation isn't kicking errors that seems real odd even > for such an ancient kernel .....may i recommend checking on the CentOS > forums as that still totes the 2.6.x kernels ^ permalink raw reply [flat|nested] 15+ messages in thread
* 2.6.10 no boot 2014-04-08 11:51 ` Marcello Stanisci [not found] ` <CAOUZJ4AiSQ+VCrM3j=kzXVpdGwdN5Vac2jXRxijePQuOZA-pZg@mail.gmail.com> @ 2014-04-08 12:11 ` Luis Ortega 2014-04-08 16:04 ` Marcello Stanisci [not found] ` <CA+MoWDp-_EnPJwmH42iGFM=5uhuWbPam+tF-Aok2n88r9D4+_Q@mail.gmail.com> 2 siblings, 1 reply; 15+ messages in thread From: Luis Ortega @ 2014-04-08 12:11 UTC (permalink / raw) To: kernelnewbies 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. ^ permalink raw reply [flat|nested] 15+ messages in thread
* 2.6.10 no boot 2014-04-08 12:11 ` Luis Ortega @ 2014-04-08 16:04 ` Marcello Stanisci 0 siblings, 0 replies; 15+ messages in thread From: Marcello Stanisci @ 2014-04-08 16:04 UTC (permalink / raw) To: kernelnewbies 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. ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <CA+MoWDp-_EnPJwmH42iGFM=5uhuWbPam+tF-Aok2n88r9D4+_Q@mail.gmail.com>]
* 2.6.10 no boot [not found] ` <CA+MoWDp-_EnPJwmH42iGFM=5uhuWbPam+tF-Aok2n88r9D4+_Q@mail.gmail.com> @ 2014-04-08 15:59 ` Marcello Stanisci 0 siblings, 0 replies; 15+ messages in thread From: Marcello Stanisci @ 2014-04-08 15:59 UTC (permalink / raw) To: kernelnewbies Hey Peter, I did the same booting my real machine with that version of Ubuntu Live and everything went fine, so it is definitely not an hardware issue. ps: you wrote just to me, not to the list. Cheers 2014-04-08 14:41 GMT+02:00 Peter Senna Tschudin <peter.senna@gmail.com>: > Hey Marcello, > > It runs inside virtual machines. I have successfully boot 2.6.10 from > Ubuntu 5.04 inside KVM using virtual machine manager as frontend. > > Peter > > 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 >> >> 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 >> >> _______________________________________________ >> Kernelnewbies mailing list >> Kernelnewbies at kernelnewbies.org >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > > > -- > Peter ^ permalink raw reply [flat|nested] 15+ messages in thread
* 2.6.10 no boot 2014-04-05 11:05 2.6.10 no boot Marcello Stanisci [not found] ` <CAOUZJ4BtCOQvTrXR_bDYhWK_g6KKT9243v7kbVo8BmUAocy5-g@mail.gmail.com> 2014-04-05 17:12 ` Greg KH @ 2014-04-05 23:00 ` Valdis.Kletnieks at vt.edu 2014-04-06 9:07 ` Marcello Stanisci 2 siblings, 1 reply; 15+ messages in thread From: Valdis.Kletnieks at vt.edu @ 2014-04-05 23:00 UTC (permalink / raw) To: kernelnewbies 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.... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 848 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140405/0f064c17/attachment.bin ^ permalink raw reply [flat|nested] 15+ messages in thread
* 2.6.10 no boot 2014-04-05 23:00 ` Valdis.Kletnieks at vt.edu @ 2014-04-06 9:07 ` Marcello Stanisci 2014-04-06 9:12 ` Marcello Stanisci 0 siblings, 1 reply; 15+ messages in thread From: Marcello Stanisci @ 2014-04-06 9:07 UTC (permalink / raw) To: kernelnewbies > 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. ^ permalink raw reply [flat|nested] 15+ messages in thread
* 2.6.10 no boot 2014-04-06 9:07 ` Marcello Stanisci @ 2014-04-06 9:12 ` Marcello Stanisci 0 siblings, 0 replies; 15+ messages in thread From: Marcello Stanisci @ 2014-04-06 9:12 UTC (permalink / raw) To: kernelnewbies > 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. For those interested, the patch is that one: http://www.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2014-04-08 16:04 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-05 11:05 2.6.10 no boot Marcello Stanisci
[not found] ` <CAOUZJ4BtCOQvTrXR_bDYhWK_g6KKT9243v7kbVo8BmUAocy5-g@mail.gmail.com>
2014-04-05 15:14 ` Marcello Stanisci
[not found] ` <CAOUZJ4AB_Vz_ZCZW+M2zzXj0fbb9EGV3_tf8W8NVCUTnZDrYLQ@mail.gmail.com>
[not found] ` <CAOUZJ4AQ4NLz_fGMbDun=sO9jHA4n3x7s98DK7j130dLdKjJ-A@mail.gmail.com>
2014-04-05 16:56 ` Marcello Stanisci
2014-04-05 17:12 ` Greg KH
2014-04-06 8:59 ` Marcello Stanisci
2014-04-06 16:12 ` Greg KH
2014-04-07 22:08 ` Andre Ferraz
2014-04-08 11:51 ` Marcello Stanisci
[not found] ` <CAOUZJ4AiSQ+VCrM3j=kzXVpdGwdN5Vac2jXRxijePQuOZA-pZg@mail.gmail.com>
2014-04-08 12:07 ` Marcello Stanisci
2014-04-08 12:11 ` Luis Ortega
2014-04-08 16:04 ` Marcello Stanisci
[not found] ` <CA+MoWDp-_EnPJwmH42iGFM=5uhuWbPam+tF-Aok2n88r9D4+_Q@mail.gmail.com>
2014-04-08 15:59 ` Marcello Stanisci
2014-04-05 23:00 ` Valdis.Kletnieks at vt.edu
2014-04-06 9:07 ` Marcello Stanisci
2014-04-06 9:12 ` Marcello Stanisci
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).