[BusyBox] I have two Linux ( 2.6.8 ?) problems
Hiroshi Ito
ito at mlb.co.jp
Tue Oct 12 07:35:59 UTC 2004
HI, Povolotsky
From: "Povolotsky, Alexander" <Alexander.Povolotsky at marconi.com>
Subject: [BusyBox] I have two Linux ( 2.6.8 ?) problems
Date: Mon, 11 Oct 2004 22:23:33 -0400
Message-Id: <313680C9A886D511A06000204840E1CF0A64725D at whq-msgusr-02.pit.comms.marconi.com>
> Are both problems (or at least #1) BusyBox related ? - how to fix ?
I don't know the reason.
But at least I can say that cvs one(=I got it at 2004/10/05) works well
on my boad.
I guess, your "(old) ramdisk (from W. Denk) with BusyBox v0.60.1"
is bad, or /etc/exports on server is bad.
(Did you put no_root_squash to exports ?)
So, try with new ramdisk image and check your exports.
About My system.
mbase is embedded diskless board
/ is tmpfs and most of files are symlink to /rom
/rom is cramfs by loop device
/rom/initrd is jffs2 and loop file(cramfs) is there.
(I'm not testing from initrd.)
titan is Fedora Core 2 + update
[root at titan root]# cat /etc/exports
/usr/src *.mlb.co.jp(rw,async,no_root_squash,insecure)
[root at titan root]# uname -ri
2.6.8-1.521smp i386
[ito at titan ito]$ telnet mbase3
Trying 192.168.3.96...
Connected to mbase3.
Escape character is '^]'.
MLD Mips v1.1
mbase3.mlb.co.jp login: ito
Password:
/rom/home/ito $ su -
Password:
/rom/root # uname -r
2.4.21-pre4
/rom/root # cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/mtdblock/5 /rom/initrd jffs2 rw 0 0
/dev/root /rom cramfs ro 0 0
none / tmpfs rw 0 0
none /dev devfs rw 0 0
none /proc proc rw 0 0
/rom/root # mount -o nolock titan:/usr/src/redhat/tmp/rom /mnt/cdrom
/rom/root # cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/mtdblock/5 /rom/initrd jffs2 rw 0 0
/dev/root /rom cramfs ro 0 0
none / tmpfs rw 0 0
none /dev devfs rw 0 0
none /proc proc rw 0 0
titan:/usr/src/redhat/tmp/rom /mnt/cdrom nfs rw,v3,rsize=32768,wsize=32768,hard,udp,nolock,addr=titan 0 0
/rom/root # pivot_root /mnt/cdrom /mnt/cdrom/initrd
/initrd/rom/root # cd /
/ # mount /proc
/ # cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/mtdblock/5 /initrd/rom/initrd jffs2 rw 0 0
/dev/root /initrd/rom cramfs ro 0 0
none /initrd tmpfs rw 0 0
none /initrd/dev devfs rw 0 0
none /initrd/proc proc rw 0 0
titan:/usr/src/redhat/tmp/rom / nfs rw,v3,rsize=32768,wsize=32768,hard,udp,nolock,addr=titan 0 0
none /proc proc rw 0 0
/ # ps
PID Uid VmSize Stat Command
1 root 392 S init
2 root SW [keventd]
3 root SWN [ksoftirqd_CPU0]
4 root SW [kswapd]
5 root SW [bdflush]
6 root SW [kupdated]
22 root SW [mtdblockd]
29 root SWN [jffs2_gcd_mtd5]
32 root SW [loop0]
90 root 344 S watchdog /dev/misc/watchdog
104 root 400 S /sbin/syslogd -m 0 -C
107 root 360 S klogd
150 root 384 S crond -S
155 root 400 S inetd
156 root 348 S telnetd
157 ito 504 S -sh
158 root 584 S -sh
161 root SW [rpciod]
168 root 368 R ps
/ #
As you see above, It works fine (for me).
> > # portmap
> > portmap: not found
In general, NFS client need portmap. but it is only for communicate lockd.
So, when you want to nfs mount without portmap,
you need to put nolock option.(not "noolock", I guess you misspell on
your mail)
> > # cd /fadsroot
> > #sbin/pivot_root /fadsroot /tmp
Could you do "ls /fadsroot" before pivot_root ?
I guess, NFS mount is not working well.
--------
Hiroshi Ito
Media Lab. Inc.,
URL http://www.mlb.co.jp ( Sorry, Japanese only. )
TEL +81-3-5294-7255 FAX +81-3-5294-7256
More information about the busybox
mailing list