Re: Problem with boot block / softraid on current

2017-01-05 Thread Andreas Bartelt
On 01/04/17 20:03, Stefan Sperling wrote: On Wed, Jan 04, 2017 at 07:16:55PM +0100, Stefan Sperling wrote: The diff below fixes the problem for me. As far as I can tell this should work on both 512 and 4k disks. But I cannot test with a 4k disk. And let's check for alloc() failure. Suggested b

Re: Problem with boot block / softraid on current

2017-01-04 Thread YASUOKA Masahiko
ok yasuoka Thanks. On Wed, 4 Jan 2017 20:03:49 +0100 Stefan Sperling wrote: > On Wed, Jan 04, 2017 at 07:16:55PM +0100, Stefan Sperling wrote: >> The diff below fixes the problem for me. As far as I can tell this >> should work on both 512 and 4k disks. But I cannot test with a 4k disk. > > An

Re: Problem with boot block / softraid on current

2017-01-04 Thread Kenneth R Westerback
On 01/04, Stefan Sperling wrote: > On Tue, Jan 03, 2017 at 07:37:10AM +0100, Andreas Bartelt wrote: > > One of my amd64 machines does not boot anymore after updating to current > > (attached dmesg was obtained after booting a build of current from today but > > with a boot block from December, 22nd

Re: Problem with boot block / softraid on current

2017-01-04 Thread Mark Kettenis
> Date: Wed, 4 Jan 2017 20:03:49 +0100 > From: Stefan Sperling > > On Wed, Jan 04, 2017 at 07:16:55PM +0100, Stefan Sperling wrote: > > The diff below fixes the problem for me. As far as I can tell this > > should work on both 512 and 4k disks. But I cannot test with a 4k disk. > > And let's ch

Re: Problem with boot block / softraid on current

2017-01-04 Thread Stefan Sperling
On Wed, Jan 04, 2017 at 07:16:55PM +0100, Stefan Sperling wrote: > The diff below fixes the problem for me. As far as I can tell this > should work on both 512 and 4k disks. But I cannot test with a 4k disk. And let's check for alloc() failure. Suggested by Theo. Index: softraid_amd64.c

Re: Problem with boot block / softraid on current

2017-01-04 Thread Stefan Sperling
On Wed, Jan 04, 2017 at 07:16:54PM +0100, Stefan Sperling wrote: > So the problem seems to be that boot uses too much stack memory. > > The diff below fixes the problem for me. As far as I can tell this > should work on both 512 and 4k disks. But I cannot test with a 4k disk. Alternatively, this

Re: Problem with boot block / softraid on current

2017-01-04 Thread Stefan Sperling
On Tue, Jan 03, 2017 at 07:37:10AM +0100, Andreas Bartelt wrote: > One of my amd64 machines does not boot anymore after updating to current > (attached dmesg was obtained after booting a build of current from today but > with a boot block from December, 22nd). Interestingly, the same disk (with a >

Problem with boot block / softraid on current

2017-01-02 Thread Andreas Bartelt
One of my amd64 machines does not boot anymore after updating to current (attached dmesg was obtained after booting a build of current from today but with a boot block from December, 22nd). Interestingly, the same disk (with a boot block from today's build) still boots fine with another amd64 m