Package: user-mode-linux
Version: 2.6.26-1um-2

        When starting linux.uml(1) with mem=512M or more, kernel NFS
        client implementation ceases to work.  The kernel log is as
        follows:

$ cat /var/log/kern.log 
...
Mar 26 01:11:07 localhost kernel: overflow in relocation type 11 val 80c030e0
Mar 26 01:11:07 localhost kernel: `sunrpc' likely not compiled with 
-mcmodel=kernel
Mar 26 01:11:07 localhost kernel: nfs_acl: Unknown symbol xdr_decode_array2
Mar 26 01:11:07 localhost kernel: nfs_acl: Unknown symbol xdr_encode_word
Mar 26 01:11:07 localhost kernel: nfs_acl: Unknown symbol xdr_encode_array2
Mar 26 01:11:07 localhost kernel: nfs_acl: Unknown symbol xdr_decode_word
Mar 26 01:11:07 localhost kernel: lockd: Unknown symbol rpc_put_task
Mar 26 01:11:07 localhost kernel: lockd: Unknown symbol svc_wake_up
--
Mar 26 01:11:07 localhost kernel: nfs: Unknown symbol put_rpccred
Mar 26 01:11:07 localhost kernel: nfs: Unknown symbol xdr_encode_string
Mar 26 01:11:07 localhost kernel: nfs: Unknown symbol nlmclnt_init
Mar 26 01:11:07 localhost kernel: nfs: Unknown symbol nlmclnt_done
Mar 26 01:11:07 localhost kernel: nfs: Unknown symbol rpcauth_create
Mar 26 01:11:07 localhost kernel: nfs: Unknown symbol nfs_debug
Mar 26 01:11:07 localhost kernel: nfs: Unknown symbol xdr_shift_buf
Mar 26 01:11:09 localhost kernel: overflow in relocation type 11 val 80c030e0
Mar 26 01:11:09 localhost kernel: `sunrpc' likely not compiled with 
-mcmodel=kernel
...
$ 

        The child system is started roughly as follows:

#!/bin/bash
set -e -x
name=$(date -uI)-XXX.cow
p="$name"-$(date +%s).
exec > "$p"out 2> "$p"err
export HOME="$PWD"
/usr/bin/time linux.uml \
    con0=fd:0,fd:1 con=pts \
    eth0=slirp,,slirp \
    eth1=daemon,,unix,.uml-switch.ctl \
    root=/dev/ubda ubd0="$name" \
    mem=512M \
    umid="$name" \
    jail

        It seems to work fine with mem=256M.

-- 
FSF associate member #7257



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to