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

Re: [PATCH] Fix hppa kernel crash at boot in block/blk-merge.c



Hi Ben,

On 14.04.2016 00:48, Ben Hutchings wrote:
> On Thu, 2016-03-10 at 18:23 +0100, Helge Deller wrote:
>> Since kernel 4.3 we have a problem on hppa that it crashes at bootup
>> during the SCSI drive detection.
>> There are multiple threads about this issue and this link is maybe a good start:
>> https://patchwork.kernel.org/patch/8402441/.
>>
>> Now, after quite some time, we could identify what's going wrong.
>> The attached patch avoids this crash by switching to compiling with
>> "-O1" instead of "-O2" for a function in block/blk-merge.c (for hppa only).
>>
>> This patch is meant to be a temporary patch for the debian kernel, until we 
>> have been able to fix the real problem (in gcc and/or kernel code).
>>
>> Would it be possible to add this patch to the debian kernel tree for
>> stable and experimental kernels in the meantime, so that we get bootable
>> kernels on hppa again?
> 
> Yes, but is this still needed when using gcc 5 (now used for all
> architectures)?

I need to check gcc-5.
Regarding the patch to the parisc kernel, you can drop my request.
We reverted a gcc-4.9 change, and now the kernel builds&boots sucessfully again.

Thanks!
Helge


Reply to: