X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C7AFAA.F9C0B047@onstor-exch02.onstor.net>; Fri, 15 Jun 2007 16:12:07 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: linux hangs during boot up
Date: Fri, 15 Jun 2007 16:12:07 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E042A54B3@onstor-exch02.onstor.net>
In-Reply-To: <20070615171025.28c4d025@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: linux hangs during boot up
Thread-Index: Acevqr4+lWFAboMbREaE+Mnfk1SfMQAAA4xg
References: <BB375AF679D4A34E9CA8DFA650E2B04E042A5462@onstor-exch02.onstor.net> <20070615171025.28c4d025@ripper.onstor.net>
From: "Maxim Kozlovsky" <maxim.kozlovsky@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

As the wiki page says:

cd cougar/linux/pkg-tools
sudo ./mk-mipsel-deb-rootfs
This will create the tree /var/chroot/etch-mipsel on your local disk.
From this point you can either export this tree as an NFS share or use
rsync -vauH to copy it to an exported directory.=20

[edit]Installing Kernel and Kernel Modules=20
You need to install the kernel modules in your [NFS] root directory.
This requires that you have one set up already! See section: Creating a
Root filesystem.=20

$ make INSTALL_MOD_PATH=3D<path-to-NFS-root-directory> modules_install
For instance, the NFS root directory for one of my bobcats is on my
workstation in /var/nfsroot/bobcat, hence the command would be make
INSTALL_MOD_PATH=3D/var/nfsroot/bobcat modules_install for me. Yours =
will
be different! Make sure you give the right directory, or you will
install kernel modules in some crazy place.=20

copy vmlinux.bin to your tftp server, and then follow the instructions
on netbooting linux on a bobcat.=20
[edit]Booting for the First Time Your Newly Created NFS Root (Finishing
the Install)=20
Note: This section is preliminary. Not all of this has been thoroughly
tested.=20

The first time your filer boots from a newly created NFS Root partition
run the following command on the filer:=20

/debootstrap/debootstrap --second-stage

-----Original Message-----
From: Andy Sharp=20
Sent: Friday, June 15, 2007 5:10 PM
To: Maxim Kozlovsky
Subject: Re: linux hangs during boot up

Where did you get the root filesystem?

On Fri, 15 Jun 2007 16:24:19 -0700 "Maxim Kozlovsky"
<maxim.kozlovsky@onstor.com> wrote:

> pccard: PCMCIA card inserted into slot 1
> IP-Config: Complete:
>       device=3Deth0, addr=3D10.2.204.1, mask=3D255.255.0.0, =
gw=3D10.2.0.1,
>      host=3Deng131, domain=3D, nis-domain=3D(none),
>      bootserver=3D10.0.0.23, rootserver=3D10.0.0.23, rootpath=3D
> Looking up port of RPC 100003/3 on 10.0.0.23
> Looking up port of RPC 100005/3 on 10.0.0.23
> VFS: Mounted root (nfs filesystem) readonly.
> Freeing unused kernel memory: 104k freed
> Warning: unable to open an initial console.
>=20
>=20
> The kernel was built from what is currently checked in. The command
> line was the following:
>=20
> CONFIG_CMDLINE=3D"console=3DttyS0,57600n8 console=3DttyMM0,57600n8
> root=3D/dev/nfs nfsroot=3D10.0.0.23:/var/nfsroot/max,v3,tcp
> ip=3D10.2.204.1:10.0.0.23:10.2.0.1:255.255.0.0:eng131:eth0:none -s"
>=20
> Is there some step that I missed?
>=20
