Antwort: Re: ATA flash disk ok, missing ip config

2 messages, 2 authors, 2007-10-16 · open the first message on its own page

Antwort: Re: ATA flash disk ok, missing ip config

From: <hidden>
Date: 2000-01-18 13:34:09

Hi 

After I applied your boot params it puts the lines below on the terminal.

What means 'Root-NFS: Server returned error -5 while mounting /tftpboot/'  ??

Any ideas?

TIA, Ruedi


Linux/PPC load: root=/dev/nfs ip=10.1.20.1:10.1.20.2:10.1.20.2:255.255.255.0:ppc::bootp nfsroot=10.1.20.2:/tftpboot/ rw
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.2.13 (nhofru@rac26090) (gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)) #67 Mon Jan 17 15:49:49 CET 2000
Boot arguments: root=/dev/nfs ip=10.1.20.1:10.1.20.2:10.1.20.2:255.255.255.0:ppc::bootp nfsroot=10.1.20.2:/tftpboot/ rw
time_init: decrementer frequency = 93750000/60
Calibrating delay loop... 24.83 BogoMIPS
Memory: 7140k available (664k kernel code, 356k data, 32k init) [c0000000,c0800000]
DENTRY hash table entries: 262144 (order: 9, 2097152 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 8192 bhash 8192)
Starting kswapd v 1.5
CPM UART driver version 0.02
ttyS00 at 0x0280 is a SMC
ttyS01 at 0x0100 is a SCC
ttyS02 at 0x0200 is a SCC
pty: 256 Unix98 ptys configured
eth0: CPM ENET Version 0.2, 08:00:3e:26:15:59
Looking up port of RPC 100003/2 on 10.1.20.2
neighbour table overflow
neighbour table overflow
neighbour table overflow
neighbour table overflow
portmap: server 10.1.20.2 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 10.1.20.2
neighbour table overflow
neighbour table overflow
neighbour table overflow
neighbour table overflow
portmap: server 10.1.20.2 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
neighbour table overflow
neighbour table overflow
neighbour table overflow
neighbour table overflow
mount: server 10.1.20.2 not responding, timed out
Root-NFS: Server returned error -5 while mounting /tftpboot/
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
NIP: C00A4298 XER: E0005A7F LR: C001068C REGS: c0109c30 TRAP: 0300
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0108000[1] 'swapper' mm->pgd c00bb000 Last syscall: 120
last math 00000000
GPR00: C001068C C0109CE0 C0108000 C00D46BF BE0B6EB4 C0109D90 FFFFFFFF FFFFFFFF
GPR08: BE0B6EB4 BE0B6EB4 C00A45BC C0109DE8 FFFFFFFF FFFFFFFF FE010000 FE010000
GPR16: FE010000 FE010000 FE010000 FE010000 FE010000 007F0000 00009032 00002C6F
GPR24: 00000000 C00D0000 C00A9338 BE0B6EB4 C00D0000 C0109D28 C0160000 FFFFFFED
Call backtrace:
C0016ACC C001068C C0010010 C00CEA48 C00CC74C C0002970 C0006D04
NIP: C00A4298 XER: E0005A7F LR: C001068C REGS: c01099a0 TRAP: 0300
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0108000[1] 'swapper' mm->pgd c00bb000 Last syscall: 120
last math 00000000





amre.el-hoiydi@csem.ch on 19.01.2000 16:38:45
An: Ruedi.Hofer@ascom.ch @ MailGate
Kopie:  
Thema: Re: ATA flash disk ok, missing ip config

Hallo,

I had some "IP-Config: Incomplete network configuration information." when the
boot line was not correct. This line must be entered after the "Linux/PPC load:"
prompt. A default line can be programmed in arch/ppc/boot/misc.c.

char *root_string = "root=/dev/nfs nfsaddrs=10.10.10.1:10.10.10.2
nfsroot=10.10.10.2:/export/nfslinuxroot

where 10.10.10.1 is the IP address of the ethernet interface of the board and
10.10.10.2 is the IP address of the workstation from which the root directory is
exported via NFS.

Does that help ?

Regards,

Amre


Ruedi.Hofer@ascom.ch wrote:
Hi Magnus

It works now. I had to remove the line '__asm__ volatile("eieio");' (~line 205) in
file pcmcia.c.

But unfortunately, it doesn't boot completely because of missing ip config.
Where do I have to apply this data?

Cheers, Ruedi

_________________________________________

The printout looks now like this:

8xxROM 0.3.0

compiletime options:
board: ADS DRAM_25MHZ
disk: DISK_ATA PCMCIABUG

cpu: XPC860xxZPnnA3 at 25 MHz: 4Kbyte icache 4Kbyte dcache

<warning: cpu core has silicon bugs, check the errata>

board: ADS rev A - warning, read errata
flash: 2 Mbytes, delay 90 ns
dram: EDO, 4 Mbyte, 70 ns, OK
pcmcia: 5V and 3V
pcsr = 0x0070fe70

ATA disk: 'SunDisk SDP'.

Boot device list:
 ata: SunDisk SDP3B-40
  MSDOS partition table
  Part    Start     Size Name
    1:       32    81760 FAT16

Found FAT filesystem
quoted
ó
   Huh?  Try "help"
quoted
ident
Boot device list:
 ata: SunDisk SDP3B-40
  MSDOS partition table
  Part    Start     Size Name
    1:       32    81760 FAT16

Found FAT filesystem
quoted
ls
    zimage

5 file(s), 0 dir(s)
quoted
bootz zimage
entry 0x100000, phoff 0x34, shoff 0x6f470
phnum 0x1, shnum 0x9
p_offset 0x10000, p_vaddr 0x100000, p_paddr 0x100000
p_filesz 0x532c, p_memsz 0xb1bc
Loading at 0x10c000
Starting 0x11c000
loaded at:     0011C000 001271BC
relocated to:  00100000 0010B1BC
board data at: 003F0000 003F001C
relocated to:  00200100 0020011C
zimage at:     00122000 0017B434
avail ram:     0017C000 00400000

Linux/PPC load:
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.2.13 (root@rac26090) (gcc version egcs-2.91.60 19981201 (egcs-1.
1.1 release)) #59 Wed Jan 5 11:23:37 CET 2000
Boot arguments: root=/dev/nfs rw
time_init: decrementer frequency = 93750000/60
Calibrating delay loop... 24.83 BogoMIPS
Memory: 3116k available (652k kernel code, 296k data, 32k init) [c0000000,c04000
00]
DENTRY hash table entries: 262144 (order: 9, 2097152 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 1024 (order: 0, 4096 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 4096 bhash 4096)
Starting kswapd v 1.5
CPM UART driver version 0.02
ttyS00 at 0x0280 is a SMC
ttyS01 at 0x0100 is a SCC
ttyS02 at 0x0200 is a SCC
pty: 256 Unix98 ptys configured
CPM interrupt c00a0a44 replacing c009e2d4
eth0: CPM ENET Version 0.2, 08:00:3e:26:15:59
IP-Config: Incomplete network configuration information.
dev_close: bug eth0 still running
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device 02:00
Kernel panic: VFS: Unable to mount root fs on 02:00
Rebooting in 180 seconds..
-- 
Amre El-Hoiydi
R&D Engineer, Real-Time Software and Networking,
CSEM, Rue Jaquet-Droz 1, 2007 Neuchatel, Switzerland
Tel +41 327205188, Fax +41 327205720,
Email: amre.el-hoiydi@csem.ch

Re: Antwort: Re: ATA flash disk ok, missing ip config

From: Mohamed Hamed <hidden>
Date: 2007-10-16 13:55:07

Dear Sir,

	i'm trying to install qemu in a debian linux system , ubuntu , and when
i finished from installation and trying to run the qemu more error be
found as follow :



 (qemu) Uncompressing
Linux.......................................................................... done, booting the kernel.
Linux version 2.6.17-rc3 (paul@wren) (gcc version 4.1.0 (CodeSourcery
ARM)) #53 Thu May 4 15:05:18 BST 2006
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
Machine: ARM-IntegratorCP
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-through cache
CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets
CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets
Built 1 zonelists
Kernel command line: console=ttyAMA0 root= /dev/nfs
nfsroot=10.1.6.1:/nfs/share/arm,rsize=8192,wsize=8192,hard,intr,tcp,nolock ip=10.1.6.50::10.1.6.1:255.255.255.0:arm.home:eth0 
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 257280KB available (1928K code, 388K data, 104K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
NetWinder Floating Point Emulator V0.97 (double precision)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
CLCD: Integrator/CP hardware, VGA display
Clock CLCDCLK: setting VCO reg params: S=1 R=39 V=35
Console: switching to colour frame buffer device 80x30
Serial: AMBA PL011 UART driver
mb:16: ttyAMA0 at MMIO 0x16000000 (irq = 1) is a AMBA/PL011
mb:17: ttyAMA1 at MMIO 0x17000000 (irq = 2) is a AMBA/PL011
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre [off-list ref]
eth0: SMC91C11xFD (rev 1) at d0816000 IRQ 27 [nowait]
eth0: Ethernet addr: 52:54:00:12:34:56
mice: PS/2 mouse device common for all mice
Green LED off
input: AT Raw Set 2 keyboard as /class/input/input0
input: ImExPS/2 Generic Explorer Mouse as /class/input/input1
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear [off-list ref]
All bugs added by David S. Miller [off-list ref]
VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 0
eth0: link up
IP-Config: Complete:
      device=eth0, addr=10.1.6.50, mask=255.255.255.0, gw=10.1.6.1,
     host=arm, domain=, nis-domain=home,
     bootserver=255.255.255.255, rootserver=10.1.6.1, rootpath=
Looking up port of RPC 100003/2 on 10.1.6.1
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 10.1.6.1
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /nfs/share/arm
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "<NULL>" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)
 

and i don't know what is the reason and i don't know what the line root
=boot option 

this is the script which i run

#!/bin/sh

console="ttyAMA0"		# serial console
nfsserver="10.1.6.1"		# address of NFS server
nfsdir="/nfs/share/arm"		# exported share where debian/arm is installed
address="10.1.6.50"		# address for guest server
gateway="10.1.6.1"		# default gateway
netmask="255.255.255.0"		# subnet mask
hostname="arm.home"		# hostname for guest server
device="eth0"			# interface that guest server will use
mem=256				# memory for guest server in Mb
tap="/var/run/vde/tap0.ctl"	# vde tap socket

kernel="/usr/local/etc/images/zimage.arm"	# arm kernel
nfsopts="rsize=8192,wsize=8192,hard,intr,tcp,nolock"	# nfs options

consoleopt="console=$console"
nfsrootopt="nfsroot=$nfsserver:$nfsdir,$nfsopts"
ipopt="ip=$address::$gateway:$netmask:$hostname:$device"

init=""

if [ "x$1" == "xsingle" ]
then
	init="init=/bin/bash"
fi
vdeq qemu-system-arm -sock $tap -m $mem \
	-kernel $kernel -nographic \
	-append "$consoleopt root= /dev/nfs  $nfsrootopt $ipopt $init" 

and i don't know this line root = /dev/nfs , where this directory  is
empty


thanks for helping me 

i hope to reply me at this mail mhamed@future-group.com
or at eng_m_elsaidy@yahoo.com


Hamed 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help