mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* NFS/TCP crashes on MIPS/RBTX4927 in v4.20-rcX (bisected)
@ 2018-12-04 13:53 Geert Uytterhoeven
  2018-12-05 13:11 ` Atsushi Nemoto
  0 siblings, 1 reply; 12+ messages in thread
From: Geert Uytterhoeven @ 2018-12-04 13:53 UTC (permalink / raw)
  To: Trond Myklebust
  Cc: Atsushi Nemoto, open list:NFS, SUNRPC, AND...,
	linux-mips, Linux Kernel Mailing List

        Hi Trond,

Recently, I've upgraded my NFS server to Ubuntu 18.04LTS.  Apparently
the NFS server in that release dropped support for NFS over UDP, hence I
appended ",tcp,v3" to all my nfsroot kernel command line parameters.
This works fine on my arm/arm64 development boards, but causes a crash
on RBTX4927:

    VFS: Mounted root (nfs filesystem) on device 0:13.
    devtmpfs: mounted
    Freeing prom memory: 1020k freed
    Freeing unused kernel memory: 208K
    This architecture does not have kernel memory protection.
    Run /sbin/init as init process
    do_page_fault(): sending SIGSEGV to init for invalid read access
from 57e7e414
    epc = 77f9e188 in ld-2.19.so[77f9c000+22000]
    ra  = 77f9d91c in ld-2.19.so[77f9c000+22000]
    Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

I found similar crashes in a report from 2006, but of course the code
has changed too much to apply the solution proposed there
(https://www.linux-mips.org/archives/linux-mips/2006-09/msg00169.html).

Userland is Debian 8 (the last release supporting "old" MIPS).
My kernel is based on v4.20.0-rc5, but the issue happens with v4.20-rc1,
too.

However, I noticed it works in v4.19! Hence I've bisected this, to commit
277e4ab7d530bf28 ("SUNRPC: Simplify TCP receive code by switching to using
iterators").

Dropping the ",tcp" part from the nfsroot parameter also fixes the issue.

Given RBTX4926 is little endian, just like my arm/arm64 boards, it's probably
not an endianness issue.  Sparse didn't show anything suspicious before/after
the guilty commit.

Do you have a clue?
Thanks!

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

end of thread, other threads:[~2018-12-19  9:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-04 13:53 NFS/TCP crashes on MIPS/RBTX4927 in v4.20-rcX (bisected) Geert Uytterhoeven
2018-12-05 13:11 ` Atsushi Nemoto
2018-12-05 13:41   ` Geert Uytterhoeven
2018-12-05 13:45     ` Trond Myklebust
2018-12-05 14:47       ` Geert Uytterhoeven
2018-12-17 14:03         ` Geert Uytterhoeven
2018-12-17 14:51           ` Trond Myklebust
2018-12-17 18:55             ` Geert Uytterhoeven
2018-12-17 19:01               ` Trond Myklebust
2018-12-19  9:56                 ` Geert Uytterhoeven
2018-12-07 14:51     ` Atsushi Nemoto
2018-12-07 16:19       ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®