DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-01-19 05:57:50

puterboy
Member
Registered: 2008-09-18
Posts: 306

CONFIG_ROOT_NFS prevents kernel from reloading...

I tried to recompile the 2.6.12.6 kernel using the existing configs (with a few of my own modifications) and it failed to reload.
From my experience 2 years ago, I knew that I had to change CONFIG_BLK_DEV_SD from 'm' to 'y' since the kernel needs the block device to be able to access the disks where my root filesystem is. So far so good...

However, my kernel wouldn't reload...
By process of elimination comparing to my 1.05 kernel config, I found that the new config sets CONFIG_ROOT_NFS (which allows mouting root over NFS).
For some reason this prevents the kernel from reloading.

I'm not sure why though since I do *NOT* include 'nfsroot' or '/dev/nfs' as a paramter on the commandline and I would think that ROOT_NFS would do nothing.
In particular, my command-line is:
"md=0,/dev/sda2,/dev/sdb2 root=/dev/sdc5 rootdelay=10 panic=1"

Again nowhere is there anything suggesting use of nfsroot.

So my question is whether there is anything I could or should add to the kernel command line to tell it to not try nfsroot.

And remember since this is reloading, the firmware is not even coming into play.. so I don't really know what is causing this...

Last edited by puterboy (2011-01-19 05:59:49)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB