From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m43-7.mailgun.net ([69.72.43.7]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3Opk-00BIHC-8l for linux-um@lists.infradead.org; Tue, 13 Jul 2021 20:16:50 +0000 MIME-Version: 1.0 Date: Tue, 13 Jul 2021 14:16:46 -0600 From: subashab@codeaurora.org Subject: Re: UML kernel panic on initialization In-Reply-To: <8c377addaa42a7dd3bbe047e1f744a51103e6ff2.camel@sipsolutions.net> References: <6442ec0e5e2cf55990b43ff178023fd6050e63fb.camel@sipsolutions.net> <8c377addaa42a7dd3bbe047e1f744a51103e6ff2.camel@sipsolutions.net> Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Johannes Berg Cc: jdike@addtoit.com, richard@nod.at, anton.ivanov@cambridgegreys.com, linux-um@lists.infradead.org > Oh, and it looks like 84b2789d6115 actually got some bits that > shouldn't > have been there! > > Assuming it does *not* work with just the first three patches reverted, > does it work again if you revert the first three patches, and only this > bit of the fourth? > > --- a/arch/um/kernel/skas/clone.c > +++ b/arch/um/kernel/skas/clone.c > @@ -24,29 +24,26 @@ > void __attribute__ ((__section__ (".__syscall_stub"))) > stub_clone_handler(void) > { > - struct stub_data *data = (struct stub_data *) STUB_DATA; > + int stack; > + struct stub_data *data = (void *) ((unsigned long)&stack & > ~(UM_KERN_PAGE_SIZE - 1)); > long err; > > > > I think we probably have some miscompilation again with this thing - I > saw a bunch of similar issues with our syscall stubs at some point, and > I'm not sure we got it all right already. > > johannes Initialization is successful if only this bit of 84b2789d61156db0224724806b20110c0d34b07c is reverted. _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um