Coder Social home page Coder Social logo

NFS rootfs fails on 3.16 about ci20_linux HOT 2 CLOSED

mips avatar mips commented on August 30, 2024
NFS rootfs fails on 3.16

from ci20_linux.

Comments (2)

ZubairLK avatar ZubairLK commented on August 30, 2024

Disabling CONFIG_HIGHMEM in kernel options results in a working nfs mount and it works.

bootargs.

console=ttyS4,115200 console=ttyS0 mem=256M@0x0 root=/dev/nfs nfsroot=192.168.154.89:/export,nolock nfsrootdebug ip=dhcp devtmpfs.mount=1 rw rootwait clk_ignore_unused

Disabling HIGHMEM is not a fix. But a workaround. The actual bug is somewhere in highmem/cache.

Found similar bug when trying to boot NAND rootfs using 3.16.
Init would fail.

Booting 3.16 via a rootfs using mmc would work. Then ubiattach /dev/mtd3 would work too.
Mounting partition would work too. But trying to execute any binary in the partition would give random errors.
i.e.

ubiattach /dev/ubi_ctrl -m 3
mount -t ubifs ubi0:root /media/
cd /media/bin
./ls
illegal instruction
./ls
seg fault

errors like this

Trying again and again would result in it working after a while.

This is what happens during init. It is not an init bug. The binary doesn't execute when the NAND block device is mounted.

from ci20_linux.

ZubairLK avatar ZubairLK commented on August 30, 2024

#18

from ci20_linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.