xilinx Ml405 NFS mount problem
MingLiu
eemingliu at hotmail.com
Wed Apr 2 03:15:53 EST 2008
Dear John,
Thank you for your replying.
>It’s not obvious to me what the problem is as I don’t see any driver failures. Have you >tried using a ramdisk and then seeing if the network is working before using NFS root?
Not yet. I will try it soon. However from the information on the LL_TEMAC, it seems everything is fine and it should work.
>And I’m assuming you have used the NFS root before so you know that it’s good for sure.
>I test on the ML405 with NFS root and haven’t seen this problem, but my setup is a little different. I use DHCP rather than >a static IP, but other than that it’s similar.
Yes. I used NFS before. I can make sure my NFS server works well. Also in principle, static IP should get a same result as DHCP, I think.
>How long has it been since you pulled from the Xilinx Git tree?
I just pulled the Xilinx tree quite recently. I am using a latest kernel.
BR
Ming
And I’m assuming you have used the NFS root before so you know that it’s good for sure.
I test on the ML405 with NFS root and haven’t seen this problem, but my setup is a little different. I use DHCP rather than a static IP, but other than that it’s similar.
I’m assuming that you accidentally got 2 different powerup outputs in the message below as the 1st stops and a 2nd starts in the middle.
How long has it been since you pulled from the Xilinx Git tree?
Thanks,
John
From: linuxppc-embedded-bounces+john.linn=xilinx.com at ozlabs.org [mailto:linuxppc-embedded-bounces+john.linn=xilinx.com at ozlabs.org] On Behalf Of MingLiuSent: Tuesday, April 01, 2008 8:12 AMTo: linuxppc-embedded at ozlabs.orgSubject: xilinx Ml405 NFS mount problem
Dear friends,I am bringing up my kernel from Xilinx git tree. Unfortunately I met someproblem when mounting the root file system. Here is the informationlisted. I will appreciate a lot if someone can help me out of the trouble. Thanks a lot! loaded at: 00400000 0059F19Cboard data at: 0059D120 0059D19Crelocated to: 004050C8 00405144zimage at: 00405F3F 0059C025avail ram: 005A0000 08000000 Linux/PPC load: root=/dev/nfsip=192.168.0.4:192.168.0.3:192.168.0.3:255.255.255.0 rwnfsroot=192.168.0.3:/home/mingliu/ml403_rootfs console=ttyUL0,38400mem=32MUncompressing Linux...done.Now booting the kernelLinux version 2.6.24-rc8-xlnx-g1db182b8-dirty (mingliu at cca01) (gcc version3.4.1) #7 Tue Apr 1 14:55:25 CEST 2008Xilinx Generic PowerPC board support package (Xilinx ML405) (Virtex-4 FX)Zone PFN ranges: DMA 0 -> 8192 Normal 8192 -> 8192 HighMem 8192 -> 8192Movable zone start PFN for each nodeearly_node_map[1] active PFN ranges 0: 0 -> 8192Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128Kernel command line: root=/dev/nfsip=192.168.0.4:192.168.0.3:192.168.0.3:255.255.255.0 rwnfsroot=192.168.0.3:/home/mingliu/ml403_rootfs console=ttyUL0,38400mem=32MXilinx INTC #0 at 0x81800000 mapped to 0xFDFFF000PID hash table entries: 128 (order: 7, 512 bytes)Console: colour dummy device 80x25Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)Memory: 28884k available (2552k kernel code, 944k data, 84k init, 0k highmem)SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1Mount-cache hash table entries: 512net_namespace: 64 bytesNET: Registered protocol family 16Registering device uartlite:0Fixup MAC address for xilinx_lltemac:0Registering device xilinx_lltemac:0NET: Registered protocol family 2IP route cache hash table entries: 1024 (order: 0, 4096 bytes)TCP established hash table entries: 1024 (order: 1, 8192 bytes)TCP bind hash table entries: 1024 (order: 0, 4096 bytes)TCP: Hash tables configured (established 1024 bind 1024)TCP reno registeredsysctl table check failed: /kernel/l2cr .1.31 Missing strategyCall Trace:[c1c0fe50] [c0008b70] show_stack+0x40/0x194 (unreliable)[c1c0fe90] [c003aed4] set_fail+0x68/0x80[c1c0feb0] [c003b4ec] sysctl_check_table+0x600/0x77c[c1c0fef0] [c003b4d4] sysctl_check_table+0x5e8/0x77c[c1c0ff30] [c002605c] register_sysctl_table+0x64/0xb4[c1c0ff50] [c034579c] register_ppc_htab_sysctl+0x18/0x2c[c1c0ff60] [c034482c] kernel_init+0x94/0x2bc[c1c0fff0] [c0004d58] kernel_thread+0x44/0x60Installing knfsd (copyright (C) 1996 okir at monad.swb.de).fuse init (API version 7.9)io scheduler noop registeredio scheduler anticipatory registeredio scheduler deadline registeredio scheduler cfq registered (default)uartlite.0: ttyUL0 at MMIO 0x84000003 (irq = 3) is a uartliteconsole [ttyUL0] enabledloop: module loadednbd: registered device at major 43xilinx_lltemac xilinx_lltemac.0: MAC address is now 0: a:35: 1: 2: 3xilinx_lltemac xilinx_lltemac.0: XLlTemac: using DMA mode.XLlTemac: Dma base address: phy: 0x84600100, virt: 0xc3008100XLlTemac: buffer descriptor size: 32768 (0x8000)XLlTemac: Allocating DMA descriptors with kmalloc<6>XLlTemac:(buffer_descriptor_init) phy: 0x1d18000, virt: 0xc1d18000, size: 0x8000XTemac: PHY detected at address 7.xilinx_lltemac xilinx_lltemac.0: eth0: Xilinx TEMAC at 0x81C00000 mappedto 0xC3004000, irq=2console [netcon0] enabledLinux version 2.6.24-rc8-xlnx-g1db182b8-dirty (mingliu at cca01) (gcc version3.4.1) #7 Tue Apr 1 14:55:25 CEST 2008Xilinx Generic PowerPC board support package (Xilinx ML405) (Virtex-4 FX)Zone PFN ranges: DMA 0 -> 8192 Normal 8192 -> 8192 HighMem 8192 -> 8192Movable zone start PFN for each nodeearly_node_map[1] active PFN ranges 0: 0 -> 8192Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128Kernel command line: root=/dev/nfsip=192.168.0.4:192.168.0.3:192.168.0.3:255.255.255.0 rwnfsroot=192.168.0.3:/home/mingliu/ml403_rootfs console=ttyUL0,38400mem=32MXilinx INTC #0 at 0x81800000 mapped to 0xFDFFF000PID hash table entries: 128 (order: 7, 512 bytes)Console: colour dummy device 80x25Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)Memory: 28884k available (2552k kernel code, 944k data, 84k init, 0k highmem)SLUB: Genslabs=11, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1Mount-cache hash table entries: 512net_namespace: 64 bytesNET: Registered protocol family 16Registering device uartlite:0Fixup MAC address for xilinx_lltemac:0Registering device xilinx_lltemac:0NET: Registered protocol family 2IP route cache hash table entries: 1024 (order: 0, 4096 bytes)TCP established hash table entries: 1024 (order: 1, 8192 bytes)TCP bind hash table entries: 1024 (order: 0, 4096 bytes)TCP: Hash tables configured (established 1024 bind 1024)TCP reno registeredsysctl table check failed: /kernel/l2cr .1.31 Missing strategyCall Trace:[c1c0fe50] [c0008b70] show_stack+0x40/0x194 (unreliable)[c1c0fe90] [c003aed4] set_fail+0x68/0x80[c1c0feb0] [c003b4ec] sysctl_check_table+0x600/0x77c[c1c0fef0] [c003b4d4] sysctl_check_table+0x5e8/0x77c[c1c0ff30] [c002605c] register_sysctl_table+0x64/0xb4[c1c0ff50] [c034579c] register_ppc_htab_sysctl+0x18/0x2c[c1c0ff60] [c034482c] kernel_init+0x94/0x2bc[c1c0fff0] [c0004d58] kernel_thread+0x44/0x60Installing knfsd (copyright (C) 1996 okir at monad.swb.de).fuse init (API version 7.9)io scheduler noop registeredio scheduler anticipatory registeredio scheduler deadline registeredio scheduler cfq registered (default)uartlite.0: ttyUL0 at MMIO 0x84000003 (irq = 3) is a uartliteconsole [ttyUL0] enabledloop: module loadednbd: registered device at major 43xilinx_lltemac xilinx_lltemac.0: MAC address is now 0: a:35: 1: 2: 3xilinx_lltemac xilinx_lltemac.0: XLlTemac: using DMA mode.XLlTemac: Dma base address: phy: 0x84600100, virt: 0xc3008100XLlTemac: buffer descriptor size: 32768 (0x8000)XLlTemac: Allocating DMA descriptors with kmalloc<6>XLlTemac:(buffer_descriptor_init) phy: 0x1d18000, virt: 0xc1d18000, size: 0x8000XTemac: PHY detected at address 7.xilinx_lltemac xilinx_lltemac.0: eth0: Xilinx TEMAC at 0x81C00000 mappedto 0xC3004000, irq=2console [netcon0] enablednetconsole: network logging startedGeneric platform RAM MTD, (c) 2004 Simtec Electronicsmice: PS/2 mouse device common for all miceTCP cubic registeredNET: Registered protocol family 1NET: Registered protocol family 17RPC: Registered udp transport module.RPC: Registered tcp transport module.eth0: XLlTemac: Options: 0x3faeth0: XLlTemac: allocating interrupt 0 for dma mode tx.eth0: XLlTemac: allocating interrupt 1 for dma mode rx.eth0: XLlTemac: speed set to 1000Mb/seth0: XLlTemac: Send Threshold = 24, Receive Threshold = 4eth0: XLlTemac: Send Wait bound = 254, Receive Wait bound = 254IP-Config: Complete: device=eth0, addr=192.168.0.4, mask=255.255.255.0, gw=192.168.0.3, host=192.168.0.4, domain=, nis-domain=(none), bootserver=192.168.0.3, rootserver=192.168.0.3, rootpath=Looking up port of RPC 100003/2 on 192.168.0.3rpcbind: server 192.168.0.3 not responding, timed outRoot-NFS: Unable to get nfsd port number from server, using defaultLooking up port of RPC 100005/1 on 192.168.0.3rpcbind: server 192.168.0.3 not responding, timed outRoot-NFS: Unable to get mountd port number from server, using defaultmount: server 192.168.0.3 not responding, timed outRoot-NFS: Server returned error -5 while mounting /home/mingliu/ml403_rootfsVFS: Unable to mount root fs via NFS, trying floppy.VFS: Cannot open root device "nfs" or unknown-block(2,0)Please append a correct "root=" boot option; here are the availablepartitions:Kernel panic - not syncing: VFS: Unable to mount root fs onunknown-block(2,0)Rebooting in 180 seconds.. BRMing
Windows Live Writer,支持离线撰写博客内容,随时随地想写就写。 立即使用!
_________________________________________________________________
Windows Live Photo gallery 数码相机的超级伴侣,轻松管理和编辑照片,还能制作全景美图!
http://get.live.cn/product/photo.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080401/33710327/attachment-0001.htm>
More information about the Linuxppc-embedded
mailing list