linux-mips
[Top] [All Lists]

Problems with NFS boot

To: linux-mips@linux-mips.org
Subject: Problems with NFS boot
From: "Mohamed Bamakhrama" <bamakhrama@gmail.com>
Date: Wed, 8 Aug 2007 12:18:51 +0200
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HXRMr2K9DcAtUjLhtsiBXpDxwu9XrmysDkaJTcqJIFzbwn8u7yQD+lbpzS4XbtdRu9nqsWVrPFEd4bYol4CKNsrhMyjCzAQYNOwFWy2sQCc2dnr3WYWzcmxGRCcXMNffESG5bntygkzuXjZxEENFM/p5xEIuFGrKBKt5fgXbfAE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=thYDnEYDyt9Lqr0vVIVMpwtDBWSJ7MnBU+U/UEpzcoF+qs1ZXgLgSTjB543a+ULNQSyyxpm7YSWIR7I0cNYdZVrCb2og7bndZuguGR8drvkAi2PtipI5CoqbiJF3ep0ZNMRhuDKgAL+KVNfXA9llgQKUAdIV71p7OWV9TRxO2xM=
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: bamakhrama@gmail.com
Sender: linux-mips-bounce@linux-mips.org
Hi list,
I have a Malta board for which I was able to build the kernel, load it
and start it. The problem comes when it tries to boot through the NFS.

I start the kernel with the following command:
go . nfsroot=192.168.1.1/mnt/danube_rootfs ip=192.168.1.4:192.168.1.1:::

The kernel starts up and I get the following output:

***** BEGIN OUTPUT *****
YAMON> go . nfsroot=192.168.1.1/mnt/danube_rootfs ip=192.168.1.4:192.168.1.1:::
Linux version 2.6.22.1-default (danube@peng) (gcc version 3.3.6) #3 Tue Aug 7 18
:59:37 CEST 2007

LINUX started...
Config serial console: console=ttyS0,38400n8r
CPU revision is: 00019640
Determined physical RAM map:
memory: 00001000 @ 00000000 (reserved)
memory: 000ef000 @ 00001000 (ROM data)
memory: 003cc000 @ 000f0000 (reserved)
memory: 03b43000 @ 004bc000 (usable)
Wasting 38784 bytes for tracking 1212 unused pages
Initrd not found or empty - disabling initrd
Built 1 zonelists.  Total pages: 16256
Kernel command line: nfsroot=192.168.1.1/mnt/danube_rootfs ip=192.168.1.4:192.16
8.1.1::: console=ttyS0,38400n8r
Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 64kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
PID hash table entries: 256 (order: 8, 1024 bytes)
CPU frequency 33.00 MHz
Using 16.501 MHz high precision timer.
console handover: boot [early0] -> real [ttyS0]
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 60096k/60684k available (2684k kernel code, 572k reserved, 695k data, 15
6k init, 0k highmem)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1186573381.443:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
rtc: SRM (post-2000) epoch (2000) detected
Real Time Clock Driver v1.12ac
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
atkbd.c: keyboard reset failed on isa0060/serio0
atkbd.c: keyboard reset failed on isa0060/serio1
oprofile: using mips/24K performance monitoring.
NET: Registered protocol family 1
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
***** END OUTPUT *****



I am sure that all my NFS settings are correct since I have another
board which is working fine with that server. Does anyone know how to
boot the board over NFS?

Best regards,

-- 
Mohamed A. Bamakhrama
Am Schaeferanger 15, room 035
85764 Oberschleissheim, Germany
Email: bamakhra@cs.tum.edu
Web: http://home.cs.tum.edu/~bamakhra/
Mobile: +49-160-9349-2711

<Prev in Thread] Current Thread [Next in Thread>