From: Ian Chilton <ian@ichilton.co.uk>
To: "David S. Miller" <davem@redhat.com>
Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: 2.4.17-rc1 wont do nfs root on Javastation
Date: Tue, 18 Dec 2001 19:06:21 +0000 [thread overview]
Message-ID: <20011218190621.A28147@buzz.ichilton.local> (raw)
In-Reply-To: <20011214181816.B28794@woody.ichilton.co.uk> <20011215.220646.69411478.davem@redhat.com>
In-Reply-To: <20011215.220646.69411478.davem@redhat.com>
Hello,
> Add "root=nfs" to your kernel command line.
I checked with Pete and as I suspected, putting kernel parameters on the
command line doesn't work as proll just drops them.
So, I made a bit of a hack:
[ian@slinky:~/tmp/js/linux/arch/sparc/kernel]$ diff -u setup.c.orig
setup.c
--- setup.c.orig Sat Nov 17 00:30:25 2001
+++ setup.c Tue Dec 18 19:44:16 2001
@@ -306,6 +306,10 @@
/* Initialize PROM console and command line. */
*cmdline_p = prom_getbootargs();
+
+ /* Hack to hard code root=nfs. */
+ strcat(*cmdline_p,"root=nfs");
+
strcpy(saved_command_line, *cmdline_p);
/* Set sparc_cpu_model */
Now when it boots, it says "Kernel command line: root=nfs" but still,
the kernel does not try and do the IP-Config/bootp stuff so it fails
saying it can't find the NFS server which is obvious as it doesn't have
an ip etc...
Any other ideas?
Thanks!
Ian
next parent reply other threads:[~2001-12-18 19:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20011214181816.B28794@woody.ichilton.co.uk>
[not found] ` <20011215.220646.69411478.davem@redhat.com>
2001-12-18 19:06 ` Ian Chilton [this message]
2001-12-18 19:32 ` 2.4.17-rc1 wont do nfs root on Javastation Tony 'Nicoya' Mantler
2001-12-18 19:37 ` David S. Miller
2001-12-18 20:33 ` Maciej W. Rozycki
2001-12-18 19:46 ` Tony 'Nicoya' Mantler
2001-12-18 20:00 ` David S. Miller
2001-12-18 20:22 ` Tony 'Nicoya' Mantler
2001-12-18 19:50 ` Ian Chilton
2001-12-18 19:57 ` Ian Chilton
2001-12-20 19:16 Ian Chilton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011218190621.A28147@buzz.ichilton.local \
--to=ian@ichilton.co.uk \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox