Bug#825110: /pci@f400000/ata-6@d/@0:3,/boot/vmlinux: Unknown or corrupt

2016-05-31 Thread Mathieu Malaterre
tags 825110 - pending
tags 825110 + confirmed
block 825110 by 610206
thanks

On Mon, May 30, 2016 at 9:55 PM, Milan Kupcevic  wrote:
> On 05/30/2016 12:20 PM, Lennart Sorensen wrote:
>> On Mon, May 30, 2016 at 12:17:19AM -0400, Milan Kupcevic wrote:
>>> affects 825110 yaboot
>>> tags 825110 pending
>>> thanks
>>>
>>> Yaboot is not able to load files from a partition with metadata_csum and 
>>> 64bit ext4 features enabled.
>>
>
> [...]
>
>> Of course if ext4 is being created by default in 64bit mode these days
>> (I have no idea), then the installer may need to be taught to not do
>> that for whatever filesystem /boot is going in.
>>
>
> It seems ext4 is being created by default with 64bit and metadata_csum
> features since stretch beta 6 d-i release. A separate /boot partition
> formatted as ext3 would be a solution; as it was for some time before
> yaboot got support for ext4.
>
> Instead of doing separate /boot we might be better off to adjust
> newworld partition recipe to accommodate grub installation while
> disabling d-i 64bit and metadata_csum features on powerpc to allow for
> installation of yaboot.[0] Once we transition to grub we can get rid of
> yaboot-installer together with ext4 feature limitations. Mathieu is
> volunteering to do some work in this regard.[1]

I think I can send a patch later today for #610206. However I am
clueless for #691207 or #691209.



Bug#825110: /pci@f400000/ata-6@d/@0:3,/boot/vmlinux: Unknown or corrupt

2016-05-30 Thread Milan Kupcevic
On 05/30/2016 12:20 PM, Lennart Sorensen wrote:
> On Mon, May 30, 2016 at 12:17:19AM -0400, Milan Kupcevic wrote:
>> affects 825110 yaboot
>> tags 825110 pending
>> thanks
>>
>> Yaboot is not able to load files from a partition with metadata_csum and 
>> 64bit ext4 features enabled.
> 

[...]

> Of course if ext4 is being created by default in 64bit mode these days
> (I have no idea), then the installer may need to be taught to not do
> that for whatever filesystem /boot is going in.
> 

It seems ext4 is being created by default with 64bit and metadata_csum
features since stretch beta 6 d-i release. A separate /boot partition
formatted as ext3 would be a solution; as it was for some time before
yaboot got support for ext4.

Instead of doing separate /boot we might be better off to adjust
newworld partition recipe to accommodate grub installation while
disabling d-i 64bit and metadata_csum features on powerpc to allow for
installation of yaboot.[0] Once we transition to grub we can get rid of
yaboot-installer together with ext4 feature limitations. Mathieu is
volunteering to do some work in this regard.[1]

Milan

[0]
https://anonscm.debian.org/cgit/d-i/partman-ext3.git/commit/?id=f87dc92157262de1ad8dd3f2343436f08271b4dc
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610206#14







signature.asc
Description: OpenPGP digital signature


Bug#825110: /pci@f400000/ata-6@d/@0:3,/boot/vmlinux: Unknown or corrupt

2016-05-30 Thread Lennart Sorensen
On Mon, May 30, 2016 at 12:17:19AM -0400, Milan Kupcevic wrote:
> affects 825110 yaboot
> tags 825110 pending
> thanks
> 
> Yaboot is not able to load files from a partition with metadata_csum and 
> 64bit ext4 features enabled.

yaboot is built with e2fslibs 1.41 explicitly.  Support for 64bit ext4
was added in 1.42.  Trying to build against the new version gives lots
of errors about missing things that libc provides, which is of course a
problem since yaboot does not provide an entire libc since it is a boot
loader and not an OS.

It would appear to be quite a lot of work to fix this.  It would seem a
better use of time to just say: If you want to use the new 64bit ext4
features and yaboot then you better have a seperate /boot that is NOT
64bit ext4.  That's probably not that much of an inconvinience.
Of course if ext4 is being created by default in 64bit mode these days
(I have no idea), then the installer may need to be taught to not do
that for whatever filesystem /boot is going in.

-- 
Len Sorensen



Bug#825110: /pci@f400000/ata-6@d/@0:3,/boot/vmlinux: Unknown or corrupt

2016-05-29 Thread Milan Kupcevic
affects 825110 yaboot
tags 825110 pending
thanks

Yaboot is not able to load files from a partition with metadata_csum and 64bit 
ext4 features enabled.

Milan