Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: problems attempting remote NFS root


> [4] boot device: xennet0
> [4] root on xennet0
> [4] mountroot: trying nfs...
> [4] nfs_boot: trying static
> [4] nfs_boot: client_addr=
> [4] nfs_boot: gateway=
> [4] nfs_boot: netmask=
> [4] nfs_boot: server=
> [4] nfs_boot: root=
> At this point it hangs, I see only one packet arrive at the NFS server:
> 13:03:22.271279 0:10:5a:15:e4:10 ff:ff:ff:ff:ff:ff 0806 60: arp who-has
> tell

This looks right, there should be a 3 second pause and then an arp request
with the NFS server's IP address.  This is the first place where the kernel
goes to sleep.  Could you add printf's around the sleep to see if it ever
returns from sleep?  The sleep's in line 287 in file nfs/nfs_boot.c.
Something like:
        /* give the link some time to get up */
        printf("before nfs_boot_setaddress sleep\n");
        tsleep(nfs_boot_setaddress, PZERO, "nfsbtd", 3 * hz);
        printf("after nfs_boot_setaddress sleep\n");
        return (error);

This will show if timer interrupts and context switches work.


Home | Main Index | Thread Index | Old Index