public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jim Cromie <jim.cromie@gmail.com>
To: Linux kernel <linux-kernel@vger.kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Subject: 2.6.17-rc4-mm1 nfsroot build err, looks related to klibc
Date: Mon, 15 May 2006 19:36:33 -0600	[thread overview]
Message-ID: <44692CA1.5000903@gmail.com> (raw)


Im getting nfsroot build error on 2 configs, both carried forward
from good rc4 and from rc3-mm1 builds.
turning off nfsroot fixes the err.

[jimc@harpo linux-2.6.17-rc4-mm1-sk]$ make
  CHK     include/linux/version.h
  CHK     include/linux/compile.h
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
fs/built-in.o(.init.text+0x15d4): In function `nfs_root_setup':
fs/nfs/nfsroot.c:399: undefined reference to `root_nfs_parse_addr'
fs/built-in.o(.init.text+0x15dc):fs/nfs/nfsroot.c:399: undefined 
reference to `root_server_addr'
fs/built-in.o(.init.text+0x16d6): In function `nfs_root_data':
fs/nfs/nfsroot.c:310: undefined reference to `root_server_path'
fs/built-in.o(.init.text+0x1733):fs/nfs/nfsroot.c:331: undefined 
reference to `root_server_addr'
make: *** [.tmp_vmlinux1] Error 1

A little digging suggests the problem is in here:

git-klibc.patch:13607:-u32 root_server_addr = INADDR_NONE;    /* Address 
of NFS server */
git-klibc.patch:13840:-    if (root_server_addr == INADDR_NONE)
git-klibc.patch:13841:-        root_server_addr = ic_servaddr;
git-klibc.patch:14682:- *  need to have root_server_addr set _before_ 
IPConfig gets called as it
git-klibc.patch:14752:-         && root_server_addr == INADDR_NONE
git-klibc.patch:14806:-    if (root_server_addr == INADDR_NONE)
git-klibc.patch:14807:-        root_server_addr = addr;
git-klibc.patch:14842:-    printk(", rootserver=%u.%u.%u.%u", 
NIPQUAD(root_server_addr));
git-klibc.patch:78496:+static u_int32_t root_server_addr;
git-klibc.patch:78882:+    s = getenv("root_server_addr");
git-klibc.patch:78884:+        root_server_addr = strtoul(s, NULL, 10);
git-klibc.patch:78900:+    if ((servaddr = root_server_addr) == 
INADDR_NONE) {


Im likely to try taking 'static' off of line 78496,
but that lands in: devel-akpm/usr/klibc/tests/nfs_no_rpc.c
so I suspect I dont know the proper fix.
or indeed, whether it isnt a bonehead error.


thanks in advance
Jim Cromie

             reply	other threads:[~2006-05-16  1:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-16  1:36 Jim Cromie [this message]
2006-05-16  4:11 ` 2.6.17-rc4-mm1 nfsroot build err, looks related to klibc H. Peter Anvin
2006-05-16 10:18   ` Adrian Bunk
2006-05-16 19:04     ` H. Peter Anvin
2006-05-17  7:12       ` Jim Cromie
2006-05-17 16:14         ` H. Peter Anvin
2006-05-17 17:17           ` Jim Cromie
2006-05-17 17:22             ` H. Peter Anvin
2006-05-17 18:15               ` Jim Cromie
2006-05-17 23:25               ` Jim Cromie
2006-05-16  5:47 ` Jim Cromie

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=44692CA1.5000903@gmail.com \
    --to=jim.cromie@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@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