Re: 2.6.23-rc1: no setup signature found...



Xudong Guan wrote:
On 09:26(-0700) Thu 26 Jul, H. Peter Anvin wrote:
Xudong Guan wrote:
On 09:11(-0700) Thu 26 Jul, H. Peter Anvin wrote:
Could you send me a copy of that Qemu image?
I can only upload the 70M bz2 file 2 hours later, when I return home
and have no upload restrictions. If you can not wait, you can try
to download some old DSL ISO image and play with it in qemu to
install it to a harddisk image yourself.
Sorry I can not figure out which ISO version I used.
http://www.damnsmalllinux.org/download.html

Waiting is fine; it's morning here.

I removed almost all the files in the file system and reduced the file to 9M.

http://www.ebanpo.com/roamingo/256M.raw.gz 9884879 bytes
md5sum: 55b3b0836ca61695627a0d0e43293651

The Makefile that I used to play with it is also included below.


Tracing through this with gdb, it appears that grub is trying to load
the correct number of sectors, but ends up with garbage in the latter
part of the setup code. It is wrong before the kernel has executed even
a single instruction, so it's not the kernel's fault.

It is not random garbage, either, which implies that Grub is loading
from the wrong part of the disk -- specifically, the first 8K look
correct in memory, and anything beyond that is total garbage.

The protected-mode part of the kernel looks correct in memory, and it
starts at the right point, so it's not a matter of grub simply loading
the wrong number of sectors that the kernel could conceivably fix up.

I doubt the Grub people are interested in a bug report for a version
this ancient. Looking through the Grub changelog, it looks to me that
this bug was fixed on 2002-07-12 "Rewrite the Linux booting support
radically", over five years ago; the first release which had that fix in
it was 0.93.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Anf?nger, blutig
    ... in welchen Runlevel mein Linux booten soll. ... >und der Dokumentation zu Grub ueberfordert? ... >Kernel laden und starten. ... Booten dem Kernel irgendwelche Parameter mit auf den Weg gegeben ...
    (de.comp.os.unix.linux.misc)
  • Re: Linux von einer auf andere Platte portieren?
    ... Kernel, der nicht in lilo.conf eingetragen ist? ... vielen von mir betreuten Rechnern das Booten von CD-ROM, ... dass grub etwas auf die Platte schreibt. ... Rechner, die von anderen Leuten benutzt werden. ...
    (de.comp.os.unix.linux.misc)
  • Re: Problem with the serial port in Fedora Core 6
    ... I've never seen the labels that you have added in grub and wonder ... expecting a pair of around the word 'menu', or maybe a kernel ... bugzilla the missing ttyS's, but bugzilla didn't like my password. ... and serial ports which appears to be exactly your issue and a suggestion ...
    (Fedora)
  • Re: booting without initrd
    ... One important job of the initrd is to load ... drivers which aren't compiled directly into the base kernel image. ... may be a good exercise to learn about the kernel/root filesystem startup; ... grub gets confused when you use the vmalloc and mem kernel parameters. ...
    (comp.os.linux.setup)
  • wie grub installation auf zweite hdd welche spaeter einzige hdd sein wird.
    ... dem neuen kernel gebootet. ... dann hab ich grub im cli benutzt und folgedes zu tun: ... # Set the default entry to the entry number NUM. ... ## by the debian update-grub script except for the default options ...
    (de.comp.os.unix.linux.misc)