Hi,

Edit the file /etc/exports and add a line which says “ /home/username…
/rootfs… (rw,no_root_squash,no_all_squash,Sync)

 

Best regards

Andy.Lu 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
崔战伟
Sent: 2007年7月5日 5:46 PM
To: [email protected]
Subject: FATAL: Could not open /lib/modules/2.6.10_mvl401/modules.dep.temp
for writing: Permission denied

 

Hi all,

         When I boot from tftp use nfs file system ,when the kernel is
starting  I meet error message FATAL: Could not open
/lib/modules/2.6.10_mvl401/modules.dep.temp for writing: Permission denied
is any one know the reason ? below if my log 

The red is error massage. 

 

DaVinci EVM #

DaVinci EVM # tftp 0x80000000

TFTP from server 192.168.1.121; our IP address is 192.168.1.155

Filename 'uImage'.

Load address: 0x80000000

Loading: ############T ######################################T
###############

         ###########T ########T ####################T #################T
####T T #####

         #################################T ################################

         ############T ####################

done

Bytes transferred = 1160664 (11b5d8 hex)

DaVinci EVM # bootm 0x80000000

## Booting image at 80000000 ...

   Image Name:   Linux-2.6.10_mvl401

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    1160600 Bytes =  1.1 MB

   Load Address: 80008000

   Entry Point:  80008000

   Verifying Checksum ... OK

OK

 

Starting kernel ...

 

Uncompressing
Linux.......................................................................
.... done, booting therLinux version 2.6.10_mvl401 ([EMAIL PROTECTED]) (gcc
version 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #8 Wed Jul 4
15:12:33 EDT 2007

CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)

CPU0: D VIVT write-back cache

CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets

CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets

Machine: DaVinci EVM

Memory policy: ECC disabled, Data cache writeback

Built 1 zonelists

Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=dhcp
root=/dev/nfs nfsroot=192.168.1.121:/root/davincifs,nolock mem=28M
eth=00:0e:99:02:51:46

TI DaVinci EMAC: Kernel Boot params Eth address: 00:0e:99:02:51:46

PID hash table entries: 128 (order: 7, 2048 bytes)

Console: colour dummy device 80x30

Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Memory: 28MB = 28MB total

Memory: 25832KB available (1961K code, 438K data, 112K init)

Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

CPU: Testing write buffer coherency: ok

spawn_desched_task(00000000)

desched cpu_callback 3/00000000

ksoftirqd started up.

desched cpu_callback 2/00000000

desched thread 0 started up.

NET: Registered protocol family 16

DaVinci I2C DEBUG: 15:00:59 Jul  4 2007

usbcore: registered new driver usbfs

usbcore: registered new driver hub

Initializing Cryptographic API

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 $Revision: 1.90 $ 2 ports, IRQ sharing disabled

ttyS0 at MMIO 0x0 (irq = 40) is a 16550A

io scheduler noop registered

io scheduler anticipatory registered

RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize

TI DAVINCI EMAC: Invalid or No value of link speed specified, defaulting to
auto speed & auto mode.

TI DaVinci EMAC: MAC address is 00:0e:99:02:51:93

TI DaVinci EMAC Linux version 3.0 - EMAC DDC version 0.5

TI DaVinci EMAC: Installed 1 instances.

i2c /dev entries driver

Linux video capture interface: v1.00

DM644x v4l2 capture driver V1.0 loaded

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

hda: no response (status = 0xa1), resetting drive

hda: no response (status = 0xa1)

hdb: no response (status = 0xa1), resetting drive

hdb: no response (status = 0xa1)

Palm Chip BK3710 IDE Register Fail

usbcore: registered new driver audio

drivers/usb/class/audio.c: v1.0.0:USB Audio Class driver

mice: PS/2 mouse device common for all mice

musb_hdrc: version 2.2a/db-0.4.4 [cppi-DMA] [host] [debug=0]

musb_hdrc: USB Host mode controller at e1064400, IRQ 12

musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

NET: Registered protocol family 2

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 2048 bind 4096)

NET: Registered protocol family 1

NET: Registered protocol family 17

Sending DHCP requests .., OK

IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.109

IP-Config: Complete:

      device=eth0, addr=192.168.1.109, mask=255.255.255.0, gw=192.168.1.1,

     host=192.168.1.109, domain=, nis-domain=(none),

     bootserver=192.168.1.1, rootserver=192.168.1.121, rootpath=

Looking up port of RPC 100003/2 on 192.168.1.121

Looking up port of RPC 100005/1 on 192.168.1.121

VFS: Mounted root (nfs filesystem).

Freeing init memory: 112K

INIT: version 2.85 booting

Mounting a tmpfs over /dev...done.

Creating initial device nodes...done.

Activating swap...done.

Remounting root filesystem...done.

Calculating module dependencies

 

FATAL: Could not open /lib/modules/2.6.10_mvl401/modules.dep.temp for
writing: Permission denied

 

Loading modules:

Starting checking all file systems: fsck

fsck 1.35 (28-Feb-2004)

Starting mounting local filesystems: mount nothing was mounted

Setting up IP spoofing protection: rp_filter.

Disable TCP/IP Explicit Congestion Notification: done.

Starting network interfaces: /sbin/ifup: failed to open statefile
/etc/network/ifstate: Permission denied

 failed (1: ).

Starting hotplug subsystem:

   pci

   pci      [success]

   usb

   usb      [success]

   isapnp

   isapnp   [success]

   ide

   ide      [success]

   input

   input    [success]

   scsi

   scsi     [success]

done.

Starting portmap daemon: portmap/etc/rc.d/rcS.d/S41portmap: line 70:
/var/run/portmap.pid: Permission denied

 failed (1: ).

/etc/init.d/rcS: line 48: /etc/nologin: Permission denied

cp: cannot stat `/etc/nologin': No such file or directory

Cleaning: /tmp /var/lock /var/run find: ./usb: Permission denied

chmod: changing permissions of `/var/run/utmp': Operation not permitted

done.

Setting pseudo-terminal access permissions...done.

Updating /etc/motd.../etc/init.d/rcS: line 110: /etc/motd.tmp: Permission
denied

/etc/init.d/rcS: line 111: /etc/motd.tmp: Permission denied

mv: cannot stat `/etc/motd.tmp': No such file or directory

done.

/etc/init.d/rcS: line 119: /var/log/dmesg: Permission denied

INIT: Entering runlevel: 3

Starting system log daemon: syslogdnice: /sbin/syslogd: Input/output error

/etc/rc.d/rc3.d/S10syslog: line 70: /var/run/syslogd.pid: Permission denied

 failed (1: ).

Starting NFS common utilities: statd/etc/rc.d/rc3.d/S19nfs-common: line 70:
/var/run/rpc.statd.pid: Permission denied

 failed (1: ).

Starting internet superserver: inetd.

Starting MontaVista target tools daemon: mvltdmvltd version 2.1 MontaVista
Software,Inc.

mvltd[934]: started on port 34577

/etc/rc.d/rc3.d/S90mvltd: line 70: /var/run/mvltd.pid: Permission denied

 failed (1: ).

 

MontaVista(R) Linux(R) Professional Edition 4.0 (0501140)

 

192.168.1.109 login:

 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to