<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><br>--- On <b>Tue, 2/17/09, linuxppc-dev-request@ozlabs.org <i><linuxppc-dev-request@ozlabs.org></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: linuxppc-dev-request@ozlabs.org <linuxppc-dev-request@ozlabs.org><br>Subject: Linuxppc-dev Digest, Vol 54, Issue 101<br>To: linuxppc-dev@ozlabs.org<br>Date: Tuesday, February 17, 2009, 5:00 PM<br><br><pre>Send Linuxppc-dev mailing list submissions to<br>        linuxppc-dev@ozlabs.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>        https://ozlabs.org/mailman/listinfo/linuxppc-dev<br>or, via email, send a message with subject or body 'help' to<br>        linuxppc-dev-request@ozlabs.org<br><br>You can reach the person managing the list at<br>        linuxppc-dev-owner@ozlabs.org<br><br>When replying, please edit your Subject line so
it is more specific<br>than "Re: Contents of Linuxppc-dev digest..."<br></pre><pre>Today's Topics:<br><br> 1. NFS-boot on PS3, kboot can't mount nfs-dir.s (gt bradley)<br> 2. Re: nfs booting PS3, mount failed. (Geoff Levand)<br> 3. Re: nfs booting PS3, mount failed. (Geoff Levand)<br></pre><div id="yiv449585260"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top">I'm trying to set up my PS3 to netboot (with an nfsroot).<br><br>I'm using instructions at http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-howto/ps3-nfs-root-howto.txt<br><br>I've
passed section 3 (using tftp) to verify network /dhcp etc. (i.e. I'm
able to tftp-get a file to ps3 from kboot's ash shell (busybox).<br><br>i'm trying to mount the nfs server as per section 4. with<br><pre> ~# mount -t nfs -o nolock 192.168.99.1:/target /mnt/remote<br><br>I get the following error message:<br> mount: mounting 192.168.99.1:/target on /mnt/remote failed<br><br>if I boot the PS3 from the HD, then I am able to mount the nfs directory.<br>Using wireshark, I can see the initial dhcp traffic, (and when present the tftp traffic).<br>the mount command doesn't open a network connection to the server, <br>So I have pretty much ruled out server<br> configuration.<br><br>running "strings" on the decompressed kboot image yeilds serveral nfs symbols, so it <br>appears to still support nfs mounting. (using version kboot-20080609.bld from geoff's dir at kernel.org)<br></pre>I have tried googling, and searching the various mailing lists, but am stuck.<span style="font-family: monospace;"><br><br>any help would be
appreciated<br>GT<br></span></td></tr></tbody></table><br>
</div><pre>On 02/17/2009 04:20 PM, Geoff Levand wrote:<br><br>> Another thing to try is to use a 'rescue' disk/mode to copy the<br>files.<br>> Most distros have them. Fedora has a rescue mode in their installer:<br>> <br>> <br>http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/ppc/iso/Fedora-10-ppc-netinst.iso<br>> <br>> Just select 'rescue' instead of 'install', or you can add<br>> these to the boot options: 'text rescue video=720p'.<br><br>I forgot to mention an important point when using a rescue disk.<br>Most will mount all the runtime directories like /sys, /dev, /proc,<br>etc. onto the HD file system. Those directories should not be<br>mounted the when you make the HD root FS copy.<br><br>Either choose the rescue option to not mount the HD file system,<br>and mount it yourself later, or unmount all those directories.<br>Just use the 'mount' command to see what has been mounted on the<br>HD's root
FS.<br><br>-Geoff<br><br><br></pre><pre>On 02/16/2009 09:22 PM, gt bradley wrote:<br>> I'm trying to set up my PS3 to netboot (with an nfsroot).<br>> <br>> I'm using instructions at<br>><br>http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-howto/ps3-nfs-root-howto.txt<br>> <br>> I've passed section 3 (using tftp) to verify network /dhcp etc. <br>(i.e.<br>> I'm able to tftp-get a file to ps3 from kboot's ash shell<br>(busybox).<br>> <br>> i'm trying to mount the nfs server as per section 4. with<br>> <br>> ~# mount -t nfs -o nolock 192.168.99.1:/target /mnt/remote<br>> <br>> I get the following error message:<br>> mount: mounting 192.168.99.1:/target on /mnt/remote failed<br>> <br>> if I boot the PS3 from the HD, then I am able to mount the nfs directory.<br>> Using wireshark, I can see the initial dhcp traffic, (and when present the<br>tftp traffic).<br>> the mount command doesn't open
a network connection to the server, <br>> So I have pretty much ruled out server<br>> configuration.<br>> <br>> running "strings" on the decompressed kboot image yeilds<br>serveral nfs symbols, so it <br>> appears to still support nfs mounting. (using version kboot-20080609.bld<br>from geoff's dir at kernel.org)<br><br>I have sometimes seen nfs problems with kboot. You could you<br>try petitboot. Get the latest 'experimental' one from here:<br><br> http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-petitboot/<br><br>Another thing to try is to use a 'rescue' disk/mode to copy the files.<br>Most distros have them. Fedora has a rescue mode in their installer:<br><br> <br>http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/ppc/iso/Fedora-10-ppc-netinst.iso<br><br>Just select 'rescue' instead of 'install', or you can add<br>these to the boot options: 'text rescue video=720p'.<br><br>You don't need
kboot/petitboot to do nfs. To load the kernel<br>they just need to do tftp.<br><br>-Geoff<br> <br><br><br>I'll try this this week-end, and let you know how it goes, <br> Thank-you for the quick response.<br>GT</pre></blockquote></td></tr></table><br>