From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from web56204.mail.re3.yahoo.com (web56204.mail.re3.yahoo.com [216.252.110.213]) by ozlabs.org (Postfix) with SMTP id AF285DDD04 for ; Tue, 17 Feb 2009 16:29:30 +1100 (EST) Message-ID: <719599.32884.qm@web56204.mail.re3.yahoo.com> Date: Mon, 16 Feb 2009 21:22:48 -0800 (PST) From: gt bradley Subject: nfs booting PS3, mount failed. To: linuxppc-dev@ozlabs.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-207925052-1234848168=:32884" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0-207925052-1234848168=:32884 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I'm trying to set up my PS3 to netboot (with an nfsroot). I'm using instructions at http://www.kernel.org/pub/linux/kernel/people/geo= ff/cell/ps3-howto/ps3-nfs-root-howto.txt I've passed section 3 (using tftp) to verify network /dhcp etc.=A0=A0 (i.e.= I'm able to tftp-get a file to ps3 from kboot's ash shell (busybox). i'm trying to mount the nfs server as per section 4. with ~# mount -t nfs -o nolock 192.168.99.1:/target /mnt/remote I get the following error message: mount: mounting 192.168.99.1:/target on /mnt/remote failed if I boot the PS3 from the HD, then I am able to mount the nfs directory. Using wireshark, I can see the initial dhcp traffic, (and when present the = tftp traffic). the mount command doesn't open a network connection to the server,=20 So I have pretty much ruled out server configuration. running "strings" on the decompressed kboot image yeilds serveral nfs symbo= ls, so it=20 appears to still support nfs mounting. (using version kboot-20080609.bld f= rom geoff's dir at kernel.org) I have tried googling, and searching the various mailing lists, but am stuc= k. any help would be appreciated GT =0A=0A=0A --0-207925052-1234848168=:32884 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I'm trying to set up my PS3 to netboot (with = an nfsroot).

I'm using instructions at http://www.kernel.org/pub/lin= ux/kernel/people/geoff/cell/ps3-howto/ps3-nfs-root-howto.txt

I've pa= ssed 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).
i'm trying to mount the nfs server as per section 4. with
 ~# moun=
t -t nfs -o nolock 192.168.99.1:/target /mnt/remote

I get the follow= ing error message:
mount: mounting 192.168.99.1:/target on /mnt/remote= failed

if I boot the PS3 from the HD, then I am able to mount the n= fs directory.
Using wireshark, I can see the initial dhcp traffic, (and = when present the tftp traffic).
the mount command doesn't open a network= connection to the server,
So I have pretty much ruled out server configuration.

running "strings" on the decompressed kboot image ye= ilds serveral nfs symbols, so it
appears to still support nfs mounting.= (using version kboot-20080609.bld from geoff's dir at kernel.org)
I have tried googling, and searching the various mailing lists, but am st= uck.

any help would be appre= ciated
GT



=0A=0A --0-207925052-1234848168=:32884-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from VA3EHSOBE002.bigfish.com (outbound-va3.frontbridge.com [216.32.180.16]) by ozlabs.org (Postfix) with ESMTP id 88A64DDDA9 for ; Wed, 18 Feb 2009 11:31:19 +1100 (EST) Message-ID: <499B56CE.1050505@am.sony.com> Date: Tue, 17 Feb 2009 16:31:10 -0800 From: Geoff Levand MIME-Version: 1.0 To: gt bradley Subject: Re: nfs booting PS3, mount failed. References: <719599.32884.qm@web56204.mail.re3.yahoo.com> <499B544D.3020704@am.sony.com> In-Reply-To: <499B544D.3020704@am.sony.com> Content-Type: text/plain; charset="ISO-8859-1" Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 02/17/2009 04:20 PM, Geoff Levand wrote: > Another thing to try is to use a 'rescue' disk/mode to copy the files. > Most distros have them. Fedora has a rescue mode in their installer: > > http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/ppc/iso/Fedora-10-ppc-netinst.iso > > Just select 'rescue' instead of 'install', or you can add > these to the boot options: 'text rescue video=720p'. I forgot to mention an important point when using a rescue disk. Most will mount all the runtime directories like /sys, /dev, /proc, etc. onto the HD file system. Those directories should not be mounted the when you make the HD root FS copy. Either choose the rescue option to not mount the HD file system, and mount it yourself later, or unmount all those directories. Just use the 'mount' command to see what has been mounted on the HD's root FS. -Geoff From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from WA4EHSOBE002.bigfish.com (wa4ehsobe002.messaging.microsoft.com [216.32.181.12]) by ozlabs.org (Postfix) with ESMTP id 48C8FDDE07 for ; Wed, 18 Feb 2009 11:35:48 +1100 (EST) Message-ID: <499B544D.3020704@am.sony.com> Date: Tue, 17 Feb 2009 16:20:29 -0800 From: Geoff Levand MIME-Version: 1.0 To: gt bradley Subject: Re: nfs booting PS3, mount failed. References: <719599.32884.qm@web56204.mail.re3.yahoo.com> In-Reply-To: <719599.32884.qm@web56204.mail.re3.yahoo.com> Content-Type: text/plain; charset="ISO-8859-1" Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 02/16/2009 09:22 PM, gt bradley wrote: > I'm trying to set up my PS3 to netboot (with an nfsroot). > > I'm using instructions at > http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-howto/ps3-nfs-root-howto.txt > > 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). > > i'm trying to mount the nfs server as per section 4. with > > ~# mount -t nfs -o nolock 192.168.99.1:/target /mnt/remote > > I get the following error message: > mount: mounting 192.168.99.1:/target on /mnt/remote failed > > if I boot the PS3 from the HD, then I am able to mount the nfs directory. > Using wireshark, I can see the initial dhcp traffic, (and when present the tftp traffic). > the mount command doesn't open a network connection to the server, > So I have pretty much ruled out server > configuration. > > running "strings" on the decompressed kboot image yeilds serveral nfs symbols, so it > appears to still support nfs mounting. (using version kboot-20080609.bld from geoff's dir at kernel.org) I have sometimes seen nfs problems with kboot. You could you try petitboot. Get the latest 'experimental' one from here: http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-petitboot/ Another thing to try is to use a 'rescue' disk/mode to copy the files. Most distros have them. Fedora has a rescue mode in their installer: http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/ppc/iso/Fedora-10-ppc-netinst.iso Just select 'rescue' instead of 'install', or you can add these to the boot options: 'text rescue video=720p'. You don't need kboot/petitboot to do nfs. To load the kernel they just need to do tftp. -Geoff