Skip to contentSkip to conversation

Using NFS with HIGHMEM support

DISCUSSION Jacky Lam 3 participants 3 messages Nov 28, 2011 – Feb 29, 2012 MIPS

lore
Share & tools
lore

Jacky Lam

author
#0 lore raw

Hi,

I am using mips-linux-3.0.4 with HIGHMEM enabled. Everything is
working fine, but I find something strange that when I execute a statically-linked binary through NFS mounted directory. It will gives me an illegal instruction error or SIGSEGV. If I run it again, the binary can run without problem. I have to reboot or drop all the vm cache in order to reproduce the error again.

Also, if I run the binary in harddisk or dynamically link the
binary, no problem will be found.

Any suggestion to debug this problem? Thanks.

Jacky

#1 lore raw

HI:
I'm encountered pretty much the same problem here
I'm tracing with current 3.3-rc4 branch(from ralf's tree)
If I put rootfs at nand flash + highmem enabled, then execute problem may
give
illegal instruction error, bus error, try it again may run success.
but if I don't enable highmem, then problem is gone.
any hints? thanks

Dennis

Quoted 17 lines · Jacky Lam

Hi,

I am using mips-linux-3.0.4 with HIGHMEM enabled. Everything is working
fine, but I find something strange that when I execute a statically-linked binary through NFS mounted directory. It will gives me an illegal instruction error or SIGSEGV. If I run it again, the binary can run without problem. I have to reboot or drop all the vm cache in order to reproduce the error again.

Also, if I run the binary in harddisk or dynamically link the binary, no
problem will be found.

Any suggestion to debug this problem? Thanks.

Jacky

#2 lore raw

Hi ,

I have faced similar issues before.

Not sure this will help. But please take a look at.

http://www.linux-mips.org/archives/linux-mips/2010-08/msg00075.html

Thanks
Ans

Quoted 32 lines · Dennis.Yxun

HI:
I'm encountered pretty much the same problem here
I'm tracing with current 3.3-rc4 branch(from ralf's tree)
If I put rootfs at nand flash + highmem enabled, then execute problem may
give
illegal instruction error, bus error, try it again may run success.
but if I don't enable highmem, then problem is gone.
any hints? thanks

Dennis

Quoted 17 lines · Jacky Lam

Hi,

I am using mips-linux-3.0.4 with HIGHMEM enabled. Everything is
working fine, but I find something strange that when I execute a statically-linked binary through NFS mounted directory. It will gives me an illegal instruction error or SIGSEGV. If I run it again, the binary can run without problem. I have to reboot or drop all the vm cache in order to reproduce the error again.

Also, if I run the binary in harddisk or dynamically link the binary,
no problem will be found.

Any suggestion to debug this problem? Thanks.

Jacky