public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Joel Fernandes <joel@joelfernandes.org>
To: Yu Kuai <yukuai1@huaweicloud.com>, Greg KH <gregkh@linuxfoundation.org>
Cc: stable <stable@vger.kernel.org>,
	Guenter Roeck <linux@roeck-us.net>,
	"yukuai (C)" <yukuai3@huawei.com>
Subject: Re: Build failures / crashes in stable queue branches
Date: Tue, 18 Jul 2023 21:51:01 -0400	[thread overview]
Message-ID: <35203a19-1623-0fbd-d7f4-98bfa2d2f482@joelfernandes.org> (raw)
In-Reply-To: <af66a503-cc85-5690-0f17-708efafe338f@huaweicloud.com>



On 7/18/23 21:16, Yu Kuai wrote:
> Hi,
> 
> 在 2023/07/19 1:14, Joel Fernandes 写道:
>> On Tue, Jul 18, 2023 at 10:45 AM Greg KH <gregkh@linuxfoundation.org> 
>> wrote:
>>>
>>> On Tue, Jul 18, 2023 at 09:52:45AM -0400, Joel Fernandes wrote:
>>>> On 7/16/23 10:30, Greg KH wrote:
>>>>> On Sun, Jul 16, 2023 at 11:20:33AM +0800, Yu Kuai wrote:
>>>>>> Hi,
>>>>>>
>>>>>> 在 2023/07/15 23:49, Joel Fernandes 写道:
>>>>>>> Hi Yu,
>>>>>>>
>>>>>>> On Fri, Jul 14, 2023 at 03:21:46AM -0700, Guenter Roeck wrote:
>>>>>>> [..]
>>>>>>>> ---------
>>>>>>>> 6.1.y:
>>>>>>>>
>>>>>>>> Build reference: v6.1.38-393-gb6386e7314b4
>>>>>>>> Compiler version: alpha-linux-gcc (GCC) 11.4.0
>>>>>>>> Assembler version: GNU assembler (GNU Binutils) 2.40
>>>>>>>>
>>>>>>>> Building alpha:allmodconfig ... failed
>>>>>>>> Building m68k:allmodconfig ... failed
>>>>>>>> --------------
>>>>>>>> Error log:
>>>>>>>> <stdin>:1517:2: warning: #warning syscall clone3 not implemented 
>>>>>>>> [-Wcpp]
>>>>>>>> In file included from block/genhd.c:28:
>>>>>>>> block/genhd.c: In function 'disk_release':
>>>>>>>> include/linux/blktrace_api.h:88:57: error: statement with no 
>>>>>>>> effect [-Werror=unused-value]
>>>>>>>>       88 | # define 
>>>>>>>> blk_trace_remove(q)                            (-ENOTTY)
>>>>>>>>          
>>>>>>>> |                                                         ^
>>>>>>>> block/genhd.c:1185:9: note: in expansion of macro 
>>>>>>>> 'blk_trace_remove'
>>>>>>>>     1185 |         blk_trace_remove(disk->queue);
>>>>>>>
>>>>>>> 6.1 stable is broken and gives build warning without:
>>>>>>>
>>>>>>> cbe7cff4a76b ("blktrace: use inline function for 
>>>>>>> blk_trace_remove() while blktrace is disabled")
>>>>>>>
>>>>>>> Could you please submit it to stable for 6.1? (I could have done 
>>>>>>> that but it
>>>>>>> looks like you already backported related patches so its best for 
>>>>>>> you to do
>>>>>>> it, thanks for your help!).
>>>>>>
>>>>>> Thanks for the notice, however, I'll suggest to revert this patch for
>>>>>> now, because there are follow up fixes that is not applied yet.
>>>>>
>>>>> Which specific patch should be dropped?
>>>>>
>>>>
>>>> Yu: Ping? ;-). Are you suggesting the original set be reverted, or Greg
>>>> apply the above fix? Let us please keep 6.1 stable unbroken. ;-)
>>>>
>>>> Apologies for my noise if the issue has already been resolved.
>>>
>>> I think it has been resolved, but testing against the latest -rc release
>>> I sent out yesterday would be appreciated.
>>
>> Great.  Sure, I am going to run it today.
> 
> Sorry about the trouble, currently this patch will cause that scsi host
> module can't be unloaded, and there are follow up fixes for this:
> 
> https://lore.kernel.org/all/20230621160111.1433521-1-yukuai1@huaweicloud.com/
> https://lore.kernel.org/all/20230705024001.177585-1-yukuai1@huaweicloud.com/
> 
> The second patch is not applied yet, either revert the original patch or
> apply the above fix to stable as well.

The latest 6.1 stable now builds so it is all good.

thanks,

  - Joel

  reply	other threads:[~2023-07-19  1:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-14 10:21 Build failures / crashes in stable queue branches Guenter Roeck
2023-07-15 15:49 ` Joel Fernandes
2023-07-16  3:20   ` Yu Kuai
2023-07-16 14:30     ` Greg KH
2023-07-18 13:52       ` Joel Fernandes
2023-07-18 14:44         ` Greg KH
2023-07-18 17:14           ` Joel Fernandes
2023-07-19  1:16             ` Yu Kuai
2023-07-19  1:51               ` Joel Fernandes [this message]
2023-07-16 14:30   ` Greg KH
2023-07-16 14:35 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=35203a19-1623-0fbd-d7f4-98bfa2d2f482@joelfernandes.org \
    --to=joel@joelfernandes.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux@roeck-us.net \
    --cc=stable@vger.kernel.org \
    --cc=yukuai1@huaweicloud.com \
    --cc=yukuai3@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox