On 21.07.2011 03:19, Rock Cui wrote: > Sorry, it's the 56th line: > table_item = (grub_linuxbios_table_item_t) ((long) table_header + > (long) table_header->size); > the (long)table_header->size, I think it is not same with coreboot. > Examining your memory dump suggests that there is no error in this line of code. That's why I need the second dump of where the tables really are > Now I can build a payload with "--with-platform=multiboot" that can > boot my machine, not the "--with-platform=coreboot". > In the later mail I sent to you, there are same detail. > > BRs, > > Rock. > >>> I have read the source code about the mmap of grub and of corebootV4, >>> I found that the size of their table header struct are not same, and I >>> think ,in the file "mmap.c" of grub2,on the 53rd line, the offset of >>> the first table item may be error. >> In my copy 53rd line is completely empty. Could you detail the error? >>> BRs, >>> Rock. >>> >>> At 2011-07-05 14:35:28,"Cui Lei" <neverforget_2...@163.com> wrote: >>> >>> I think the "skip=2146422784" is too big. >>>> I received you reply this monday, then my office PC had a >>>> problem ,can not power on, so I write you late. >>>> I have tried to run "dd", but got "Reading a error address". >>>>> On 01.07.2011 08:57, Rock Cui wrote: >>>>>> Sorry,I am careless, my log file is not empty, please refer to the >>>>>> attachment. >>>>>> >>>>> I would also need another memory location for full diagnostics: >>>>> sudo dd if=/dev/mem of=tables bs=1 count=65536 skip=2146422784 >>>>> Looking at the code, the only way it can hang AFAICT should be fixed >>>>> by >>>>> attached patch (mostly guessing) >>>>>>> 1. I have tried the "--with-platform=multiboot" option, but when >>>>>>> booting it show me: >>>>>>> /*********************/ >>>>>>> Welcome to GRUB! >>>>>>> out of memory >>>>>>> Aborted. >>>>>>> /*********************/ >>>>>>> 2. The /dev/mem you need , how can I get it? I want it should be >>>>>>> from >>>>>>> the "/" , then I must enter the ubuntu. >>>>>>> So I use the grub1.98 as coreboot payload and boot my ubuntu11.04. >>>>>>> But when I copy the /dev/mem to a log file with "sudo", >>>>>>> I was told “You can not do it!” : ( >>>>>>> >>>>>>> >>>>>>>> On 30.06.2011 04:38, Cui Lei wrote: >>>>>>>>> I have found the the last version which can boot my machine, it is >>>>>>>>> the r2348. The r2349 can not boot it. >>>>>>>>> So I checked out the changelog from 2348 to 2349 : >>>>>>>>> >>>>>>>> Ironically I did it because i386-coreboot didn't work in my tests. >>>>>>>> Could >>>>>>>> you send me the first 128K of /dev/mem ? Meanwhile you can try >>>>>>>> i386-multiboot port. >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Grub-devel mailing list >>>>>>>> Grub-devel@gnu.org >>>>>>>> https://lists.gnu.org/mailman/listinfo/grub-devel >>>>>>> _______________________________________________ >>>>>>> Grub-devel mailing list >>>>>>> Grub-devel@gnu.org >>>>>>> https://lists.gnu.org/mailman/listinfo/grub-devel >>>>>>> >>>>>> _______________________________________________ >>>>>> Grub-devel mailing list >>>>>> Grub-devel@gnu.org >>>>>> https://lists.gnu.org/mailman/listinfo/grub-devel >>>>> _______________________________________________ >>>>> Grub-devel mailing list >>>>> Grub-devel@gnu.org >>>>> https://lists.gnu.org/mailman/listinfo/grub-devel >>> >>> >>> _______________________________________________ >>> Grub-devel mailing list >>> Grub-devel@gnu.org >>> https://lists.gnu.org/mailman/listinfo/grub-devel >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel