linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG: 4.9-rc6 Still "no symbol version" on boot
@ 2016-11-23 18:42 Robert LeBlanc
  0 siblings, 0 replies; 8+ messages in thread
From: Robert LeBlanc @ 2016-11-23 18:42 UTC (permalink / raw)
  To: linux-kernel

I pulled Linus' tree this morning to make sure there wasn't a fix
since -rc6, but I still get "no symbol version" for modules on boot.

I'm running Debian stretch (gcc 6.2.0-13) on amd64 and build the
kernel with "make -j 8 bindeb-pkg".

I'm using CONFIG_VMAP_STACK=y

If I set CONFIG_MODVERSIONS=n, then it boots fine.

I have LVM on top of LUKS.

There is supposedly a fix that was applied before -rc6 that was
supposed to resolve it, but it is still broken for me. I wanted to
raise the issue and offer help in debugging/testing patches to fix the
issue if it was unknown that this is still a problem.

Thank you.

----------------
Robert LeBlanc
PGP Fingerprint 79A2 9CA4 6CC4 45DD A904  C70E E654 3BB2 FA62 B9F1

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: 4.9-rc6 Still "no symbol version" on boot
  2016-11-23 23:07       ` Philip Müller
@ 2016-11-28 17:10         ` Robert LeBlanc
  0 siblings, 0 replies; 8+ messages in thread
From: Robert LeBlanc @ 2016-11-28 17:10 UTC (permalink / raw)
  To: Philip Müller
  Cc: Adam Borowski, Linux-Kernel@Vger. Kernel. Org, Nicholas Piggin,
	Greg Kroah-Hartman, Thomas Gleixner, Ingo Molnar, H. Peter Anvin

Looks like Linus pushed cd3caefb4663e3811d37cc2afad3cce642d60061 a few
days ago effectively disabling modversions. I like this fix much
better, probably need an additional patch to reverse this new one as
well.

You can add me as well if needed.

Acked-by: Robert LeBlanc <robert@leblancnet.us>
Tested-by: Robert LeBlanc <robert@leblancnet.us>
----------------
Robert LeBlanc
PGP Fingerprint 79A2 9CA4 6CC4 45DD A904  C70E E654 3BB2 FA62 B9F1


On Wed, Nov 23, 2016 at 4:07 PM, Philip Müller <philm@manjaro.org> wrote:
> Am 23.11.2016 um 21:53 schrieb Adam Borowski:
>> Last version (rewritten description) is at:
>> https://patchwork.kernel.org/patch/9439501/
>> (needs s/oeter/peter/ for a typo in Peter Wu's address)
>
> Hi Adam,
>
> good to know. I kept track on it. For me it is easy to use patches.
> However it would be also good having it in the final 4.9 release.
>
> You can also add me as ack and tested:
>
> Acked-by: Philip Mueller <philm@manjaro.org>
> Tested-by: Philip Mueller <philm@manjaro.org>
>
> Thx for the patch again.
>
> Greez, Phil

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: 4.9-rc6 Still "no symbol version" on boot
  2016-11-23 20:53     ` Adam Borowski
  2016-11-23 21:01       ` Robert LeBlanc
@ 2016-11-23 23:07       ` Philip Müller
  2016-11-28 17:10         ` Robert LeBlanc
  1 sibling, 1 reply; 8+ messages in thread
From: Philip Müller @ 2016-11-23 23:07 UTC (permalink / raw)
  To: Adam Borowski
  Cc: Linux-Kernel@Vger. Kernel. Org, Nicholas Piggin,
	Greg Kroah-Hartman, Thomas Gleixner, Ingo Molnar, H. Peter Anvin

Am 23.11.2016 um 21:53 schrieb Adam Borowski:
> Last version (rewritten description) is at:
> https://patchwork.kernel.org/patch/9439501/
> (needs s/oeter/peter/ for a typo in Peter Wu's address)

Hi Adam,

good to know. I kept track on it. For me it is easy to use patches.
However it would be also good having it in the final 4.9 release.

You can also add me as ack and tested:

Acked-by: Philip Mueller <philm@manjaro.org>
Tested-by: Philip Mueller <philm@manjaro.org>

Thx for the patch again.

Greez, Phil

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: 4.9-rc6 Still "no symbol version" on boot
  2016-11-23 20:53     ` Adam Borowski
@ 2016-11-23 21:01       ` Robert LeBlanc
  2016-11-23 23:07       ` Philip Müller
  1 sibling, 0 replies; 8+ messages in thread
From: Robert LeBlanc @ 2016-11-23 21:01 UTC (permalink / raw)
  To: Adam Borowski
  Cc: Philip Müller, Linux-Kernel@Vger. Kernel. Org,
	Nicholas Piggin, Greg Kroah-Hartman, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin

Confirmed that this patch does resolve the boot issue with
CONFIG_MODVERSIONS=y for me. Thank you for the patch and hopefully it
will get included in -rc7.

Thanks.
----------------
Robert LeBlanc
PGP Fingerprint 79A2 9CA4 6CC4 45DD A904  C70E E654 3BB2 FA62 B9F1


On Wed, Nov 23, 2016 at 1:53 PM, Adam Borowski <kilobyte@angband.pl> wrote:
> On Wed, Nov 23, 2016 at 09:08:28PM +0100, Philip Müller wrote:
>> > due to following commit it seems the 64bit architecture of linux 4.9-rc
>> > is not able to boot at all, as it is unable to find its root device:
>
>> you have to apply following patch also:
>>
>> provide-asm-prototypes.h-for-x86.patch:
>> https://patchwork.kernel.org/patch/9408985/raw/
>>
>> @Adam, Nick: Was this patch not yet sent to Linus?
>
> The patch stewed in a kbuild-targetted thread since the morning after -rc1,
> Nick has recently requested that it should go through x86 maintainers
> instead.  I've sent it there, lemme ping them, as the regression is severe
> and 4.9-final is close.
>
> Apologies if I'm doing something wrong, I'm not a real kernel dev and merely
> was the person who came here looking for a fix, saw Nick's instructions
> and did the legwork implementing them.
>
> Last version (rewritten description) is at:
> https://patchwork.kernel.org/patch/9439501/
> (needs s/oeter/peter/ for a typo in Peter Wu's address)
>
>
> Meow!
> --
> The bill declaring Jesus as the King of Poland fails to specify whether
> the addition is at the top or end of the list of kings.  What should the
> historians do?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: 4.9-rc6 Still "no symbol version" on boot
  2016-11-23 20:08   ` Philip Müller
  2016-11-23 20:14     ` Robert LeBlanc
@ 2016-11-23 20:53     ` Adam Borowski
  2016-11-23 21:01       ` Robert LeBlanc
  2016-11-23 23:07       ` Philip Müller
  1 sibling, 2 replies; 8+ messages in thread
From: Adam Borowski @ 2016-11-23 20:53 UTC (permalink / raw)
  To: Philip Müller
  Cc: Linux-Kernel@Vger. Kernel. Org, Nicholas Piggin,
	Greg Kroah-Hartman, Thomas Gleixner, Ingo Molnar, H. Peter Anvin

On Wed, Nov 23, 2016 at 09:08:28PM +0100, Philip Müller wrote:
> > due to following commit it seems the 64bit architecture of linux 4.9-rc
> > is not able to boot at all, as it is unable to find its root device:

> you have to apply following patch also:
> 
> provide-asm-prototypes.h-for-x86.patch:
> https://patchwork.kernel.org/patch/9408985/raw/
> 
> @Adam, Nick: Was this patch not yet sent to Linus?

The patch stewed in a kbuild-targetted thread since the morning after -rc1,
Nick has recently requested that it should go through x86 maintainers
instead.  I've sent it there, lemme ping them, as the regression is severe
and 4.9-final is close.

Apologies if I'm doing something wrong, I'm not a real kernel dev and merely
was the person who came here looking for a fix, saw Nick's instructions
and did the legwork implementing them.

Last version (rewritten description) is at:
https://patchwork.kernel.org/patch/9439501/
(needs s/oeter/peter/ for a typo in Peter Wu's address)


Meow!
-- 
The bill declaring Jesus as the King of Poland fails to specify whether
the addition is at the top or end of the list of kings.  What should the
historians do?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: 4.9-rc6 Still "no symbol version" on boot
  2016-11-23 20:14     ` Robert LeBlanc
@ 2016-11-23 20:27       ` Philip Müller
  0 siblings, 0 replies; 8+ messages in thread
From: Philip Müller @ 2016-11-23 20:27 UTC (permalink / raw)
  To: Robert LeBlanc
  Cc: Linux-Kernel@Vger. Kernel. Org, Nicholas Piggin, Adam Borowski

Hi Robert,

Michal's and Nick's patch is already added to 4.9-rc6, however Adam's
patch is still missing for x86:

https://patchwork.kernel.org/patch/9408985/raw/

You can check on how I patch it on Manjaro here (line 75):

https://raw.githubusercontent.com/manjaro/packages-core/master/linux49/PKGBUILD

greez, Phil

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: 4.9-rc6 Still "no symbol version" on boot
  2016-11-23 20:08   ` Philip Müller
@ 2016-11-23 20:14     ` Robert LeBlanc
  2016-11-23 20:27       ` Philip Müller
  2016-11-23 20:53     ` Adam Borowski
  1 sibling, 1 reply; 8+ messages in thread
From: Robert LeBlanc @ 2016-11-23 20:14 UTC (permalink / raw)
  To: Philip Müller
  Cc: Linux-Kernel@Vger. Kernel. Org, Nicholas Piggin, Adam Borowski,
	Greg Kroah-Hartman

Phil,

I don't have those files. I'll patch and test.

Thanks,
----------------
Robert LeBlanc
PGP Fingerprint 79A2 9CA4 6CC4 45DD A904  C70E E654 3BB2 FA62 B9F1


On Wed, Nov 23, 2016 at 1:08 PM, Philip Müller <philm@manjaro.org> wrote:
> Hi Robert,
>
> you have to apply following patch also:
>
> provide-asm-prototypes.h-for-x86.patch:
> https://patchwork.kernel.org/patch/9408985/raw/
>
> @Adam, Nick: Was this patch not yet sent to Linus?
>
> greez, Phil
>
> Am 01.11.2016 um 14:46 schrieb Nicholas Piggin:
>> On Tue, 1 Nov 2016 13:48:59 +0100
>> Philip Müller <philm@manjaro.org> wrote:
>>
>>> Hi Nicholas, hi Michal,
>>>
>>> due to following commit it seems the 64bit architecture of linux 4.9-rc
>>> is not able to boot at all, as it is unable to find its root device:
>>>
>>>
>>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=84d69848c97faab0c25aa2667b273404d2e2a64a
>>>
>>> This got reported by several users:
>>>
>>> https://forum.manjaro.org/t/linux-4-9-rc2-does-not-boot/11434
>>>
>>> Even after applying that patch it seems still to be unbootable:
>>>
>>> https://patchwork.kernel.org/patch/9406823/raw/
>>>
>>> It is claimed it would boot by disabling CONFIG_MODVERSIONS for now. I
>>> still wonder why the 32bit version of the kernel boots without an issue.
>>>
>>> Any thoughts/plans on the matter from your end? We are happy to test
>>> some patches if needed.
>>>
>>> kind regards, Philip
>>
>>
>> Hi Philip,
>>
>> Thanks for reporting. You likely need to apply the x86 specific
>> patch as well as the above one.
>>
>> http://marc.info/?l=linux-kernel&m=147669851906489&w=2
>>
>> Thanks,
>> Nick
>>
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: BUG: 4.9-rc6 Still "no symbol version" on boot
       [not found] ` <20161102004639.6870806d@roar.ozlabs.ibm.com>
@ 2016-11-23 20:08   ` Philip Müller
  2016-11-23 20:14     ` Robert LeBlanc
  2016-11-23 20:53     ` Adam Borowski
  0 siblings, 2 replies; 8+ messages in thread
From: Philip Müller @ 2016-11-23 20:08 UTC (permalink / raw)
  To: Linux-Kernel@Vger. Kernel. Org
  Cc: Nicholas Piggin, Adam Borowski, Greg Kroah-Hartman

Hi Robert,

you have to apply following patch also:

provide-asm-prototypes.h-for-x86.patch:
https://patchwork.kernel.org/patch/9408985/raw/

@Adam, Nick: Was this patch not yet sent to Linus?

greez, Phil

Am 01.11.2016 um 14:46 schrieb Nicholas Piggin:
> On Tue, 1 Nov 2016 13:48:59 +0100
> Philip Müller <philm@manjaro.org> wrote:
> 
>> Hi Nicholas, hi Michal,
>>
>> due to following commit it seems the 64bit architecture of linux 4.9-rc
>> is not able to boot at all, as it is unable to find its root device:
>>
>>
>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=84d69848c97faab0c25aa2667b273404d2e2a64a
>>
>> This got reported by several users:
>>
>> https://forum.manjaro.org/t/linux-4-9-rc2-does-not-boot/11434
>>
>> Even after applying that patch it seems still to be unbootable:
>>
>> https://patchwork.kernel.org/patch/9406823/raw/
>>
>> It is claimed it would boot by disabling CONFIG_MODVERSIONS for now. I
>> still wonder why the 32bit version of the kernel boots without an issue.
>>
>> Any thoughts/plans on the matter from your end? We are happy to test
>> some patches if needed.
>>
>> kind regards, Philip
> 
> 
> Hi Philip,
> 
> Thanks for reporting. You likely need to apply the x86 specific
> patch as well as the above one.
> 
> http://marc.info/?l=linux-kernel&m=147669851906489&w=2
> 
> Thanks,
> Nick
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-11-28 17:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-23 18:42 BUG: 4.9-rc6 Still "no symbol version" on boot Robert LeBlanc
     [not found] <a73aec83-ddad-2bdf-e612-178c9936a16f@manjaro.org>
     [not found] ` <20161102004639.6870806d@roar.ozlabs.ibm.com>
2016-11-23 20:08   ` Philip Müller
2016-11-23 20:14     ` Robert LeBlanc
2016-11-23 20:27       ` Philip Müller
2016-11-23 20:53     ` Adam Borowski
2016-11-23 21:01       ` Robert LeBlanc
2016-11-23 23:07       ` Philip Müller
2016-11-28 17:10         ` Robert LeBlanc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).