No subject


Mon Jul 14 13:16:20 UTC 2008


<BR>
/etc/rc.d/rcS.d/S03mountvirtfs-early: =
/etc/rc.d/rcS.d/S03mountvirtfs-early: 151:<BR>
&nbsp;readlink: not found<BR>
0<BR>
<BR>
So I would read the text of S03mountvirtfs-early,<BR>
and try figure out why it cannot find readlink (that is, busybox), at =
that point.<BR>
<BR>
Possibly edit it, introducing echo statements to display additional =
information.<BR>
<BR>
Johnicholas<BR>
<BR>
-----Original Message-----<BR>
From: busybox-bounces at busybox.net on behalf of Rahul Jain<BR>
Sent: Thu 7/31/2008 9:16 AM<BR>
To: busybox at busybox.net<BR>
Subject: readlink not found/ sh:can't access tty<BR>
<BR>
Hello all,<BR>
<BR>
I used MontaVista Dev Rocket to build a ramdisk. During the boot<BR>
process, I get a couple of errors. As these errors concern binaries<BR>
(or rather symlinks to busybox), I thought it wise to ask on this =
list<BR>
for some information about these errors. Below is the summary of the<BR>
entire boot process:<BR>
<BR>
# Linux version 2.6.18_pro500-versatile926ejs (rahul at flensburger) (gcc =
version 4<BR>
.2.0 (MontaVista 4.2.0-16.0.24.0801213 2008-06-05)) #86 PREEMPT Thu Jul =
31 10:24<BR>
:21 CEST 2008<BR>
CPU: ARM926EJ-S [41069263] revision 3 (ARMv5TEJ), cr=3D00053177<BR>
Machine: ARM-Versatile PB<BR>
Memory policy: ECC disabled, Data cache writeback<BR>
CPU0: D VIVT write-back cache<BR>
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets<BR>
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets<BR>
Real-Time Preemption Support (C) 2004-2006 Ingo Molnar<BR>
Built 1 zonelists.&nbsp; Total pages: 32768<BR>
Kernel command line: root=3D/dev/mtdblock0 rw =
slram=3Dtest,0x8000000,+0x8000000 cons<BR>
ole=3DttyAMA0,38400n8 mem=3D128M<BR>
WARNING: experimental RCU implementation.<BR>
PID hash table entries: 1024 (order: 10, 4096 bytes)<BR>
Clock event device timer0 configured with caps set: 07<BR>
Console: colour dummy device 80x30<BR>
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)<BR>
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)<BR>
Memory: 128MB =3D 128MB total<BR>
Memory: 129292KB available (1636K code, 607K data, 4K init)<BR>
Mount-cache hash table entries: 512<BR>
CPU: Testing write buffer coherency: ok<BR>
NET: Registered protocol family 16<BR>
NET: Registered protocol family 2<BR>
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<BR>
TCP established hash table entries: 4096 (order: 5, 196608 bytes)<BR>
TCP bind hash table entries: 2048 (order: 4, 90112 bytes)<BR>
TCP: Hash tables configured (established 4096 bind 2048)<BR>
TCP reno registered<BR>
io scheduler noop registered<BR>
io scheduler anticipatory registered<BR>
io scheduler deadline registered<BR>
io scheduler cfq registered (default)<BR>
Serial: AMBA PL011 UART driver<BR>
dev:f1: ttyAMA0 at MMIO map 0x101f1000 mem 0xc880c000 (irq =3D 12) is a =
AMBA/PL011<BR>
dev:f2: ttyAMA1 at MMIO map 0x101f2000 mem 0xc880e000 (irq =3D 13) is a =
AMBA/PL011<BR>
dev:f3: ttyAMA2 at MMIO map 0x101f3000 mem 0xc8810000 (irq =3D 14) is a =
AMBA/PL011<BR>
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 =
blocksize<BR>
loop: loaded (max 8 devices)<BR>
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre &lt;nico at cam.org&gt;<BR>
eth0: SMC91C11xFD (rev 1) at c8812000 IRQ 25 [nowait]<BR>
eth0: Ethernet addr: 52:54:00:12:34:56<BR>
IPv4 over IPv4 tunneling driver<BR>
TCP bic registered<BR>
NET: Registered protocol family 1<BR>
NET: Registered protocol family 17<BR>
NET: Registered protocol family 15<BR>
Time: timer3 clocksource has been installed.<BR>
eth0: link up<BR>
Sending DHCP requests ., OK<BR>
IP-Config: Got DHCP answer from 10.0.2.2, my address is 10.0.2.15<BR>
IP-Config: Complete:<BR>
&nbsp;&nbsp;&nbsp;&nbsp; device=3Deth0, addr=3D10.0.2.15, =
mask=3D255.255.255.0, gw=3D10.0.2.2,<BR>
&nbsp;&nbsp;&nbsp; host=3D10.0.2.15, domain=3D, nis-domain=3D(none),<BR>
&nbsp;&nbsp;&nbsp; bootserver=3D10.0.2.2, rootserver=3D10.0.2.2, =
rootpath=3D<BR>
kjournald starting.&nbsp; Commit interval 5 seconds<BR>
EXT3 FS on mtdblock0, internal journal<BR>
EXT3-fs: mounted filesystem with ordered data mode.<BR>
VFS: Mounted root (ext3 filesystem).<BR>
Freeing init memory: 4K<BR>
/etc/rc.d/rcS.d/S03mountvirtfs-early: =
/etc/rc.d/rcS.d/S03mountvirtfs-early: 151:<BR>
&nbsp;readlink: not found<BR>
0<BR>
/etc/rc.d/rcS.d/S09mountvirtfs: /etc/rc.d/rcS.d/S09mountvirtfs: 151: =
readlink: n<BR>
ot foundBUG: scheduling with irqs disabled: rcS/0x00000000/202<BR>
caller is rt_spin_lock_slowlock+0x10c/0x1a8<BR>
[&lt;bf01fd54&gt;] (dump_stack+0x0/0x14) from [&lt;bf184820&gt;] =
(schedule+0x70/0xfc)<BR>
[&lt;bf1847b0&gt;] (schedule+0x0/0xfc) from [&lt;bf185d1c&gt;] =
(rt_spin_lock_slowlock+0x10c/<BR>
0x1a8)<BR>
&nbsp;r4 =3D 00400040<BR>
[&lt;bf185c10&gt;] (rt_spin_lock_slowlock+0x0/0x1a8) from =
[&lt;bf1860f8&gt;] (__rt_spin_lock<BR>
+0x40/0x44)<BR>
[&lt;bf1860b8&gt;] (__rt_spin_lock+0x0/0x44) from [&lt;bf1861dc&gt;] =
(rt_read_lock+0x64/0x68<BR>
)<BR>
[&lt;bf186178&gt;] (rt_read_lock+0x0/0x68) from [&lt;bf04f23c&gt;] =
(find_get_page+0x24/0x74)<BR>
&nbsp;r4 =3D C031273C<BR>
[&lt;bf04f218&gt;] (find_get_page+0x0/0x74) from [&lt;bf0522a8&gt;] =
(filemap_nopage+0xe8/0x4<BR>
60)<BR>
&nbsp;r6 =3D C7E04000&nbsp; r5 =3D 00000001&nbsp; r4 =3D 0008F0AC<BR>
[&lt;bf0521c0&gt;] (filemap_nopage+0x0/0x460) from [&lt;bf05c258&gt;] =
(__handle_mm_fault+0x3<BR>
1c/0x9b0)<BR>
[&lt;bf05bf3c&gt;] (__handle_mm_fault+0x0/0x9b0) from [&lt;bf0212fc&gt;] =
(do_page_fault+0xec<BR>
/0x228)<BR>
[&lt;bf021210&gt;] (do_page_fault+0x0/0x228) from [&lt;bf0215c8&gt;] =
(do_DataAbort+0x3c/0xa0<BR>
)<BR>
[&lt;bf02158c&gt;] (do_DataAbort+0x0/0xa0) from [&lt;bf01ba0c&gt;] =
(__dabt_svc+0x4c/0x60)<BR>
&nbsp;r8 =3D 000A2F04&nbsp; r7 =3D 00000000&nbsp; r6 =3D 00000000&nbsp; =
r5 =3D C7E05F9C<BR>
&nbsp;r4 =3D FFFFFFFF<BR>
Starting mounting local filesystems: mount Cleaning: /tmp /var/lock =
/var/run don<BR>
e.<BR>
Setting pseudo-terminal access permissions...done.<BR>
Updating /etc/motd...done.<BR>
: done.<BR>
Starting OpenBSD Secure Shell server: sshd.<BR>
Creating /dev/tty<BR>
Please press Enter to activate this console.<BR>
-sh: can't access tty; job control turned off<BR>
#<BR>
<BR>
I can boot using this ramdisk, however not having job control is<BR>
rather problematic. For testing purposes, the ramdisk is uploaded at =
:<BR>
<A =
HREF=3D"http://rapidshare.com/files/133822466/ARM_MV.ext3">http://rapidsh=
are.com/files/133822466/ARM_MV.ext3</A><BR>
<BR>
So, if anybody can please explain what is going wrong, it would =
really<BR>
help me a lot.<BR>
<BR>
Thanks<BR>
Rahul Jain<BR>
_______________________________________________<BR>
busybox mailing list<BR>
busybox at busybox.net<BR>
<A =
HREF=3D"http://busybox.net/cgi-bin/mailman/listinfo/busybox">http://busyb=
ox.net/cgi-bin/mailman/listinfo/busybox</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C8F311.2F6B514A--


More information about the busybox mailing list