Specifications

bash-2.05b# free
total used free shared buffers cached
Mem: 14556 14260 296 0 772 9116
-/+ buffers/cache: 4372 10184
Swap: 0 0 0
bash-2.05b# swapon swapfile
bash-2.05b# free
total used free shared buffers cached
Mem: 14556 14172 384 0 784 9020
-/+ buffers/cache: 4368 10188
Swap: 63480 0 63480
bash-2.05b#
Because the ELDK right now has no device nodes for the loopback driver we create them along the way. It
goes without saying that the loop driver has to be included in the kernel configuration. You can check this by
looking for a driver for major number 7 (block devices) in /proc/devices.
14.3.31. Using NFSv3 for NFS Root Filesystem
Question:
My NFS server only allows the protocol in version 3. Even though my kernel has "NFS client support
for NFS version 3" compiled in, I cannot use this as a root filesystem. The boot process stops like this:
Looking up port of RPC 100003/2 on 10.0.0.136
Looking up port of RPC 100005/1 on 10.0.0.136
Root-NFS: Server returned error -22 while mounting /opt/eldk/ppc_6xx
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Answer:
In addition to the kernel support, you need to specify the "nfsvers=3" option to use NFS protocol
version 3 as a rootfilesystem. So include something like the following in your kernel commandline:
nfsroot=[<server-ip>:]<root-dir>,nfsvers=3
14.3.32. Using and Configuring the SocketCAN
Driver
Question:
When trying to start the SocketCAN interfaces I get error messages like "bit-timing not yet
defined", but when trying to configure the bit timing the directory
"/sys/class/net/can0/can_bittiming" does not exist.
Answer:
The SysFS CAN interface has not been accepted for inclusion into the mainline Linux kernel tree. We
had to switch to a Netlink based interface as described in
"Documentation/networking/can.txt"
You need a recent version of the IPROUTE2 utility suite. You can get and build it as follows:
$ git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git
$ cd iproute2
$ make CC=${CROSS_COMPILE}gcc
14.3.32. Using and Configuring the SocketCAN Driver 197