Kernel panic after network install: can't find root (Solved)

Using applications, configuring, problems
Post Reply
Message
Author
ron

Kernel panic after network install: can't find root (Solved)

#1 Post by ron »

Hi,
Following the instructions linked from Puppy Home, I made a network install.
After the kernel loads, it panics because it cannot find the root on 00:ff.

I googled abit and found this:

http://kerneltrap.org/node/4739

Looking at the Puppy configuration files i realized the kernel options mentioned in the above link (IP_PNP, ROOT_NFS) are commented -

do I have to compile a new kernel?

(I used the latest 1.0.3 release)

Cheers,
Ron

Guest

#2 Post by Guest »

A little more info is needed depending on just how you are trying to mount your root filesystem. If you are doing it purley by nfs you also need to compile in the correct driver for your nic.

I have access to three nfs-root puppy kernels.
One with the eepro100 driver
One with the 3c59x driver
One with the driver used in Vmware.

Let me know how you are trying to get it done and I can compile one for you.

ron

#3 Post by ron »

Hi, Thanx for the replay...

Here are my boot parameters:

Code: Select all

KERNEL puppy/vmlinuz
APPEND root=/dev/nfs nfsroot=192.168.0.10:/tftpboot/puppy/ rw 
  nfsaddrs=192.168.0.70
Thanx,
Ron

Guest

my network card...

#4 Post by Guest »

hi,
my network module is 3c59x, could you compile a kernel with this one?
Thanx,
Ron

Guest

#5 Post by Guest »

No probs, just have to dig out the config file and get it done......

What mods have you made to the puppy bootscripts ? As the standard ones will not work for nfs


If you want I can give you directions to a complete package (0.9.8) that works, including setup scripts.....

What distro are you using for your server ?

Guest

#6 Post by Guest »

Thanx so much -
I followed the instructions linked from the puppy home page, because I thought it would be better to use the newest version.

The server is a suse 8.1 with 2.4.19 or .21 kernel

the client is a PII with 160MB Ram, and is currently operating on console mode playing audio.

The move to puppy should enable playing videos and streams on the client, so its important that a good media player is installed. (why isn't mplayer in puppy? )

Thanx for your help,
Ron

Guest

#7 Post by Guest »


Guest

#8 Post by Guest »

Thanx alot :)

It booted ok, and mounted / correctly, but did not mount usr_cram.fs

Can I uncompress usr_cram.fs to my normal / structure?

it is on the root (/usr_cram.fs), so I don't understand why it didn't mount...

Cheers,
Ron

Guest

#9 Post by Guest »

The standard boot scripts will not workif you are mounting root via nfs, the script has to be as per the long winded explantion


http://forums.freesco.org/support/index ... 3170&st=45


Read the WHOLE thread because a few minor mistakes were made.

What I am looking into now is passing a boot-time paramter that lets the scripts know we want to mount /mnt/home & /usr via nfs. / (root) will be a ramdisk as per normal.

Have I just committed myself to another iso...hahahahaha

Guest

#10 Post by Guest »

Thanx again :)

This thread is linked from Puppy home, and I followed your instructions on the last post - all is in place, but usr is still not mounted :-/

(At the end of the boot sequence I get a message telling X could not start because its not installed, because probably usr is not mounted).

So, Can I skipp the usr_crum.fs mount and put it on my /usr ?

how do I mount it from shell?

Thanx,
Ron

Guest

#11 Post by Guest »

Can you cut & paste your /etc/rc.d/rcS file.....sounds like it maybe a typo


if you do the following

#cd /
# ls

do you see usr_cram.fs listed ?


Grab me on IRC #puppylinux channel

Guest

#12 Post by Guest »

sorry... this was really dumm: rcS was not chmod 755...
it works now like a charm, I still don't get to mount nfs shares from the server (other than /) but I hope I can solve that one.

It is very nice working...
Thanx again,
Ron

Guest

#13 Post by Guest »

Hi - well, it is a mistery, because mounting nfs does not work - would you give me the irc server you're on? Thanx Ron

Post Reply