On Mon, Aug 31, 2009 at 1:40 PM, Tobias Knutsson<tobias.knuts...@gmail.com> wrote: > First of all I would recommend that you make sure that your NFS-server > is served correctly. > > 1. Can you mount the NFS-share from your own machine? > 2. Can you mount from another Linux box? > > The kernel sais that the NFS-server returns -5 (which usually means > I/O error). Check the manuals and try to find out which errors that > causes error -5. > > On Mon, Aug 31, 2009 at 04:59, rohan tabish<rohan_ja...@yahoo.co.uk> wrote: >> >> >> >> >> >> >> Hi sandeep >> We have made our own custom board DM6446 was using the kernel and u-boot >> code from the git. I am able to run the u-boot and kernel fine and get >> kernel panic msgs that are shown in the log below since i didn't have any >> filesystem. >> for filesystem i have made nfs server right now i have just loaded the >> uImage using that board is able to load that do you knw how to mount a >> filesystem using the nfs through u-boot. >> I am really stuck can u plz help me.I am not using montavista tool chain >> >> >> Starting kernel ... >> >> >> >> Uncompressing >> Linux............................................................. >> >> ................................... done, booting the kernel. >> >> Linux version 2.6.31-rc5-davinci1 (r...@localhost.localdomain) (gcc version >> 4.2. >> >> 2) #1 PREEMPT Wed Aug 26 13:41:53 PKT 2009 >> >> CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 >> >> CPU: VIVT data cache, VIVT instruction cache >> >> Machine: DaVinci DM644x EVM >> >> Memory policy: ECC disabled, Data cache writeback >> >> DaVinci dm6446a variant 0x1 >> >> Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 >> >> Kernel command line: console=ttyS0,115200n8 noinitrd rw root=/dev/nfs >> nfsroot=19 >> >> 2.16.1.102:/home/admin,nolock >> >> PID hash table entries: 1024 (order: 10, 4096 bytes) >> >> 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: 256540KB available (2708K code, 295K data, 124K init, 0K highmem) >> >> SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 >> >> NR_IRQS:229 >> >> Console: colour dummy device 80x30 >> >> Calibrating delay loop... 147.86 BogoMIPS (lpj=739328) >> >> Mount-cache hash table entries: 512 >> >> CPU: Testing write buffer coherency: ok >> >> DaVinci: 71 gpio irqs >> >> NET: Registered protocol family 16 >> >> WARNING: both IDE and Flash are enabled, but they share AEMIF pins. >> >> Disable IDE for NAND/NOR support. >> >> MUX: Setting register HPIEN_DISABLE >> >> PINMUX0 (0x00000000) = 0x80000c1f -> 0x80000c1f >> >> MUX: initialized ATAEN >> >> MUX: Setting register ATAEN >> >> PINMUX0 (0x00000000) = 0x80000c1f -> 0x80020c1f >> >> MUX: initialized HDIREN >> >> MUX: Setting register HDIREN >> >> PINMUX0 (0x00000000) = 0x80020c1f -> 0x80030c1f >> >> MUX: initialized MCBSP >> >> MUX: Setting register MCBSP >> >> PINMUX1 (0x00000004) = 0x00000081 -> 0x00000481 >> >> bio: create slab <bio-0> at 0 >> >> pcf857x: probe of 1-0038 failed with error -121 >> >> pcf857x: probe of 1-0039 failed with error -121 >> >> pcf857x: probe of 1-003a failed with error -121 >> >> NET: Registered protocol family 2 >> >> IP route cache hash table entries: 2048 (order: 1, 8192 bytes) >> >> TCP established hash table entries: 8192 (order: 4, 65536 bytes) >> >> TCP bind hash table entries: 8192 (order: 3, 32768 bytes) >> >> TCP: Hash tables configured (established 8192 bind 8192) >> >> TCP reno registered >> >> NET: Registered protocol family 1 >> >> msgmni has been set to 501 >> >> io scheduler noop registered >> >> io scheduler anticipatory registered (default) >> >> Setting Up Clocks for DM420 OSD >> >> Console: switching to colour frame buffer device 90x30 >> >> fb0: dm_osd0_fb frame buffer device >> >> fb1: dm_vid0_fb frame buffer device >> >> fb2: dm_osd1_fb frame buffer device >> >> fb3: dm_vid1_fb frame buffer device >> >> Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled >> >> Platform driver 'serial8250' needs updating - please use dev_pm_ops >> >> serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A >> >> console [ttyS0] enabled >> >> serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1c20400 >> IRQ4 >> >> 1): -22 >> >> serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1c20800 >> IRQ4 >> >> 2): -22 >> >> brd: module loaded >> >> at24 1-0050: 32768 byte 24c256 EEPROM (writable) >> >> davinci_emac_probe: using random MAC addr: b6:cc:f4:0e:8b:40 >> >> emac-mii: probed >> >> dm9000 Ethernet Driver, V1.31 >> >> Platform driver 'dm9000' needs updating - please use dev_pm_ops >> >> console [netcon0] enabled >> >> netconsole: network logging started >> >> i2c /dev entries driver >> >> TCP cubic registered >> >> NET: Registered protocol family 17 >> >> RPC: Registered udp transport module. >> >> RPC: Registered tcp transport module. >> >> Clocks: disable unused uart1 >> >> Clocks: disable unused uart2 >> >> Clocks: disable unused ide >> >> Clocks: disable unused asp0 >> >> Clocks: disable unused mmcsd >> >> Clocks: disable unused spi >> >> Clocks: disable unused usb >> >> Clocks: disable unused vlynq >> >> Clocks: disable unused pwm0 >> >> Clocks: disable unused pwm1 >> >> Clocks: disable unused pwm2 >> >> Clocks: disable unused timer1 >> >> Looking up port of RPC 100003/2 on 192.16.1.102 >> >> rpcbind: server 192.16.1.102 not responding, timed out >> >> Root-NFS: Unable to get nfsd port number from server, using default >> >> Looking up port of RPC 100005/1 on 192.16.1.102 >> >> rpcbind: server 192.16.1.102 not responding, timed out >> >> Root-NFS: Unable to get mountd port number from server, using default >> >> Root-NFS: Server returned error -5 while mounting /home/admin >> >> VFS: 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 available >> partitions: >> >> Kernel panic - not syncing: VFS: Unable to mount root fs on >> unknown-block(2,0) >> >> Backtrace: >> >> [<c002b6a0>] (dump_backtrace+0x0/0x110) from [<c002b7e4>] >> (dump_stack+0x18/0x1c) >> >> >> >> r6:c0021850 r5:c02ebd24 r4:cf823f58 >> >> [<c002b7cc>] (dump_stack+0x0/0x1c) from [<c003c438>] (panic+0x54/0x134) >> >> [<c003c3e4>] (panic+0x0/0x134) from [<c000916c>] >> (mount_block_root+0x1d4/0x21c) >> >> r3:00000001 r2:cf822000 r1:cf823f58 r0:c0291d74 >> >> [<c0008f98>] (mount_block_root+0x0/0x21c) from [<c0009278>] >> (mount_root+0xc4/0xf >> >> c) >> >> [<c00091b4>] (mount_root+0x0/0xfc) from [<c000941c>] >> (prepare_namespace+0x16c/0x >> >> 1d0) >> >> r5:c0021808 r4:c02eb804 >> >> [<c00092b0>] (prepare_namespace+0x0/0x1d0) from [<c0008958>] >> (kernel_init+0xd8/0 >> >> x10c) >> >> r5:c00204a4 r4:c02eb7f8 >> >> [<c0008880>] (kernel_init+0x0/0x10c) from [<c003f4d0>] (do_exit+0x0/0x62c) >> >> r5:00000000 r4:00000000 >> >> <it halts here i have selected the MTD utility using the make menuconfig.Can >> you plz help me i will be thank ful to you> >> >> I am reading DVSDK getting started guide. >> >> I am new to linux and all dis >> >> with regard's >> >> Rohan Tabish >> >> >> >> >> >> _______________________________________________ >> Davinci-linux-open-source mailing list >> Davinci-linux-open-source@linux.davincidsp.com >> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source >> >> > > > > -- > > Hälsningar/Regards > Tobias Knutsson > > _______________________________________________ > Davinci-linux-open-source mailing list > Davinci-linux-open-source@linux.davincidsp.com > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source >
Review you bootargs : nfs host ip is : "192.16.1.102", Are u sure, ur targeting 192.16.1.102 and not 192.168.1.102 ? _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source