Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1455702

Re: "Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM: save and reset the address limit when entering an exception")

From Russell King - ARM Linux <linux@armlinux.org.uk>
Newsgroups linux.kernel
Subject Re: "Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM: save and reset the address limit when entering an exception")
Date 2016-08-03 10:50 +0200
Message-ID <s202d-eJ-13@gated-at.bofh.it> (permalink)
References <s1Uzv-4PA-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 02, 2016 at 07:51:45PM -0700, Guenter Roeck wrote:
> Hi,
> 
> I see the following crash when running a qemu arm 'kzm' runtime test with
> the current mainline.
>...
> Failed to create /dev/root: -14
> 
> [ followed by panic ]
> 
> A complete log file is at [1].

I think it's because of those undefined instructions you're hitting
with the hw-breakpoint code... can you try the patch below please?

 arch/arm/kernel/entry-armv.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
index bc5f50799d75..9f157e7c51e7 100644
--- a/arch/arm/kernel/entry-armv.S
+++ b/arch/arm/kernel/entry-armv.S
@@ -295,6 +295,7 @@ __und_svc_fault:
 	bl	__und_fault
 
 __und_svc_finish:
+	get_thread_info tsk
 	ldr	r5, [sp, #S_PSR]		@ Get SVC cpsr
 	svc_exit r5				@ return from exception
  UNWIND(.fnend		)


-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

"Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM: save  and reset the address limit when entering an exception") Guenter Roeck <linux@roeck-us.net> - 2016-08-03 05:00 +0200
  Re: "Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM:  save and reset the address limit when entering an exception") Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-08-03 10:50 +0200
    Re: "Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM:  save and reset the address limit when entering an exception") Guenter Roeck <linux@roeck-us.net> - 2016-08-03 19:20 +0200
      Re: "Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM:  save and reset the address limit when entering an exception") Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-08-04 12:20 +0200
        Re: "Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM: save and reset the address limit when entering an exception") Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-08-09 17:10 +0200
          Re: "Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM:  save and reset the address limit when entering an exception") Guenter Roeck <linux@roeck-us.net> - 2016-08-09 18:20 +0200

csiph-web