[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Raq4 - Kernel 2.4 Upgrade Woes



> It looks like the howto makes a few assumptions about the setup... In
> particular, the btoip option is only available on 2.9.x and 2.10.x
> roms... It was added to support netbooting across different segments; if
> it is not provided (or not supported by the rom version) then this
> address is acquired from the DHCP server "routers" option, i.e.:
>
> subnet 192.168.0.0 netmask 255.255.255.0 {
>      range dynamic-bootp 192.168.0.200 192.168.0.210;
>      option routers 192.168.0.4;
>      option broadcast-address 192.168.0.255;
> }

S$%t.  I'm using 2.3.40.

Ok, I think I'm close, but you may have to help me a little with DHCP
(sorry for some reason it's something I always have trouble with).

Here is my entire /etc/dhcpd.conf on 192.168.0.4:

option subnet-mask 255.255.255.224; # 255.255.255.0???
default-lease-time 600;
max-lease-time 7200;

subnet 192.168.0.0 netmast 255.255.255.0 {
  range dynamic-bootp 192.168.0.200 192.168.0.210;
  option routers 192.168.0.4;
  option broadcast-address 192.168.0.255;
}

This is the only DHCP server running on my tiny network.  When I do a boot
from net on the Raq4, the following lines are printed to
/var/log/daemon.log on 192.168.0.4 (aka skinner):

Apr  9 20:53:00 skinner dhcpd-2.2.x: BOOTREQUEST from 00:10:e0:02:59:13
via eth0
Apr  9 20:53:00 skinner dhcpd-2.2.x: BOOTREPLY on 192.168.0.200 to
00:10:e0:02:59:13 via eth0

And here is the output from the Raq:

<snip>
Partition check:
 hdc: [PTBL] [1027/255/63] hdc1 hdc2 hdc3 hdc4 < hdc5 hdc6 hdc7 hdc8 >
autodetecting RAID arrays
autorun ...
... autorun DONE.
Looking up port of RPC 100003/2 on 192.168.0.1
request_module[bandwidth_mgr]: Root fs not mounted
portmap: RPC call returned error 111
RPC: task of released request still queued!
RPC: (task is on xprt_pending)
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.0.1
portmap: RPC call returned error 111
RPC: task of released request still queued!
RPC: (task is on xprt_pending)
Root-NFS: Unable to get mountd port number from server, using default
mount: RPC call returned error 111
RPC: task of released request still queued!
RPC: (task is on xprt_pending)
Root-NFS: Server returned error -111 while mounting /nfsroot-x86
VFS: Unable to mount root fs via NFS, trying floppy.
request_module[block-major-2]: Root fs not mounted
VFS: Cannot open root device 02:00
Kernel panic: VFS: Unable to mount root fs on 02:00
disabling network interfaces.
Rebooting in 5 seconds..
</snip>

Looks like it's close, any thoughts?  I'll start reading dhcpd man pages...

FYI, before I wiped out the Raq, I used the LCD to set the IP address to
192.168.0.6.  Not sure if that is pertenant.

> You could also try overriding the "zero-page" data that linux uses to
> determine the root device with a kernel command line parameter:
>
> Cobalt:Main Menu> boot
> Cobalt:Boot Menu> set_params "root=/dev/hda1"

Ok, if the boot from net option doesn't fly, I guess I can try to build
Debian again and try this option...

Thanks!

Josh