linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* "Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM: save and reset the address limit when entering an exception")
@ 2016-08-03  2:51 Guenter Roeck
  2016-08-03  8:38 ` Russell King - ARM Linux
  0 siblings, 1 reply; 9+ messages in thread
From: Guenter Roeck @ 2016-08-03  2:51 UTC (permalink / raw)
  To: linux-arm-kernel

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].

Bisect points to commit e6978e4bf1 ("ARM: save and reset the address limit when entering
an exception"). Some additional debugging shows lots of similar error returns from
strncpy_from_user(). For the error case resulting in the crash, the call chain
is as follows.

sys_mknod
   sys_mknodat()
     user_path_create()
       getname()
         getname_flags()
           strncpy_from_user()

Reverting the patch fixes the problem.

I don't see the problem with any other qemu arm test.

It looks like the kernel runs in exception context. My gut feeling is that qemu may be
to blame, but I am not really sure.

Any idea how to track this down ?

Thanks,
Guenter


---
[1] http://kerneltests.org/builders/qemu-arm-master/builds/615

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

end of thread, other threads:[~2016-08-11  0:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-03  2:51 "Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM: save and reset the address limit when entering an exception") Guenter Roeck
2016-08-03  8:38 ` Russell King - ARM Linux
2016-08-03 15:07   ` Guenter Roeck
2016-08-04 10:07     ` Russell King - ARM Linux
2016-08-09 15:06       ` Gregory CLEMENT
2016-08-09 16:12         ` Guenter Roeck
2016-08-10 23:34         ` Kevin Hilman
2016-08-10 23:43           ` Russell King - ARM Linux
2016-08-11  0:46             ` Kevin Hilman

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).