Hi,

I am trying to netboot a laptop I have inorder to install the OS since
it has not floppy or cd drive. I am trying to do this from my mac
running ubuntu live. I am using dhcp to get the ip address, then tftp
and pxelinux to get the kernel and boot the system. Then nfs to hand
over the contents of the core linux cd that have been copied to /
tftpboot.

I am getting the following error:
Root-NFS: Unable to get nfsd port number from server
mount: server 192.168.0.2 not responding, timed out
Root-NFS server returned error -5 while mounting /tftpboot
VFS: Unable to mount root fs via NFS, trying floppy

I have been googling like mad over the last couple of days and I can't
find an answer. I have found a lot of other posts with the same sort
of error, but the answers seem to say "is portmapper running" which it
appears to be. I have run exportfs -arv when I have changed my exports
file, I have tried restarting the nfs-common, nfs-kernel-server and
portmap servers (from /etc/init.d) and it doesn't seem to make a
difference.

If anyone can point me in the right direction to solve this I would
much appreciate it! I have tried to atach as much info as I can think
of.



hosts.allow and hosts.deny are both empty.

cat /etc/export
/tftpboot 192.168.0.0/24(rw,no_squash_root,sync)

cat /etc/dhcp3/dhcp.conf
## DHCP settingsDEFAULT bzImage_nfs

default-lease-time 86400;
max-lease-time 604800;
authoritative;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.15;
filename "pxelinux.0";
next-server 192.168.0.2;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option root-path "192.168.0.2:/tftpboot";
}

cat pxelinux.cfg/default
DEFAULT bzImage_nfs
DISPLAY boot.txt

LABEL bzImage_nfs
KERNEL bzImage_nfs
APPEND root=/dev/nfs ip=dhcp nfsroot=192.168.0.2:/tftpboot



$ ps aux | grep rpc
root 8858 0.0 0.0 2116 292 ? Ss 16:27 0:00 /usr/
sbin/rpc.mountd
statd 8893 0.0 0.1 2068 804 ? Ss 16:28 0:00 /sbin/
rpc.statd

$ ps aux | grep nfs
root 8844 0.0 0.0 0 0 ? S< 16:27 0:00
[nfsd4]
root 8845 0.0 0.0 0 0 ? S 16:27 0:00
[nfsd]
root 8846 0.0 0.0 0 0 ? S 16:27 0:00
[nfsd]
root 8847 0.0 0.0 0 0 ? S 16:27 0:00
[nfsd]
root 8848 0.0 0.0 0 0 ? S 16:27 0:00
[nfsd]
root 8849 0.0 0.0 0 0 ? S 16:27 0:00
[nfsd]
root 8852 0.0 0.0 0 0 ? S 16:27 0:00
[nfsd]
root 8853 0.0 0.0 0 0 ? S 16:27 0:00
[nfsd]
root 8854 0.0 0.0 0 0 ? S 16:27 0:00
[nfsd]


$ rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32784 nlockmgr
100021 3 udp 32784 nlockmgr
100021 4 udp 32784 nlockmgr
100021 1 tcp 39141 nlockmgr
100021 3 tcp 39141 nlockmgr
100021 4 tcp 39141 nlockmgr
100005 1 udp 978 mountd
100005 1 tcp 981 mountd
100005 2 udp 978 mountd
100005 2 tcp 981 mountd
100005 3 udp 978 mountd
100005 3 tcp 981 mountd
100024 1 udp 32785 status
100024 1 tcp 58018 status


$ dmesg
[ 0.000000] Using PowerMac machine description
[ 0.000000] Total memory = 512MB; using 1024kB for hash table (at
cff00000)
[ 0.000000] Linux version 2.6.17-10-powerpc (root@ross) (gcc
version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 Fri
Oct 13 16:37:41 UTC 2006 (Ubuntu 2.6.17-10.33-powerpc)
[ 0.000000] Found initrd at 0xc1900000:0xc1f60d3c
[ 0.000000] Found UniNorth memory controller & host bridge @
0xf8000000 revision: 0xd2
[ 0.000000] Mapped at 0xfdfc0000
[ 0.000000] Found a Intrepid mac-io controller, rev: 0, mapped at
0xfdf40000
[ 0.000000] Processor NAP mode on idle enabled.
[ 0.000000] PowerMac motherboard: iBook G4
[ 0.000000] via-pmu: Server Mode is disabled
[ 0.000000] PMU driver v2 initialized for Core99, firmware: 0c
[ 0.000000] Found UniNorth PCI host bridge at 0xf0000000. Firmware
bus number: 0->0
[ 0.000000] Found UniNorth PCI host bridge at 0xf2000000. Firmware
bus number: 0->0
[ 0.000000] Found UniNorth PCI host bridge at 0xf4000000. Firmware
bus number: 0->0
[ 0.000000] nvram: Checking bank 0...
[ 0.000000] nvram: gen0=290, gen1=291
[ 0.000000] nvram: Active bank is: 1
[ 0.000000] nvram: OF partition at 0x410
[ 0.000000] nvram: XP partition at 0x1020
[ 0.000000] nvram: NR partition at 0x1120
[ 0.000000] Top of RAM: 0x20000000, Total RAM: 0x20000000
[ 0.000000] Memory hole size: 0MB
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] DMA zone: 131072 pages, LIFO batch:31
[ 0.000000] Built 1 zonelists
[ 0.000000] Kernel command line: ro ramdisk_size=1048576 file=/
cdrom/preseed/xubuntu.seed boot=casper quiet splash --
[ 0.000000] mpic: Setting up MPIC " MPIC 1 " version 1.2 at
80040000, max 4 CPUs
[ 0.000000] mpic: ISU size: 64, shift: 6, mask: 3f
[ 0.000000] mpic: Initializing for 64 sources
[ 0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[ 0.000000] GMT Delta read from XPRAM: 0 minutes, DST: off
[ 0.000000] time_init: decrementer frequency = 18.432000 MHz
[ 0.000000] time_init: processor frequency = 1333.333330 MHz
[ 23.868380] Console: colour dummy device 80x25
[ 23.868854] Dentry cache hash table entries: 65536 (order: 6,
262144 bytes)
[ 23.869514] Inode-cache hash table entries: 32768 (order: 5, 131072
bytes)
[ 23.897099] High memory: 0k
[ 23.897110] Memory: 508032k/524288k available (2748k kernel code,
15732k reserved, 432k data, 300k bss, 172k init)
[ 23.897306] Calibrating delay loop... 36.73 BogoMIPS (lpj=73472)
[ 23.968188] Security Framework v1.0.0 initialized
[ 23.968207] SELinux: Disabled at boot.
[ 23.968239] Mount-cache hash table entries: 512
[ 23.968559] device-tree: Duplicate name in /cpus/PowerPC,G4@0,
renamed to "l2-cache#1"
[ 23.970901] checking if image is initramfs... it is
[ 25.299574] Freeing initrd memory: 6531k freed
[ 25.301054] NET: Registered protocol family 16
[ 25.301333] KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/
i2c@f8001000
[ 25.301345] channel 1 bus /uni-n@f8000000/i2c@f8001000/i2c-bus@1
[ 25.301393] KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/
i2c@18000
[ 25.301402] channel 0 bus /pci@f2000000/mac-io@17/i2c@18000/i2c-
bus@0
[ 25.301427] PMU i2c /pci@f2000000/mac-io@17/via-pmu@16000/pmu-i2c
[ 25.301434] channel 1 bus
[ 25.301439] channel 2 bus
[ 25.301966] PCI: Probing PCI hardware
[ 25.304309] PCI: Cannot allocate resource region 0 of device
0001:10:18.0
[ 25.304330] PCI: Cannot allocate resource region 0 of device
0001:10:19.0
[ 25.304359] Apple USB OHCI 0001:10:18.0 disabled by firmware
[ 25.304370] Apple USB OHCI 0001:10:19.0 disabled by firmware
[ 25.305723] NET: Registered protocol family 2
[ 25.340236] IP route cache hash table entries: 16384 (order: 4,
65536 bytes)
[ 25.340563] TCP established hash table entries: 65536 (order: 6,
262144 bytes)
[ 25.341075] TCP bind hash table entries: 32768 (order: 5, 131072
bytes)
[ 25.341337] TCP: Hash tables configured (established 65536 bind
32768)
[ 25.341344] TCP reno registered
[ 25.341411] Thermal assist unit not available
[ 25.341611] Registering PowerMac CPU frequency driver
[ 25.341618] Low: 666 Mhz, High: 1333 Mhz, Boot: 666 Mhz
[ 25.349051] audit: initializing netlink socket (disabled)
[ 25.349075] audit(1174828453.480:1): initialized
[ 25.349238] VFS: Disk quotas dquot_6.5.1
[ 25.349268] Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 25.349354] Initializing Cryptographic API
[ 25.349364] io scheduler noop registered
[ 25.349372] io scheduler anticipatory registered
[ 25.349379] io scheduler deadline registered
[ 25.349391] io scheduler cfq registered (default)
[ 25.349793] PCI: Enabling device 0000:00:10.0 (0006 -> 0007)
[ 25.545488] radeonfb (0000:00:10.0): Invalid ROM signature 0 should
be 0xaa55
[ 25.545496] radeonfb: Retrieved PLL infos from Open Firmware
[ 25.545502] radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=183.00
Mhz, System=210.00 MHz
[ 25.545506] radeonfb: PLL min 12000 max 35000
[ 26.313109] radeonfb: Monitor 1 type LCD found
[ 26.313113] radeonfb: EDID probed
[ 26.313116] radeonfb: Monitor 2 type no found
[ 26.313128] radeonfb: Using Firmware dividers 0x00020074 from PPLL
0
[ 26.313188] radeonfb: Dynamic Clock Power Management enabled
[ 26.355718] Console: switching to colour frame buffer device 128x48
[ 26.355783] Registered "mnca" backlight controller,level: 15/15
[ 26.355786] radeonfb (0000:00:10.0): ATI Radeon NV
[ 26.385036] Generic RTC Driver v1.07
[ 26.385114] Macintosh non-volatile memory driver v1.1
[ 26.385215] mice: PS/2 mouse device common for all mice
[ 26.386007] RAMDISK driver initialized: 16 RAM disks of 1048576K
size 1024 blocksize
[ 26.386463] MacIO PCI driver attached to Intrepid chipset
[ 26.387433] input: Macintosh mouse button emulation as /class/input/
input0
[ 26.387638] Uniform Multi-Platform E-IDE driver Revision:
7.00alpha2
[ 26.387645] ide: Assuming 33MHz system bus speed for PIO modes;
override with idebus=xx
[ 26.387726] adb: starting probe task...
[ 26.388779] PCI: Enabling device 0002:20:0d.0 (0004 -> 0006)
[ 26.413794] adb devices: [2]: 2 c4 [7]: 7 1f
[ 26.419191] ADB keyboard at 2, handler 1
[ 26.419207] Detected ADB keyboard, type ISO, swapping keys.
[ 26.419353] input: ADB keyboard as /class/input/input1
[ 26.419446] input: ADB Powerbook buttons as /class/input/input2
[ 26.419453] adb: finished probe task...
[ 27.408130] ide0: Found Apple UniNorth ATA-6 controller, bus ID 3,
irq 39
[ 27.408144] Probing IDE interface ide0...
[ 27.696310] hda: TOSHIBA MK4025GAS, ATA DISK drive
[ 28.368137] hda: Enabling Ultra DMA 5
[ 28.369184] ide0 at 0xe1022000-0xe1022007,0xe1022160 on irq 39
[ 29.388127] ide1: Found Apple KeyLargo ATA-3 controller, bus ID 0,
irq 24
[ 29.388139] Probing IDE interface ide1...
[ 29.788304] hdc: MAT****ACD-RW CW-8124, ATAPI CD/DVD-ROM drive
[ 30.124130] hdc: Enabling MultiWord DMA 2
[ 30.125155] ide1 at 0xe1014000-0xe1014007,0xe1014160 on irq 24
[ 30.125354] PowerMac i2c bus pmu 2 registered
[ 30.125405] PowerMac i2c bus pmu 1 registered
[ 30.125454] PowerMac i2c bus mac-io 0 registered
[ 30.125516] PowerMac i2c bus uni-n 1 registered
[ 30.125651] TCP bic registered
[ 30.125660] NET: Registered protocol family 1
[ 30.125673] NET: Registered protocol family 8
[ 30.125676] NET: Registered protocol family 20
[ 30.125741] Freeing unused kernel memory: 172k init
[ 31.332008] Capability LSM initialized
[ 32.112785] hda: max request size: 512KiB
[ 32.230029] usbcore: registered new driver usbfs
[ 32.230071] usbcore: registered new driver hub
[ 32.231430] ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller
(OHCI) Driver (PCI)
[ 32.231485] Apple USB OHCI 0001:10:18.0 disabled by firmware
[ 32.231494] Apple USB OHCI 0001:10:19.0 disabled by firmware
[ 32.231504] PCI: Enabling device 0001:10:1a.0 (0000 -> 0002)
[ 32.231524] ohci_hcd 0001:10:1a.0: OHCI Host Controller
[ 32.231744] ohci_hcd 0001:10:1a.0: new USB bus registered, assigned
bus number 1
[ 32.231772] ohci_hcd 0001:10:1a.0: irq 29, io mem 0x80083000
[ 32.347879] usb usb1: configuration #1 chosen from 1 choice
[ 32.347931] hub 1-0:1.0: USB hub found
[ 32.347949] hub 1-0:1.0: 2 ports detected
[ 32.366237] hda: 78140160 sectors (40007 MB), CHS=16383/255/63,
UDMA(100)
[ 32.366326] hda: cache flushes supported
[ 32.366392] hda: [mac] hda1 hda2 hda3 hda4
[ 32.558536] hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache,
(U)DMA
[ 32.558550] Uniform CD-ROM driver Revision: 3.20
[ 32.559276] PCI: Enabling device 0001:10:1b.0 (0000 -> 0002)
[ 32.559300] ohci_hcd 0001:10:1b.0: OHCI Host Controller
[ 32.559500] ohci_hcd 0001:10:1b.0: new USB bus registered, assigned
bus number 2
[ 32.559530] ohci_hcd 0001:10:1b.0: irq 63, io mem 0x80082000
[ 32.568974] ieee1394: Initialized config rom entry `ip1394'
[ 32.632374] usb usb2: configuration #1 chosen from 1 choice
[ 32.632584] hub 2-0:1.0: USB hub found
[ 32.632604] hub 2-0:1.0: 3 ports detected
[ 32.743776] PCI: Enabling device 0001:10:1b.2 (0004 -> 0006)
[ 32.743799] ehci_hcd 0001:10:1b.2: EHCI Host Controller
[ 32.743840] ehci_hcd 0001:10:1b.2: new USB bus registered, assigned
bus number 3
[ 32.764140] ehci_hcd 0001:10:1b.2: irq 63, io mem 0x80080000
[ 32.764148] ehci_hcd 0001:10:1b.2: USB 2.0 started, EHCI 1.00,
driver 10 Dec 2004
[ 32.764239] usb usb3: configuration #1 chosen from 1 choice
[ 32.764268] hub 3-0:1.0: USB hub found
[ 32.764281] hub 3-0:1.0: 5 ports detected
[ 32.868132] usb 1-1: new full speed USB device using ohci_hcd and
address 2
[ 32.895837] PCI: Enabling device 0001:10:1b.1 (0000 -> 0002)
[ 32.895869] ohci_hcd 0001:10:1b.1: OHCI Host Controller
[ 32.895956] ohci_hcd 0001:10:1b.1: new USB bus registered, assigned
bus number 4
[ 32.895988] ohci_hcd 0001:10:1b.1: irq 63, io mem 0x80081000
[ 32.967952] usb usb4: configuration #1 chosen from 1 choice
[ 32.967989] hub 4-0:1.0: USB hub found
[ 32.968005] hub 4-0:1.0: 2 ports detected
[ 33.069938] PCI: Enabling device 0002:20:0e.0 (0000 -> 0002)
[ 33.121352] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[40]
MMIO=[f5000000-f50007ff] Max Packet=[2048] IR/IT contexts=[8/8]
[ 33.151322] usb 1-1: configuration #1 chosen from 1 choice
[ 33.456131] usb 1-2: new full speed USB device using ohci_hcd and
address 3
[ 33.673307] usb 1-2: configuration #1 chosen from 1 choice
[ 33.695806] usbcore: registered new driver hiddev
[ 33.717313] input: HID 05ac:1000 as /class/input/input3
[ 33.717341] input: USB HID v1.11 Keyboard [HID 05ac:1000] on
usb-0001:10:1a.0-1
[ 33.736413] input: HID 05ac:1000 as /class/input/input4
[ 33.736563] input: USB HID v1.11 Mouse [HID 05ac:1000] on
usb-0001:10:1a.0-1
[ 33.742196] HID device not claimed by input or hiddev
[ 33.742216] usbcore: registered new driver usbhid
[ 33.742224] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[ 34.396520] ieee1394: Host added: ID:BUS[0-00:1023]
GUID[001451fffe17e132]
[ 44.958734] ISO 9660 Extensions: RRIP_1991A
[ 44.979439] Registering unionfs 1.1.4
[ 44.999468] loop: loaded (max 8 devices)
[ 45.113708] squashfs: version 3.0 (2006/03/15) Phillip Lougher
[ 90.280810] sungem.c:v0.98 8/24/03 David S. Miller
(davem@redhat.com)
[ 90.348681] PHY ID: 4061e4, addr: 0
[ 90.349674] eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet
00:14:51:17:e1:32
[ 90.349683] eth0: Found BCM5221 PHY
[ 92.748308] eth0: Link is up at 100 Mbps, full-duplex.
[ 100.495628] ts: Compaq touchscreen protocol output
[ 101.705341] ieee80211_crypt: registered algorithm 'NULL'
[ 101.709308] ieee80211: 802.11 data/management/control stack,
git-1.1.13
[ 101.709319] ieee80211: Copyright (C) 2004-2005 Intel Corporation

[ 102.551407] Linux agpgart interface v0.101 (c) Dave Jones
[ 102.667801] pmac_zilog: 0.6 (Benjamin Herrenschmidt
)
[ 102.667910] ttyS0 at MMIO 0x80013020 (irq = 22) is a Z85c30 ESCC -
Serial port
[ 102.668316] ttyS1 at MMIO 0x80013000 (irq = 23) is a Z85c30 ESCC -
Serial port
[ 102.889341] agpgart: Detected Apple UniNorth 2 chipset
[ 102.889431] agpgart: configuring for size idx: 4
[ 102.889471] agpgart: AGP aperture is 16M @ 0x0
[ 103.126257] bcm43xx driver
[ 103.126422] PCI: Enabling device 0001:10:12.0 (0004 -> 0006)
[ 105.066707] input: appletouch as /class/input/input5
[ 105.066830] usbcore: registered new driver appletouch
[ 105.686124] bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not
available or load failed.
[ 105.710459] eth0: Link is up at 100 Mbps, full-duplex.
[ 105.710470] eth0: Pause is disabled
[ 105.947746] bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not
available or load failed.
[ 106.820114] NET: Registered protocol family 17
[ 106.854903] snd-aoa-fabric-layout: found bus with layout 80
[ 106.854916] snd-aoa-fabric-layout: Using PMF GPIOs
[ 106.882896] snd-aoa-codec-tas: found tas3004
[ 106.882943] snd-aoa-fabric-layout: can use this codec
[ 106.947257] snd-aoa-codec-tas: tas found, addr 0x35 on /
pci@f2000000/mac-io@17/i2c@18000/i2c-bus@0/codec@6a
[ 108.007863] snd-powermac no longer handles any machines with a
layout-id property in the device-tree, use snd-aoa.
[ 109.512583] NET: Registered protocol family 10
[ 109.512746] lo: Disabled Privacy Extensions
[ 109.512990] IPv6 over IPv4 tunneling driver
[ 119.414203] appletouch: incomplete data package.
[ 120.436142] eth0: no IPv6 routers present
[ 124.168915] lp: driver loaded but no devices found
[ 124.398842] ppdev: user-space parallel port driver
[ 126.922759] [drm] Initialized drm 1.0.1 20051102
[ 127.123740] [drm] Initialized radeon 1.25.0 20060524 on minor 0
[ 128.005892] agpgart: Putting AGP V2 device at 0000:00:0b.0 into 1x
mode
[ 128.005908] agpgart: Putting AGP V2 device at 0000:00:10.0 into 1x
mode
[ 128.149626] [drm] Setting GART location based on new memory map
[ 128.149644] [drm] Can't use AGP base @0x00000000, won't fit
[ 128.149655] [drm] Loading R300 Microcode
[ 128.149710] [drm] writeback test succeeded in 1 usecs
[ 148.931394] ondemand governor failed to load due to too long
transition latency
[ 395.592972] hfs: write access to a jounaled filesystem is not
supported, use the force option at your own risk, mounting read-only.
[ 448.406464] Installing knfsd (copyright (C) 1996
okir@monad.swb.de).
[ 448.570972] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state
recovery directory
[ 448.571452] NFSD: starting 90-second grace period
[ 950.079125] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 950.211312] ISO 9660 Extensions: RRIP_1991A
[ 6277.548218] eth0: Link down
[ 6464.748262] eth0: Link is up at 100 Mbps, full-duplex.
[ 6464.748276] eth0: Pause is disabled
[ 9122.174084] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9954.940681] eth0: Link is up at 100 Mbps, full-duplex.
[ 9954.940698] eth0: Pause is disabled
[ 9957.825745] bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not
available or load failed.
[ 9957.845065] bcm43xx: Error: Microcode "bcm43xx_microcode5.fw" not
available or load failed.
[ 9965.624132] eth0: no IPv6 routers present
[10061.930888] nfsd: last server has exited
[10061.930902] nfsd: unexporting all filesystems
[10061.931538] RPC: failed to contact portmap (errno -5).
[10063.322751] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state
recovery directory
[10063.323369] NFSD: starting 90-second grace period
[12394.120463] nfsd: last server has exited
[12394.120477] nfsd: unexporting all filesystems
[12394.121122] RPC: failed to contact portmap (errno -5).
[12396.041589] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state
recovery directory
[12396.042229] NFSD: starting 90-second grace period
[15081.345065] tcpdump uses obsolete (PF_INET,SOCK_PACKET)