[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#927892: grub-ieee1275-bin: Please add bootinfo.txt for sparc and sparc64



On 28/04/2019 08:44, John Paul Adrian Glaubitz wrote:

> On 4/28/19 9:25 AM, Mark Cave-Ayland wrote:
>>>> Thanks everyone for the help!
>>>
>>> Attaching the two patches for debian-installer and debian-cd for reference,
>>> will commit them next week after cleaning them up and also switching ia64
>>> to GRUB as well.
>>
>> Amazing - thank you for all the hard work you've put into this! I've just had a look
>> in your home directory on people.debian.org for the GRUB test ISO but I can't see it
>> - have you removed it pending application of your patches?
> 
> I moved the images to the cdimage server (there is also a test image for ia64 with
> GRUB), as the space on people.debian.org is limited:
> 
>> https://cdimage.debian.org/cdimage/ports/grub-test/

I grabbed the test image from the above URL to test under qemu-system-sparc64 and
initially got the error below:

Apr 28 08:11:31 debconf: Setting debconf/language to en
Apr 28 08:11:32 main-menu[237]: INFO: Menu item 'localechooser' selected
Apr 28 08:11:32 main-menu[242]: INFO: Falling back to the package description for
brltty-udeb
Apr 28 08:11:33 main-menu[242]: INFO: Menu item 'localechooser' selected
Apr 28 08:11:34 main-menu[242]: /var/lib/dpkg/status: No such file or directory
Apr 28 08:11:34 main-menu[242]: /var/lib/dpkg/status: No such file or directory
Apr 28 08:11:34 main-menu[242]: WARNING **: Configuring 'libdebian-installer4-udeb'
failed with error code 1
Apr 28 08:11:34 main-menu[242]: WARNING **: Menu item 'localechooser' failed.
Apr 28 08:11:34 main-menu[237]: /var/lib/dpkg/status: No such file or directory
Apr 28 08:11:34 main-menu[237]: /var/lib/dpkg/status: No such file or directory
Apr 28 08:11:34 main-menu[237]: WARNING **: Configuring 'cdebconf-udeb' failed with
error code 1
Apr 28 08:11:34 main-menu[237]: WARNING **: Menu item 'localechooser' failed.
Apr 28 08:11:44 main-menu[242]: INFO: Modifying debconf priority limit from 'high' to
'medium'
Apr 28 08:11:44 debconf: Setting debconf/priority to medium
Apr 28 08:11:44 kernel: [  135.647875] main-menu[242]: segfault at 8 ip
000001000000298c (rpc fffff80100128e08) sp 000007feff83ead1 error 1 in
main-menu[10000000000+4000]

After some further poking it looks like the latest images bump the minimum memory
requirements from 256M to 512M so qemu-system-sparc64 needs to run with -m 512.

One other slight annoyance is that when the grub menu loads it seems to hammer the
CPU for the first 60s or so which makes selection almost impossible. I'll see if I
can find some time to look at this later.

>> Patches look good, although the second patch still uses /boot/grub/sparc64.elf
>> instead of /boot/grub/core.img for the grub-mkimage output parameter - is that correct?
> Good catch. Probably forgot a "git commit -a -amend" here.
> 
> Btw, any suggestions for powerpc/ppc64? We are still using Yaboot here. I assume this
> case will be a bit more complicated due to the fact we also need to support PowerMacs.

What's the current status? Sorry I had to drop out of that thread but I've recently
had a break because I got married :)  I remember there being issues translating OF
pathnames for the OS, but was there progress using grub for HD installation and also
the installation media?


ATB,

Mark.


Reply to: